Search found 49 matches

by preecep
02 Jun 2009, 08:46
Forum: Server Side Extension Development
Topic: threading sendAndLoad and CPU multicores
Replies: 13
Views: 14543

This is very similar to a problem that we experience where peaks in incoming messages, along with a peak in CPU, cause lag spikes in games. It has completely restricted our ability to scale. Interesting that you feel it is tied to sendAndLoad which we also use. We have also tried to code around conc...
by preecep
31 Mar 2009, 15:07
Forum: Server Side Extension Development
Topic: Small intervals
Replies: 9
Views: 13145

Is this a problem with the timer resolution? Does linux have a higher system timer resolution than windows?
by preecep
10 Nov 2008, 17:10
Forum: Server Side Extension Development
Topic: No error when logging into non existent zone
Replies: 3
Views: 6846

I was referring to client side? And the reason to know the error is so that you do not spend an hour checking everything else (including restarting machines) because you assume a login error would be created if there was a login failure!
by preecep
10 Nov 2008, 16:25
Forum: Server Side Extension Development
Topic: No error when logging into non existent zone
Replies: 3
Views: 6846

No error when logging into non existent zone

Where does smartfox produce an error when logging in using a non existent zone?? SF 1.6.2
by preecep
10 Oct 2008, 10:54
Forum: Server Side Extension Development
Topic: Multi-threaded actionscript
Replies: 1
Views: 4695

Multi-threaded actionscript

Is it possible to use actionscript extensions when using more than one extension worker thread? I have tried using more than one extension thread but it lead to problems when certain bits of code executed at the exact same time. Is there a special way to construct actionscript code for concurrent ex...
by preecep
07 Aug 2008, 17:48
Forum: SmartFoxServer 1.x Discussions and Help
Topic: getActiveRoom().getUserList() is returning no users
Replies: 7
Views: 10262

ok I found it. You are only considered properly 'logged in' when the roomlist arrives. That really needs to go in the help file...
by preecep
07 Aug 2008, 11:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: getActiveRoom().getUserList() is returning no users
Replies: 7
Views: 10262

Thanks, I am already doing that however.

Also, onPublicMessage event does not give me a sender!

If I join another room and then go back to the lobby room it all starts working...
by preecep
07 Aug 2008, 10:02
Forum: SmartFoxServer 1.x Discussions and Help
Topic: getActiveRoom().getUserList() is returning no users
Replies: 7
Views: 10262

getActiveRoom().getUserList() is returning no users

On the client I do a normal login (onLogin is called) and then manually join room 1. After joining, calling getActiveRoom().getUserList() returns no users.

Also, unless I call getRoomList() after login, the onJoinRoom event does not provide a room and getActiveRoom() returns undefined.
by preecep
24 Apr 2008, 08:36
Forum: Server Side Extension Development
Topic: Unreliable message latency
Replies: 20
Views: 26492

Can you reproduce the problem using the fla?

lol ok just saw your email
by preecep
23 Apr 2008, 09:35
Forum: Server Side Extension Development
Topic: Unreliable message latency
Replies: 20
Views: 26492

I have sent you the fla

or you can get it here:

http://www.casualcollective.com/pingtest3.fla
by preecep
22 Apr 2008, 10:18
Forum: Server Side Extension Development
Topic: Unreliable message latency
Replies: 20
Views: 26492

Some one else is keeping that user logged in I bet, so it fails to login when you do it.

I have uploaded a new version which uses a random user name. You may need to clear your web cache.
by preecep
22 Apr 2008, 09:16
Forum: Server Side Extension Development
Topic: Unreliable message latency
Replies: 20
Views: 26492

Strange.

I have uploaded a test to:

http://www.casualcollective.com/pingtest3.swf

You can toggle the extra SendObject on and off (starts on).

On all our machines here and via a separate server, we get the same bad pings.
by preecep
21 Apr 2008, 13:13
Forum: Server Side Extension Development
Topic: Unreliable message latency
Replies: 20
Views: 26492

This problem can be easily seen by using this code: import it.gotoandplay.smartfoxserver.*; var smartfox:SmartFoxClient; var _tick = 0; var _state=1; var _ip="65.98.62.162"; var _port=9339; InitSmartFox(); smartfox.connect(_ip,_port); function Complete(tf) { tr...
by preecep
19 Apr 2008, 09:50
Forum: Server Side Extension Development
Topic: Unreliable message latency
Replies: 20
Views: 26492

I will create a fla to demonstrate this problem. Please make sure you test it against a server on the internet, as local host does not seem to cause this problem. Also, the first message goes through ok (if it was the ping) but it is the second message that lags. I did some further testing sending m...
by preecep
18 Apr 2008, 14:42
Forum: Server Side Extension Development
Topic: Unreliable message latency
Replies: 20
Views: 26492

I have found the problem. In our code we were sending an object to the players in the room in a function that was called using an interval: smartfox.sendObject(o); followed immediately by: smartfox.sendObjectToGroup(o,[userid]); or a: smartfox.roundTripBench(); or a: smartfox...

Go to advanced search