Search found 21151 matches

by Lapo
03 Mar 2006, 15:23
Forum: SmartFoxServer 1.x Discussions and Help
Topic: createRoom() - Specify which room to leave
Replies: 13
Views: 7750

I will do a test on my side and let you know if there's a bug or something wrong with your code.
by Lapo
03 Mar 2006, 15:15
Forum: Server Side Extension Development
Topic: More trouble
Replies: 6
Views: 5569

I mean that the same problem has already been discussed in that topic. You can notice at the very beginning of it that code explains it all (I believe) var user=_server.instance.getUersByChannel(chan); response._cmd="logOK"; response.name=user.getName(); response.uId=user.getUserId(); Not only you s...
by Lapo
03 Mar 2006, 06:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Cannot connect externally - port opened - pro
Replies: 18
Views: 11059

So is it now working?
by Lapo
03 Mar 2006, 06:45
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Yet another question[Admin.swf question]
Replies: 1
Views: 2132

Sorry, but the source of the admin tool is not available.
Connecting to the server via PHP is however possible but you will need to implement part of the protocol used by SFS.
by Lapo
03 Mar 2006, 06:42
Forum: Server Side Extension Development
Topic: More trouble
Replies: 6
Views: 5569

I successfully "login" but the _global.myName is not set. That worries me. Since it's a custom login you will have complete freedom on what data you pass back to the client if the login is successfull. You will need to pass the userID and userName by yourself, if you need them. We discussed somethi...
by Lapo
03 Mar 2006, 06:36
Forum: Server Side Extension Development
Topic: sendXTMessage needs roomID?
Replies: 7
Views: 6648

Since I add the user to a room from the server side, there is obviously no "onJoinRoom" method on the client required. So how does the client know what room he is in? does it matter? if you use the joinRoom on the server side you can decide if the onJoinRoom gets fired or not. By default it is. the...
by Lapo
02 Mar 2006, 17:57
Forum: Server Side Extension Development
Topic: _server.joinRoom hates me! :(
Replies: 18
Views: 14269

do not use Flash! It will convert the file to UTF-8 (with BOM) and the server will have problems parsing it.

Just redo the change using a texteditor like notepad, notepad++ or UltraEdit
by Lapo
02 Mar 2006, 17:32
Forum: Server Side Extension Development
Topic: _server.joinRoom hates me! :(
Replies: 18
Views: 14269

The problem is there's a little bug in the mainlib.as file. Your joinRoom fails but that bug prevents the server from telling you what problem you have. Quick fix: open the mainlib.as from the lib/ folder go to line 359 and substitute whatever you find with: this.logger.warning(exception.toString())...
by Lapo
02 Mar 2006, 16:46
Forum: Server Side Extension Development
Topic: _server.joinRoom hates me! :(
Replies: 18
Views: 14269

Example in the docs updated! :)
( clear your browser cache if it doesn't update )
by Lapo
02 Mar 2006, 15:41
Forum: Server Side Extension Development
Topic: _server.joinRoom hates me! :(
Replies: 18
Views: 14269

Code: Select all

var ok = _server.joinRoom(u,"-1",false,"Kitchen")


I see two errors here

"-1" should be -1, a Number
"Kitchen" is wrong, you should pass the id of the room, not its name

hope it helps
by Lapo
02 Mar 2006, 14:32
Forum: SmartFoxServer 1.x Discussions and Help
Topic: A Quick Licensing Question
Replies: 1
Views: 2277

Could I run multiple SFS servers off the same license? Yes, you can. Let me explain this a little bit better. Each SmartFoxServer licence is bound to a single IP address. This means, in other words, that a licence is valid for 1 server machine. If you need to change IP address (because you move the...
by Lapo
02 Mar 2006, 14:27
Forum: Server Side Extension Development
Topic: _server.joinRoom hates me! :(
Replies: 18
Views: 14269

yep,
Virusescu is right :)
by Lapo
02 Mar 2006, 14:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: createRoom() - Specify which room to leave
Replies: 13
Views: 7750

I would suggest this: - enter the autoJoin room - join room 2 - join room 3 Now before going in room 4, leave room 2 and 3 (with leave room), then create the new room and join it Alternatively: before going in room 4, leave room 2 and create room 4 passing the exitCurrent = true (which will make you...
by Lapo
02 Mar 2006, 06:33
Forum: SmartFoxServer 1.x Discussions and Help
Topic: sabre windshield
Replies: 1
Views: 1957

and i am able to telnet from within the network using the local IP, but not through the external IP.. i would like to mention here again that telnet through the external IP does work from outside. Sorry this is not clear... you say you're able to telnet from within the network using the local IP, n...
by Lapo
02 Mar 2006, 06:28
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Error message I can't figure out
Replies: 7
Views: 3911

It's likely that your query didn't return any value.

You should modify the code:

Code: Select all

if (queryRes != null)

to

Code: Select all

if (queryRes != null && queryRes.size() > 0)

Go to advanced search