OpenKore / openkore

A free/open source client and automation tool for Ragnarok Online
http://openkore.com
Other
1.28k stars 1.04k forks source link

Not working the eventMacro automacro condition QuestInactive #2951

Open AkiraZ1 opened 4 years ago

AkiraZ1 commented 4 years ago

------------------ Openkore Issues Template ------------------

[Oct 19 20:49:59 2019.97] Você está sentando. [Oct 19 20:51:06 2019.93] [eventMacro] Printing information about automacro 'virarArruaceiroInicio'. Number of conditions: '11' Has event type condition: 'no' Number of true conditions: '3' Number of false conditions: '8' Is triggered: '0' ---- Parameters ---- 1 - overrideAI: '0' 2 - priority: '2' 3 - disabled: '0' 4 - time: '0' 5 - delay: '0' 6 - orphan: 'terminate' 7 - macro_delay: '1' 8 - run-once: '0' 9 - self_interruptible: '0' 10 - timeout: '0' 11 - CheckOnAI: 'auto' 12 - repeat: '1' 13 - call: 'automacro_virarArruaceiroInicio_call_block' 14 - exclusive: '1' ---- Conditions ---- 1 - JobLevel: 'true' 2 - QuestInactive: 'false' 3 - QuestInactive: 'false' 4 - QuestInactive: 'false' 5 - QuestInactive: 'false' 6 - QuestInactive: 'false' 7 - QuestInactive: 'false' 8 - QuestInactive: 'false' 9 - QuestInactive: 'false' 10 - NpcNear: 'true' 11 - JobID: 'true' ---- AI check states ---- Check on AI off: 'no' Check on AI manual: 'no' Check on AI auto: 'yes' ---- End ---- [Oct 19 20:51:27 2019.99] ------------------------------ Lista de Missões ------------------------------- 0 60457 Join the Eden Group! ativo
1 62645 Bounty Board Wolf ativo

Mortimal commented 4 years ago

Need more info... give console log with quest list and quest info commands. Give your eventMacro automacro example.

oleokoong commented 4 years ago

I have this problerm too, the automacro ignore QuestInactive.. Look like its direct skip this condition.

oleokoong commented 4 years ago

automacro boardmoc_fild18 { ConfigKey lockMap moc_fild18 QuestInactive 29526 BaseLevel >= 20 BaseLevel <= 40 exclusive 1 call { } } -------- Scalars -------- 1 - '$num1' = 'morocc' 2 - '$.SkillLevelLastLevel' = '2' 3 - '$.ConfigKeyLastValue' = 'moc_fild18' 4 - '$.SkillLevelLastHandle' = 'AL_TELEPORT' 5 - '$num1x' = '168' 6 - '$.ConfigKeyNotLastWantedValue' = '1' 7 - '$.ConfigKeyNotLastKey' = 'teleport_search' 8 - '$.SkillLevelLastID' = '26' 9 - '$.QuestInactiveLastID' = '29526' 10 - '$.ConfigKeyNotLastKeyValue' = '0' 11 - '$.QuestInactiveLastListIndex' = '0' 12 - '$.ConfigKeyLastKey' = 'lockMap' 13 - '$num1y' = '105' 14 - '$.ConfigKeyNotLastMemberIndex' = '0' 15 - '$.SkillLevelLastName' = 'Teleport' 16 - '$.caller' = 'boardmoc_fild18' 17 - '$.ConfigKeyLastMemberIndex' = '0' 18 - '$.BaseLevelLast' = '27'

--------------------------------- Quest List ---------------------------------- 0 29550 active
1 0 inactive
2 29526 Hode Billboard active

The eventMacro keep spam while the quest 29526 is active i know can add run-once or timeout but the automacro should not be triggered.. or my automacro is wrong?