June 7, 20178 yr 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?
June 7, 20178 yr Uh I'm on mobile. So this might be weird. LMK if this works. @sudoinit6 Change to: Mule = players.closest("namehere"); Edited June 7, 20178 yr by Phaibooty
June 7, 20178 yr String name = trader.replace(' ', '\u00A0'); Player player = getPlayers().closest(name); if player != null log(player.getname) player.interact("Trade with");
June 7, 20178 yr Author 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.
Create an account or sign in to comment