Thread: [718] Help with Right-Click Player Options

Results 1 to 3 of 3
  1. #1 [718] Help with Right-Click Player Options 
    Registered Member
    Join Date
    Jul 2013
    Posts
    26
    Thanks given
    2
    Thanks received
    1
    Rep Power
    22
    Hello,
    I've recently implemented the right-click "view stats" option on my 718 private server. The option to view stats does show up as option, but when I actually click the option, nothing happens. No error in my Eclipse console, nothing in game. I have full access to the code, so I can screenshot anything necessary to assisting me. By the way, I followed this tutorial down to the letter: [Only registered and activated users can see links. ] .....any and all help is appreciated!
    Reply With Quote  
     

  2. #2  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    717
    Thanks given
    198
    Thanks received
    189
    Discord
    View profile
    Rep Power
    267
    For some stupid reason this guy says to add this code:

    Code:
            } else if (packetId == PLAYER_OPTION_2_PACKET) {            @SuppressWarnings("unused")
    Even though he's telling you to add the option to the 6th slot.
    Change that bit of line to PLAYER_OPTION_6_PACKET and it should work as long as you followed it correctly.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2013
    Posts
    26
    Thanks given
    2
    Thanks received
    1
    Rep Power
    22
    Yeah, even with my limited knowledge of Java, this looked weird to me when I was applying the code lol. I will try this fix, thank you.

    Quote Originally Posted by Hellman2741 View Post
    For some stupid reason this guy says to add this code:

    Code:
            } else if (packetId == PLAYER_OPTION_2_PACKET) {            @SuppressWarnings("unused")
    Even though he's telling you to add the option to the 6th slot.
    Change that bit of line to PLAYER_OPTION_6_PACKET and it should work as long as you followed it correctly.
    Yeah, even with my limited knowledge of Java, this looked weird to me when I was applying the code lol. I will try this fix, thank you.

    Quote Originally Posted by Hellman2741 View Post
    For some stupid reason this guy says to add this code:

    Code:
            } else if (packetId == PLAYER_OPTION_2_PACKET) {            @SuppressWarnings("unused")
    Even though he's telling you to add the option to the 6th slot.
    Change that bit of line to PLAYER_OPTION_6_PACKET and it should work as long as you followed it correctly.
    Probably an anti-leech, funnily enough
    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

Similar Threads

  1. [667] Help with right clicking.
    By Skylar123 in forum Help
    Replies: 7
    Last Post: 09-26-2013, 04:54 AM
  2. Need help with right click interface dupe.
    By Poesy700 in forum Help
    Replies: 0
    Last Post: 01-12-2013, 12:50 PM
  3. Help with right clicking over money orb
    By xiNotoriousix in forum Help
    Replies: 0
    Last Post: 01-08-2012, 03:34 PM
  4. Need help with right click
    By nicky-nino in forum Help
    Replies: 0
    Last Post: 03-06-2010, 08:29 AM
  5. Make new right click player option
    By w::v::d in forum Tutorials
    Replies: 2
    Last Post: 06-23-2008, 03:34 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •