ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
user list additional info (Sdk)
user list additional info // SdkxelagAug 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 xelagAug 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 |