Search found 15 matches

by mka
31 Oct 2012, 23:20
Forum: SFS2X Questions
Topic: Sockets take forever to disconnect after shutdown
Replies: 1
Views: 4261

Sockets take forever to disconnect after shutdown

Hi! I have recently started to notice a weird behaviour after stopping Smartfox Server after moving to Amazon EC2. We are now running version 2.2.0 on Centos6 via Amazon EC2. We previously ran version 2.2.0 on a dedicated machine on Centos5, then moved to a virtual machine with Centos6 and in neithe...
by mka
02 Jul 2012, 06:39
Forum: SFS2X Questions
Topic: the server doesn't disconnect the user by timeout
Replies: 10
Views: 11061

Re: the server doesn't disconnect the user by timeout

Hi Lapo!

I've sent an email with my details to support. Waiting to get your extension code back so I can include it in the next deploy.

cheers,
Martina
by mka
28 Jun 2012, 06:18
Forum: SFS2X Questions
Topic: the server doesn't disconnect the user by timeout
Replies: 10
Views: 11061

Re: the server doesn't disconnect the user by timeout

Hi Lapo! We are having exactly the same issue. Some of our users keep hanging in limbo with Elapsed time since last request more than 100h. One other interesting fact is that these users are never joined to a room either (see screenshots attached). Kicking also doesn't work and there is no error mes...
by mka
29 Jul 2011, 02:56
Forum: SFS2X Questions
Topic: Error handling data: inflating sfs2x, Invalid SFSDataType
Replies: 28
Views: 45099

Hi, I get pretty similar errors with the latest RC3 Java Client API (but used to happen in all the other versions before as well). I am basically trying to run a load test via the Java Client API to monitor server load etc. But everything above roughly 50 users starts throwing the below errors. The ...
by mka
08 Jun 2011, 20:59
Forum: SFS2X Questions
Topic: How to debug server side java extension by using Eclipse
Replies: 10
Views: 21486

Make sure the port you configure as debug parameter on smartfox matches the port you configure in your remote app in eclipse. Eclipse uses port 8000 as default. The example uses 8787. So you either have to set eclipse to 8787 or smartfox to 8000. Also the host in eclipse needs to match the host you ...
by mka
08 Jun 2011, 05:46
Forum: SFS2X Questions
Topic: How to debug server side java extension by using Eclipse
Replies: 10
Views: 21486

What I have described does exactly what you want. You start smartfox with the extra debug parameters, then register it in eclipse as remote java app. Then you can put breakpoints into your code within eclipse and see what happens. You might also need to go into the Source tab in the remote app debug...
by mka
08 Jun 2011, 05:39
Forum: SFS2X Questions
Topic: SFSAPI.banUser()
Replies: 2
Views: 4759

Update:

My kicking code works fine with an AS3 client. Unfortunately not with the Java Client API which I use for testing ...

The original bug with the message still applies though.
by mka
07 Jun 2011, 23:18
Forum: SFS2X Questions
Topic: How to debug server side java extension by using Eclipse
Replies: 10
Views: 21486

Checkout http://docs2x.smartfoxserver.com/GettingStarted/howtos#item6 . In eclipse simply use "Remote Java Application" in the "Debug Configurations" dialog and setup your remote app to use the port you have configured in the extra debug parameters in your sfs2x.bat.
by mka
07 Jun 2011, 23:14
Forum: SFS2X Questions
Topic: Get User Count in Every Zone
Replies: 2
Views: 5693

Not sure, if it is a lot of help to you. But what we do to solve this problem is to have each zone report to a webservice on ServerReady event and periodically after that as well (via a scheduled task). On each ping back to the webservice we also send the number of users currently logged in on each ...
by mka
07 Jun 2011, 02:21
Forum: SFS2X Questions
Topic: SFSAPI.banUser()
Replies: 2
Views: 4759

SFSAPI.banUser()

I've been trying to figure out why banUser() always shows the default error message configured on the word filter instead of the one I pass in. And I stumbled upon this piece of code: SFSApi.banUser calls: SSFSBannedUserManager.banUser(userToBan, modUser, durationMinutes, mode, banMessage, "...
by mka
01 Mar 2011, 20:53
Forum: SFS2X Java / Android API
Topic: Java client API
Replies: 29
Views: 41643

Thanks guys! Just switched over to the new version, removed my workarounds and all is working fine. One tiny suggestion/request though: The AS3 API has a method that allows to retrieve all user variables from the user as array. SFSUser.getVariables():Array In the Java client API I can only retrieve ...
by mka
22 Feb 2011, 23:23
Forum: SFS2X Java / Android API
Topic: Java client API
Replies: 29
Views: 41643

Hi all! Firstly thanks to Lapo for giving us the beta API. It's been a tremendous help so far. I am using it in pure Java to test our custom extensions and event handlers. There are two things I have noticed so far: 1) The custom login does not work with the password check using the SFSApi like this...
by mka
31 Jan 2011, 21:50
Forum: SFS2X Questions
Topic: Extensions on classpath instead of in folder?
Replies: 2
Views: 4632

Thanks for the clarification! I was under the impression that each extension has to reside in its own folder, since the documentation talks about a single extension name and that every extension has to reside "in a folder under the {your-sfs2x-folder}/SFS2X/extensions/directory". But if I ...
by mka
31 Jan 2011, 02:56
Forum: SFS2X Questions
Topic: Extensions on classpath instead of in folder?
Replies: 2
Views: 4632

Extensions on classpath instead of in folder?

Hi, is there any way to add extensions to the classpath and use them from there without having to create a separate directory for each? Our project will most likely contain more than one extension. But it looks like the automated deploy will become very complex and complicated unless we split up the...
by mka
31 Jan 2011, 02:47
Forum: SFS2X Java / Android API
Topic: Java client API
Replies: 29
Views: 41643

I am also anxiously waiting for the Java Client API. We need it for unit testing extensions without having to go through the game flash client. And we don't have the resources to build flash test clients to do that. Can you at least give us an indication of when this will be released? I don't care a...

Go to advanced search