Satire Posted February 25, 2017 Share Posted February 25, 2017 (edited) So I've found 2 possible bugs but I'm not sure. Some bugs seem to only happen on my end and not on other ends. Bug 1: Run does not work. Confirmed bug using code: if(settings.getRunEnergy() >=50){ if(!settings.isRunning()) settings.setRunning(true); } Bug 2: Does not recognize bronze pickaxe. Regardless of ID or string. Still unconfirmed if(getBank().isOpen()){ log("Bank is open"); log(getBank().contains(1265)); if(getBank().contains(1265)){ log("Has axe"); waitCondition(() -> bank.withdraw(1265,1), 2000); bank.close(); return true; } .contains(1265 or "Bronze pickaxe") returns false all the time for whatever reason -.- Can you guys please tell me if this works on your end. I'm not sure what's going on here. It's very annoying Edited February 25, 2017 by Satire Quote Link to comment Share on other sites More sharing options...
Stimpack Posted February 25, 2017 Share Posted February 25, 2017 (edited) getSettings().getRunEnergy() returns 0 regardless of the actual run value i posted a bug report on it, haven't been able to test the bronze axe bug tho Edited February 25, 2017 by Stimpack Quote Link to comment Share on other sites More sharing options...
Satire Posted February 25, 2017 Author Share Posted February 25, 2017 (edited) 8 minutes ago, Stimpack said: getSettings().getRunEnergy() returns 0 regardless of the actual run value i posted a bug report on it, haven't been able to test the bronze axe bug tho Great to hear! I knew it wasn't registering something and I never had the chance to fully debug it. But the bronze pickaxe tho, it always returns false for me! I'm not even sure if it's my PC... Before I had a tradebug that only happened on my PC and I had to clear my cache and delete every trace of osbot. I don't want to do that until I know it is only me. EDIT2: Half my script is broken after this update. Something is definitely wrong. Previous update, there were 0 problems at all. Now it's just screwed. Edited February 25, 2017 by Satire Quote Link to comment Share on other sites More sharing options...
InsomniakSam Posted February 25, 2017 Share Posted February 25, 2017 21 minutes ago, Satire said: .contains(1265 or "Bronze pickaxe") returns false all the time for whatever reason -.- had the same problem with 1277 or "Bronze sword" for like the 3 or 4 first try then it worked without changing anything... and yeah the getRunEnergy is bugged Quote Link to comment Share on other sites More sharing options...
Satire Posted February 25, 2017 Author Share Posted February 25, 2017 1 minute ago, insomniaksam said: had the same problem with 1277 or "Bronze sword" for like the 3 or 4 first try then it worked without changing anything... and yeah the getRunEnergy is bugged I left the script on for 5 mins straight. It kept opening and closing bank, returning false all the time. So Maybe there is something wrong with bronze. Maybe it's cause bronze looks similar to black in some sort of way? Not sure how the API determines the item. By string or color? Quote Link to comment Share on other sites More sharing options...
Stimpack Posted February 25, 2017 Share Posted February 25, 2017 if it's any help, there have been cases where I try to get the bank amount of a certain item but it returns 0 (even though I have 2,000 or so). it goes and comes though, it's hard to replicate. Quote Link to comment Share on other sites More sharing options...
Chris Posted February 25, 2017 Share Posted February 25, 2017 banking is working fine for me Quote Link to comment Share on other sites More sharing options...
Satire Posted February 25, 2017 Author Share Posted February 25, 2017 (edited) 8 minutes ago, Chris said: banking is working fine for me So .contains bronze pickaxe return true? If so, thanks. Time to delete all OSBOT traces again and hope it's fixed. Edited February 25, 2017 by Satire Quote Link to comment Share on other sites More sharing options...
Chris Posted February 25, 2017 Share Posted February 25, 2017 5 minutes ago, Satire said: So .contains bronze pickaxe return true? If so, thanks. Time to delete all OSBOT traces again and hope it's fixed. I did not test bronze pick but my script is banking just fine. Make sure you compile your script with the new client build. Quote Link to comment Share on other sites More sharing options...
Satire Posted February 25, 2017 Author Share Posted February 25, 2017 Just now, Chris said: I did not test bronze pick but my script is banking just fine. Make sure you compile your script with the new client build. My script banks just fine dude. It withdraws every pickaxe except the bronze pickaxe. Please try test it with a bronze pickaxe and then tell me if it works. I did compile it with the latest build... Quote Link to comment Share on other sites More sharing options...