EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   weather (https://www.eqemulator.org/forums/showthread.php?t=33260)

ChaosSlayerZ 04-03-2011 12:30 PM

here is a curious question.
if it fires off player.pl, won't that mean that weather will change every time someone enters the zone?
So in 5 min, 5 people enter the zone, and weather changes 5 times =)

louis1016 04-04-2011 02:06 AM

yes it is, i made that code just based on that first code someone posted, i run all dynamic zones so its fine for me but for something like static zones or a large population server something else must be done. A better method that I'm almost done writing is a player.pl script that changes to a random weather type with a random intensity after a random duration of being in the zone. That will work much better to seemlessly randomly change the weather in a zone. I dont know how the bigger servers handle their weather, but for small server purposes the player.pl scripts do the job just right.

ChaosSlayerZ 04-04-2011 02:43 AM

you can attach a code to a invisible "teleport_man" npc, and run it on timer

then it won't be player dependent regardless number of players or static zones

louis1016 04-04-2011 06:03 PM

thanks, ill try that


All times are GMT -4. The time now is 06:46 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.