Hi,
i have a problem with an automacro that im trying to make.. the problem is that my bot does telesearch but sometimes goes afk after a couple of teleports because of server lag (iRo Classic) and then just stands there until he reaches the sitauto hp lower value.. so i wanted to make a macro that does ai clear when the bots stands too long in the same place and hi hp and sp is at upper value of autosit
automacro antiIdle {
if
timeout 5
do ai clear {
if ($.hp > @config (sitAuto_hp_upper) || $.sp > @config (sitAuto_sp_upper)) call standIdle
}
}
}
my problem is that i cant find the if condition that describes when my bot is afk in some place in the lockmap... can somebody help me? thx ^^
Help: automacro if bot too long in same place -> ai clear
Moderator: Moderators
-
suggipuss
- Noob

- Posts: 14
- Joined: 31 Mar 2012, 18:25
- Noob?: Yes
-
SkylorD
- Moderators

- Posts: 1202
- Joined: 16 Dec 2011, 02:53
- Noob?: Yes
Re: Help: automacro if bot too long in same place -> ai clear
1.Read more about syntax the syntax of an automacro Here
It's completely wrong.
2.Set your sitAuto_idle to 0. #Config.txt
3.Could you post these lines : sitAuto_hp_upper and lower ? How did you set these lines ?
Anyway...you could use do eval AI::Clear !, but inside of an automacro with the correct syntax.
It's completely wrong.
2.Set your sitAuto_idle to 0. #Config.txt
3.Could you post these lines : sitAuto_hp_upper and lower ? How did you set these lines ?
Anyway...you could use do eval AI::Clear !, but inside of an automacro with the correct syntax.
DEACTIVATED 
-
suggipuss
- Noob

- Posts: 14
- Joined: 31 Mar 2012, 18:25
- Noob?: Yes
Re: Help: automacro if bot too long in same place -> ai clear
i made this macro now.. i found that the problem i had was not connected to the bot having sit problems, but the problem was that i bot in iRo Classic server and teleportAuto_useSkill 1 must be used (which i did already from beginning) but the bot would get stuck on the popup screen of normal teleport sometimes.. so i searched the forum and i build this macro.
is this macro correct? as far as i tested when the bot got stuck on popup screen and i do ai clear command it would continue normally. So i just attached the ai clear command after every teleport and it seems to work..
## anti tele stuck ##
automacro antiIdle {
console /You use Teleport on yourself/
call {
do eval AI::clear
}
}
so is this macro correct? or are there better ways to deal with teleport popup stuck? (i dont get error message when bot gets stuck)
is this macro correct? as far as i tested when the bot got stuck on popup screen and i do ai clear command it would continue normally. So i just attached the ai clear command after every teleport and it seems to work..
## anti tele stuck ##
automacro antiIdle {
console /You use Teleport on yourself/
call {
do eval AI::clear
}
}
so is this macro correct? or are there better ways to deal with teleport popup stuck? (i dont get error message when bot gets stuck)
-
SkylorD
- Moderators

- Posts: 1202
- Joined: 16 Dec 2011, 02:53
- Noob?: Yes
Re: Help: automacro if bot too long in same place -> ai clear
Yeah, are correct. But i have my questions.
Try with this :
Try with this :
And set this for 1 (Just to sure) :do eval AI::clear("move", "map", "route", "mapRoute", "skill", "teleport")
Code: Select all
teleportAuto_idleDEACTIVATED 