I'm doing exactly that but it's throwing me one error which I can't figure out:
java.lang.NullPointerException
at org.osbot.rs07.script.RandomPainter.onPaint(uf:63)
at org.osbot.rs07.canvas.WrappedCanvas.IiiiIiiIiiiI(se:158)
at org.osbot.rs07.canvas.WrappedCanvas.getGraphics(se:65)
at av.q(av.java:39)
at client.an(client.java:1673)
at am.ah(am.java:392)
at am.run(am.java:346)
at java.lang.Thread.run(Unknown Source)
Hey guys,
I'm trying to make the bot go to the login screen and wait a few minutes and then log back in. While it's idling I want to be able to poll a variable to check if it needs to login or not. I've searched and found things about custom login/break handlers etc etc but what would be the best option in this case?
Are you also using the 2.5.8 client? I've ran your script and it doesn't wanna open any tabs at all. Tried it on two different machines (using the same jar)
For me it isn't able to open any of those tabs and I've added print statements all around my code. I'm not using reflection and using the 2.5.8 client.