To begin with, we'll see these two simple but very useful macros: the first is for restoring the hp, the second is for sp, using the @go 5 command.
The mechanism is simply: when the bot have 30% or less hp (or 20% sp), it will use the @go 5 command to warp itself to Izlude. Once the bot warped to Izlude his hp and sp will be restored to the 100%. If in the control\config.txt the izlude map is not in the allowedMaps list and the teleportAuto_useChatCommand is setted, the bot will immediately teleport himself to the map.
# XILERO BOT - http://xilerobot.blogspot.com/ automacro autohp{ hp <= 30% exclusive 1 call { do c @go 5 } timeout 3 }
# XILERO BOT - http://xilerobot.blogspot.com/ automacro autosp{ sp < 20% exclusive 1 call { do c @go 5 } timeout 3 }There are other ways to do this same thing, this is the easiest way.
If you want to know, just ask...
How to use this macro's?? in which file do i need to save in order to enable this macro?? pls help.
ReplyDeleteYou have to install the macro plugin, read here
DeleteI have tried this macro..but does not work...so what can be the reason for this??and exactly what changes do i need to do in config.txt?? plz help me out...
ReplyDeleteI i want to warp after reaching izlude...then is there any other macro for this...i mean my bot dies and due to above macro to goes to izlude for HP/SP recovery, but after getting healed can i again made my bot to auto-warp to the desired map? pls help me with this, Thanks in advance.
ReplyDeletesure, you must set the allowedMaps and the allowedMaps_reaction like this:
DeleteallowedMaps prt_maze01
allowedMaps_reaction 0
don't put here the izlude map!
also set
LockMap prt_maze01
teleportAuto_useChatCommand @warp
i have tried as per above instruction but i get error saying unable to teleport as you dont have skill of buterfly wing.. pls help me what to do.
DeleteYeah I have the same problem when I set allowedMaps_reaction 0, it say unable to warp bcos the butterflywing etc. and when i set it to allowedMaps_reaction 1, start.exe just crashes.
Deleteyou must set the allowedMaps and the teleportAuto_useChatCommand commands and set allowedMaps_reaction to 0.
DeleteAnd take a look at teleportAuto_useSkill values.