Search found 1673 matches

by BigFIsh
06 May 2008, 22:10
Forum: Server Side Extension Development
Topic: beginner extension problem, help anybody
Replies: 9
Views: 4780

1. Maybe your <ExtensionRemoteDebug>true</ExtensionRemoteDebug> in the config is set to false. 2. Or.. In your config file, you have to set up your extension, for example, <Extensions> <extension name="ext" className="ext.as" type="script" /> </Extensions> You put this ...
by BigFIsh
06 May 2008, 21:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: createRoom help
Replies: 15
Views: 6926

Limbo is a room where clients doesn't recieve updates about other users or rooms, and it's ideal for just communicating with the server. For the other two, i'm not sure
by BigFIsh
06 May 2008, 19:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problems with config -> can't start up the server :/
Replies: 8
Views: 3806

Seems like you got a little error in your config file, I got similar error like that when I commented out a single line (that was actually required) from my config file.

Try undo any changes, work your way back.. uncomment any lines that you commented.
by BigFIsh
06 May 2008, 06:10
Forum: SmartFoxServer 1.x Discussions and Help
Topic: awesome drum lessons
Replies: 1
Views: 1640

You can run the server even without internet connection. I use ip address of 127.0.0.1 for development purpose. I'm offline and my firewall blocks everything, and I'm still able to connect to the server from my computer. Port shouldn't matter. It could be.. 1. Incorrect API, make sure it's the right...
by BigFIsh
05 May 2008, 23:55
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to keep a user alive
Replies: 1
Views: 1318

Yeh, why not do that.

You could use setIntervals(function, timer)

If the maximum user idle time is 1 min in Multiplayer games, then in solo mode, send a blank str message to the server every 50 seconds using setIntervals
by BigFIsh
05 May 2008, 23:50
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Getting room variables from server side
Replies: 2
Views: 1534

Thanks, I got it working now. The .getVariable("name"). How come I didn't see that in the Documentations.. I only saw the getVariables... But now there's a bigger problem.. I got the servers to create the room variables. Here's the code: _server.setRoomVariables(newRoom, null, vars, false,...
by BigFIsh
05 May 2008, 21:19
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Getting room variables from server side
Replies: 2
Views: 1534

Getting room variables from server side

This, i wrote in the extension. var varsObj = evt["room"].getVariables(); trace("What is inside?: " + varsObj) for (var v in varsObj) { trace("name: " + v + ", value: " + varsObj[v] + ", type: " + typeof varsObj[v]...
by BigFIsh
05 May 2008, 21:10
Forum: SmartFoxServer 1.x Discussions and Help
Topic: createRoom help
Replies: 15
Views: 6926

Interesting.. you're missing this piece of code in the debug [Received]: <msg t="sys"><body action="roomAdd" r="0"><rm id="33" priv="0" temp="1" game="1" max="5" spec="0" limbo="0"><name>Paint_Ball_jo...
by BigFIsh
05 May 2008, 19:35
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Anomaly with properties.put()
Replies: 3
Views: 1923

Yea, odd enough. The "Int" is the reserved word... and it's quite annoying...

Another alternative is Math.Round().

Java.lang.Integer eh? I might try that one, it'll save me a line of code or two.
by BigFIsh
05 May 2008, 19:33
Forum: SmartFoxServer 1.x Discussions and Help
Topic: createRoom help
Replies: 15
Views: 6926

After joining the room, you could save it to _global.myCurrentRoom. And refresh the room according to _gloabl.myCurrentRoom.
by BigFIsh
05 May 2008, 19:29
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problems Loggin In.
Replies: 2
Views: 1852

Introduce "flock" (file lock), this will make php lock the file while it's doing stuff and forces others to wait in a line until the file is unlocked. www.w3schools.com will have more information about this.

You could disable the "TAB" to the button login.
by BigFIsh
05 May 2008, 05:41
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Kami Showcase
Replies: 7
Views: 3898

Hi, I'm in New Zealand and I have a reasonable computer. 1.6Ghz and 512 mb ram. I tested your game and I noticed a bit of lag because it requires high CPU power to run it. But the game is a classic! Very nice tutorials and I easily mastered the game quickly. What would be great is to have graphic se...
by BigFIsh
05 May 2008, 05:14
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [Help] Application Setup/Design
Replies: 2
Views: 1806

Hi. You will need to make custom login first. There's tutorials for this, and the files are located in the SFS examples. Secure Login example would be the one you're looking for. Basically, you make an server side extension that handle login request. Anyway, now for the database. There's a nice tuto...
by BigFIsh
04 May 2008, 20:29
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Need Real Persistent RoomVariable
Replies: 9
Views: 4395

In order to get room properties to persist, you need to use server side extensions in order to make this happen. To do so simply create a room with the owner as the server, then when you add the room properties they also belong to the server because the room they are in belongs to it, so they wont ...
by BigFIsh
04 May 2008, 09:11
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Need Real Persistent RoomVariable
Replies: 9
Views: 4395

I'm having the same problem with mhdside. It seems that it is not possible to make a real room persistent value with no users. I've been trying to work out how to do it. I found a solution to this problem and it also took me a lot of effort. It would be great if it was simple as it is. Room values t...

Go to advanced search