Thread: ERM..Wtf...WTF LOOK

Results 1 to 9 of 9
  1. #1 Item Thing..LUK!?..and umh magic... 
    Registered Member

    Join Date
    Mar 2009
    Age
    31
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    HOW DO I MAKE ITEMS LIKE DCLAWS GO ONTO A PEICE OF PAPAR? JW.


    and ermm how do i get the autocasting to work y codee
    Code:
    case 1097:
    	    if(c.playerAncientMagics == 0 && c.playerEquipment[c.playerWeapon] == 4675 && c.playerEquipment[c.playerWeapon] == 6914)
    	    {
    		c.sM("You cannot auto cast normal magics with an ancient staff!");
    		break;
    	    }
    	    if(c.playerAncientMagics == 1 && c.playerEquipment[c.playerWeapon] != 4675 && c.playerEquipment[c.playerWeapon] != 6914)
    	    {
    		c.sM("You cannot auto cast ancient magics with a regular staff!");
    		break;
    	    }
    	    if(c.playerAncientMagics == 2)
    	    {
    		c.sM("You cannot auto cast lunar magics");
    		break;
    	    }
                if(c.playerEquipment[c.playerWeapon] == 4675 && c.playerEquipment[c.playerWeapon] == 6914)
                {
                   c.setSidebarInterface(0, 1689);
                } else {
                   c.setSidebarInterface(0, 12050);
                }
    break;
    well basicly if im on Ancients it wont Opent he menu and can u make it so wen i use 4170 [slayer staff] it hopes slayer staff menu and wen u use the Normal staff's u open modern autocasting thx ily



    and How Do I Get Ancients to Freeze npcs? Thx

    (will give $20)
    Reply With Quote  
     

  2. #2  
    Registered Member
    Purely chill's Avatar
    Join Date
    May 2009
    Posts
    838
    Thanks given
    91
    Thanks received
    11
    Rep Power
    315
    Open Item.java and look for something like:
    Code:
    		int counter = 0;
    		int c;
    		try {
    			FileInputStream dataIn = new FileInputStream(new File("./bin/data/stackable.dat"));
    			while ((c = dataIn.read()) != -1) {
    				if (c == 0) {
    					itemStackable[counter] = false;
    				} else {
    					itemStackable[counter] = true;
    				}
    				counter++;
    			}
    			dataIn.close();
    		} catch (IOException e) {
    			System.out.println("Critical error while loading stackabledata! Trace:");
    			e.printStackTrace();
    		}
    And under the dataIn.close add:
    Code:
    			int[] stackid = {100, 102};
    			for (int i = 0; i < stackid.length; i++) {
    				itemStackable[stackid[i]] = true;
    			}
    So it will end up looking something like:
    Code:
    		int counter = 0;
    		int c;
    		try {
    			FileInputStream dataIn = new FileInputStream(new File("./bin/data/stackable.dat"));
    			while ((c = dataIn.read()) != -1) {
    				if (c == 0) {
    					itemStackable[counter] = false;
    				} else {
    					itemStackable[counter] = true;
    				}
    				counter++;
    			}
    			dataIn.close();
    			int[] stackid = {100, 102};
    			for (int i = 0; i < stackid.length; i++) {
    				itemStackable[stackid[i]] = true;
    			}
    		} catch (IOException e) {
    			System.out.println("Critical error while loading stackabledata! Trace:");
    			e.printStackTrace();
    		}
    And that will make item 100 and item 102 stackable, it's sorta a cheap way to do it though. ;P
    Spoiler for Signature:
    Nightly Firefox builds The 64-bit one has too many glitches, get the 32-bit one.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Mar 2009
    Age
    31
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    u bitch u made me luk stupid i didnt notice the runes l0l0l00l0l thx ROFL!!!!!


    can u help me a autocasting problem? lol
    Reply With Quote  
     

  4. #4  
    Registered Member
    Purely chill's Avatar
    Join Date
    May 2009
    Posts
    838
    Thanks given
    91
    Thanks received
    11
    Rep Power
    315
    Well, autocast already came in my source and it's a lot of code so I'll pass.
    Spoiler for Signature:
    Nightly Firefox builds The 64-bit one has too many glitches, get the 32-bit one.
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Mar 2009
    Age
    31
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    well i mean theres a glitch like the Menu not autocasting it's self PLZ
    Reply With Quote  
     

  6. #6  
    Registered Member
    Purely chill's Avatar
    Join Date
    May 2009
    Posts
    838
    Thanks given
    91
    Thanks received
    11
    Rep Power
    315
    What do you mean?
    Spoiler for Signature:
    Nightly Firefox builds The 64-bit one has too many glitches, get the 32-bit one.
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Mar 2009
    Age
    31
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    Well Ok IF Your On Ancients Magics and...u click "Autocast" it will open the wrong one it opens the one for Slayer Dart...
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Mar 2009
    Age
    31
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    and wat able noting? like Item on the paper !
    Reply With Quote  
     

  9. #9  
    Registered Member
    Purely chill's Avatar
    Join Date
    May 2009
    Posts
    838
    Thanks given
    91
    Thanks received
    11
    Rep Power
    315
    Go to your action buttons and case 1097, then it show show something around:
    Code:
    			case 1097: 
    				if (c.ancients == 1) {
    					c.setSidebarInterface(0, XXXX);
    					break;
    				}
    Change it to like:
    Code:
    			case 1097: 
    				if (c.ancients == 1) {
    					c.setSidebarInterface(0, 1689);
    					break;
    				}
    But that's my server, you might have to change it for yours.
    Spoiler for Signature:
    Nightly Firefox builds The 64-bit one has too many glitches, get the 32-bit one.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •