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 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
  #2  
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


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 06:53 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3