EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Feature Requests (https://www.eqemulator.org/forums/forumdisplay.php?f=612)
-   -   Add Zone SetTime (https://www.eqemulator.org/forums/showthread.php?t=39698)

Hateborne 05-24-2015 03:49 PM

Add Zone SetTime
 
Hello Ladies/Gents/Trolls,

I am curious how difficult it would be to add an option to manipulate zone time would be? One of many events in a new zone involve vampires turning the day into night (at least I would like them to do so). The snippet below (from xxxxxxxxx) is incorrect as it (quest::settime) affects WORLD time, which is very bad for other zones relying on timed (night/day) events.

Code:

quest::settime(hour, minute) # Sets zone time of day. Sky/lighting changes acordingly.
My weakness in C++ prevents me from providing a very basic, working example for some of you magic people to perfect/improve. Is this possible or would this require HUGE amounts of adjustments?


-Hate

Drajor 05-24-2015 07:11 PM

Should be very easy, time is sent in a single packet at zone in, you can send whatever you want.

Hateborne 05-31-2015 02:31 PM

Handled by Akkadius here -> https://github.com/EQEmu/Server/comm...137c514d3b58a2


-Hate


All times are GMT -4. The time now is 08:37 AM.

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