Search found 72 matches
- 16 Aug 2011, 18:37
- Forum: SmartFoxBits for SFS 1.x
- Topic: Hiding rooms in RoomList based on room variables
- Replies: 5
- Views: 21763
Hi jademyr. This is a very specific feature which is not supported by the RoomList component. The best way to achieve this would be to develop custom serverside logic. SmartFoxServer serverside framework lets you do this, but you have to check examples and documentation. Otherwise you can purchase ...
- 27 Jul 2011, 15:29
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Database Error Returned from executeCommand
- Replies: 8
- Views: 11185
- 27 Jul 2011, 13:17
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: user.getPlayerIndex - Call to a possibly undefined method ?
- Replies: 3
- Views: 5802
While this worked for onuserEnterRoom, I had a slight issue getting the player index for onUserExit. I found the cause and solution. I'm posting it here, in case others run into the same issue. I was trying to use user.getPlayerIndex(), but I kept getting 0; I found the following code that works: va...
- 26 Jul 2011, 19:28
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: user.getPlayerIndex - Call to a possibly undefined method ?
- Replies: 3
- Views: 5802
- 26 Jul 2011, 18:46
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: user.getPlayerIndex - Call to a possibly undefined method ?
- Replies: 3
- Views: 5802
user.getPlayerIndex - Call to a possibly undefined method ?
(Actionscript 3) I'm trying to get the player index of a user when they enter my game room. I'm using user.getPlayerIndex(), which I found here: http://www.smartfoxserver.com/docs/docPages/serverSideApi/classes/User.htm Unfortunately, I keep getting the following error: "1061: Call to a possibl...
- 20 Jul 2011, 20:11
- Forum: Server Side Extension Development
- Topic: onExtensionResponse no longer called after leaving game room
- Replies: 3
- Views: 7456
The last two lines on my server trace are: >>> successful update >>> sending server response The last lines in my client-side trace are: executeMessage: type = xml cmd = checkForAvatar After taking a closer look at my client-side traces, I realized that two different response handlers were getting c...
- 19 Jul 2011, 16:00
- Forum: Server Side Extension Development
- Topic: onExtensionResponse no longer called after leaving game room
- Replies: 3
- Views: 7456
onExtensionResponse no longer called after leaving game room
I am working with SmartFoxServer Pro and Flash/Actionscript CS5. I am working on a dynamic avatar screen that is hooked to a database. You change the avatarIndex and then update the database. When you go into a game room, your avatar will reflect your change. (For game design reasons, I cannot do th...
- 14 Jun 2011, 13:35
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: MySQL vs H2 Database - Pros / Cons?
- Replies: 1
- Views: 4612
MySQL vs H2 Database - Pros / Cons?
I am not familiar with H2. What are the pros and cons of MySQL vs H2? When/why would you choose one over the other?
- 10 Jun 2011, 16:17
- Forum: SmartFoxBits for SFS 1.x
- Topic: Cannot import smartfoxbits.events
- Replies: 4
- Views: 14472
That did it! :) I removed and reinstalled SmartFoxBits. I think the real problem was the name of the library that I was trying to import. Previously, I was using the it.gotoandplay prefix, which I found here: Package it.gotoandplay.smartfoxbits.events . However, as you pointed out, I should use com....
- 10 Jun 2011, 11:48
- Forum: SmartFoxBits for SFS 1.x
- Topic: Cannot import smartfoxbits.events
- Replies: 4
- Views: 14472
Thanks for the quick reply.
Yes, I'm using SFS 1. I am also importing it.gotoandplay.smartfoxbits.events.*
Do you have any other suggestions?
You can download my simple example here: BitsEvents.zip
Yes, I'm using SFS 1. I am also importing it.gotoandplay.smartfoxbits.events.*
Do you have any other suggestions?
You can download my simple example here: BitsEvents.zip
- 09 Jun 2011, 20:48
- Forum: SmartFoxBits for SFS 1.x
- Topic: Cannot import smartfoxbits.events
- Replies: 4
- Views: 14472
Cannot import smartfoxbits.events
(In Flash CS5 Professional) I'm trying to override loginBox.loginButton, as described here: http://www.smartfoxserver.com/bits/docs/as3Flash_SFS2X/html/com_smartfoxserver_smartfoxbits_bits_LoginBox.html . Specifically, "If you need to override the default behaviour (execute login) when the logi...
- 31 May 2011, 13:55
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Do I really need binary protocol?
- Replies: 1
- Views: 3697
Do I really need binary protocol?
In which situations would I need to use a binary protocol (SFS2X), as opposed to a text protocol (SFSPro1X)? My team's budget is rather tight, and I think I will have a difficult time justifying the extra 1500 euros at this point. Currently, I am working on a multi-user trivia game. Each player gets...