Search found 72 matches
- 31 Aug 2011, 14:35
- Forum: Server Side Extension Development
- Topic: get values from serverside response
- Replies: 3
- Views: 7141
- 31 Aug 2011, 14:00
- Forum: Server Side Extension Development
- Topic: (AS1) - How to get MySQL error message?
- Replies: 4
- Views: 8408
(AS1) - How to get MySQL error message?
I have an AS1 extension. It updates the database with executeCommand and checks for success like so: var success = dbase.executeCommand(sql) if (success) { } else { } How can I get more details on the failure, though? How can I get the actual error message so I ca...
- 30 Aug 2011, 17:50
- Forum: Server Side Extension Development
- Topic: dispatchPublicMessage - Can't find method ?
- Replies: 4
- Views: 7843
- 30 Aug 2011, 15:31
- Forum: Server Side Extension Development
- Topic: dispatchPublicMessage - Can't find method ?
- Replies: 4
- Views: 7843
dispatchPublicMessage - Can't find method ?
I'm working with SFS1 and an AS1 server extension. I'm trying to send a public message from my extension to all users in a room. I'm following the docs, here: http://www.smartfoxserver.com/docs/docPages/serverSideApi/index.htm Usage: _server.dispatchPublicMessage(message, room, user) Here's my serve...
- 29 Aug 2011, 19:40
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Is there a QuickJoinGameRequest in SFS1 ?
- Replies: 13
- Views: 15641
I'm making progress. It works... sort of. :) The variable was (and still is) appearing in the adminTool. I am testing with 4 clients. Three to create a full game, and one to check the room vars from the lobby. Following your link, I removed my client-side code where I was setting my isStarted roomVa...
- 29 Aug 2011, 17:40
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Is there a QuickJoinGameRequest in SFS1 ?
- Replies: 13
- Views: 15641
- 29 Aug 2011, 16:49
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Is there a QuickJoinGameRequest in SFS1 ?
- Replies: 13
- Views: 15641
- 29 Aug 2011, 15:49
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Is there a QuickJoinGameRequest in SFS1 ?
- Replies: 13
- Views: 15641
Thanks. That's just what I was looking for. The links you gave me were to AS2 code, and I'm using AS3. Once I knew what I was looking for, though, I was able to find the AS3 equivalent (smartFox.getAllRooms()); Here's a link to the AS3 API for others. And here's my final code that works: showRooms_b...
- 29 Aug 2011, 15:19
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Is there a QuickJoinGameRequest in SFS1 ?
- Replies: 13
- Views: 15641
That's what I figured. Can you give me a hand with getting the roomList? I've searched the docs, and I can only find roomList used with the onRoomListUpdate event. How can I get the roomList on demand (through my own function)? I'm currently using SmartFoxBits. I can't get the roomList from the Room...
- 29 Aug 2011, 13:39
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Is there a QuickJoinGameRequest in SFS1 ?
- Replies: 13
- Views: 15641
Is there a QuickJoinGameRequest in SFS1 ?
I see there's a QuickJoinGameRequest in SFS2X. What about in SFS1?
- 29 Aug 2011, 12:34
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: How to hide full game rooms and games that have started?
- Replies: 2
- Views: 4847
How to hide full game rooms and games that have started?
I'm using SmartFox Bits. I have a lobby where user can create and join games. The games are for 3 players. Unfortunately, when a game starts, it still shows up in the room list. If one of the players drops during the game, then someone else is able to join in the middle of a game - not a good thing....
- 22 Aug 2011, 13:06
- Forum: SFS2X Questions
- Topic: http://localhost:8080/ - HTTP ERROR: 404 - Why?
- Replies: 2
- Views: 5259
http://localhost:8080/ - HTTP ERROR: 404 - Why?
I have SFS1 installed on my work PC. This morning, I installed SFS 2X to try it out. I installed the " SmartFoxServer 2X Release Candidate 3" patch. I'm trying to go to http://localhost:8080/ to check my server connection, but I keep getting "HTTP ERROR: 404". I'm able to run the...
- 21 Aug 2011, 22:57
- Forum: SFS2X Questions
- Topic: AdminTool cannot find 192.168.1.37
- Replies: 3
- Views: 5600
- 19 Aug 2011, 00:14
- Forum: SFS2X Questions
- Topic: AdminTool cannot find 192.168.1.37
- Replies: 3
- Views: 5600
AdminTool cannot find 192.168.1.37
I'm able to run the examples through http://localhost:8080/. However, I cannot run most of them from my PC. I'm following the instructions, here: http://docs2x.smartfoxserver.com/GettingStarted/installation The "Exposing the server to the local network" section says, to open the Server Con...
- 18 Aug 2011, 22:49
- Forum: SFS2X Questions
- Topic: Extensions? Possible with Actionscrip, or *only* with Java?
- Replies: 4
- Views: 6568
Extensions? Possible with Actionscrip, or *only* with Java?
I did a project at work with SFS1. I'm considering SFS2 for my own company, so I'm reading through the SFS2 docs and looking at examples. I see references to Java extensions, but not Actionscript extensions. Is it possible to build Actionscript extensions, or was this phased out in 2X? If it was pha...