Mr BrycE Posted July 8, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Share Posted July 8, 2012 Hi, Just like the Title Says.. I want to Limit the @autotrade of my Server up to a Specific Hours Only... Quote Link to comment Share on other sites More sharing options...
HD Scripts Posted July 8, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: Sunday at 11:48 PM Share Posted July 8, 2012 src/map/atcommand.c status_change_start(&sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, 0); Quote Link to comment Share on other sites More sharing options...
Limestone Posted July 8, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Share Posted July 8, 2012 in battle/misc.conf // Set this to the amount of minutes autotrade chars will be kicked from the server. at_timeout: 0 Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted July 8, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted July 8, 2012 how do i actually put 48 hours there? because i saw 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: 1800000 can i based on that one? in setting up the minutes? and in order for me to put the proper numbers on at_timeout: Quote Link to comment Share on other sites More sharing options...
Eurydice Posted July 8, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 414 Reputation: 103 Joined: 11/13/11 Last Seen: September 28, 2013 Share Posted July 8, 2012 No it states that it needs the number of minutes, 48 hours is 2880 minutes. 1 Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted July 8, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted July 8, 2012 Oh i see, thanks for that Quote Link to comment Share on other sites More sharing options...
Question
Mr BrycE
Hi, Just like the Title Says..
I want to Limit the @autotrade of my Server up to a Specific Hours Only...
Link to comment
Share on other sites
5 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.