- Joined
- Nov 3, 2013
- Messages
- 609
- Thread Author
- #1
@Arbiter @Cloud @SlashnHax
Can you make the Environment functions:
getGameType
isOSRS
isRS3
available on non bot threads so they can be used in onStart? These values should be known by the time the bot is started since the user has to explicitly select which version of the game they connecting to.
Certain settings (ex. mining locations) are based on the game type and need to be populated in the GUI in the onStart.
@Cloud plz
Line 41 of this file:
Exia-Mining-All-In-One/ExiaMinerAIO.java at master · JohnRThomas/Exia-Mining-All-In-One · GitHub
is where the error occurs.
Can you make the Environment functions:
getGameType
isOSRS
isRS3
available on non bot threads so they can be used in onStart? These values should be known by the time the bot is started since the user has to explicitly select which version of the game they connecting to.
Certain settings (ex. mining locations) are based on the game type and need to be populated in the GUI in the onStart.
Code:
java.lang.UnsupportedOperationException: Calling methods that must query the session for information is no longer allowed within non-bot threads.
at nul.IIIiiIiiIIiI.char (dqb:171)
at com.runemate.game.api.hybrid.Environment.getGameType(xrb:97)
at com.runemate.game.api.hybrid.Environment.isRS3(xrb:217)
at scripts.ExiaMinerAI.onStart(ExiaMinerAIO.java:41)
at com.runemate.game.api.script.framework.AbstractScript.start(oab:19)
at nul.iiIIIIiIiiii.run(hqb:31)
RuneMate v2.3.3.4 - Exia Miner AIO v1.5.1 - OSRS EF19DD - Windows 10 - Java8u92 x86 (Oracle Corporation)
@Cloud plz
Line 41 of this file:
Exia-Mining-All-In-One/ExiaMinerAIO.java at master · JohnRThomas/Exia-Mining-All-In-One · GitHub
is where the error occurs.