WhoKnew Posted February 3, 2018 Share Posted February 3, 2018 15 minutes ago, progamerz said: what is on line 123 in WhoGECooker.java? and what is on line 135? public boolean isFire() { final Entity fire = objects.closest("Fire"); return fire.getPosition().equals(cookTile); } 1 Link to comment
progamerz Posted February 3, 2018 Share Posted February 3, 2018 1 minute ago, WhoKnew said: public boolean isFire() { final Entity fire = objects.closest("Fire"); return fire.getPosition().equals(cookTile); } Here u go, the problem is u aren't null checking, insert an != null always before interacting or getting info of an object 1 Link to comment
WhoKnew Posted February 3, 2018 Share Posted February 3, 2018 7 minutes ago, progamerz said: Here u go, the problem is u aren't null checking, insert an != null always before interacting or getting info of an object Hmm... Dumb mistake I guess. I never came across with hours of tests. Weird. 1 Link to comment
Alek Posted February 4, 2018 Author Share Posted February 4, 2018 4 hours ago, WhoKnew said: Was working fine, but the break handler logging back in caused it to break. Couldn't get a log, because the client lagged out. EDIT: Here is screenshot of logger, logger freezes as well Edit: Stealth mode Looks like a script problem 1 1 Link to comment
rentico Posted February 4, 2018 Share Posted February 4, 2018 (edited) im having a few problems. i duno if it is a script issue but has been happening since last two client updates. it will be working (with alot more than normal lag) but then it just stops for example "fighting" and just stands still wont click on any thing. any ideas? soz wrong place Edited February 4, 2018 by rentico wrong thread 1 Link to comment
guac Posted February 4, 2018 Share Posted February 4, 2018 the issue with Player.getName(), as described in This closed ClientBugs thread is still not resolved for me. I have deleted the whole OSBot folder, am 100% using 2.4.162, but parent.getPlayers().closest(playerName) with parent being script and playerName a String below 13 characters still results in [ERROR][Bot #1][02/04 08:54:13 AM]: Error in bot executor! java.lang.AbstractMethodError: bc.getName()Lorg/osbot/rs07/accessor/XName; at org.osbot.rs07.api.model.Player.getName(ok:99) at org.osbot.rs07.api.filter.NameFilter.match(ml:256) at org.osbot.rs07.api.filter.NameFilter.match(ml:196) at org.osbot.rs07.api.filter.FilterAPI.filter(pn:10) at org.osbot.rs07.api.EntityAPI.closest(nj:254) at org.osbot.rs07.api.EntityAPI.closest(nj:267) at org.osbot.rs07.api.EntityAPI.closest(nj:104) at lib.command.TradeRequest$1.condition(TradeRequest.java:64) at org.osbot.rs07.utility.ConditionalSleep.sleep(bk:47) at lib.command.TradeRequest.sendRequest(TradeRequest.java:66) at lib.command.TradeRequest.execute(TradeRequest.java:34) at lib.command.CommandHandler.handleCommand(CommandHandler.java:55) at Main.onLoop(Main.java:114) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(yl:276) at java.lang.Thread.run(Thread.java:748) 1 Link to comment
Alek Posted February 4, 2018 Author Share Posted February 4, 2018 13 minutes ago, guac said: the issue with Player.getName(), as described in This closed ClientBugs thread is still not resolved for me. I have deleted the whole OSBot folder, am 100% using 2.4.162, but parent.getPlayers().closest(playerName) with parent being script and playerName a String below 13 characters still results in Try deleting your OSBot folder. 5 hours ago, rentico said: im having a few problems. i duno if it is a script issue but has been happening since last two client updates. it will be working (with alot more than normal lag) but then it just stops for example "fighting" and just stands still wont click on any thing. any ideas? soz wrong place What does the logger say? 1 Link to comment
PurpGaming Posted February 4, 2018 Share Posted February 4, 2018 50 minutes ago, Alek said: the issue with Player.getName(), as described in This closed ClientBugs thread is still not resolved for me. I have deleted the whole OSBot folder, am 100% using 2.4.162, but parent.getPlayers().closest(playerName) with parent being script and playerName a String below 13 characters still results in same for problem with me . 1 Link to comment
Lewis Posted February 4, 2018 Share Posted February 4, 2018 (edited) http://puu.sh/zglaN/a7b866890a.png http://puu.sh/zglbH/b66c43f6ed.png wai error, doesnt happen every time^ just random btw should go without saying, but the mule isnt null, mules right next to acc lol Edited February 4, 2018 by Lewis 1 Link to comment
spectre007 Posted February 4, 2018 Share Posted February 4, 2018 1 hour ago, hunsilan said: same for problem with me . same for me 1 Link to comment
fstyle Posted February 4, 2018 Share Posted February 4, 2018 @guac @Lewis hit me up when you guys find a solution. Link to comment
guac Posted February 4, 2018 Share Posted February 4, 2018 38 minutes ago, fstyle said: @guac @Lewis hit me up when you guys find a solution. Judging, among others, from the posts in different subforums, the issue still lies with the client. AFAIK the whole thing started when Jagex updated the game, which made some functions of the Osbot library no-function. Perhaps version 2.4.162 fixed some of the issues, but apparently not all. All we can do now is wait for the client to receive further fixes. 1 Link to comment
Stimpack Posted February 4, 2018 Share Posted February 4, 2018 can't reproduce bug described above. post ur code Link to comment
Jardem Posted February 4, 2018 Share Posted February 4, 2018 Any other Extended VIP's still having issues logging in? ( Day 4 of no gainzz here ) Link to comment
guac Posted February 5, 2018 Share Posted February 5, 2018 17 hours ago, Stimpack said: can't reproduce bug described above. post ur code I just tried it again, once, and it somehow worked now. Did nothing differently. Anyway, here is the code, if it's still relevant for you. Output.logMessage("cp-3"); // find player Player tradePartner = null; new ConditionalSleep(10100,Shared.getRandomCheckFrequency(760, 2400)) { @Override public boolean condition() { return parent.getPlayers().closest(playerName) != null; } }.sleep(); Output.logMessage("cp-2"); try{ tradePartner = parent.getPlayers().closest(playerName); } catch (NullPointerException e){ Output.logError("couldn't find player (1): " + playerName); return false; } if (tradePartner == null){ Output.logError("couldn't find player (2): " + playerName); return false; } // once the other player is not null, send trade request to that player Output.logMessage("cp-1"); It only ever got to "cp-3" Link to comment