Dawn-of-Light / DOLSharp

Dawn of Light (DOL) - Dark Age of Camelot (DAOC) Server Emulator
http://www.dolserver.net
GNU General Public License v2.0
112 stars 103 forks source link

Friends Manager is behaving weirdly #367

Open dol-leodagan opened 2 years ago

dol-leodagan commented 2 years ago

On Admin Sandbox Server,

Every time your character zone there is a warning in log about Friends Manager Cache and Status Cache

Gameplayer (DOL.GS.GamePlayer name=Haniaan DB_ID=d239dc89-ccf8-4763-8e14-bdb4b4ff0ed2 oid=-1 state=Inactive reg=181 loc=423089,444756,5959 class=Enchantress(41)) is already registered in Friends Manager Cache while adding!
Gameplayer (DOL.GS.GamePlayer name=Haniaan DB_ID=d239dc89-ccf8-4763-8e14-bdb4b4ff0ed2 oid=-1 state=Inactive reg=181 loc=423089,444756,5959 class=Enchantress(41)) is already registered in Friends Manager Status Cache while adding!
NetDwarf commented 2 years ago

I wonder if this warning is in the logs since the inception of FriendsManager as it's bound to player.Client.ClientState = GameClient.eClientState.WorldEnter which is only used in WorldInitRequestHandler .