When i connect one address and login in zone success then disconnect it and connect to another ip,logs show "Already connected",I force to use [smartfox killconnection] disconnect the first connection again in order to create a new connection. Here are logs:
2013-04-06 10:24:01.929 iGame[3438:c07] disconnectServer ip = *.*.*.*,zone = MasterServer
2013-04-06 10:24:02.042 iGame[3438:c07] onConnectionLost
2013-04-06 10:24:02.043 iGame[3438:c07] Connection was lost, Reason:manual
2013-04-06 10:24:02.043 iGame[3438:c07] [SFS - WARN]Already connected!
sfs2x 2.4.0 and ios api 1.1.5.
user disconnected,But [smartFox isConnected] is true
Re: user disconnected,But [smartFox isConnected] is true
I've never met this kind of problem when I use the version 1.1.3 api.
Re: user disconnected,But [smartFox isConnected] is true
Once you loose connection your previous Session is gone. In order to start a new Session just re-create the SmartFox2XClient class.
Before you do that just make sure to release the old object, unless you're using ARC.
Thanks
Before you do that just make sure to release the old object, unless you're using ARC.
Thanks
Re: user disconnected,But [smartFox isConnected] is true
Lapo wrote:Once you loose connection your previous Session is gone. In order to start a new Session just re-create the SmartFox2XClient class.
Before you do that just make sure to release the old object, unless you're using ARC.
Thanks
Thanks for Lapo,it works fine!
Re: user disconnected,But [smartFox isConnected] is true
Lapo wrote:Once you loose connection your previous Session is gone. In order to start a new Session just re-create the SmartFox2XClient class.
Before you do that just make sure to release the old object, unless you're using ARC.
Thanks
i'm using ARC if i re-create the SmartFox2XClient class i got a terrible memory leak!
Re: user disconnected,But [smartFox isConnected] is true
Hi,
yes we are aware of the problem and working on a solution, possibly migrating the API to ARC-only.
We're releasing a new version in a few days with several new fixes and then the next one will address the ARC problem.
Thanks
yes we are aware of the problem and working on a solution, possibly migrating the API to ARC-only.
We're releasing a new version in a few days with several new fixes and then the next one will address the ARC problem.
Thanks
Re: user disconnected,But [smartFox isConnected] is true
Lapo wrote:Hi,
yes we are aware of the problem and working on a solution, possibly migrating the API to ARC-only.
We're releasing a new version in a few days with several new fixes and then the next one will address the ARC problem.
Thanks
i really don't like your iOS code, but my as3 project is using sfs, so i can't change it . i have to write many categories to release your objects, i told you a few month ago, but your didn't solve this problem until now!
Return to “SFS2X iPhone / iPad / OSX API”
Who is online
Users browsing this forum: No registered users and 28 guests