Mikee_ Posted January 5, 2017 Posted January 5, 2017 (edited) My bot was working fine, didn't even change anything. Now I'm getting an error everytime it attempts to loot drops.. Here is the code gi = getGroundItems().closest(lootDrops[i]); if (gi != null) { state = "Looting Item: "+lootDrops[i]; ItemDefinition itDef = gi.getDefinition(); int itemId = itDef.isNoted() ? itDef.getUnnotedId() : itDef.getId(); int price = getItemPrice(itemId, i); int amount = gi.getAmount(); int thisProfit = amount * price; if (gi.interact("Take")) { profit += thisProfit; log("Looted x "+amount+" "+lootDrops[i]+" for "+thisProfit+" profit."); lastLooted = lootDrops[i]; } partialSleep(random(600,800)); return true; } Here is the error [ERROR][Bot #1][01/04 11:53:17 PM]: Error in bot executor! java.lang.AbstractMethodError: client.getTileVisibilityArray()[[Z at org.osbot.rs07.api.map.Position.isVisible(ti:150) at org.osbot.rs07.event.InteractionEvent.execute(ng:369) at org.osbot.rs07.event.EventExecutor$2.run(xg:188) at org.osbot.rs07.event.EventExecutor.execute(xg:201) at org.osbot.rs07.api.model.GroundItem.interact(ah:41) at LavaDragon.LavaDragon.lootDrops(LavaDragon.java:275) at LavaDragon.LavaDragon.getState(LavaDragon.java:470) at LavaDragon.LavaDragon.onLoop(LavaDragon.java:77) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(hk:274) at java.lang.Thread.run(Unknown Source) Seems to be happening on the line if (gi.interact("Take")) { Edited January 5, 2017 by puremikeg943
Team Cape Posted January 5, 2017 Posted January 5, 2017 Maybe try if(gi.exists() && gi.interact("Take"))
ProjectPact Posted January 5, 2017 Posted January 5, 2017 Devs are aware and have already began looking into the issue! - PP 1