Thread

aw_session & error numbers (Sdk)

aw_session & error numbers // Sdk

1  |  

decastro@cable.a2000.nl (xelag)

Feb 1, 1999, 1:50am
Roland,

aw_session seems to switch between two modes: in the 'normal' mode, it
returns the session code. In the 'error' mode, it returns the error
code: for instance, RC_NO_CONNECTION seems to be a standard aw_session
return code when a 'non-world-caused-wfs' interrupts the session.
These two systems overlap:

my session number was, a few moments ago, according to the bot, within
the range of the published error numbers, a very low number, but did
not coincide with a published error code. This put the automatic
'error dectect' in my bot on the alert, so i could not get the bot to
respond properly. I know it was no real error code, because the bot
was visible in my aw browser, and I could check he had received an
aw_avatar_add event for my humble avatar.

could you specify if aw_session is using a double system and, if so,
which (range of) rc numbers for aw_session are session numbers and
which are error codes? there must be some way, other than guessing, to
determine the validity and usability of the return code of this
function.

XelaG

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