Aiyyo,
I dunno if this exists already but i havent found it on the wiki site. In case it doesnt, can u add an OnUpdate event to the profile that would trigger from player:update() or some similar function that runs often ? The bot doesnt like that I change the player class myself ^^
OnUpdate
Re: OnUpdate
So what your saying is if you have bot running, pause bot then switch class then unpause bot it is unhappy?
Well you would need to either restart the bot or make sure it changes the skills as when you change class you change which skills you can use.
So it would need to reload the function that sets the skills.
Bot detects when you change zones automatically and updates when you do, not sure if it also updates skills at the same time.
You could test this by entering your house after changing class and then exiting. Bot will pick up the character address has changed.
Well you would need to either restart the bot or make sure it changes the skills as when you change class you change which skills you can use.
So it would need to reload the function that sets the skills.
Bot detects when you change zones automatically and updates when you do, not sure if it also updates skills at the same time.
You could test this by entering your house after changing class and then exiting. Bot will pick up the character address has changed.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 84
- Joined: Tue Jun 22, 2010 8:06 am
Re: OnUpdate
na you got me wrong, sorry, Im abit bad at explaining stuff:p.
What I ment with changing the player class is that I tried to put my own code in the player.lua file but the bot refused to start then.
So what would be nice would be to have an <OnUpdate> event in the profile that runs every time player:update() runs in case you want code that runs very often.
What I ment with changing the player class is that I tried to put my own code in the player.lua file but the bot refused to start then.
So what would be nice would be to have an <OnUpdate> event in the profile that runs every time player:update() runs in case you want code that runs very often.
-
- Posts: 84
- Joined: Tue Jun 22, 2010 8:06 am
Re: OnUpdate
nvm i found this shit =D
Code: Select all
registerTimer
Re: OnUpdate
concidering how often update occurs I think that would be opening a huge can of worms.
I wouldn't want to be trying to work out peoples problems with bot if they have some code in there, it would be a nightmare to troubleshoot lol
I wouldn't want to be trying to work out peoples problems with bot if they have some code in there, it would be a nightmare to troubleshoot lol
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 84
- Joined: Tue Jun 22, 2010 8:06 am
Re: OnUpdate
mmh I just needed some place to update speedhack on
Re: OnUpdate
then that's what you should have asked lol
that will set speed to 100 every 5 seconds, add it to an onload somewhere so it is only used once.
Code: Select all
registerTimer("speed", 5, speed)
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Ahrefs [Bot] and 5 guests