Search found 43 matches

by wallis2xk
19 Oct 2006, 10:31
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dectecting when a client is typing.
Replies: 13
Views: 6734

Virusescu wrote:I sometimes tend to get overlycomplicated with such easy things.


Join the club :)
by wallis2xk
19 Oct 2006, 08:33
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dectecting when a client is typing.
Replies: 13
Views: 6734

@wallis2xk the onChanged is called on each keypress. It's the same thing as asigning a key listener. But we don't want to send messages each time a user presses a key. Think about it Wink. It would be an unnecessary overload for the server. You need to notify users only when something changes. In o...
by wallis2xk
18 Oct 2006, 07:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dectecting when a client is typing.
Replies: 13
Views: 6734

Perhaps this?

Code: Select all

input_box.onChanged = function() {
   if(this.text == "") {
      isTyping = false;
      //send out server message
   }else{
      if(!isTyping) {
         isTyping = true;
         //send out server message
      }
   }
}
by wallis2xk
06 Sep 2006, 14:34
Forum: SmartFoxServer 1.x Discussions and Help
Topic: DisabledSysEvents
Replies: 3
Views: 2372

shutting down those two events will prevent your local view of the users in the room from updating. Just wanted to point it out. If this is waht you need, then no problem Yep, that's what I want. (I think :P) I'm using the userJoin, userExit interval events on the server side to handle these. For t...
by wallis2xk
06 Sep 2006, 13:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: DisabledSysEvents
Replies: 3
Views: 2372

Disabling onRoomAdd

On a similar topic, (which could be related to another thread I saw below) I've also come across a problem with onRoomAdded - that if I disable this event my client side createRoom triggers a onJoinRoom with the roomObj parameter undefined. When I enable it, the roomObj works as normal.
by wallis2xk
06 Sep 2006, 09:52
Forum: SmartFoxServer 1.x Discussions and Help
Topic: DisabledSysEvents
Replies: 3
Views: 2372

DisabledSysEvents

Hi, Dunno if this is my fault, but I've included this in my zone <DisabledSysEvents> <event>onUserVariablesUpdate</event> <event>onUserEnterRoom</event> <event>onUserLeaveRoom</event> </DisabledSysEvents> onUserEnterRoom and onUserLeaveRoom are now not being called, but onUserVariablesUpdate still i...
by wallis2xk
05 Sep 2006, 11:05
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Creation Question
Replies: 12
Views: 4867

Of course, thanks for all your help.
by wallis2xk
05 Sep 2006, 10:48
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Creation Question
Replies: 12
Views: 4867

Ah, ok, I now see what you're saying. Where you mention using a class inside the extension, I assume this only apply to Java extensions currently?
by wallis2xk
05 Sep 2006, 09:53
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Creation Question
Replies: 12
Views: 4867

Right, that's great, that would be what I need, but I was also hoping to allow users to be in this chat system and to be playing a game (in a different zone) at the same time. So anyone playing any game can chat with anyone else playing any other game. For example Dave is playing in Chess (Chess <zo...
by wallis2xk
05 Sep 2006, 09:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Creation Question
Replies: 12
Views: 4867

I guess I wasn't particularly clear, there would be no global chat room as such, just the ability to have a one-to-one conversation with anyone connected to the server. So there would be no more than a packet being sent from one person to another. The traffic with this would be minimal. In my mind t...
by wallis2xk
04 Sep 2006, 17:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Creation Question
Replies: 12
Views: 4867

Ok, thanks. One more question if I may - Our system is intended to have several games using the server, in their own zone and we're implementing a global chat feature, which is kept separate from the games, but so that anyone playing any game can chat with anyone else. On other servers this would re...
by wallis2xk
04 Sep 2006, 15:52
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Creation Question
Replies: 12
Views: 4867

Hi Lapo, thanks for the reply. I was just looking at the logic in one of your examples (tic tac toe one) and tested out adding another room and found that game room creation notifications were sent to both rooms. And if you had 1000 users in a zone, spread over 20 rooms then in an ideal world you do...
by wallis2xk
04 Sep 2006, 12:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Creation Question
Replies: 12
Views: 4867

Room Creation Question

Hi, Sorry if this has been covered before, but I've been looking through your tutorials and docs and am considering using SmartFox for a multiuser game solution and have a question: If I have a game which has several lobbies(rooms) of 50 users, and in each lobby there is the ability for users to cre...

Go to advanced search