Page 1 of 1

Room List update problem

Posted: 21 Aug 2017, 14:05
by Mathan
Hello,
am new to smartfox unity.
I am using SmartFox pro Server version 1.2.6. I made the connection to the server. OnRoomListUpdate delegate method in client side is not calling when the server sends the room list and the connection on the client side gets lost.
My Unity Version is 5.6.3

Server Side Code:
if (ok) {
logger.info("sending login response");
sendResponse(res, -1, null, ll);
logger.info("sending room list update ");
helper.sendRoomList(chan);// this line cause problems
}
in client side debug log
OnDebug messgeDisconnect due to: Unknown char: d
UnityEngine.Debug:Log(Object)
SmartfoxConnector:OnDebugMessage(String) (at Assets/Plugins/SmartfoxConnector.cs:162)
SmartFoxClientAPI.SmartFoxClient:_DispatchEvent(SFSEvent)
SmartFoxClientAPI.SmartFoxClient:DispatchEvent(SFSEvent)
SmartFoxClientAPI.SmartFoxClient:DebugMessage(String)
SmartFoxClientAPI.SmartFoxClient:HandleSocketData()

Thanks

Re: Room List update problem

Posted: 23 Aug 2017, 15:48
by Lapo
Hi,
if you're new to SmartFox I am not sure why you're using such a old version of SFS PRO.
More in general I would highly recommend SmartFoxServer 2X as SFS PRO has been retired several years ago. We still maintain it via server side patches, but as of 2017 SFS2X is definitely the way to go especially for Unity and mobile devices.

I'd recommend you take a look at it. It's equally free to try for as long as you wish, provides 100% of the features and comes with a 100 users license (as opposed to 20 users for PRO)

Download here:
http://www.smartfoxserver.com/download/ ... =installer

Product comparison here:
http://www.smartfoxserver.com/products

hope it helps