Zone Event

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Buh
Posts: 45
Joined: Thu Dec 10, 2015 12:39 am

Zone Event

#1 Post by Buh » Thu Dec 10, 2015 12:48 am

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

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Zone Event

#2 Post by beanybabe » Thu Dec 10, 2015 1:58 am

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
Attachments
function scanevent.xml
(1.68 KiB) Downloaded 123 times

Buh
Posts: 45
Joined: Thu Dec 10, 2015 12:39 am

Re: Zone Event

#3 Post by Buh » Thu Dec 10, 2015 2:43 am

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

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Zone Event

#4 Post by beanybabe » Fri Dec 11, 2015 12:17 am

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.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Zone Event

#5 Post by lisa » Fri Dec 11, 2015 1:11 am

Yeah quite a few discussions on the event (Eoj) timer.
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 ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Buh
Posts: 45
Joined: Thu Dec 10, 2015 12:39 am

Re: Zone Event

#6 Post by Buh » Fri Dec 11, 2015 9:00 am

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

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Zone Event

#7 Post by beanybabe » Sat Dec 12, 2015 6:28 am

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/

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)

Buh
Posts: 45
Joined: Thu Dec 10, 2015 12:39 am

Re: Zone Event

#8 Post by Buh » Mon Dec 14, 2015 12:24 pm

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

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Zone Event

#9 Post by beanybabe » Mon Dec 14, 2015 6:12 pm

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.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 6 guests