Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Clients ability to interact with script while in random event


    thenewfella

    Recommended Posts

    Hello,

    I've been scripting on dreambot, and there are cases when I'm using some interface(in bank, viewing requirements for skills(while in game)) and then random-event npc shows up, and all the work is being redirected to client. 

     

    The problem is, that there are some cases when client doesn't know how to close some interface, which is Ok, I can handle them myself via random events manager, but I'm not sure whether my script will be first to react the random event and to close interface , which is handled by my script, before the client takes over.

     

    Is my assumption correct?

     

    Thanks.

    Link to comment
    Share on other sites

    Well, I mean If I disabled the auto random event's NPC dismissing, I could do it in my own script, if(randomEvent) doDisable.. 

     

    Becouse I don't want to risk and I find out that bot got stuck in the phase when the interface is opened and bot couldn't make a move

    Link to comment
    Share on other sites

    I'm fairly certain that the client stops your script and dismisses the random event, then continues your script again. Unless the client missclicks or something, I don't see there being a problem.

    Link to comment
    Share on other sites

    I'm fairly certain that the client stops your script and dismisses the random event, then continues your script again. Unless the client missclicks or something, I don't see there being a problem.

    Well, I consider it as problem, as the client is unable to exit the interface(it's not a standard one). 

     

    Any ideas?

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.