Thread: Need packet ID for item option 1

Results 1 to 3 of 3
  1. #1 Need packet ID for item option 1 
    k1ng 0f k1ngs
    Guest
    Hello everyone!
    I'm starting a new server off iClarity's blank server base.
    So I'm currently creating a handler for item option 1 clicks.
    I already created the ItemOption1 class, so now all I need is to know in which case I need to call, the handlePacket(Client client, int item) method in.
    By the way, here's my ItemOption1.java:
    Code:
    package iClarity.rs2.io.packets;
    
    import iClarity.rs2.players.*;
    
    public class ItemOption1{
        public static void handlePacket(Client client, int item){
    		switch(item){
    		    default:
    			    System.out.print("Unhandled item 1 click: " + item + "\n");
    			break;
    		}
    	}
    }
    So if there's anything wrong in it, please tell me.
    -And yes I will add to your reputation if you just tell me the packet ID for item option 1 clicks.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Hunter's Avatar
    Join Date
    Jun 2009
    Age
    33
    Posts
    857
    Thanks given
    3
    Thanks received
    23
    Rep Power
    216
    122 is the packet I think.
    Reply With Quote  
     

  3. #3  
    k1ng 0f k1ngs
    Guest
    Quote Originally Posted by Hunter- View Post
    122 is the packet I think.
    Thanks, I'll try that
    EDIT: Thanks mate it worked! Repped
    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
  •