Openkore.com

OpenKore Forums
It is currently 19 Jul 2019, 18:52

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How to configure reconnect time
PostPosted: 10 Oct 2011, 07:14 
Offline
Noob
Noob

Joined: 29 Jan 2011, 11:29
Posts: 14
Hello,

when I get DCed due to sync-error or network error, I can set the seconds when to reconnect through timeouts.txt (value "reconnect 30" by default). Its possible to change the reconnect value to something different and that works.

But where is the value when to reconnect when "monster XY is on your screen"? I am using the telesearch plugin. When certain monsters are on the screen I want to reconnect for a certain time. But its obviously fixed to 30 seconds. For example, I set "Stormy Knight 0 3 3" in the mon_control.txt, and every time I see Stormy Knight I get DCed and reconnected in 30 seconds.

I want to change THAT 30 seconds. Looks like its another type of disconnect when see certain types of MVPS then if you simply type "relog".


Top
 Profile  
 
 Post subject: Re: How to configure reconnect time
PostPosted: 19 Oct 2011, 06:01 
Offline
Noob
Noob

Joined: 02 Apr 2010, 10:24
Posts: 13
in timeouts.txt

Code:
# When disconnected, wait x seconds before reconnecting again
reconnect 30


Top
 Profile  
 
 Post subject: Re: How to configure reconnect time
PostPosted: 27 Dec 2011, 17:39 
Offline
Noob
Noob

Joined: 29 Jan 2011, 11:29
Posts: 14
Have you even read my thread? Thats the reconnect when you get DCed, not the value when you just disconnect yourself.

Nevermind tho, "fixed" that using an automacro...


Top
 Profile  
 
 Post subject: Re: How to configure reconnect time
PostPosted: 28 Dec 2011, 08:08 
Offline
Developers
Developers

Joined: 05 Dec 2008, 05:42
Posts: 1811
It's hardcoded atm, should be configurable in AI::CoreLogic:
Code:
      if (mon_control($monsters{$_}{name},$monsters{$_}{nameID})->{teleport_auto} == 3) {
         warning TF("Disconnecting for 30 secs to avoid %s\n", $monsters{$_}{name});
         relog(30);
      }


Top
 Profile  
 
 Post subject: Re: How to configure reconnect time
PostPosted: 19 Mar 2013, 14:52 
Offline
Moderators
Moderators
User avatar

Joined: 01 Feb 2010, 17:37
Posts: 211
Location: Brazil - MG
Implemented

_________________
Brazilian Community: http://openkore-brasil.com
BetaKore: https://code.google.com/p/betakore/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group