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:
Quote:
|
Yeah that's what I did for compilation. Although the most recent one DID give me a chatserver exe, so I don't know what file I'm not getting. Seems like as long as I get world, zone, and eqlaunch, I'm good.
I set the values super low just to check and it works. Also looks like the intensity can vary a ton so I think you're right. I ended up settling on checking a maximum of every 17 minutes. Thanks! |
All times are GMT -4. The time now is 07:49 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.