gerudolock Posted September 22, 2018 Posted September 22, 2018 When I attempt to interact with another player and respond to a trade request, interacting with "Trade with" silently stops my script (Player messages stop being logged). It will also not start a trade. Player tradedPlayer = getTrade().getLastRequestingPlayer(); if (tradedPlayer != null) { if (tradedPlayer.interact("Trade with")) { log("Trade initiated"); } else { log("Trade failed"); } } If I change the interaction to "Trade", then the interaction will fail. What am I doing wrong?
smy Posted September 22, 2018 Posted September 22, 2018 Osbot hooks are broken, because of the new osrs update, stay tuned for fixes. And you should use "Trade with" rather than just "Trade".
feggit Posted September 22, 2018 Posted September 22, 2018 1 hour ago, smy said: Osbot hooks are broken, because of the new osrs update, stay tuned for fixes. And you should use "Trade with" rather than just "Trade". They are fixed as of now 2 hours ago, gerudolock said: When I attempt to interact with another player and respond to a trade request, interacting with "Trade with" silently stops my script (Player messages stop being logged). It will also not start a trade. Player tradedPlayer = getTrade().getLastRequestingPlayer(); if (tradedPlayer != null) { if (tradedPlayer.interact("Trade with")) { log("Trade initiated"); } else { log("Trade failed"); } } If I change the interaction to "Trade", then the interaction will fail. What am I doing wrong? You should consider looking at the logger and see what is wrong.
gerudolock Posted September 23, 2018 Author Posted September 23, 2018 17 hours ago, feggit said: They are fixed as of now You should consider looking at the logger and see what is wrong. The logger doesn't show any errors. It just stops outputting entirely. Problem is fixed now that the osboot hooks have been updated. 1