Thread: some error until magic with out staff!

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 some error until magic with out staff! 
    Registered Member

    Join Date
    Aug 2008
    Posts
    699
    Thanks given
    1
    Thanks received
    0
    Rep Power
    242
    Please help...

    Code:
    src\com\rs2hd\packethandler\MagicOnPlayer.java:34: cannot find symbol
    symbol  : method readInt2()
    location: class com.rs2hd.net.Packet
                                    int magicId = packet.readInt2() & 0xff;
                                                        ^
    src\com\rs2hd\packethandler\MagicOnPlayer.java:39: cannot find symbol
    symbol  : variable id
    location: class com.rs2hd.model.Player
                                    p.id = packet.readLEShort();
                                     ^
    src\com\rs2hd\packethandler\MagicOnPlayer.java:48: cannot find symbol
    symbol  : variable InterfaceId
    location: class com.rs2hd.packethandler.MagicOnPlayer
    switch(InterfaceId) {
           ^
    src\com\rs2hd\packethandler\MagicOnPlayer.java:54: cannot find symbol
    symbol  : variable ChillId
    location: class com.rs2hd.packethandler.MagicOnPlayer
    switch(ChillId) {
           ^
    4 errors
    Press any key to continue . . .
    Click if you support

    clicky
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jan 2008
    Posts
    2,340
    Thanks given
    20
    Thanks received
    575
    Rep Power
    1202
    You need to declare the variables: ChillId and InterfaceId, as well as the readInt2 method.
    Reply With Quote  
     

  3. #3  
    Hi.

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Posts
    7,146
    Thanks given
    256
    Thanks received
    1,252
    Rep Power
    3714
    In packet.java you need to add the readInt2 method and you need to add the variables for interface and child



    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Aug 2008
    Posts
    699
    Thanks given
    1
    Thanks received
    0
    Rep Power
    242
    sorry i am kind of not good at this part here. How would i declare those two? only been coding 525. 2 months.

    i got the other 2 errors now 2 left.
    Click if you support

    clicky
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Aug 2008
    Posts
    699
    Thanks given
    1
    Thanks received
    0
    Rep Power
    242
    Bump please help.
    Click if you support

    clicky
    Reply With Quote  
     

  6. #6  
    Hi.

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Posts
    7,146
    Thanks given
    256
    Thanks received
    1,252
    Rep Power
    3714
    And then you say you a 525 coder? lol

    In Packet.java around com.rs2hd.net and open up packet.java and add this

    Code:
    public int readInt2() {
    	return ((pData[caret++] & 0xff) << 16)
    	| ((pData[caret++] & 0xff) << 24)
    	| (pData[caret++] & 0xff)
    	| ((pData[caret++] & 0xff) << 8);
    }



    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Aug 2008
    Posts
    699
    Thanks given
    1
    Thanks received
    0
    Rep Power
    242
    i already had that. i am taking about the interface id and the child id errors.
    Click if you support

    clicky
    Reply With Quote  
     

  8. #8  
    Hi.

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Posts
    7,146
    Thanks given
    256
    Thanks received
    1,252
    Rep Power
    3714
    Add my msn [email protected] and Ill help you



    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Aug 2008
    Posts
    699
    Thanks given
    1
    Thanks received
    0
    Rep Power
    242
    added.
    Click if you support

    clicky
    Reply With Quote  
     

  10. #10  
    why teh fuc
    Guest
    Btw those streams are wrong.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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
  •