Openkore.com
http://forums.openkore.com/

macro kill count error
http://forums.openkore.com/viewtopic.php?f=32&t=211960
Page 2 of 3

Author:  genskull [ 03 Jul 2017, 01:29 ]
Post subject:  Re: macro kill count error

up

Author:  genskull [ 06 Jul 2017, 00:56 ]
Post subject:  Re: macro kill count error

up

Author:  Mortimal [ 06 Jul 2017, 07:34 ]
Post subject:  Re: macro kill count error

my am for Eden as example

Code:
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
   }


sry no time edit yours...

Author:  genskull [ 06 Jul 2017, 12:28 ]
Post subject:  Re: macro kill count error

sir Mortimal heres my new macro.
the result is call not defined.
thank you for your response sir, i did try to understand your example. but still i cant make it.


Code:
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
}

Author:  Mortimal [ 07 Jul 2017, 03:34 ]
Post subject:  Re: macro kill count error

Code:
automacro QuestCheck {
exclusive 1
eval $::questList->{62557}->{missions}->{1376}->{count} >= 150
run-once 1
call cashier
}
}

Author:  genskull [ 07 Jul 2017, 04:30 ]
Post subject:  Re: macro kill count error

Mortimal wrote:
Code:
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.

Author:  SkylorD [ 10 Jul 2017, 22:49 ]
Post subject:  Re: macro kill count error

https://github.com/OpenKore/openkore/issues/605

Author:  genskull [ 12 Jul 2017, 20:27 ]
Post subject:  Re: macro kill count error

SkylorD wrote:
https://github.com/OpenKore/openkore/issues/605


thank you sir. in short the killcount can no longer use in iRO. thank you again.

Author:  SkylorD [ 15 Aug 2017, 23:10 ]
Post subject:  Re: macro kill count error

https://github.com/OpenKore/openkore/pull/914

Author:  ScriptKiddy [ 16 Aug 2017, 00:21 ]
Post subject:  Re: macro kill count error

SkylorD wrote:
https://github.com/OpenKore/openkore/pull/914


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.

How close am I to getting this to work?

Code:
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
}

Page 2 of 3 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/