Search found 72 matches

by Rashomon
16 Nov 2011, 00:09
Forum: SFS2X Questions
Topic: how to create room-level game extension for my board game?
Replies: 9
Views: 20943

Thanks, rjgtav! I have one extension folder: /SFS2X/extensions/SpellingBee This folder has one jar file: SpellingBee.jar My SpellingBee.jar file contains the following java files: SpellingBee.java LoginEventHandler.java SpellingBeeGame.java JoinGameHandler.java did you install SFS2x in the Program F...
by Rashomon
15 Nov 2011, 22:09
Forum: SFS2X Questions
Topic: how to create room-level game extension for my board game?
Replies: 9
Views: 20943

Sorry. Here are two server logs. The first one created an extension, but it's a server extension. On the second one, I tried to create a room extension, but failed. PS - I also edited my previous post to use unedited extension & jar names to make sure they were synched up with the logs. const EX...
by Rashomon
15 Nov 2011, 03:03
Forum: SFS2X Questions
Topic: how to create room-level game extension for my board game?
Replies: 9
Views: 20943

I’m having a similar problem. I thought about starting a new thread, but I’m trying to follow the SFSTris example as you recommended to Chris, so I thought I’d piggy-back. The short version is that I’m having trouble creating my dynamic room with an extension. I get a successful message on m...
by Rashomon
08 Nov 2011, 00:39
Forum: SFS2X Questions
Topic: Noob Question. Get room object serverside?
Replies: 4
Views: 6419

I'm trying to do this, as well. How can I create a _server object (or 2x server object)?

I'm looking through my SFSPro extensions. They use _server, but I don't see it being created anywhere.
by Rashomon
07 Nov 2011, 23:59
Forum: SFS2X Questions
Topic: Getting trace statements to work in extensions?
Replies: 1
Views: 3534

Getting trace statements to work in extensions?

I'm trying to get a custom class to work in my extension. My trace statements are working find in my main SFS extension (extends SFSExtension) and my extension handlers (extends BaseClientRequestHandler). The class I'm trying to trace from, though, is not an SFS class. I get an "undefined metho...
by Rashomon
07 Nov 2011, 23:53
Forum: SFS2X Questions
Topic: Debugging Server in 2X
Replies: 8
Views: 10617

Is there a guide for doing this in Eclipse for SFS 2X?
by Rashomon
07 Nov 2011, 15:36
Forum: SFS2X Questions
Topic: "Error while handling client request in extension"
Replies: 3
Views: 5531

Wow. That was silly of me. :oops:

What I want to create is a JoinTimer class. If I create an instance in the JoinGameHandler constructor, will I only have one instance, or will each user create their own (out of synch) JoinTimer instance?

Thanks.
by Rashomon
07 Nov 2011, 02:22
Forum: SFS2X Questions
Topic: "Error while handling client request in extension"
Replies: 3
Views: 5531

"Error while handling client request in extension"

I'm trying to call a custom class from an extension handler. I'm getting the following error, but I don't know why. Can someone tell me what I'm doing wrong? Error: 20:22:45,745 INFO [com.smartfoxserver.v2.controllers.ExtensionController-1] Extensions - {MyExtension}: >>> JoinGameHandler <<< 20:22:4...
by Rashomon
04 Nov 2011, 00:31
Forum: SFS2X Questions
Topic: QuickJoinGameRequest - Room creation failed - Need group?
Replies: 3
Views: 4959

Yes. That sounds like what's happening. Perhaps I just don't understand the QuickJoin flow. According to this , I need to supply a match expression with either a list of Rooms or a Room Group. What happens if a matching room is not found or has not been created? Does SFS automatically create an SFSG...
by Rashomon
29 Oct 2011, 20:41
Forum: SFS2X Questions
Topic: How to get current room without evt.params.room?
Replies: 1
Views: 4514

How to get current room without evt.params.room?

I want to get the room's user count on a button click. Is it possible to get the user's current room without using evt.params.room? If so, how? I thought I was able to do this in SFS Pro by drilling down from the SmartFox object, through the zone, and to the rooms, but I don't even see a SFSZone obj...
by Rashomon
29 Oct 2011, 16:02
Forum: SFS2X Questions
Topic: QuickJoinGameRequest - Room creation failed - Need group?
Replies: 3
Views: 4959

QuickJoinGameRequest - Room creation failed - Need group?

I'm trying to figure out the QuickJoinGameRequest. I think I'm missing something. From what I read, I thought I needed to create a room as SFSGame type. I did that, then called quick join onRoomCreated. This creates I'm getting a "Room creation failed: A room with the same name already exists&q...
by Rashomon
28 Oct 2011, 17:01
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Zone scalebility - maxUsers = ???
Replies: 1
Views: 5025

Zone scalebility - maxUsers = ???

I'm working on a game that will be on Facebook. As such, I don't know how many users the game will have. It could only have a few hundred, or it could have several hundred thousand. How can I make sure SFS can handle the load? I see a maxUsers tag for the zone in the config file. Is this optional? (...
by Rashomon
28 Oct 2011, 12:32
Forum: SmartFoxServer 1.x Discussions and Help
Topic: crossdomain.xml / AllowedDomain setup
Replies: 3
Views: 9122

It turns out that I was actually getting the cross-domain info (from the config file) just fine. The problem was that my server has port 843 closed. Flash listens for the crossdomain.xml on port 843. If it can't find it after 3 seconds, it logs a warning (which was what I was seeing), then it listen...
by Rashomon
27 Oct 2011, 13:27
Forum: .Net / Unity3D API
Topic: Force Login
Replies: 13
Views: 32134

You can read more about custom login here: http://www.smartfoxserver.com/docs/docPages/tutorials_pro/05_loginExt/index.htm According to the above link: Also the myUserName and myUserId properties ARE NOT populated auto-magically, so you will need to do it manually, if you need them. Can someone giv...
by Rashomon
25 Oct 2011, 15:31
Forum: SmartFoxServer 1.x Discussions and Help
Topic: crossdomain.xml / AllowedDomain setup
Replies: 3
Views: 9122

crossdomain.xml / AllowedDomain setup

(I'm working with Flash/AS3 & SFSPro, and trying to integrate with Facebook) I'm getting the following error when the swf loads: Warning: Timeout on xmlsocket://12.345.6.789:843 (at 3 seconds) while waiting for socket policy file. This should not cause any problems, but see http://www.adobe.com/...

Go to advanced search