atoo Posted November 10, 2017 Share Posted November 10, 2017 (edited) It worked fine until this morning, dont know whats wrong. Did not change any code and script has been running for 8+hours before this happend. Something in the api broken? if(getInventory().contains("Maple logs") && getInventory().contains("Knife")) { if(getBank().isOpen()) getBank().close(); if(!getBank().isOpen()) { if(!getWidgets().isVisible(270, 16)) { log("Did we get here?"); //this gets printed out if(!getInventory().isItemSelected()) getInventory().interact("Use", "Knife"); if(getInventory().isItemSelected()) getInventory().interact("Use", "Maple logs"); sleep(1000); } else { getKeyboard().typeString("3"); } } } Edit: Webwalking doesn't seem to work either the fuck lol seems like the api is outdated or smth (I guess) [ERROR][Bot #1][11/10 10:40:30 AM]: Error executing event : org.osbot.rs07.event.WebWalkEvent@6a336838 java.lang.IllegalStateException: Could not identify minimap interface child! Please report to developers. at org.osbot.rs07.api.util.GraphicUtilities.IIiIIiiIIIiI(xl:613) at org.osbot.rs07.api.util.GraphicUtilities.getMinimapScreenCoordinate(xl:441) at org.osbot.rs07.api.map.Position.isOnMiniMap(mh:694) at org.osbot.rs07.event.WebWalkEvent.execute(yg:545) at org.osbot.rs07.event.EventExecutor$2.run(ij:60) at org.osbot.rs07.event.EventExecutor.execute(ij:176) at org.osbot.rs07.script.MethodProvider.execute(bn:715) at org.osbot.rs07.api.Walking.webWalk(qg:227) at mainScript.onLoop(mainScript.java:99) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ro:134) at java.lang.Thread.run(Unknown Source) Edited November 10, 2017 by atoo Quote Link to comment Share on other sites More sharing options...
gaardzy Posted November 10, 2017 Share Posted November 10, 2017 Skynet has taken over, the machines are now the ones who are in control. Man kind is no more Quote Link to comment Share on other sites More sharing options...
RandomInc Posted November 10, 2017 Share Posted November 10, 2017 For the maple logs and knife problem, try using conditional sleeps. After each interaction, you check for animations, or inventory items. After opening and closing the bank, you check for that etc. For the webwalking, I haven't working with that yet. Can't help you 1 Quote Link to comment Share on other sites More sharing options...
The Legman Posted November 10, 2017 Share Posted November 10, 2017 20 minutes ago, RandomInc said: For the maple logs and knife problem, try using conditional sleeps. After each interaction, you check for animations, or inventory items. After opening and closing the bank, you check for that etc. For the webwalking, I haven't working with that yet. Can't help you Quote Link to comment Share on other sites More sharing options...
atoo Posted November 10, 2017 Author Share Posted November 10, 2017 48 minutes ago, RandomInc said: For the maple logs and knife problem, try using conditional sleeps. After each interaction, you check for animations, or inventory items. After opening and closing the bank, you check for that etc. For the webwalking, I haven't working with that yet. Can't help you I already check for animation in another part of My code, as for the code it was working B4. osbot client is obv outdated or something. Quote Link to comment Share on other sites More sharing options...
lojduk Posted November 10, 2017 Share Posted November 10, 2017 There has been an reboot/update today. OSbot client needs an update i guess. Will be fixed soon, like always ;) Quote Link to comment Share on other sites More sharing options...
RandomInc Posted November 10, 2017 Share Posted November 10, 2017 1 minute ago, lojduk said: There has been an reboot/update today. OSbot client needs an update i guess. Will be fixed soon, like always ;) Today? Because after the update yesterday, everything worked just fine. However, after testing the same code today, it is indeed broken. Quote Link to comment Share on other sites More sharing options...
lojduk Posted November 10, 2017 Share Posted November 10, 2017 1 hour ago, RandomInc said: Today? Because after the update yesterday, everything worked just fine. However, after testing the same code today, it is indeed broken. Ya there was a reboot today. all scripts are broken Quote Link to comment Share on other sites More sharing options...
progamerz Posted November 10, 2017 Share Posted November 10, 2017 Hooks are broken probably, we need to wait for devs to fix them Quote Link to comment Share on other sites More sharing options...