sudoinit6 Posted June 7, 2017 Posted June 7, 2017 This was working before but stopped in the last week (not sure when). My mule bots use it: Player mule = players.closestThatContains("xxx"); if (mule != null) { log("I see" + mule); Script.sleep(Script.random(2000, 3000)); mule.interact("Trade with"); } The log shows this: [INFO][Bot #1][06/06 09:56:23 PM]: I seeorg.osbot.rs07.api.model.Player@XXXXXXXX Repeatedly so it is seeing the mule just not interacting with it. Any thoughts?
Phaibooty Posted June 7, 2017 Posted June 7, 2017 (edited) Uh I'm on mobile. So this might be weird. LMK if this works. @sudoinit6 Change to: Mule = players.closest("namehere"); Edited June 7, 2017 by Phaibooty
Chris Posted June 7, 2017 Posted June 7, 2017 String name = trader.replace(' ', '\u00A0'); Player player = getPlayers().closest(name); if player != null log(player.getname) player.interact("Trade with");
sudoinit6 Posted June 7, 2017 Author Posted June 7, 2017 Never mind, it was a PEBKAC issue, The bot had the same three letter combo in it's name as the mules. Sorry for wasting peoples time. 2