ExclamationHelpEvent Spawn Rate?

Posts 1–4 of 4 · Page 1 of 1
Event Spawn Rate?
How do I make events spawn more in the realm? Like how nilly had it.

And also bonus question !! How do I time the realm closing. Like, instead of killing quests to close it it closes every hour.
While I don't know the exact way to add it as I don't really care to learn it I can try pointing you to the right area look in your oryx.cs and look for checkfinalquests
that is the way it closes realm so if you wanna make a timer look at that shouldn't be too hard
Quote Originally Posted by austo123 View Post
While I don't know the exact way to add it as I don't really care to learn it I can try pointing you to the right area look in your oryx.cs and look for checkfinalquests
that is the way it closes realm so if you wanna make a timer look at that shouldn't be too hard
I managed to figure out where it was:


But since im not good at coding im still confused with how I would setup a timer. All Ive managed to do is add a new using reference xd
help me out a bit?
Quote Originally Posted by KiD_CuDi_ View Post
I managed to figure out where it was:


But since im not good at coding im still confused with how I would setup a timer. All Ive managed to do is add a new using reference xd
help me out a bit?
I was able to do a simple google search and clicked on the first one and got something like this:

Code:
Timer aTimer = new Timer();
aTimer.Interval = 10*1000; // 10 * 1000 = 10 seconds
aTimer.Tick += CheckFinalQuests;            
aTimer.Start();
just put that code where ever the file is calling CheckFinalQuests. Remove the old line(s) that is calling the method and replace it with the timer. Very simple. You may have to do a aTimer.Stop(); somewhere because I don't use timers that often.

Also get rid of the if that counts the enemies. It won't be needed since the timer is closing the realm.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us