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 BaseLevel and JobLevel not working on iRO:Restart #1458

Closed CaioVictor21 closed 6 years ago

CaioVictor21 commented 6 years ago

------------------ Bug Report Template ------------------

###### Summary:

eventMacro.txt

automacro BaseLevel {
    BaseLevel = 1
    BaseLevel > 1
    BaseLevel < 1
    call {
        do move 52 113
    }
}

Console response to the comand eventMacro auto BaseLevel:

----  Conditions   ----
1 - BaseLevel: 'false'
2 - BaseLevel: 'false'
3 - BaseLevel: 'false'

Same to JobLevel ...

###### Affected configuration(s)/ file(s): EventMacro plugin, BaseLevel.pm,JobLevel.pm

###### Impact:

automacro with this conditions will never trigger

###### Expected Behavior:

automacro conditions return TRUE after reach determined level

###### Actual Behavior:

The conditions always returns FALSE, regardless of the baselevel or joblevel of the char

###### Steps to Reproduce: Create a automacro with this conditions on iRO:RE

sctnightcore commented 6 years ago

Do move mapname x y?

Nipodemos commented 6 years ago

@Henrybk check your son please, it is getting rebellious

lututui commented 6 years ago

Couldn't reproduce

2018-01-27_12h52_04 2018-01-27_12h52_44

holoc commented 6 years ago

I would expand this to InInventory and InInventoryID as well on iRO:Restart. Openkore doesn't seem to pick up that the items are in inventory. I've used this exact same eventMacro in the past (about 3 months ago) and it worked fine.

The following information for the automacros:

Number of conditions: '3' Has event type condition: 'no' Number of true conditions: '1' Number of false conditions: '2' Is triggered: '0' ---- Parameters ---- 1 - priority: '0' 2 - overrideAI: '0' 3 - disabled: '0' 4 - time: '0' 5 - delay: '0' 6 - orphan: 'terminate' 7 - macro_delay: '0.5' 8 - run-once: '1' 9 - timeout: '0' 10 - CheckOnAI: 'auto' 11 - repeat: '1' 12 - call: 'MoveToQueSign01 ' 13 - exclusive: '1' ---- Conditions ---- 1 - InInventoryID: 'false' 2 - InInventoryID: 'false' 3 - InMap: 'true' ---- AI check states ---- Check on AI off: 'no' Check on AI manual: 'no' Check on AI auto: 'yes' ---- End ----

Number of conditions: '3' Has event type condition: 'no' Number of true conditions: '1' Number of false conditions: '2' Is triggered: '0' ---- Parameters ---- 1 - priority: '0' 2 - overrideAI: '0' 3 - disabled: '0' 4 - time: '0' 5 - delay: '0' 6 - orphan: 'terminate' 7 - macro_delay: '0.5' 8 - run-once: '1' 9 - timeout: '0' 10 - CheckOnAI: 'auto' 11 - repeat: '1' 12 - call: 'MoveToQueSign01 ' 13 - exclusive: '1' ---- Conditions ---- 1 - InInventory: 'false' 2 - InInventory: 'false' 3 - InMap: 'true' ---- AI check states ---- Check on AI off: 'no' Check on AI manual: 'no' Check on AI auto: 'yes' ---- End ----