Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved (RS3) Trade Interface getTraderName bug

Joined
Mar 14, 2017
Messages
156
issue when checking trading name. on the confirmation screen it uses the top (interface 334,14, when it should be using interface 334,21)

this results in name that it returns to be either "Waiting for other player..." or "Other player has accepted." as being the players name, once a trade has been accepted

@Cloud @Party @SlashnHax
 
Joined
Mar 14, 2017
Messages
156
Game mode is RS3.
When the trade interface is at the offer screen (Trade.atOfferScreen()), Trade.getTradersName() returns the correct value (the player name of the person you are trading

when both people have clicked accept and it switches to the confirmation screen (Trade.atConfirmationScreen()), then Trade.getTradersName() returns the string value from the wrong interface id, and returns the string at the top of the trade window, which will change to "Waiting for other player..." or "Other player has accepted." once someone has clicked accept

checking with OpenInterfaceExplorer, i have found that on the confirmation screen, it tries to pull the TradersName from the interface id: (334,14) , when it should be getting the traders name from interface id: (334,21)



Example: if players name is sickness0666, when you are at the offer screen, Trade.getTradersName(), once both players accept, it proceeds to the Confirmation screen, checking Trade.getTradersName() will now return "Are you sure you want to make this trade?" , "Waiting for other player...", or "Other player has accepted." instead of returning sickness0666
 
@Party
 
Top