Search found 41 matches

by aMUSiC
23 Sep 2010, 13:14
Forum: Features Wish List
Topic: onMassDisconnection and onServerRestart events
Replies: 1
Views: 3862

onMassDisconnection and onServerRestart events

One of the major problems arising from technical issues that either involve a mass disconnection of users (like a network issue that has to do with major backbone failures or the server's connectivity) or situation where a server restart while people are connected is needed, is that any extensions r...
by aMUSiC
29 Mar 2010, 03:28
Forum: Server Side Extension Development
Topic: am i using scheduler right way?
Replies: 9
Views: 3918

Yes, that's correct. In the init() method of your Room extension you take a reference to the Zone Extension and use internalRequest to get the reference to the Scheduler. This way you just do it once. Could you provide some AS code example for this? Should tasks be added in the room extension but o...
by aMUSiC
11 Jan 2010, 16:56
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Could not assign extension / JoinRoom generic exception
Replies: 7
Views: 3784

My users are very verbal (not in a good way) when the game apps have issues. It took about 45 minutes for 1.6.8 logs to start getting flooded with user login failures, and messages started taking 4 or 5 seconds to travel back and forth from the clients to the servers. Users started getting booted en...
by aMUSiC
11 Jan 2010, 16:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Could not assign extension / JoinRoom generic exception
Replies: 7
Views: 3784

I was forced to roll back to 1.6.6, as 1.6.8 seemed to increase the messages in the extension handler queue size to 50-80 (while on 1.6.6 they're always 0 or 1) which in turn rendered the server extremely unresponsive and slow (even though the cpu load was still at 0..)
by aMUSiC
11 Jan 2010, 12:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Could not assign extension / JoinRoom generic exception
Replies: 7
Views: 3784

Server updated to 1.6.8. I'll have to wait now for another occurrence of the problem, and I'll report back with my findings.
by aMUSiC
08 Jan 2010, 09:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Could not assign extension / JoinRoom generic exception
Replies: 7
Views: 3784

I also get instances of this error mixed with the other ones once the game enters this state: [ WARNING ] > Generic exception in JoinRoom Request > user_name - java.lang.NullPointerException org.mozilla.javascript.EvaluatorException: Can't find method it.gotoandplay.smartfoxserver.extensions.Abstrac...
by aMUSiC
08 Jan 2010, 09:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Could not assign extension / JoinRoom generic exception
Replies: 7
Views: 3784

Could not assign extension / JoinRoom generic exception

I've been having this problem for quite a while and I've been trying to track it down, alas with no success. It is for a 2 or 4 player cards game where people join a server created room. The game creator joins first who in turn issues a "ready" signal and sequentially the server joins the ...
by aMUSiC
10 Jun 2009, 11:48
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Message exceed allowed max length flood
Replies: 3
Views: 1881

The hammering was coming from the same IP, and from what it seems it was not a DoS attack, but rather some client getting stuck in an endless loop,with some undefined value causing the null byte message. The ip was not from the same subnet, but rather a well known ISP's client dsl line. I don't thin...
by aMUSiC
04 Jun 2009, 14:23
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Message exceed allowed max length flood
Replies: 3
Views: 1881

Message exceed allowed max length flood

Today my server ran out of memory after a tremendous flood of null sized messages. (Message exceed allowed max length! (0 bytes) from > /91.132.177.242) The flood was so intense, I'm talking about thousands if not tens of thousands entries in the log, with a frequency of 8 or 9 such messages being f...
by aMUSiC
07 Apr 2009, 09:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: =(
Replies: 1
Views: 1262

=(

I didn't know where else to write this.. but Lapo.. I don't know how close you live to L'Aquila, but first I hope that you're all right and second I extend my sympathies to you and your country for the terrible disaster that has struck you. Me, being a greek and living in Greece, I've had my fair sh...
by aMUSiC
26 Mar 2009, 11:00
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Realtime X Y positioning with physics engine
Replies: 8
Views: 4187

I'm onto a very similar project and I've been thinking about coping with the network lag. The problem basically is that the clients can never be synchronized, and if they try to be jumpiness in the game will occur. For instance, I thought of maybe keeping tabs of each connected client's latency on t...
by aMUSiC
10 Mar 2009, 16:41
Forum: Server Side Extension Development
Topic: Can't find method extensions.AbstractExtension.sendResponse
Replies: 2
Views: 2140

You're a lifesaver. Bug spotted. Instead of

jResponse = new Object();
jRespones._cmd = "error";

i did

jResponse = new Object();
jRespones = "error";

Fixed and it's working ok now..

I only need to find what causes duplicate rooms...
by aMUSiC
09 Mar 2009, 15:47
Forum: Server Side Extension Development
Topic: Can't find method extensions.AbstractExtension.sendResponse
Replies: 2
Views: 2140

Can't find method extensions.AbstractExtension.sendResponse

Lately I've been getting this error in my logs, which is a bit fishy. INFO | jvm 1 | 2009/03/09 03:30:52 | [cards_lobby.as]: Exception! JavaException: it.gotoandplay.smartfoxserver.exceptions.ExtensionHelperException: Create room failed: room already exist INFO | jvm 1 | 2009/03/09 03:30:52 | 03:30:...
by aMUSiC
04 Mar 2009, 09:21
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [Help!] Reduce Lag
Replies: 4
Views: 2589

Of course you can. You can either join your values into a single string using a delimiter (like a coma, but I prefer a pipe |, i.e. 14|56|4|19|1 ), or if you use standard lengths for your values, you can even put them as a a series of non delimited values (adding leading zeros to make them uniform i...
by aMUSiC
04 Mar 2009, 09:12
Forum: Features Wish List
Topic: Extensive error log backtracking
Replies: 1
Views: 2657

Extensive error log backtracking

The server-side communications log feature is a nifty one, but as it is pointed out in the manual, it is not meant to be used in a live server. As there are live deployments that get errors which occur only after a boatload of users use the application and find something that you didn't account for,...

Go to advanced search