Search found 360 matches

by patso
26 Nov 2006, 15:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: onUserEnterRoom, onJoinRoom, setUserVariables race condition
Replies: 6
Views: 10949

When I tried to set user variables before the user has joined to a room SFS throw the follow error: 17:18:00.328 - [ WARNING ] > SysHandler -> Bad room id. Action: setUvars >> java.lang.NumberFormatException: For input string: "null" In one topic Lapo mention that "any request coming ...
by patso
26 Nov 2006, 14:14
Forum: SmartFoxServer 1.x Discussions and Help
Topic: onUserEnterRoom, onJoinRoom, setUserVariables race condition
Replies: 6
Views: 10949

Re: onUserEnterRoom, onJoinRoom, setUserVariables race condi

Yes - I have examined the AvatarChat tutorial. It is being solved there using the onUserVariablesUpdate callback. If you comment out that function, avatars appear in the wrong position and in the wrong color. Where is the problem? Just don't comment this function. And of cource they appear in wrong...
by patso
21 Nov 2006, 19:45
Forum: SmartFoxServer 1.x Discussions and Help
Topic: sendPrivateMessage problem
Replies: 12
Views: 16704

Actualy the sendPrivateMessage sintacsys is: public function sendPrivateMessage(msg:String, userId:Number, roomId:Number) so there is optional roomId parametar(I am using AS2 API). If it's missing smartfoxserver use activeRoomId. And since activeRoomId doesn't work when you are joined in mul...
by patso
20 Nov 2006, 14:42
Forum: Features Wish List
Topic: register command
Replies: 2
Views: 7987

Re: register command

I make a game right and at the login screen t will say a link below saying "register" only users who are registed may enter the game. ??????????????????????????????????????????? May be you mean you that you want user menagement in the next realease of SmartFoxServer? How it will look like...
by patso
20 Nov 2006, 14:34
Forum: SmartFoxServer 1.x Discussions and Help
Topic: OMG BOUT TO GIVE UP HELP!!!!!!
Replies: 5
Views: 9509

<Moderators> <Mod Nick="Mod" pwd="test" </Moderators> but i dont want my nick to show as [mod] after it i want it as [Admin] is this possible? In this case 'mod' is not a prefics or suffics - it's the username of the moderator itself :) To add [admin] before nick just change &qu...
by patso
19 Nov 2006, 12:08
Forum: SmartFoxServer 1.x Discussions and Help
Topic: OMG BOUT TO GIVE UP HELP!!!!!!
Replies: 5
Views: 9509

First of all DON'T USE CAPITAL letters. Second from your last question it seems that you have very little expirience with Flash. You must open *.fla files with Flash and there to press F9 to view the action script. This have nothing about browsers. p.s. This is mostly answer of other your question. ...
by patso
18 Nov 2006, 16:22
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problem with multichat
Replies: 8
Views: 11797

Thanks for taking the time to test. For nothink. I'm glad if I can help. But still, getActiveRoom() shouldn't be what's causing the user object parameter to be undefined when recieving public messages. Damn right. It's interesting problem. If you learn more about what cause it please tell us. I thi...
by patso
18 Nov 2006, 15:48
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problem with multichat
Replies: 8
Views: 11797

According to the AS2 API documentation getActiveRoom(): "Return the room object representing the room where the user is currently in. NOTE: SmartFoxServer allows users to be logged in two or more rooms at the same time. If your multiuser application makes use of this feature this API method bec...
by patso
18 Nov 2006, 14:27
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problem with multichat
Replies: 8
Views: 11797

If I understand correctly you have two frames - one for lobby and one for game. When you are in game you don't see what happens in the lobby(my logic is that they are in separate frames). If this is true isn't better to leave the lobby room? When you are in room you recieve a updates and messages ab...
by patso
17 Nov 2006, 14:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: User queues full
Replies: 4
Views: 7251

So for turn based(like chess, backgammon) games,even if they have public chat, 50 messages means connection troubles. I mean with the today connections, with well configured flood filter, it's almost imposible to have 50 messages queue if there is no problem. So such a user will be disconnected for ...
by patso
17 Nov 2006, 13:10
Forum: SmartFoxServer 1.x Discussions and Help
Topic: User queues full
Replies: 4
Views: 7251

For example if we have room variable which is updated, but the user queue is full is this means that the user will not recieve this update?
by patso
14 Nov 2006, 17:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: A question about onLogin event
Replies: 6
Views: 9494

Thank you very much for the fast responces!
by patso
13 Nov 2006, 18:45
Forum: SmartFoxServer 1.x Discussions and Help
Topic: A question about onLogin event
Replies: 6
Views: 9494

Not exactly, there's a worker thread that checks idle connections and kills them after a certain amount of time. The flood filter filters chat messages and kicks/ban users based on a number of configurable parameters. I know the next my question is little offtopic, but I hope ypu'll forgive me. Is ...
by patso
13 Nov 2006, 17:17
Forum: SmartFoxServer 1.x Discussions and Help
Topic: A question about onLogin event
Replies: 6
Views: 9494

If a hacker tries to connect to thousands zone names and the server sends an error each time we would play the hacker game ;) ... which is not what we want. I don't think the hackers(or ckackers) needs to try different names - they can just decompile the flash file :) . In this case the zone is sup...
by patso
13 Nov 2006, 14:27
Forum: SmartFoxServer 1.x Discussions and Help
Topic: A question about onLogin event
Replies: 6
Views: 9494

A question about onLogin event

Hi, I don't know if the place for this topic is here of in bug trap but I decide to post it here. When I try to login in zone that dosen't exist(for example"simpllllllleChat" - the same as simpleChat, but with more 'l's ) i found that onLogin is not fired. Since respond object have succes ...

Go to advanced search