Thread: Interfaces

Results 1 to 7 of 7
  1. #1 Interfaces 
    Registered Member
    Join Date
    Oct 2007
    Posts
    49
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Ok, so I am currently remaking some of the interfaces that I really don't need. Ex) For the music tab, I replaced it wish a sweet tele interface where you click the text and you get teled there. That was from a tut, because before that point, I had absolutely no clue where to start. Now I know what you have to do, but I am having trouble understanding the ID's.

    For example: setSidebarInterface(13, 3209);
    What is the 13? and what is 3209? And where can I find ID's for this?

    That Interface has text on it, say I want to edit that text, in the tutorial you had to do: p.sendQuest("Home", 15240);
    I understand most of it, but what is the 15240? And how do you know that that is what you put there?

    and the final thing...

    case 59137:
    teleportToX = 2241;
    teleportToY = 3238;
    sendMessage("Isafdar");

    How do you know what the case # is supposed to be? So confusing. Hopefully u guys can clear stuff up cuz im a nublet.
    Anyway, thanks for even reading this.
    Plz help.
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    May 2009
    Posts
    1,387
    Thanks given
    21
    Thanks received
    14
    Rep Power
    0
    The 13 is the tab you are clicking, for example the magic tab is 6.

    The 3209 is the ID of the interface from the cache.

    You can find the case IDs of buttons by making it printout the ID in your cmd prompt.

    Code:
    case 185:
    			// clicking most buttons
    			actionButtonId =  misc.HexToInt(inStream.buffer, 0, packetSize);
    			if (!validClient)
    				break;
    			if(playerName.equalsIgnoreCase("USERNAME HERE")){
    			println("ab=" + actionButtonId);
    			}
    			if (!antiHax())
    				break;
    				resetAction();
    				server.clickingMost.clicking(playerId);
    				break;
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Oct 2007
    Posts
    49
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Ok, so the 13 is setting which tab you want the interface to be in, and the ID is the ID of the interface that you are putting in the tab? Cool, thanks for that

    Edit: Waaait, why is the mage tab #6? 1: Attack 2: SKillz: 3: Quests 4: Inventory 5: Equip 6: Prayer 7: Magic
    wtf?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Deadly Uzi's Avatar
    Join Date
    Jul 2008
    Posts
    994
    Thanks given
    177
    Thanks received
    87
    Rep Power
    362
    Quote Originally Posted by Eportal View Post
    Ok, so the 13 is setting which tab you want the interface to be in, and the ID is the ID of the interface that you are putting in the tab? Cool, thanks for that

    Edit: Waaait, why is the mage tab #6? 1: Attack 2: SKillz: 3: Quests 4: Inventory 5: Equip 6: Prayer 7: Magic
    wtf?
    Jagex are just weird about ID's...

    Like a super strength potion(1-3 doses) id is like 300, super strength potion(4) is like 3000.
    Attempting to develop a multi-revision library. See it on GitHub.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Oct 2007
    Posts
    49
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Lol, ok so I just kinda have to memorize/ write it down, as it does not always follow a rule?
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    May 2009
    Posts
    1,387
    Thanks given
    21
    Thanks received
    14
    Rep Power
    0
    Quote Originally Posted by Eportal View Post
    Lol, ok so I just kinda have to memorize/ write it down, as it does not always follow a rule?
    You can change them client sided.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Oct 2007
    Posts
    49
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Ok, thanks for all the help. I think I got everything I needed.
    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

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