Molly Posted February 6, 2015 Share Posted February 6, 2015 Okay, so I have issues with a script of mine looting under the following conditions: -Big stack of loot(4+ items). -Item desired to be looted is at or near the bottom of the list of items when you right click the pile. Looting works fine for every other imaginable scenario, however when those conditions are met the bot will click on the tile on the minimap multiple times(assuming it's attempting to loot?), this goes on for around 10-15 seconds before it moves on from the interact command in my code. What I have done as a temporary fix is added an if statement that is essentially: if(item.interact("Take"){ log("success"); } else { log("failed, blacklisting this tile); //adds tile to a blacklist, which resets every 30-45 seconds } This solution works fine for blacklisting tiles I don't want the bot to bug out on because of the problem. The issue however is the 10-15 seconds of basically downtime while the bot attempts to execute the interact command, it doesn't just try once and return false, it tries multiple times before returning true or false. Does anyone have any suggestions that would help me out? Link to comment Share on other sites More sharing options...
Alek Posted February 6, 2015 Share Posted February 6, 2015 It probably can't see the item. I'll look at it this weekend. Link to comment Share on other sites More sharing options...