Thread: [474][TUT] First Click Object [Packet 31][TUT]

Results 1 to 4 of 4
  1. #1 [474][TUT] First Click Object [Packet 31][TUT] 
    noobbjorn999
    Guest
    In 474 protocol this packet is almost the same as in 317 protocol but
    i are making a tut on it because of the people that had not discovered
    this jet.
    Packet ID: 31
    Packet Format:
    Code:
    Opcode 31
    Signed WordBigEndianA : Object X
    Unsigned Word            : Object ID
    Unsigned WordA          : Object Y
    Code for ClientPackets.java:
    Code:
    public static final int FIRST_CLICK_OBJ = 31;
    Code for RSPlayer.handleData:
    Code:
    		case ClientPackets.FIRST_CLICK_OBJ:
    				int objectX = inStream.readSignedWordBigEndianA();
    				int objectID = inStream.readUnsignedWord();
    				int objectY = inStream.readUnsignedWordA();
    				System.out.println("objclick X:"+objectX+" objclick id:"+objectID+" objclick Y:"+objectY);
    				ReplaceObject(objectX,objectY,3019,0);
    				break;
     

  2. #2  
    Banned
    Join Date
    Jul 2008
    Age
    35
    Posts
    536
    Thanks given
    123
    Thanks received
    33
    Rep Power
    0
    thank you,helped
     

  3. #3  
    Registered Member
    Shamon King's Avatar
    Join Date
    Aug 2007
    Posts
    3,335
    Thanks given
    90
    Thanks received
    228
    Rep Power
    1363
    theres already like of these
     

  4. #4  
    Luke
    Guest
    You leeched this from me, and you added a method that isnt evan there.
     


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
  •