timo0o 0 Posted September 4, 2016 Hi! Where can i setup the day/night cycle in the hercules server settings? I almost think that it changes every 2 hours between day and night. But i want to use my own day/night script. Where can i Change this? Quote Share this post Link to post Share on other sites
0 Monsieur Panda 38 Posted September 4, 2016 conf/map/battle/misc.conf Quote Share this post Link to post Share on other sites
0 timo0o 0 Posted September 4, 2016 conf/map/battle/misc.conf Thanks. I think you mean these settings? // Choose if server begin with night (yes) or day (no) night_at_start: no // Define duration in msec of the day (default: 7200000 = 2 hours) // Set to 0 to disable day cycle (but not @day GM command). // Except 0, minimum is 60000 (1 minute) day_duration: 0 // Define duration in msec of the night (default: 1800000 = 30 min) // Set to 0 to disable night cycle (but not @night GM command). // Except 0, minimum is 60000 (1 minute) night_duration: 0 But it is still active. Quote Share this post Link to post Share on other sites
0 Monsieur Panda 38 Posted September 4, 2016 Didn't test but maybe you need to activate day_duration only (not 0)? and let night at 0. Quote Share this post Link to post Share on other sites
0 WhiteEagle 6 Posted September 4, 2016 If you wanna have 2hours day and 2hours night,you need to change it to: // Define duration in msec of the day (default: 7200000 = 2 hours) // Set to 0 to disable day cycle (but not @day GM command). // Except 0, minimum is 60000 (1 minute) day_duration: 7200000 // Define duration in msec of the night (default: 1800000 = 30 min) // Set to 0 to disable night cycle (but not @night GM command). // Except 0, minimum is 60000 (1 minute) night_duration: 7200000 Quote Share this post Link to post Share on other sites
0 Monsieur Panda 38 Posted September 4, 2016 But, what script do you want to use ?? Quote Share this post Link to post Share on other sites
0 timo0o 0 Posted September 6, 2016 I want to deactivate it because I want to use my own script. - script DayNight -1,{ OnInit: if ((gettime(3) < 6) || (gettime(3) >= 21)) night; end; OnClock0600: announce "The Sun is rising! [6:00]",bc_all,0xEEEEEE; day; end; OnClock2100: announce "Good Night Players![21:00]",bc_all,0xEEEEEE; night; end; } Quote Share this post Link to post Share on other sites
Hi!
Where can i setup the day/night cycle in the hercules server settings?
I almost think that it changes every 2 hours between day and night.
But i want to use my own day/night script.
Where can i Change this?
Share this post
Link to post
Share on other sites