I'm created buddy list persister extending AbstractBuddyPersister. loadList() method implemented similarly as in Anber's example in this thread: http://www.smartfoxserver.com/forums/viewtopic.php?t=3230&start=0&postdays=0&postorder=asc&highlight=.
And it occurs when User log in to SFS. When client runs SmartFoxClient.loadBuddyList() no any debug strings from loadList() come to SFS console but OnDebug event fires on client with following message:
Code: Select all
[ RECEIVED ]: <msg t='sys'><body action='bList' r='-1'><bList><b s='0' i='-1' x='0'><n><![CDATA[Newbie]]></n><vs><v n='dbid'><![CDATA[8]]></v></vs></b><b s='0' i='-1' x='0'><n><![CDATA[Uzer]]></n><vs><v n='dbid'><![CDATA[9]]></v></vs></b><b s='0' i='-1' x='0'><n><![CDATA[User2]]></n><vs><v n='dbid'><![CDATA[10]]></v></vs></b><b s='0' i='-1' x='0'><n><![CDATA[User3]]></n><vs><v n='dbid'><![CDATA[11]]></v></vs></b></bList></body></msg>, (len: 423)
and OnBuddyList event also fired but buddyList in it comes empty.
Why? And what I doing wrong?
Thanks in advance!