battleguard Posted February 7, 2018 Posted February 7, 2018 Hey I am trying to write an automated muler, but I am not seeing any easy way to accept trade anyone have a snippet I can use.
Muffins Posted February 7, 2018 Posted February 7, 2018 https://osbot.org/api/org/osbot/rs07/api/Trade.html ????????????
battleguard Posted February 7, 2018 Author Posted February 7, 2018 1 minute ago, Muffins said: https://osbot.org/api/org/osbot/rs07/api/Trade.html ???????????? All of those methods are for when the trade window is open. There is nothing for accepting a trade offer in the message window.
Muffins Posted February 7, 2018 Posted February 7, 2018 2 minutes ago, battleguard said: All of those methods are for when the trade window is open. There is nothing for accepting a trade offer in the message window. //Example getTrade().getLastRequestingPlayer().interact("Trade"); There is stuff there to use, just gotta use your head.
speciality Posted February 7, 2018 Posted February 7, 2018 4 minutes ago, battleguard said: All of those methods are for when the trade window is open. There is nothing for accepting a trade offer in the message window. Maybe because you're looking for trade accept when it's a trade request buddy.
battleguard Posted February 7, 2018 Author Posted February 7, 2018 ok thanks for everyones help I did not know you could right click the player and trade after they have traded to open up the window I thought you had to click the accept trade message in the chat.