Can anyone help me with bot how to avoid fire pillars @.@?
Moderator: Moderators
-
- Noob
- Posts: 3
- Joined: 28 Nov 2017, 14:40
- Noob?: Yes
Can anyone help me with bot how to avoid fire pillars @.@?
My bot cant seem to detect fire pillars, and dies like 5 times within an hour. Would really appreciate it if someone could help me with this. I tried searching for it, but i dont know how to code. Please help a noob out
- fadreus
- The Kore Devil
- Posts: 708
- Joined: 17 Nov 2017, 23:32
- Noob?: No
- Location: Genting Highland, Malaysia
- Contact:
Re: Can anyone help me with bot how to avoid fire pillars @.@?
Try with macro yet? http://openkore.com/index.php/Macro_plugin
areaSpell <spell> [<distance>]
Triggers when someone starts casting a ground-targeted skill (centre) that is in the scope of the distance condition from you. If <distance> is not defined, it will consider clientSight value.
Comma-separated arguments are treated as OR conditions.
Set variables:
$.areaName - return the spell area effect name
$.areaActor - return source actor(Player, Monster and etc etc)
$.areaSourceName - return the name of the actor
$.areaSourceID - return the binID of the actor
$.areaPos - return the centre position/location of the area spell (ex: 123 123 payon)
$.areaDist - return the distance of the spell area (centre) to your char
areaSpell <spell> [<distance>]
Triggers when someone starts casting a ground-targeted skill (centre) that is in the scope of the distance condition from you. If <distance> is not defined, it will consider clientSight value.
Comma-separated arguments are treated as OR conditions.
Set variables:
$.areaName - return the spell area effect name
$.areaActor - return source actor(Player, Monster and etc etc)
$.areaSourceName - return the name of the actor
$.areaSourceID - return the binID of the actor
$.areaPos - return the centre position/location of the area spell (ex: 123 123 payon)
$.areaDist - return the distance of the spell area (centre) to your char
iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
-
- Noob
- Posts: 3
- Joined: 28 Nov 2017, 14:40
- Noob?: Yes
Re: Can anyone help me with bot how to avoid fire pillars @.@?
I wish you could give me examples or simply help me out with the macro... I'm not a programmer, could you please help?
- fadreus
- The Kore Devil
- Posts: 708
- Joined: 17 Nov 2017, 23:32
- Noob?: No
- Location: Genting Highland, Malaysia
- Contact:
Re: Can anyone help me with bot how to avoid fire pillars @.@?
I'm not a legit programmer too..
At high school I took science course. I took my diploma in Culinary Arts and going to cont bachelor in Graphic Design. Totally unrelated to computing.
I took few years learning kore and macros back in high school during my free time with learning method of comparison, trial and error.
It was just out of curiosity back than & just doing for fun.
If I can, why can't you? (Unless you are mentally deformed with some serious illness )
Here's some example:
Whenever ground spell Fire Pillar in on screen, use Fly Wing.
If you need more example for each usage, I could give some.
I can give my collection of macros for my studies before.
Though I found it all from forum and google.
At high school I took science course. I took my diploma in Culinary Arts and going to cont bachelor in Graphic Design. Totally unrelated to computing.
I took few years learning kore and macros back in high school during my free time with learning method of comparison, trial and error.
It was just out of curiosity back than & just doing for fun.
If I can, why can't you? (Unless you are mentally deformed with some serious illness )
Here's some example:
Code: Select all
automacro Run {
areaSpell Fire Pillar
timeout 2
call {
do is @inventory (Fly Wing)
}
}
If you need more example for each usage, I could give some.
I can give my collection of macros for my studies before.
Though I found it all from forum and google.
iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
-
- Noob
- Posts: 3
- Joined: 28 Nov 2017, 14:40
- Noob?: Yes
Re: Can anyone help me with bot how to avoid fire pillars @.@?
Code: Select all
automacro Run {
areaSpell Fire Pillar
timeout 2
call {
do is @inventory (Fly Wing)
}
}
- fadreus
- The Kore Devil
- Posts: 708
- Joined: 17 Nov 2017, 23:32
- Noob?: No
- Location: Genting Highland, Malaysia
- Contact:
Re: Can anyone help me with bot how to avoid fire pillars @.@?
Hmm.. That's complicated.
I read somewhere some variable to avoid route from using X Y coordinate but can't recall where.
But you can try something similar like this one I had
This macro triggered when MVP is on sight, thus it will move further away from it and calculate new route to destination.
You can test it 1st, and see how it move and then try adjust it accordingly.
I read somewhere some variable to avoid route from using X Y coordinate but can't recall where.
But you can try something similar like this one I had
Code: Select all
automacro evitarmvp {
#list of monsters to avoid:
monster Dark Lord
timeout 3
exclusive 1
call caifora
}
macro caifora {
$Move = 10
$myPos = $.pos
$myPosX = @arg ("$myPos", 1)
$myPosY = @arg ("$myPos", 2)
$monPos = $.lastMonsterPos
$monPosX = @arg ("$monPos", 1)
$monPosY = @arg ("$monPos", 2)
if ($myPosX >= $monPosX) goto leste
if ($myPosX < $monPosX) goto oeste
:leste
if ($myPosY <= $monPosY) goto sudeste
if ($myPosY > $monPosY) goto nordeste
:sudeste
do southeast $Move
do move stop
stop
#do conf follow 1
:nordeste
do northeast $Move
do move stop
stop
#do conf follow 1
:oeste
if ($myPosY <= $monPosY) goto sudoeste
if ($myPosY > $monPosY) goto noroeste
:sudoeste
do southwest $Move
do move stop
stop
#do conf follow 1
:noroeste
do northwest $Move
do move stop
stop
#do conf follow 1
}
You can test it 1st, and see how it move and then try adjust it accordingly.
iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.