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

Discussion in 'Client & Site Support' started by SlashnHax, Jul 10, 2016.

  1. SlashnHax

    SlashnHax The Chosen One

    Joined:
    Dec 10, 2014
    Messages:
    2,957
    Likes Received:
    864
    I'm pretty sure onStart should be ran on a bot thread. I can't reproduce this error locally though.
    Code (Text):
    1. 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
     

Share This Page

Loading...