Room List update problem

Post here all your questions related with SmartFoxServer .Net/Unity3D API

Moderators: Lapo, Bax

Mathan
Posts: 1
Joined: 21 Aug 2017, 11:44

Room List update problem

Postby Mathan » 21 Aug 2017, 14:05

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
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Room List update problem

Postby Lapo » 23 Aug 2017, 15:48

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
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “.Net / Unity3D API”

Who is online

Users browsing this forum: No registered users and 16 guests