Thread: [PI] Accept Trade

Results 1 to 7 of 7
  1. #1 [PI] Accept Trade 
    Registered Member mattsforeal's Avatar
    Join Date
    Oct 2009
    Posts
    263
    Thanks given
    77
    Thanks received
    90
    Rep Power
    63
    I know this is probably something stupid I'm missing but how do i make the "accept trade" button work when it says "x wishes to trade with you" I've been looking in 'Tradeandduel' and cant find whats wrong with the code... I assume its next to accept challenge but idk. Please help I know this makes me look stupid...
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Sep 2009
    Posts
    388
    Thanks given
    20
    Thanks received
    21
    Rep Power
    18
    Not really understanding what you are saying.
    Reply With Quote  
     

  3. #3  
    Registered Member mattsforeal's Avatar
    Join Date
    Oct 2009
    Posts
    263
    Thanks given
    77
    Thanks received
    90
    Rep Power
    63
    Clicking that doesn't do anything...
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jun 2010
    Age
    36
    Posts
    4,335
    Thanks given
    4
    Thanks received
    274
    Rep Power
    0
    Lol, did you make it send the interface when you click it?
    Reply With Quote  
     

  5. #5  
    looking for partnership

    Satan's Avatar
    Join Date
    Oct 2010
    Posts
    833
    Thanks given
    287
    Thanks received
    68
    Rep Power
    269
    rip the tradeandduel from another sourceD:

    [/url]
    Reply With Quote  
     

  6. #6  
    Registered Member mattsforeal's Avatar
    Join Date
    Oct 2009
    Posts
    263
    Thanks given
    77
    Thanks received
    90
    Rep Power
    63
    Quote Originally Posted by Aurora View Post
    Lol, did you make it send the interface when you click it?
    Yes, I'm pretty sure its server sided, When you click it you walk to the player but the interface doesn't show up.
    Reply With Quote  
     

  7. #7 Solution! 
    Registered Member mattsforeal's Avatar
    Join Date
    Oct 2009
    Posts
    263
    Thanks given
    77
    Thanks received
    90
    Rep Power
    63
    Solution!

    Turns out two things were backwards...
    In client.java -
    Code:
    getPA().showOption(4, 0,"Follow", 4);
    			getPA().showOption(5, 0,"Trade With", 3);
    instead of -
    Code:
    getPA().showOption(4, 0,"Trade With", 3);
    			getPA().showOption(5, 0,"Follow", 4);
    In PacketHandler.java -
    Code:
    packetId[139] = new Trade();
    		packetId[39] = new FollowPlayer();
    instead of -
    Code:
    packetId[39] = new Trade();
    		packetId[139] = new FollowPlayer();
    Very strange Hope this helps anyone with my problem
    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. why it don't accept this?
    By Hexagon in forum Help
    Replies: 4
    Last Post: 03-07-2009, 10:36 PM
  2. Accept Aid config ID?
    By tru3 ki11a in forum Configuration
    Replies: 5
    Last Post: 11-19-2008, 05:56 PM
  3. Replies: 22
    Last Post: 09-08-2007, 02:24 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •