Log in

View Full Version : Add Zone SetTime


Hateborne
05-24-2015, 03:49 PM
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.

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/commit/ee136881c8a66e025dfdbc2e2e137c514d3b58a2


-Hate