Live-Like weather. Big thanks to Robregen for figuring out the system!

Included in the required SQL is weather data pulled from NewZone live packets for up to PoP. An update to EQExtractor will be made to grab the rest of the data from existing collects.

Please note: Until weather data is grabbed for zones later than PoP, weather will not work in those zones.
This commit is contained in:
cavedude00
2014-01-20 10:10:39 -08:00
parent 3970bb5955
commit 70f994cda5
18 changed files with 381 additions and 136 deletions
+4 -2
View File
@@ -149,6 +149,8 @@ public:
void ShowDisabledSpawnStatus(Mob* client);
void ShowSpawnStatusByID(Mob* client, uint32 spawnid);
void StartShutdownTimer(uint32 set_time = (RuleI(Zone, AutoShutdownDelay)));
void ChangeWeather();
bool HasWeather();
void AddAuth(ServerZoneIncommingClient_Struct* szic);
void RemoveAuth(const char* iCharName);
void ResetAuth();
@@ -212,7 +214,6 @@ public:
WaterMap* watermap;
PathManager *pathing;
NewZone_Struct newzone_data;
uint8 zone_weather;
SpawnConditionManager spawn_conditions;
@@ -232,7 +233,8 @@ public:
inline bool BuffTimersSuspended() const { return newzone_data.SuspendBuffs != 0; };
time_t weather_timer;
uint8 weather_type;
uint8 weather_intensity;
uint8 zone_weather;
uint8 loglevelvar;
uint8 merchantvar;