Welcome!

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

Sign up now!

Resolved Login Handler in SDK mode

Joined
Jan 23, 2017
Messages
13
I have noticed that all the bots that every time I debug a script, the login handler doesn't work. Is this because I am in SDK mdoe?

I need it to work because I want to test a break handler.
 
Joined
Dec 31, 2015
Messages
602
The login handlers do definitely work, I am using them.

What code are you using to disable the login handler?
 
Joined
Feb 26, 2015
Messages
821
The login handler works for me. Disabling the login and lobby handlers also works for me.
 
Joined
Jan 23, 2017
Messages
13
Which RS?? And can we see the code?
I don't see how the code is relevant as this is not relevant to the code.

The login handler does not run when I start a bot in SDK mode
 
The login handler works for me. Disabling the login and lobby handlers also works for me.
May this be caused because I am running RuneMate.jar with Launch.bat from eclipse?
 
Go check out new bots and give helpful feedback.
Joined
Jan 31, 2016
Messages
5,413
I don't see how the code is relevant as this is not relevant to the code.

The login handler does not run when I start a bot in SDK mode
 

May this be caused because I am running RuneMate.jar with Launch.bat from eclipse?
Maybe, also make sure your not using any while or for loops.
 
Joined
Jan 23, 2017
Messages
13
A while or for loop will prevent any random handlers from executing until the loop ends.
I am using the loopingscript implementation of runemate...
Which one should I use instead?
I should have looked more closely a tthe deprecation

PS I am making a node bot
 
Joined
Feb 26, 2015
Messages
821
I am using the loopingscript implementation of runemate...
Which one should I use instead?
I should have looked more closely a tthe deprecation

PS I am making a node bot

I'd go with TaskBot for your first bot, imo it's the easiest for beginners to get used to.
 
Joined
Dec 10, 2014
Messages
3,251
Well I'm no beginner programmer. So would this be the easiest, or the most practical? I'd prefer practical
It's more practical. Although if you were planning on making a "Node bot", which I assume is a DFSM based bot, it might be easier to do so in a LoopingBot, but remember to only do one transition and execution each loop. Imo they aren't well suited though, as you might end up in a state and not be able to meet any transition conditions, or you end up resolving the state each loop, which is a pretty poor DFSM imo.
 
Top