Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug onStart(String... args) not being ran on bot thread

Joined
Dec 10, 2014
Messages
3,255
I'm pretty sure onStart should be ran on a bot thread. I can't reproduce this error locally though.
Code:
java.lang.UnsupportedOperationException: Calling methods that must query the session for information is no longer allowed within non-bot threads. at nul.iIiiiIiiIIiI.null(ftb:191) at com.runemate.game.api.hybrid.Environment.getGameType(gtb:137) at com.runemate.game.api.hybrid.Environment.isRS3(gtb:107) at com.alphav2.api.bot.AlphaBot.onStart(AlphaBot.java:88) at com.runemate.game.api.script.framework.AbstractScript.start(pza:27)
Mainly posting so that I remember to investigate it.
@Cloud @SlashnHax
 
Top