Configuring Taekwon/Star Gladiator
Moderators: Moderators, Documentation Writers
-
- Been there done that!
- Posts: 143
- Joined: 25 Oct 2008, 08:14
- Noob?: No
- Location: Spain, Madrid
- Contact:
Re: Configuring Taekwon/Star Gladiator
I don't doubt of your words, just wanted to know surely. I was on pay_fild01 (the map below Payon), and I understand that it hit walls because there are very stretch areas and is not an open field, but the problem is that the flying kick didn't work either.
Now I'm in Lightalzen killing Metalings, and honestly I didn't try them without the macros, but I still think the same: doesn't matter how much you low the "waitBeforeUse", it takes like 5 or 6 tries to use it correctly.
If we accept the fact that it works for you but doesn't work for me, and we also accept the fact that the blocks I'm using are correct, then, what can be the problem? timeouts, server lag? I don't know how can be the server lag when a macro can do it correctly. I'm 100% sure that the problem is in the activation time, it doesn't stop in time to get Spourt, it doesn't use Flying kick in time after a Tumbling. The "moment" passes and even when it surely activates, it has no effect. I say this because when it has space it ALWAYS stops after doing Sprint (so the block works indeed), but, as I said, it hardly does in time.
So, any idea? I really feel irritated needing to use an "useless" macro when you say the block works fine. :/
Now I'm in Lightalzen killing Metalings, and honestly I didn't try them without the macros, but I still think the same: doesn't matter how much you low the "waitBeforeUse", it takes like 5 or 6 tries to use it correctly.
If we accept the fact that it works for you but doesn't work for me, and we also accept the fact that the blocks I'm using are correct, then, what can be the problem? timeouts, server lag? I don't know how can be the server lag when a macro can do it correctly. I'm 100% sure that the problem is in the activation time, it doesn't stop in time to get Spourt, it doesn't use Flying kick in time after a Tumbling. The "moment" passes and even when it surely activates, it has no effect. I say this because when it has space it ALWAYS stops after doing Sprint (so the block works indeed), but, as I said, it hardly does in time.
So, any idea? I really feel irritated needing to use an "useless" macro when you say the block works fine. :/
Re: Configuring Taekwon/Star Gladiator
Part of it is OpenKore's gag-worthy implementation of skills.
cs : ee : realist
-
- Been there done that!
- Posts: 143
- Joined: 25 Oct 2008, 08:14
- Noob?: No
- Location: Spain, Madrid
- Contact:
Re: Configuring Taekwon/Star Gladiator
EDIT: I've changed a little the macro and the doCommand to make it work easier.
Remember, with these doCommand block & macro, you can make the bot to check if it has a clear path to do the running skill for Spurt and not to hit something in the way.
timeout # -> You need to set this high enough to let the bot enough time to walk and change position for checking again. It works perfect for me with 5 seconds.
run_path # -> This is a custom line, so don't ask if it really "exists" because it doesn't. This is only for the macro to know how many squares it needs to check before starting to run. For me, 11 squares are ok, but it depends on the lag in your server so I prefer to add an extra square. If you're lagless maybe it works with less squares.
This is the checking macro. You don't need to change or tweak anything, just keep the same name in the doCommand and the macro so it can be called correctly. The only problem is that if something triggers another macro, it will fail, but I don't know how to make it "exclusive 1" in macro, it only works for automacros. I could do all as an automacro but I think it's simpler to do with the doCommand, at least to change variables and all the stuff.
When I use this, it sometimes fails to work (but not too often) and I guess it's because it still walks a little or something gets in the way, and it takes too much time to execute. Anyways, if someone has a better way to do, feedback is highly appreciated. I hope this is useful for somebody.
Remember, with these doCommand block & macro, you can make the bot to check if it has a clear path to do the running skill for Spurt and not to hit something in the way.
Code: Select all
doCommand macro Spurt {
disabled 0
sp > 10
inLockOnly 1
notWhileSitting 1
notInTown 1
notOnAction attack
whenStatusInactive Spurt
timeout 5
}
run_path 12
run_path # -> This is a custom line, so don't ask if it really "exists" because it doesn't. This is only for the macro to know how many squares it needs to check before starting to run. For me, 11 squares are ok, but it depends on the lag in your server so I prefer to add an extra square. If you're lagless maybe it works with less squares.
Code: Select all
macro Spurt {
do eval message T("Evaluating free path for Run\n")
[
$i = 0
$x = @arg ("$.pos", 1)
$y = @arg ("$.pos", 2)
do eval $::Macro::Data::varStack{look} = $::char->{look}{body} - 1;
]
:direction
if ($look = 6) goto northeast
if ($look = 5) goto east
if ($look = 4) goto southeast
if ($look = 3) goto south
if ($look = 2) goto southwest
if ($look = 1) goto west
if ($look = 0) goto northwest
[
$nx = $x
$ny = @eval ($y + $i)
]
goto check
:northwest
[
$nx = @eval ($x - $i)
$ny = @eval ($y + $i)
]
goto check
:west
[
$nx = @eval ($x - $i)
$ny = $y
]
goto check
:southwest
[
$nx = @eval ($x - $i)
$ny = @eval ($y - $i)
]
goto check
:south
[
$nx = $x
$ny = @eval ($y - $i)
]
goto check
:southeast
[
$nx = @eval ($x + $i)
$ny = @eval ($y - $i)
]
goto check
:east
[
$nx = @eval ($x + $i)
$ny = $y
]
goto check
:northeast
[
$nx = @eval ($x + $i)
$ny = @eval ($y + $i)
]
:check
[
do eval $::Macro::Data::varStack{walk} = $::field->isWalkable($nx, $ny) ? 1 : 0
do eval $::Macro::Data::varStack{char} = 0;foreach (@{$::playersList->getItems()}) { next if (($_->{pos_to}{x} != $nx) || ($_->{pos_to}{y} != $ny));$::Macro::Data::varStack{char} = 1; last;}
do eval $::Macro::Data::varStack{mon} = 0;foreach (@{$::monstersList->getItems()}) { next if (($_->{pos_to}{x} != $nx) || ($_->{pos_to}{y} != $ny));$::Macro::Data::varStack{mon} = 1; last;}
]
if (($walk == 0 || $char == 1) || ($mon == 1 || @npc ($nx $ny) > -1)) goto noskill
if ($i == @config (run_path)) goto skill
$i++
goto direction
:noskill
do eval message T("No aviable path for Run\n")
stop
:skill
do ss 411
do ss 411
}
When I use this, it sometimes fails to work (but not too often) and I guess it's because it still walks a little or something gets in the way, and it takes too much time to execute. Anyways, if someone has a better way to do, feedback is highly appreciated. I hope this is useful for somebody.
Re: Configuring Taekwon/Star Gladiator
i am having problems with the auto skill usage i am not to sure why it isnt working this is what i got
useSelf_skill Sun Comfort {
lvl 4
sp > 10
whenStatusInactive Comfort of Sun
inLockOnly 1
notWhileSitting 1
notInTown 1
}
useSelf_skill Moon Comfort {
lvl 4
sp > 10
whenStatusInactive Comfort of Moon
inLockOnly 1
notWhileSitting 1
notInTown 1
}
useSelf_skill Star Comfort {
lvl 4
sp > 10
whenStatusInactive Comfort of Star
inLockOnly 1
notWhileSitting 1
notInTown 1
}
#Lv. 1: Seismic Weapon (Earth)
#Lv. 2: Lightning Loader (Wind)
#Lv. 3: Frost Weapon (Water)
#Lv. 4: Flame Weapon (Fire)
#Lv. 5: Ghost Weapon (Ghost)
#Lv. 6: Dark Weapon (Shadow)
#Lv. 7: Aspersio (Holy)
useSelf_skill Seven Wind {
lvl 7
sp > 50
onAction attack
whenStatusInactive Aspersio
inLockOnly 1
notWhileSitting 1
notInTown 1
}
but my bot is not using them how come please anyone who can help
Thank you
useSelf_skill Sun Comfort {
lvl 4
sp > 10
whenStatusInactive Comfort of Sun
inLockOnly 1
notWhileSitting 1
notInTown 1
}
useSelf_skill Moon Comfort {
lvl 4
sp > 10
whenStatusInactive Comfort of Moon
inLockOnly 1
notWhileSitting 1
notInTown 1
}
useSelf_skill Star Comfort {
lvl 4
sp > 10
whenStatusInactive Comfort of Star
inLockOnly 1
notWhileSitting 1
notInTown 1
}
#Lv. 1: Seismic Weapon (Earth)
#Lv. 2: Lightning Loader (Wind)
#Lv. 3: Frost Weapon (Water)
#Lv. 4: Flame Weapon (Fire)
#Lv. 5: Ghost Weapon (Ghost)
#Lv. 6: Dark Weapon (Shadow)
#Lv. 7: Aspersio (Holy)
useSelf_skill Seven Wind {
lvl 7
sp > 50
onAction attack
whenStatusInactive Aspersio
inLockOnly 1
notWhileSitting 1
notInTown 1
}
but my bot is not using them how come please anyone who can help
Thank you
Re: Configuring Taekwon/Star Gladiator
Code: Select all
nfiguring Taekwon/Star Gladiator
by dgzo » 20 Jun 2008, 03:37
TURN ON YOUR READY SKILLS BEFORE YOU START YOUR BOT.
Since it stays after death and even AFTER RELOG. You dont need attackSkillSlots.
My config is as below ( Credit to Sli )
attackComboSlot Storm Kick {
lvl 7
sp > 2
dist
afterSkill Ready Storm
isSelfSkill 0
waitBeforeUse 0.1
notWhileSitting 1
}
When Ready Storm Triggers, It uses Storm Kick.
attackComboSlot Turn Kick {
lvl 6
sp > 4
dist
afterSkill Storm Kick
isSelfSkill 0
waitBeforeUse 0.5
notWhileSitting 1
disabled 0
}
When Kore detects Storm Kick being used, After Storm Kick it will use Turn Kick.
Code: Select all
attackComboSlot Storm Kick {
lvl 7
sp > 2
afterSkill Ready Storm
waitBeforeUse 0.6
dist
isSelfSkill 0
target_deltaHp
disabled 0
}
attackComboSlot Turn Kick {
lvl 7
sp > 2
afterSkill Storm Kick
waitBeforeUse 1.3
dist
isSelfSkill 0
target_deltaHp
disabled 0
}
attackComboSlot Storm Kick {
lvl 7
sp > 2
afterSkill Turn Kick
waitBeforeUse 1.3
dist
isSelfSkill 0
target_deltaHp
disabled 0
}
Re: Configuring Taekwon/Star Gladiator
My SVN will work sometimes with the Counter kick and sometimes it won't work 4 times in a row.
attackComboSlot Counter {
lvl 7
sp > 2
afterSkill Ready Counter
isSelfSkill 0
notWhileSitting 1
monsters coco, creamy, caramel, horn
}
What is the problem here? Why does it only work sometimes?
attackComboSlot Counter {
lvl 7
sp > 2
afterSkill Ready Counter
isSelfSkill 0
notWhileSitting 1
monsters coco, creamy, caramel, horn
}
What is the problem here? Why does it only work sometimes?
Re: Configuring Taekwon/Star Gladiator
I was having the same problem, and this worked like a charmDarki wrote:EDIT: I've changed a little the macro and the doCommand to make it work easier.
Remember, with these doCommand block & macro, you can make the bot to check if it has a clear path to do the running skill for Spurt and not to hit something in the way.
timeout # -> You need to set this high enough to let the bot enough time to walk and change position for checking again. It works perfect for me with 5 seconds.Code: Select all
doCommand macro Spurt { disabled 0 sp > 10 inLockOnly 1 notWhileSitting 1 notInTown 1 notOnAction attack whenStatusInactive Spurt timeout 5 } run_path 12
run_path # -> This is a custom line, so don't ask if it really "exists" because it doesn't. This is only for the macro to know how many squares it needs to check before starting to run. For me, 11 squares are ok, but it depends on the lag in your server so I prefer to add an extra square. If you're lagless maybe it works with less squares.
This is the checking macro. You don't need to change or tweak anything, just keep the same name in the doCommand and the macro so it can be called correctly. The only problem is that if something triggers another macro, it will fail, but I don't know how to make it "exclusive 1" in macro, it only works for automacros. I could do all as an automacro but I think it's simpler to do with the doCommand, at least to change variables and all the stuff.Code: Select all
macro Spurt { do eval message T("Evaluating free path for Run\n") [ $i = 0 $x = @arg ("$.pos", 1) $y = @arg ("$.pos", 2) do eval $::Macro::Data::varStack{look} = $::char->{look}{body} - 1; ] :direction if ($look = 6) goto northeast if ($look = 5) goto east if ($look = 4) goto southeast if ($look = 3) goto south if ($look = 2) goto southwest if ($look = 1) goto west if ($look = 0) goto northwest [ $nx = $x $ny = @eval ($y + $i) ] goto check :northwest [ $nx = @eval ($x - $i) $ny = @eval ($y + $i) ] goto check :west [ $nx = @eval ($x - $i) $ny = $y ] goto check :southwest [ $nx = @eval ($x - $i) $ny = @eval ($y - $i) ] goto check :south [ $nx = $x $ny = @eval ($y - $i) ] goto check :southeast [ $nx = @eval ($x + $i) $ny = @eval ($y - $i) ] goto check :east [ $nx = @eval ($x + $i) $ny = $y ] goto check :northeast [ $nx = @eval ($x + $i) $ny = @eval ($y + $i) ] :check [ do eval $::Macro::Data::varStack{walk} = $::field->isWalkable($nx, $ny) ? 1 : 0 do eval $::Macro::Data::varStack{char} = 0;foreach (@{$::playersList->getItems()}) { next if (($_->{pos_to}{x} != $nx) || ($_->{pos_to}{y} != $ny));$::Macro::Data::varStack{char} = 1; last;} do eval $::Macro::Data::varStack{mon} = 0;foreach (@{$::monstersList->getItems()}) { next if (($_->{pos_to}{x} != $nx) || ($_->{pos_to}{y} != $ny));$::Macro::Data::varStack{mon} = 1; last;} ] if (($walk == 0 || $char == 1) || ($mon == 1 || @npc ($nx $ny) > -1)) goto noskill if ($i == @config (run_path)) goto skill $i++ goto direction :noskill do eval message T("No aviable path for Run\n") stop :skill do ss 411 do ss 411 }
When I use this, it sometimes fails to work (but not too often) and I guess it's because it still walks a little or something gets in the way, and it takes too much time to execute. Anyways, if someone has a better way to do, feedback is highly appreciated. I hope this is useful for somebody.
thanks dude
-
- Noob
- Posts: 3
- Joined: 30 Jul 2009, 04:26
- Noob?: Yes
Re: Configuring Taekwon/Star Gladiator
how can i autorespawn my bot cuz it only stock when it die???
-tnx
-tnx
Re: Configuring Taekwon/Star Gladiator
can we config the 2 taekwon to sit beside each other..
to have the fast HP and SP recovery skills?
to have the fast HP and SP recovery skills?
Re: Configuring Taekwon/Star Gladiator
set your TK slave to followsit should work nicely i guesskokben wrote:can we config the 2 taekwon to sit beside each other..
to have the fast HP and SP recovery skills?