sync master Posted November 28, 2011 Posted November 28, 2011 How can i activate night mode @ all town permanently? Quote
0 Emistry Posted November 28, 2011 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
0 Truly Posted November 28, 2011 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
0 sync master Posted November 28, 2011 Author 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
0 Truly Posted November 28, 2011 Posted November 28, 2011 Ah thanks Emistry, missed that line in the conf haha! Quote
0 Noel Gallagher Posted November 28, 2011 Posted November 28, 2011 (edited) @Emistry How about every 6am(DAY) and 6pm(Night)? Edited November 28, 2011 by Sunny Day Quote
0 Emistry Posted November 28, 2011 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
Question
sync master
How can i activate night mode @ all town permanently?
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.