Openkore.com

OpenKore Forums
It is currently 15 Aug 2018, 16:43

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [eventMacro] Help with using LOCK, RELEASE and DISABLED
PostPosted: 27 Jan 2018, 17:42 
Offline
Noob
Noob

Joined: 27 Jan 2018, 17:04
Posts: 1
Hello and good morning/afternoon/evening ladies and gentlemen,

I'm finishing a nice macro to iRO but, besides i'm using the eventMacro Manual, i think i could be missing something.
I'll sample how i'm using these, if someone can help, please, i would be really grateful.

#######################################

Example of the use:

macro TIMEISCOMING {
do move 176 106
pause 1
do talknpc 181 104 c r0 n
pause 1
release TIMETOGEARUP <--- It's supposed to TURN THE "TIMETOGEARUP" macro activable, in another words, turn disabled 0 on it.
}

automacro TIMETOGEARUP {
run-once 1
disabled 1 <--- It's ON because it can't be activated BEFORE the time. When the RELEASE happens, it occurs.
Zeny >= 30000
InMap payon
JobID 6
JobLevel == 50
call GEARINGUP
}

macro GEARINGUP {
lock TIMETOGEARUP <--- It's supposed to DISABLE (make disabled to turn 0 again) and make it unachiavable.
do move payon_in 11 124
do talknpc 7 119 b
do buy Muffler 1
pause 2
do eq Muffler
do pause 2
do autosell
pause 1
call ANOTHERMACRO
}

#######################################

When i let the macro with this use of the eventMacro conditions and functions, i receive this errors, logged in errors.txt
PS: I don't receive errors when i'm not using these (lock, disabled and release) so, i think i'm using these the wrong way.
https://pastebin.com/NN4WQvyt

############

Can someone help me? It's the very first macro i'm making using eventMacro plugin.
I used to make some simple macros at the old plugins, but never in this new.

Thanks in advance, i'm looking to contribute with the
community from now on, when my skills get better!


Top
 Profile  
 
 Post subject: Re: [eventMacro] Help with using LOCK, RELEASE and DISABLED
PostPosted: 28 Jan 2018, 02:53 
Offline
Halfway to Eternity
Halfway to Eternity
User avatar

Joined: 17 Nov 2017, 23:32
Posts: 354
Location: Genting Highland, Malaysia
If u use run-once, dont need to lock.
And btw, I tested your Example. Working fine.
No error.

You might wanna paste the real code.

_________________

Wiki & Google are your best allies.
iRO server supporter.
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group