im having a problem with buddy list, being the problem they're not being saved.
Isnt the buddylist meant to be persistent?
In my config.xml i got
Code: Select all
<Zone name="X" uCountUpdate="false" maxUsers="20" customLogin="true">
<Room name="Map0" maxUsers="50" isPrivate="false" isTemp="false">
(...)
<Vars>
<Var name="_os_mapId" type="s" private="false">Y#Map0</Var>
</Vars>
</Room>
<BuddyList active="true">
<size>20</size>
<maxBuddyVariables>5</maxBuddyVariables>
<mode>advanced</mode>
<offLineBuddyVariables>true</offLineBuddyVariables>
<permissionTimeOut>60</permissionTimeOut>
<mutualAddBuddy>true</mutualAddBuddy>
<mutualRemoveBuddy>true</mutualRemoveBuddy>
<ownerListFullErrorMsg>Buddy list full message!</ownerListFullErrorMsg>
<targetListFullErrorMsg>Target buddy list full message!</targetListFullErrorMsg>
</BuddyList>
(...)
</Zone>
On server init:
Code: Select all
16:08:33.590 - [ FINE ] > AdvancedBuddyListPersister <INIT>
Zone: X
An example from server output:
Code: Select all
16:13:29.140 - [ INFO ] > Asking buddy permission. Sender: R, Target:it.gotoandplay.smartfoxserver.data.User@4800ef96
16:13:42.430 - [ FINE ] > Added buddy { T } for user: { R }
16:13:42.434 - [ FINE ] > Added buddy { R } for user: { T }
16:13:48.771 - [ FINER ] > Buddy list stored: UPDATE BLIST_4369646164654573636F6
C61 SET NAMES_LIST='R',BLOCK_LIST='0',VAR_KEYS='',VAR_VALUES='' WHERE OWNER='T'
16:13:48.774 - [ FINER ] > Buddy list stored: UPDATE BLIST_4369646164654573636F6
C61 SET NAMES_LIST='T',BLOCK_LIST='0',VAR_KEYS='',VAR_VALUES='' WHERE OWNER='R'
16:13:48.775 - [ FINE ] > Buddy Lists Autosave done in 9ms.
Ingame they seem to work fine, but after a user lefts his buddy list is lost.