Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2012, 08:51 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Well, the values set when the zone is loaded determine when the first check is. The second set determine when the next check is. You'd need to find a balance for those that does what you're looking for. If you set them all to very low values then the changes will be frequent. The values are in milliseconds, so if you set them to something between 300000 and 600000 it would change every 5-10 minutes.

You can also change the weather from a script if that is easier.
Reply With Quote
  #2  
Old 03-03-2012, 07:14 PM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

Is there a place I can read up on how to set up scripts? I have no idea what I'm doing.
Reply With Quote
  #3  
Old 03-03-2012, 11:19 PM
louis1016
Hill Giant
 
Join Date: Dec 2009
Posts: 157
Default

heres a decent weather setup for a private server-

in zone.cpp

line 818 should read:

Code:
Weather_Timer = new Timer((MakeRandomInt(1, 2700000)));
then change lines 1289-1292 to

Code:
			if(zone->zone_weather != zone->weather_type)
				weatherTime = (MakeRandomInt(1, 2700000));
			else
				weatherTime = (MakeRandomInt(1, 2700000));
i find this to be much better then using perl scripts, the only problem is the code does not seem to generate random weather intensity, which you can do quite easily in perl scripts (some of the high intensity rain/snow settings are quite awesome, the default rain/snow intensity seen in eqemu is really low and crappy compared to what is capable)

I noticed however, on line 2018,

Code:
if(zone_weather>0)
		outapp->pBuffer[4] = 0x10+MakeRandomInt(0, 9); // This number changes in the packets, intensity?
if this is correct, and this is the random intensity, then the values must be changed to 0, 60 rather then 0, 9. This would mean that the random intensity can only be between 0 and 9, which are very low. Changing the value higher will produce much different rain/snow storms. I have yet to test this out but I will get to it sometime
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:03 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3