Search found 13 matches

by mnkyhead
18 Oct 2006, 14:54
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dectecting when a client is typing.
Replies: 13
Views: 23500

Virusescu thanks for the help.
Here is what I came up with

//this is the main boolean checked in the key listener
var isTyping:Boolean = false;
//Interval
var typeChecking:Number;
//boolean set in key functions, onKeyDown set to true, onKeyUp set to false
var keyHit:Boolean = false;
//
smartfox ...
by mnkyhead
18 Oct 2006, 00:29
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dectecting when a client is typing.
Replies: 13
Views: 23500

I'm a little stumped on how to go about watching for no typing.
I have a Key listener, so I know when a key is pressed, but I am unclear as to what to put in my Interval function to check for no key presses....
I was thinking a boolean in a onKeyDown set to true, and onKeyUp set to false, but that ...
by mnkyhead
17 Oct 2006, 22:29
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dectecting when a client is typing.
Replies: 13
Views: 23500

hmm, didn't think of that. I just have it send an object on every key press, that is probably why I am getting this warning
[ WARNING ] [id: 12] (SystemHandler.processEvent): SysHandler -> Bad room id. Action: asObj >> java.lang.NumberFormatException: For input string: "null"

So tell my if this ...
by mnkyhead
13 Oct 2006, 16:02
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dectecting when a client is typing.
Replies: 13
Views: 23500

Thats what I was thinking, but do you think this could slow down the app? If it sends a message with each key press, that could create a lot of traffic.
by mnkyhead
12 Oct 2006, 21:15
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dectecting when a client is typing.
Replies: 13
Views: 23500

Dectecting when a client is typing.

Is there a way to detect, and display a message when, someone is typing a message?
You know have it say "is typing" next to the users name.
by mnkyhead
21 Jul 2006, 18:17
Forum: SmartFoxServer 1.x Discussions and Help
Topic: BadWordsFilter set to true, but still coming through
Replies: 10
Views: 16089

opps

Yea I think the filter needs a little work, I was going through the chat logs, and found this

ZOEY said: it w** *ome lady
by mnkyhead
20 Jul 2006, 13:48
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Updated 1.4.2 beta patch
Replies: 7
Views: 12828

thanks

I figured it out, the problem was I was trying to setUserVariables in the wrong place. but i got it to work.

Thanks
Russ
by mnkyhead
19 Jul 2006, 20:36
Forum: SmartFoxServer 1.x Discussions and Help
Topic: BadWordsFilter set to true, but still coming through
Replies: 10
Views: 16089

It seems we are getting filtered for words like "assume" because "ass" is a bad word. Is there any way to limit the filtering to entire words?
Yea I was going to ask the same question.
by mnkyhead
19 Jul 2006, 20:33
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Implementing server side chat history
Replies: 2
Views: 6128

refer

jflowers take a look at this thread too.
the implimentation is pretty easy, but I ran into a couple little snags
http://forums.smartfoxserver.com/viewtopic.php?t=690
by mnkyhead
19 Jul 2006, 14:35
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Updated 1.4.2 beta patch
Replies: 7
Views: 12828

one more issue, than its perfect

First off SmartFox rocks.
now here is my problem.
I got the logging working, but I need to add to the log a registration Id that each user gets when they join the site. When the user logs into the site, there is an object set with all there info, name, id, etc. How can I get the id from my object to ...
by mnkyhead
18 Jul 2006, 18:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Updated 1.4.2 beta patch
Replies: 7
Views: 12828

AH HA

Yes I know there had to be some var of zone, I just didn't know what. Thanks.

It works great once I realized the sourceRoom is the room object.
So this is a beta patch, is there going to be an offical release?


Here is my final as file..
/**
* Extension intialization
* This example can be used as ...
by mnkyhead
18 Jul 2006, 04:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Updated 1.4.2 beta patch
Replies: 7
Views: 12828

error in extention

I am trying to use the public message logging feature, but when I start the server with the extension installed, it throws some errors.

my question is about the code - zone.setPubMsgInternalEvent(true)

it is telling me that zone is not defined. so I changed it to the zone I installed the extension ...
by mnkyhead
10 May 2006, 15:06
Forum: Server Side Extension Development
Topic: Using some AMFPHP function on the server's Side
Replies: 5
Views: 12440

Logging chat messages

So what about logging chat messages? I am new to SFS, our current chat app uses Unity as the server, and I am looking to switch to a new server because Unity is not that easy to program for. I like what I see in SFS. Since our client caters to children, they are really adiment about logging all of ...