Re: macro kill count error
Posted: 03 Jul 2017, 01:29
up
Code: Select all
automacro setupEden2q{
eval ($::config{lvlingPart} eq "setupEden2q") and ($::questList->{'7152'}->{'active'} == 1)
location moc_para01
run-once 1
call setupEden2qM
}
macro setupEden2qM {
pause 2
[
log ============================================================
log ===============> Config 2nd Eden Quest (orcdun) for all jobs
log ============================================================
do iconf Drainliar Card 0 1 0
do iconf Emveretarcon 0 1 0
do iconf Rough Oridecon 0 1 0
do iconf Orc Skeleton Card 0 1 0
do iconf Buster [2] 0 1 0
do iconf Rough Elunium 0 1 0
do iconf Orc Helm 0 1 0
do iconf Orc Zombie Card 0 1 0
do iconf Emperium 0 1 0
do mconf Familiar 0
do mconf Steel Chonchon 0
do mconf White Plant 0
do mconf Black Mushroom 0
do mconf 1111 2
do mconf Orc Skeleton 2
do mconf Orc Zombie 2
do mconf Elusive Orc Zombie -1
do conf attackAuto -1
do conf route_randomWalk 0
call conf_orcs
do conf lockMap orcsdun01
do conf lvlingPart gotEden2q
]
}
automacro orcsEdenQuest1{
eval ($::config{lvlingPart} eq "gotEden2q") and ($::questList->{'7152'}->{'active'} == 1)
location orcsdun01, in_orcs01
run-once 1
call orcsEdenQuest1M
}
macro orcsEdenQuest1M{
[
log ============================================================
log ===============> Talking to npc in in_orcs01
log ============================================================
do conf lockMap none
]
pause 2
do move in_orcs01 @rndxy(38,173,1)
pause @rand(1,2)
do talknpc 38 175 w1 c w1 c w1 c w1 c w1 c w1 c w1 c w1 c w1
}
automacro orcsEdenQuest2{
eval ($::config{lvlingPart} eq "gotEden2q") and ($::questList->{7153}->{'active'} == 1) and ($::questList->{7153}->{missions}->{1153}->{count} < $::questList->{7153}->{missions}->{1153}->{goal})
location orcsdun01, in_orcs01
run-once 1
call orcsEdenQuest2M
}
macro orcsEdenQuest2M{
[
log ============================================================
log ===============> Killing @eval($::questList->{7153}->{missions}->{1153}->{goal}) Orc Zombies
log ============================================================
do priconf Orc Zombie
do conf attackAuto 2
do conf route_randomWalk 1
do conf lockMap orcsdun01
]
do c @autoloot 100
}
automacro orcsEdenQuest3{
eval ($::config{lvlingPart} eq "gotEden2q") and ($::questList->{7153}->{'active'} == 1) and ($::questList->{7153}->{missions}->{1153}->{count} >= $::questList->{7153}->{missions}->{1153}->{goal})
run-once 1
location orcsdun01, in_orcs01
call orcsEdenQuest3M
}
macro orcsEdenQuest3M{
[
log ============================================================
log ===============> Killed @eval($::questList->{7153}->{missions}->{1153}->{goal}) Orc Zombies
log ============================================================
do conf attackAuto -1
do conf route_randomWalk 0
do conf lockMap none
]
do c @eval($::config{saveMap_warpChatCommand})
pause @rand(2,3)
do move orcsdun01
pause 1
do move in_orcs01 @rndxy(38,173,1)
pause @rand(1,2)
do talknpc 38 175 w1 c w1 c w1 c w1 c w1 c w1
}
automacro orcsEdenQuest4{
eval ($::config{lvlingPart} eq "gotEden2q") and ($::questList->{7154}->{'active'} == 1) and ($::questList->{7154}->{missions}->{1152}->{count} < $::questList->{7154}->{missions}->{1152}->{goal})
run-once 1
location orcsdun01, in_orcs01
call orcsEdenQuest4M
}
macro orcsEdenQuest4M{
[
log ============================================================
log ===============> Killing @eval($::questList->{7154}->{missions}->{1152}->{goal}) Orc Skeletons
log ============================================================
do priconf Orc Skeleton
do conf attackAuto 2
do conf route_randomWalk 1
do conf lockMap orcsdun01
]
do c @autoloot 100
}
automacro orcsEdenQuest5{
eval ($::config{lvlingPart} eq "gotEden2q") and ($::questList->{7154}->{'active'} == 1) and ($::questList->{7154}->{missions}->{1152}->{count} >= $::questList->{7154}->{missions}->{1152}->{goal})
run-once 1
location orcsdun01, in_orcs01
call orcsEdenQuest5M
}
macro orcsEdenQuest5M{
[
log ============================================================
log ===============> Killed @eval($::questList->{7154}->{missions}->{1152}->{goal}) Orc Skeletons
log ============================================================
do conf attackAuto -1
do conf route_randomWalk 0
do conf lockMap none
]
do c @eval($::config{saveMap_warpChatCommand})
pause @rand(2,3)
do move orcsdun01
pause 1
do move in_orcs01 @rndxy(38,173,1)
pause @rand(1,2)
do talknpc 38 175 w1 c w1 c w1 c
pause @rand(1,2)
do c @eval($::config{saveMap_warpChatCommand})
pause @rand(1,2)
do conf lvlingPart readyToEden2e
}
Code: Select all
automacro QuestCheck {
timeout 15
exclusive 1
$temp1 = @eval($::questList->{62557}->{missions}->{1376}->{count})
if ($temp1 == 150) call cashier
}
}
macro cashier {
do is Butterfly Wing
pause 3
do move yuno 173 140
pause 1
do talknpc 180 145 c c r0 c r0 c r1 n
pause 2
do talknpc 180 145 c c r0 c r1 c r0 n
pause 2
}
Code: Select all
automacro QuestCheck {
exclusive 1
eval $::questList->{62557}->{missions}->{1376}->{count} >= 150
run-once 1
call cashier
}
}
thank you sir but still nothing my bot doesn't count/update the monster kill. i think the problem is in the iRO chaos server. maybe they did some update. thank you very much sir.Mortimal wrote:Code: Select all
automacro QuestCheck { exclusive 1 eval $::questList->{62557}->{missions}->{1376}->{count} >= 150 run-once 1 call cashier } }
thank you sir. in short the killcount can no longer use in iRO. thank you again.SkylorD wrote:https://github.com/OpenKore/openkore/issues/605
I've been trying to play around with the new strings, but cant get it to work. the closest i got was the below code (it only spit out one yellow error, saying the "call *name*" couldn't be found.SkylorD wrote:https://github.com/OpenKore/openkore/pull/914
Code: Select all
automacro KoboldQuests {
if (&questCompleteCount(62750) == 1) {
call AxeKobold
}
if (&questCompleteCount(62751) == 1) {
call HammerKobold
}
if (&questCompleteCount(62753) == 1) {
call ArcherKobold
}
if (&questCompleteCount(62752) == 1) {
call MaceKobold
}
macro AxeKobold {
do ai manual
pause 3
do is Butterfly Wing
pause 3
do move lighthalzen 192 159
pause 3
do talknpc 192 161 c c r1 c r0 c c r0 n
pause 3
do talknpc 192 161 c c r0 c r0 n
do ai on
}
macro HammerKobold {
do ai manual
pause 3
do is Butterfly Wing
pause 3
do move lighthalzen 192 159
pause 3
do talknpc 192 161 c c r1 c r0 c c r1 n
pause 3
do talknpc 192 161 c c r0 c r1 n
do ai on
}
macro ArcherKobold {
do ai manual
pause 3
do is Butterfly Wing
pause 3
do move lighthalzen 192 159
pause 3
do talknpc 192 161 c c r1 c r0 c c r3 n
pause 3
do talknpc 192 161 c c r0 c r3 n
do ai on
}
macro MaceKobold {
do ai manual
pause 3
do is Butterfly Wing
pause 3
do move lighthalzen 192 159
pause 3
do talknpc 192 161 c c r1 c r0 c c r2 n
pause 3
do talknpc 192 161 c c r0 c r2 n
do ai on
}