ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
global mode issues: re-login (Sdk)
global mode issues: re-login // SdkkfJun 11, 2003, 11:57am
Normally, when a bot is disconnected (eg. line is disconnected), he will
automatically reconnect when it is possible again. However... I noticed, that with bots in global mode, they often (or always?) log back in normal (non-global) mode. The documentation does not say whether this is the intended behaviour or not, but it appears to me that, on/after each disconnect, the wisest decision is to destroy the instance and log the bot back in manually. xelagJun 13, 2003, 3:33am
In a very honest email, Roland Vilett suggested to me that if any sort
of disconnection occurs, destroy the instance and start all over. This was his strategy, a bit extreme, but it works (xelagot uses a milder strategy). I keep a boolean varialble for 'desired global mode', and always set my wish (yes or no global mode) when logging into a world. It works. Alex [View Quote] >Normally, when a bot is disconnected (eg. line is disconnected), he will >automatically reconnect when it is possible again. > >However... > >I noticed, that with bots in global mode, they often (or always?) log >back in normal (non-global) mode. > >The documentation does not say whether this is the intended behaviour or >not, but it appears to me that, on/after each disconnect, the wisest >decision is to destroy the instance and log the bot back in manually. |