Thread

user list additional info (Sdk)

user list additional info // Sdk

1  |  

xelag

Aug 20, 2004, 4:42pm
The user list, if enabled (it is always enabled for cit #1 bots) must
be refreshed at least once every 30 minutes if the bot calls it. The
reason is that departed users are kept in the universe database for
only 30 minutes. If the refresh interval is longer than that,
duplicate entries will appear for users that log off and back in, as
the user "delete" (AW_EVENT_USER_INFO with aw_userlist_state = 0) will
not be sent to the SDK because the universe database has removed this
user from its "departed" database table.


Thanks, Chris, for the info.
Alex

xelag

Aug 21, 2004, 11:22am
The SDK docs have now been updated with this information, thanks Chris
:)

http://www.activeworlds.com/sdk/aw_user_list.htm

Alex

[View Quote] >The user list, if enabled (it is always enabled for cit #1 bots) must
>be refreshed at least once every 30 minutes if the bot calls it. The
>reason is that departed users are kept in the universe database for
>only 30 minutes. If the refresh interval is longer than that,
>duplicate entries will appear for users that log off and back in, as
>the user "delete" (AW_EVENT_USER_INFO with aw_userlist_state = 0) will
>not be sent to the SDK because the universe database has removed this
>user from its "departed" database table.
>
>
>Thanks, Chris, for the info.
>Alex

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