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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 03-05-2012, 01:56 AM
louis1016
Hill Giant
 
Join Date: Dec 2009
Posts: 157
Default

Yes the random interval generator thats used in the code has the lower and upper limit in parenthesis, which is the 1 and 2700000. So after the first random chance in the beginning a random number between 1 and 2700000 is generated which is the number of miliseconds until the next check. that means that it will take at most 45 minutes for the check, so it could happen any time. After that another random number is generated and so on, so there could be many checks for weather change in 45 minutes or there could be at least one.

Another way to alter the code while keeping this amount of weather checks is to alter the 1 in 5 chance of weather change at a weather check. This is in zone.cpp at line 1270.

Quote:
if(tmpweather >= 80)
means its an 80% chance weather wont change at the check. Alter this to whatever you want, id say use 65 or something but change it however you see fit.

Quote:
Also, I've seen on the boards, and am having some trouble compiling the whole source code. It runs into issues compiling queryseve, which I think compiles the chatserver exe. If I'm using all of the other files it compiles and getting the server up and running, that won't cause any issues, will it?
No this wont cause any problems with compile errors. If your running into problems when compiling queryserve and your using visual studio you need to go to Build - Configuration manager, make sure the drop box on the left is set to release or releasebots and then uncheck the box for queryserve.
Reply With Quote
 


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 09:49 PM.


 

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