- Joined
- Dec 3, 2013
- Messages
- 6,771
- Thread Author
- #1
Okay so the method name is wrong, line 81 is indeed getStorageDirectory but it's the initialise method not shutdown, which i've been told can be expected. But the issue is that initialise is only called from onStart so i don't see how it's not on the bot thread. @Cloud
No point making new threads for each of these so here's another one
Code:
java.lang.UnsupportedOperationException: Calling methods that must query the session for information is no longer allowed within non-bot threads.
at nul.IiiiIIiIIIiI.super(nkb:6)
at com.runemate.game.api.hybrid.Environment.getScript(jnb:135)
at com.runemate.game.api.hybrid.Environment.getStorageDirectory(jnb:20)
at com.runemate.api.framework.MaxiScript.shutdown(MaxiScript.java:81)
at com.runemate.api.framework.MaxiScript.shutdown(MaxiScript.java:107)
at com.runemate.maxibots.looping.fisher.MaxiFisher.onStart(MaxiFisher.java:51)
at com.runemate.game.api.script.framework.AbstractScript.start(ifb:145)
at nul.iIIiIIiiIiII.run(dmb:200)
RuneMate v2.2.9.0 - MaxiFisher v1.2.91 - OSRS B9139C - Windows 10 - Java8u92 x86 (Oracle Corporation)
No point making new threads for each of these so here's another one
Code:
java.lang.UnsupportedOperationException: Calling methods that must query the session for information is no longer allowed within non-bot threads.
at nul.IiiiIIiIIIiI.super(nkb:6)
at com.runemate.game.api.hybrid.Environment.getGameType(jnb:174)
at com.runemate.game.api.hybrid.Environment.isRS3(jnb:23)
at com.runemate.game.api.hybrid.RuneScape.isLoggedIn(vmb:168)
at nul.iIIiIIiiIiII.run(dmb:228)
RuneMate v2.2.9.0 - MaxiSmelter v1.0.9 - RS3 42DEC9 - Windows 10 - Java8u92 x86 (Oracle Corporation)