Jump to content
  • 0
kaixler44

@autotrade @afk limit for 12 hours then automatically kick how?

Question

As the title says how can i set @autotrade and @afk limit for 12 hours then automatically kick by the server.

if( battle_config.at_timeout ) {
		int timeout = atoi(message);
		status_change_start(NULL,&sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, SCSTART_NONE);
	}

please help me,Thanks in advance.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

 

conf/battle/misc.conf

// Set this to the amount of minutes autotrade chars will be kicked from the server.
at_timeout: 0

id like to set for 12 hours, should be look lie this? at_timeout: 12 [Hours] or at_timeout: 43200000 [milliseconds]

Link to comment
Share on other sites

 

 

conf/battle/misc.conf

// Set this to the amount of minutes autotrade chars will be kicked from the server.
at_timeout: 0

id like to set for 12 hours, should be look lie this? at_timeout: 12 [Hours] or at_timeout: 43200000 [milliseconds]

 

minutes

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.