March 11, 20169 yr this is the code and it gave an null pointer exception BEFORE THIS LINE OF CODE (log) so, you would assume the problem is in getwalking ,right? because it doesnt log attempting to find banker, logical right? well, apparently i didnt null check(i would null check it, only later in scripting because i wanted to fix this first banker was null apparently now comes the real question how the hell did it jump the code and skip log("attempting to find banker") ??? this baffles me EDIT: teamviewed me and experienced the weirdness of this. after i fixed the problem, i ctrl+z 'd all the way back and it was exactly the same, and i couldn't reproduce the problem. it drives me insane lol... Edited March 11, 20169 yr by The Hero of Time
March 11, 20169 yr I'm no coder, but shouldn't you have a sleep while it walks itself to the bank? Or am I completely wrong and that's not the issue?
March 11, 20169 yr Author I'm no coder, but shouldn't you have a sleep while it walks itself to the bank? Or am I completely wrong and that's not the issue? nope :p
March 12, 20169 yr why not use if (!bank.isOpen() { bank.open(); new ConditionalSleep(5000) { public boolean condition() throws InterruptedException { return bank.isOpen(); }.sleep(); }
Create an account or sign in to comment