Search found 77 matches

by Democre
01 Mar 2012, 20:50
Forum: SFS2X Questions
Topic: Guide: Enable JSP in Jetty
Replies: 8
Views: 14970

Re: Guide: Enable JSP in Jetty

Hello Lapo,
It seems the download link is no longer working. Does the new release of SFS2X include a JSP enabled Jetty?
Thanks,
Andy
by Democre
27 May 2011, 13:24
Forum: SFS2X Questions
Topic: Stress testing sfs2x Java API ?
Replies: 2
Views: 5300

The java API is included with the RC2 download and has a simple client example. Also there is a forum section for the java API listed as SFS2X Java / Android.
-Andy
by Democre
18 Apr 2011, 16:47
Forum: SFS2X Java / Android API
Topic: Error messages don't expand
Replies: 4
Views: 8427

I thought I had seen it reported, but couldn't find it through a search.
Any ETA on the next release?
Also, does this issue affect all clients, or just the Java client?
by Democre
17 Apr 2011, 18:36
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Can i use SmartfoxServer Pro in Local mode?
Replies: 5
Views: 8230

Also this is the SFS2X forum, you may get more help if you provide more details about your problem in the SmartFoxServer 1.x Discussions and Help forum.
by Democre
17 Apr 2011, 18:30
Forum: SFS2X Questions
Topic: TIPS: The new Room List and Room Groups
Replies: 13
Views: 25403

I believe this is the closest you will get to "disabling" the room list. You will in effect get no room list if your user is not subscribed to the groups which contain rooms. I may be wrong, but I have not seen any such API to disable room lists. It is a subscription model, so your clients...
by Democre
15 Apr 2011, 22:13
Forum: SFS2X Java / Android API
Topic: Error messages don't expand
Replies: 4
Views: 8427

Error messages don't expand

It appears that the error messages received from the server have an issue. SFS2X-RC2a java client b3 I tried on the server: SFSErrorData error = new SFSErrorData( SFSErrorCode.GENERIC_ERROR ); error.addParameter( "GENERIC ERROR" ); throw new SFSLoginException( "Gen...
by Democre
13 Apr 2011, 23:49
Forum: SFS2X Questions
Topic: TIPS: The new Room List and Room Groups
Replies: 13
Views: 25403

I think if you assign rooms to groups other than default, and just leave your users subscribed to the default group, then the users will not get the list of rooms from other groups. They would get an empty list of rooms for the default group if there are no rooms in that group.
by Democre
13 Apr 2011, 23:42
Forum: SFS2X Questions
Topic: Test SQL Exception
Replies: 5
Views: 9726

What is your test SQL string?
by Democre
13 Apr 2011, 21:06
Forum: SFS2X Questions
Topic: Sending packets
Replies: 3
Views: 6315

I haven't done anything in the Java client yet, but it seems like it should operate in a similar manner as the other client libraries. I think the problem is that when you add the event listener, you need to add it for SFSEvent.EXTENSION_RESPONSE instead of "newPlayer". Inside your handler...
by Democre
13 Apr 2011, 20:52
Forum: SFS2X ActionScript 3 API
Topic: No error on a failed connection?
Replies: 9
Views: 14310

Thinking about it some more, I think the original poster still has a problem. His problem may have been what I encountered when I was first learning around smartfox, and I may have convinced myself that my explanation was what the problem was, and coded around it for myself. I do indeed get connecti...
by Democre
13 Apr 2011, 16:07
Forum: SFS2X ActionScript 3 API
Topic: No error on a failed connection?
Replies: 9
Views: 14310

I think I may be wrong then. :oops:

Maybe it's a hold over. I do know that at one point there was a case when I didn't receive CONNECTION events from trying to connect to bad ip (either non-existant or no sfs). That's why I started coding that way.
by Democre
12 Apr 2011, 19:25
Forum: SFS2X ActionScript 3 API
Topic: No error on a failed connection?
Replies: 9
Views: 14310

I don't know. I always wrap it in an if(smartfox.connected) check.
by Democre
12 Apr 2011, 19:05
Forum: SFS2X ActionScript 3 API
Topic: No error on a failed connection?
Replies: 9
Views: 14310

You can only receive a CONNECTION event if it actually connects at the socket level. If there is some reason that it fails to fully connect after the socket connection is established, then you would receive the CONNECTION event with a false "success" parameter. However, if the socket conne...
by Democre
12 Apr 2011, 18:26
Forum: SFS2X Questions
Topic: Login problems
Replies: 4
Views: 7622

... ISession session = (ISession) event.getParameter(SFSEventParam.SESSION); ... Add this line where you're declaring name and pass, also you would need the correct import at the top. If you're trying to get the session after login, you would get it from the user passed into your ha...
by Democre
12 Apr 2011, 18:14
Forum: SFS2X Questions
Topic: How to get the "minPlayersToStartGame" value?
Replies: 4
Views: 7199

Good question. It looks like it is used in several areas of server logic. I don't know why it is hidden. minPlayersToStartGame : the minimum number of players to start the game. If the game is already running and the number of players goes below this limit the game will be stopped. Although I am unc...

Go to advanced search