sync master Posted November 28, 2011 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 35 Reputation: 2 Joined: 11/25/11 Last Seen: December 14, 2011 Share Posted November 28, 2011 How can i activate night mode @ all town permanently? Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted November 28, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 14 hours ago Share Posted November 28, 2011 (edited) try this.... NPC Script : - script Sample -1,{ OnInit: OnPCLoginEvent: if( !isnight ) night; end; } beside.....if you are using those from above posts... you should include this also ~ Server Setting : conf/battle/misc.conf // Choose if server begin with night (yes) or day (no) night_at_start: yes Edited November 28, 2011 by Emistry 1 Quote Link to comment Share on other sites More sharing options...
0 Truly Posted November 28, 2011 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 201 Reputation: 48 Joined: 11/17/11 Last Seen: December 26, 2021 Share Posted November 28, 2011 conf\battle\misc.conf Find this: // 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: 3600000 And 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: 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: 600000 This should work, if not let us know Quote Link to comment Share on other sites More sharing options...
0 sync master Posted November 28, 2011 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 35 Reputation: 2 Joined: 11/25/11 Last Seen: December 14, 2011 Author Share Posted November 28, 2011 confbattlemisc.conf Find this: // 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: 3600000 And 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: 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: 600000 This should work, if not let us know it's not working. . . is there a script that trigger the night mode? Quote Link to comment Share on other sites More sharing options...
0 Truly Posted November 28, 2011 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 201 Reputation: 48 Joined: 11/17/11 Last Seen: December 26, 2021 Share Posted November 28, 2011 Ah thanks Emistry, missed that line in the conf haha! Quote Link to comment Share on other sites More sharing options...
0 Noel Gallagher Posted November 28, 2011 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 150 Reputation: 2 Joined: 11/19/11 Last Seen: October 29, 2016 Share Posted November 28, 2011 (edited) @Emistry How about every 6am(DAY) and 6pm(Night)? Edited November 28, 2011 by Sunny Day Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted November 28, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 14 hours ago Share Posted November 28, 2011 try this - script Sample -1,{ OnInit: if( gettime(3) < 18 ){ day; }else{ night; } end; OnClock0600: day; end; OnClock1800: night; end; } Quote Link to comment Share on other sites More sharing options...
Question
sync master
How can i activate night mode @ all town permanently?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.