Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-24-2015, 03:49 PM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Question 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

Last edited by joligario; 04-22-2021 at 10:19 PM.. Reason: Wiki deprecated
Reply With Quote
  #2  
Old 05-24-2015, 07:11 PM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default

Should be very easy, time is sent in a single packet at zone in, you can send whatever you want.
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
Reply With Quote
  #3  
Old 05-31-2015, 02:31 PM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Default

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


-Hate
Reply With Quote
Reply

Tags
perl, settime, time, zone

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:00 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3