Search found 13 matches

by M-D
28 Mar 2013, 16:16
Forum: SFS2X ActionScript 3 API
Topic: Exception when client library handles update after logout
Replies: 7
Views: 3254

Re: Exception when client library handles update after logou

Here is an example of what we do when the game ends. In the zone extension the following function is called when a player leaves and the game is ended This will talk to our API to end the game, we get some information back (wins & losses for example) and we update the user variables (which conta...
by M-D
28 Mar 2013, 15:47
Forum: SFS2X ActionScript 3 API
Topic: Exception when client library handles update after logout
Replies: 7
Views: 3254

Re: Exception when client library handles update after logou

[...] There's not much that can be done about this because of the very asynchronous nature of the communication. It's also necessary to point out that the exception should do no harm to the client. Thanks for reporting. Well the problem is the exception occurs in the SFS library, so we can't captur...
by M-D
28 Mar 2013, 15:43
Forum: SFS2X ActionScript 3 API
Topic: Exception when client library handles update after logout
Replies: 7
Views: 3254

Re: Exception when client library handles update after logou

We're using version 1.1.6, which seems to be the last one. It happens when a player is playing a game on our server and does a LogoutRequest(). This triggers a USER_LEAVE_ROOM / USER_DISCONNECT event, at which point the game is ended. When the game ends we update some user variables (win / loss coun...
by M-D
28 Mar 2013, 09:28
Forum: SFS2X ActionScript 3 API
Topic: Exception when client library handles update after logout
Replies: 7
Views: 3254

Exception when client library handles update after logout

Hello, When the client does a logout, and the server sends a UserVariableUpdate shortly after the client throws the following exception: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.smartfoxserver.v2.controllers::SystemController/fnSetBuddyVariables()...
by M-D
26 Nov 2012, 16:17
Forum: SFS2X Questions
Topic: Rooms not auto-removing
Replies: 3
Views: 938

Re: Rooms not auto-removing

I've also seen this happen.
I think it started with the 2.4.0 release because I'm pretty sure it was working fine before the update.
by M-D
26 Nov 2012, 13:02
Forum: SFS2X Questions
Topic: Reload wordsFile.txt when server is running?
Replies: 2
Views: 815

Reload wordsFile.txt when server is running?

Hi,

Is it possible to make SmartFox reload the wordsFile.txt containing the swear words while the server is running?
by M-D
30 Oct 2012, 16:35
Forum: SFS2X Java / Android API
Topic: Reconnection system issue
Replies: 5
Views: 3248

Re: Reconnection system issue

Yes I understand, but judging by the logs the client lib has noticed the connection was lost (because it says it's going to attempt a reconnect): 110143 [New I/O worker #1] INFO sfs2x.client.bitswarm.BitSwarmClient - Attempting reconnection in 1000 msec 110143 [Thread-4] ERROR sfs2x.client.core.sock...
by M-D
30 Oct 2012, 09:21
Forum: SFS2X Java / Android API
Topic: Reconnection system issue
Replies: 5
Views: 3248

Re: Reconnection system issue

Hi,

I checked, but I was already listening & logging SOCKET_ERROR events.
As it doesn't show up in the log, it seems that it wasn't triggered.
by M-D
29 Oct 2012, 14:12
Forum: SFS2X Questions
Topic: Reconnection system issues
Replies: 5
Views: 1973

Re: Reconnection system issues

Thanks for your reply Lapo. I posted the java problem in the java client subforum. I have another question for the HRC: is it (technically) capable of reconnecting when switching from 3G to WiFi? For example: we have a game on iPad, the user is playing a game and leaves his house or loses WiFi conne...
by M-D
29 Oct 2012, 14:08
Forum: SFS2X Java / Android API
Topic: Reconnection system issue
Replies: 5
Views: 3248

Reconnection system issue

(From this topic ) Server: 2.3.0 Client 1.0.4 I was trying out the reconnection system, and after unplugging my network cable I get the following in my log: 110143 [New I/O worker #1] INFO sfs2x.client.core.EventDispatcher - Dispatching event OnDisconnect to 1 listeners 110143 [New I/O worker #1] IN...
by M-D
29 Oct 2012, 09:40
Forum: SFS2X Questions
Topic: Reconnection system issues
Replies: 5
Views: 1973

Re: Reconnection system issues

Hello, So if I understand this correctly, this system wont work when you lose your WiFi or 3G connection for example? And I still don't understand why I don't get the CONNECTION_LOST event in the java client, is this a bug? // Edit Okay I just updated the JAVA client library (1.0.4), now the followi...
by M-D
24 Oct 2012, 15:05
Forum: SFS2X Questions
Topic: Reconnection system issues
Replies: 5
Views: 1973

Reconnection system issues

I'm currently trying to implement the reconnection system in SmartFoxServer 2x (2.3.0). I'm having both issues with the Flash and the Java client library. I set the reconnection time to 60 seconds in the zone xml file. Basically I setup some logging on both the client and the server, telling me when...

Go to advanced search