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

eventMacro NotInMap #1260

Closed Fvegini closed 6 years ago

Fvegini commented 7 years ago

EventMacro -> automacro condition NotInMap breaking with multiple values. Tested in Iro-Chaos Renewal

automacro test1 { NotInMap aldebaran call {} } Triggers in every map except aldebaran

automacro test2 { NotInMap aldebaran, prontera call {} } Triggers in every map (even aldebaran, the first one)

To work arround this, i'm using this ugly solution:

automacro test3 { InMap not aldebaran, not prontera call {} } Triggers in every map except aldebaran and prontera.

p.s: Looks like NotInMap is in the Portuguese Wiki of eventMacro, but not in the english one, curious thing!

Henrybk commented 7 years ago

It was never meant to be used that way, you should use use multiple lines of the condition

Fvegini commented 6 years ago

Got it!

With this config it worked:

automacro SaiudosMapas { exclusive 1 timeout 600 NotInMap aldebaran NotInMap prontera NotInMap moc_para01 NotInMap c_tower1 NotInMap aldeba_in call alertaSAIU }

Thanks for the help!