Zone Event
Zone Event
Hey guys.
Can someone tell me, if its possible to get the Zone event time or/and the current points (xxxx/6000)?
What i mean is the event every 20 minutes where you can get these points of justice.
I need a fast answer pls, thanks
Greetings buh
Can someone tell me, if its possible to get the Zone event time or/and the current points (xxxx/6000)?
What i mean is the event every 20 minutes where you can get these points of justice.
I need a fast answer pls, thanks
Greetings buh
Re: Zone Event
I do not have link to the original post but here is someones code to get the messages to find one for just that one timer search for like way points.
This may have been lisa code function scanevent.xml
This may have been lisa code function scanevent.xml
- Attachments
-
- function scanevent.xml
- (1.68 KiB) Downloaded 128 times
Re: Zone Event
Hey, thanks for fast answer.
Which content in this code includes the values of a "started" zone event or of the time of the zone event?
And where will i find the current points, if event started?
Greetings
Which content in this code includes the values of a "started" zone event or of the time of the zone event?
And where will i find the current points, if event started?
Greetings
Re: Zone Event
Lisa may know I found this in another thread but after they moved my post I cannot find the original thread that told how to use it. May need to msg lisa. Im trying to figure how I made it work also. You might just search eoj there are some existing wp.
But just a warning do not go afk.
But just a warning do not go afk.
Re: Zone Event
Yeah quite a few discussions on the event (Eoj) timer.
check this 1 out
viewtopic.php?f=27&t=6026&hilit=eoj+time
check this 1 out
viewtopic.php?f=27&t=6026&hilit=eoj+time
Remember no matter you do in life to always have a little fun while you are at it ![Wink ;)](./images/smilies/icon_e_wink.gif)
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
![Wink ;)](./images/smilies/icon_e_wink.gif)
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Zone Event
HEy, thanks for your comments!
It wont work, but i need one working program now and i easierly wrote this code:
local mTime = os.time()
local elapsedTime = 0
local time = os.date("*t")
print("Compare time. Time is: " ..time.min)
if time.min == 23 or time.min == 30 or time.min == 50 then
while 210 > elapsedTime do
print("Event start, during event")
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:harvest(123369) --Klick Gelbe Flüssigkeit
player:harvest(123368) --Klick Fläschchen
player:harvest(123508) --Klick Trübe Flüssigkeit
player:target_NPC(123561) --Jenn Shadoli (Abgabe)
elapsedTime = os.time() - mTime
print(elapsedTime)
end
if RoMScript("GetCurrentParallelID()") == 1 or RoMScript("GetCurrentParallelID()") == 3 then
sendMacro("ChangeParallelID(2)")
break
elseif RoMScript("GetCurrentParallelID()") == 2 then
sendMacro("ChangeParallelID(1)")
break
end
yrest(25500)
local mTime = os.time()
local elapsedTime = 0
while 210 > elapsedTime do
print("Event start, during event")
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:harvest(123369) --Klick Gelbe Flüssigkeit
player:harvest(123368) --Klick Fläschchen
player:harvest(123508) --Klick Trübe Flüssigkeit
player:target_NPC(123561) --Jenn Shadoli (Abgabe)
elapsedTime = os.time() - mTime
print(elapsedTime)
end
end
print("Stop, time is: " ..time.min)
can someone take a look to this and say, what i have done wrong? so it must be a little mistake, but i dont see it
Thanks for ur help
It wont work, but i need one working program now and i easierly wrote this code:
local mTime = os.time()
local elapsedTime = 0
local time = os.date("*t")
print("Compare time. Time is: " ..time.min)
if time.min == 23 or time.min == 30 or time.min == 50 then
while 210 > elapsedTime do
print("Event start, during event")
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:harvest(123369) --Klick Gelbe Flüssigkeit
player:harvest(123368) --Klick Fläschchen
player:harvest(123508) --Klick Trübe Flüssigkeit
player:target_NPC(123561) --Jenn Shadoli (Abgabe)
elapsedTime = os.time() - mTime
print(elapsedTime)
end
if RoMScript("GetCurrentParallelID()") == 1 or RoMScript("GetCurrentParallelID()") == 3 then
sendMacro("ChangeParallelID(2)")
break
elseif RoMScript("GetCurrentParallelID()") == 2 then
sendMacro("ChangeParallelID(1)")
break
end
yrest(25500)
local mTime = os.time()
local elapsedTime = 0
while 210 > elapsedTime do
print("Event start, during event")
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:harvest(123369) --Klick Gelbe Flüssigkeit
player:harvest(123368) --Klick Fläschchen
player:harvest(123508) --Klick Trübe Flüssigkeit
player:target_NPC(123561) --Jenn Shadoli (Abgabe)
elapsedTime = os.time() - mTime
print(elapsedTime)
end
end
print("Stop, time is: " ..time.min)
can someone take a look to this and say, what i have done wrong? so it must be a little mistake, but i dont see it
Thanks for ur help
Re: Zone Event
I use luaedit it has a syntax check under Debug tool. You can get it free here http://luaedit.sourceforge.net/
I use notepad++ to edit and add indents so code is easy to follow. you can get a copy of it here https://notepad-plus-plus.org/
I use notepad++ to edit and add indents so code is easy to follow. you can get a copy of it here https://notepad-plus-plus.org/
Code: Select all
local mTime = os.time()
local elapsedTime = 0
local time = os.date("*t")
print("Compare time. Time is: " ..time.min)
if time.min == 23 or time.min == 30 or time.min == 50 then
while 210 > elapsedTime do
print("Event start, during event")
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:harvest(123369) --Klick Gelbe Flüssigkeit
player:harvest(123368) --Klick Fläschchen
player:harvest(123508) --Klick Trübe Flüssigkeit
player:target_NPC(123561) --Jenn Shadoli (Abgabe)
elapsedTime = os.time() - mTime
print(elapsedTime)
end
if RoMScript("GetCurrentParallelID()") == 1 or RoMScript("GetCurrentParallelID()") == 3 then
sendMacro("ChangeParallelID(2)")
-- break -- this is causing error
elseif RoMScript("GetCurrentParallelID()") == 2 then
sendMacro("ChangeParallelID(1)")
-- break -- this is causing error
end
yrest(25500)
local mTime = os.time()
local elapsedTime = 0
while 210 > elapsedTime do
print("Event start, during event")
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:target_NPC(123561) --Jenn Shadoli (Annahme)
player:harvest(123369) --Klick Gelbe Flüssigkeit
player:harvest(123368) --Klick Fläschchen
player:harvest(123508) --Klick Trübe Flüssigkeit
player:target_NPC(123561) --Jenn Shadoli (Abgabe)
elapsedTime = os.time() - mTime
print(elapsedTime)
end
end
print("Stop, time is: " ..time.min)
Re: Zone Event
Hey, thank yyou very much.
Could you also help my at changing the time to when the event starts and when it ends?
THere is code from a user here but i really dont understand it. Also because the time is sometimes not visible
Greetings
Could you also help my at changing the time to when the event starts and when it ends?
THere is code from a user here but i really dont understand it. Also because the time is sometimes not visible
Greetings
Re: Zone Event
Sorry I don't know that part of the code well. e oj is bad place to try this. Never go afk if you do.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 5 guests