Search found 26 matches

by overmind
01 Nov 2010, 22:06
Forum: Server Side Extension Development
Topic: Custom Login utf8 in password with privateKey
Replies: 4
Views: 8160

I already did:)
by overmind
12 Oct 2010, 04:59
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Class adapter1 thousand times
Replies: 0
Views: 3609

Class adapter1 thousand times

I have a bottleneck on my sfs and many "heavy load" messages, after a little searching i found that this happens when gc makes class unloads. i traced class unloads details and i saw that thousand times:

INFO | jvm 1 | 2010/10/12 08:20:05 | [Unloading class adapter1]
INFO | jvm 1 | 2010/10/12 08:20 ...
by overmind
11 Oct 2010, 19:49
Forum: Server Side Extension Development
Topic: Custom Login utf8 in password with privateKey
Replies: 4
Views: 8160

Custom Login utf8 in password with privateKey

We are implementing a custom login function and we use the private key in the authentication process...There is a problem with utf-8 characters in the password (in this example it contains a german character)

password is : ööö
private key generated : Ogjk[APXqis}O
flash md5 sent MD5(privateKey ...
by overmind
10 Oct 2010, 15:31
Forum: Server Side Extension Development
Topic: getCurrentRoom() null at extension init (sometimes)
Replies: 16
Views: 22900

I changed smartfox to 1.6.8 and all errors stopped.

There is no problem i do not need new version, but in case i will need some of newer versions in the future i would like if you have time to check it, if it has to do something with updates.

Server has a little load and i have often "Read queue ...
by overmind
09 Oct 2010, 20:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Could not remove ip address from IpFilter
Replies: 1
Views: 4325

also i made (bluebox) jetty stand alone and run it on same server for some days i had no ipfilter errors from local ip , when i moved it on another server i got this:

INFO | jvm 2 | 2010/10/10 00:45:15 | 00:45:15.405 - [ INFO ] > Could not remove ip address from IpFilter: /jettyIP
INFO | jvm 2 ...
by overmind
08 Oct 2010, 15:26
Forum: Server Side Extension Development
Topic: getCurrentRoom() null at extension init (sometimes)
Replies: 16
Views: 22900

it happens rarely NOT at every room creation (1/5000 room creations)
with this extension code:

var roomId;

function init()
{
try
{
roomId = _server.getCurrentRoom().getId();
}
catch(e)
{
trace("error at as init: " + e);
return;
}
}

function destroy()
{

}

function ...
by overmind
08 Oct 2010, 12:35
Forum: Server Side Extension Development
Topic: getCurrentRoom() null at extension init (sometimes)
Replies: 16
Views: 22900

i dont think it is memory leak
i had put a clear extension without code, only getId of currentRoom (at init) and i still getting the error

INFO | jvm 1 | 2010/10/08 08:24:53 | 08:24:53.565 - [ WARNING ] > Could not assign extension [ game ] to Room id= 731
INFO | jvm 1 | 2010/10/08 08:24:53 ...
by overmind
08 Oct 2010, 03:02
Forum: Server Side Extension Development
Topic: read queue under heavy load
Replies: 1
Views: 4610

read queue under heavy load

I have every day some lines (5-10) of "Read queue under heavy load" in my logs without any problems.

Yesterday i had a lot of these lines and after a while smartfox had an unknown problem and didnt accept new connections.

What is this message, how can i find more information about this? Can i do ...
by overmind
07 Oct 2010, 20:39
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Could not remove ip address from IpFilter
Replies: 1
Views: 4325

Could not remove ip address from IpFilter

INFO | jvm 1 | 2010/10/08 00:59:35 | 00:59:35.584 - [ INFO ] > Could not remove ip address from IpFilter: /aaa.bbb.ccc.ddd

after i add a limit to 20 ips on the ip filter i have many of these messages, anyone know what can it be?
by overmind
25 Sep 2010, 02:03
Forum: Server Side Extension Development
Topic: getCurrentRoom() null at extension init (sometimes)
Replies: 16
Views: 22900

it is the same behaviour if i have it in try catch or not.

My extension is at room level this is my problem....the extension is loaded at dynamic rooms...and never get unloaded as the room get destroyed!!!! and the worst is that it acts like a zone level extension after room get destroyed!

it is ...
by overmind
23 Sep 2010, 22:38
Forum: Server Side Extension Development
Topic: getCurrentRoom() null at extension init (sometimes)
Replies: 16
Views: 22900

function init()
{
try
{
roomId = _server.getCurrentRoom().getId();
}
catch(e)
{
trace("error at as init: " + e)
}
}

function handleInternalEvent(evt)
{
if (_server.getCurrentRoom() == null)
{
trace ("NULLROOM :" + currentRoomId + " quiz")
nullRoom = true;
return;
}

...........code ...
by overmind
22 Sep 2010, 13:53
Forum: Server Side Extension Development
Topic: getCurrentRoom() null at extension init (sometimes)
Replies: 16
Views: 22900

it is SFS_PRO_1.6.6 from the 1.6.6 installer, and it was up to dated to the last version. I have solved all issues with if (_server.getCurrentRoom() == null) {return;}

the only remained error that never have seen it before 7 months, with thousands of users every day is that: TypeError: Cannot call ...
by overmind
22 Sep 2010, 01:19
Forum: Server Side Extension Development
Topic: getCurrentRoom() null at extension init (sometimes)
Replies: 16
Views: 22900

It is not reproducable. It happens rarely at random times...also for some reason these extensions remain in the memory and catching internal events for all users of the zone (join exit etc.) . My game extension sends one message on userJoin(only on user that joins game) and i see that message every ...
by overmind
19 Sep 2010, 04:03
Forum: Server Side Extension Development
Topic: getCurrentRoom() null at extension init (sometimes)
Replies: 16
Views: 22900

Yes i updated client too. These warnings are on room creations/destroys for some reason...
by overmind
18 Sep 2010, 02:42
Forum: Server Side Extension Development
Topic: getCurrentRoom() null at extension init (sometimes)
Replies: 16
Views: 22900

Also at the same time this warning started: (5-10 times per day...not in same rooms)

INFO | jvm 1 | 2010/09/18 02:32:44 | 02:32:44.035 - [ WARNING ] > Error in extension [ games/framework.as ]: TypeError: Cannot call method "shutdown" of undefined (games/framework.as#1699)


any help? anything i ...