Search found 72 matches
- 16 Nov 2011, 00:09
- Forum: SFS2X Questions
- Topic: how to create room-level game extension for my board game?
- Replies: 9
- Views: 20941
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...
- 15 Nov 2011, 22:09
- Forum: SFS2X Questions
- Topic: how to create room-level game extension for my board game?
- Replies: 9
- Views: 20941
- 15 Nov 2011, 03:03
- Forum: SFS2X Questions
- Topic: how to create room-level game extension for my board game?
- Replies: 9
- Views: 20941
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...
- 08 Nov 2011, 00:39
- Forum: SFS2X Questions
- Topic: Noob Question. Get room object serverside?
- Replies: 4
- Views: 6419
- 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...
- 07 Nov 2011, 23:53
- Forum: SFS2X Questions
- Topic: Debugging Server in 2X
- Replies: 8
- Views: 10617
- 07 Nov 2011, 15:36
- Forum: SFS2X Questions
- Topic: "Error while handling client request in extension"
- Replies: 3
- Views: 5531
- 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...
- 04 Nov 2011, 00:31
- Forum: SFS2X Questions
- Topic: QuickJoinGameRequest - Room creation failed - Need group?
- Replies: 3
- Views: 4957
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...
- 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...
- 29 Oct 2011, 16:02
- Forum: SFS2X Questions
- Topic: QuickJoinGameRequest - Room creation failed - Need group?
- Replies: 3
- Views: 4957
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...
- 28 Oct 2011, 17:01
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Zone scalebility - maxUsers = ???
- Replies: 1
- Views: 5022
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? (...
- 28 Oct 2011, 12:32
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: crossdomain.xml / AllowedDomain setup
- Replies: 3
- Views: 9111
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...
- 27 Oct 2011, 13:27
- Forum: .Net / Unity3D API
- Topic: Force Login
- Replies: 13
- Views: 32078
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...
- 25 Oct 2011, 15:31
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: crossdomain.xml / AllowedDomain setup
- Replies: 3
- Views: 9111
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/...