Thread

global mode issues: re-login (Sdk)

global mode issues: re-login // Sdk

1  |  

kf

Jun 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.

xelag

Jun 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.

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn