Search found 57 matches

by Gamebrew
08 Oct 2009, 20:37
Forum: Server Side Extension Development
Topic: NullPointerException on serverside setUserVariables
Replies: 6
Views: 11290

I've been trying to debug this still for a week and had no luck. Any ideas on what is on that line number that could cause a null exception?
by Gamebrew
04 Oct 2009, 03:57
Forum: Server Side Extension Development
Topic: NullPointerException on serverside setUserVariables
Replies: 6
Views: 11290

It's hard to reproduce it just happens once in a while if I login in and out many times, and it never happens when I try on my local dev computer. Is there any clue in the code line [User.java:661] that can give me an idea of what's happening? I have 3 other games running on the same server and I'm ...
by Gamebrew
26 Sep 2009, 16:43
Forum: Server Side Extension Development
Topic: NullPointerException on serverside setUserVariables
Replies: 6
Views: 11290

NullPointerException on serverside setUserVariables

Hi, I am constantly (every 5-10 minutes with around 5 users at a time) getting this error for about two months now. I'm using SFS 1.6.6 and Java server side. The game seems to be running fine even with the error, but its probably messing up peoples UserVariables randomly. It doesn't make sense cause ...
by Gamebrew
11 Jun 2009, 15:35
Forum: The Bug Trap
Topic: NullPointerException - SmartFoxServer.java:2968
Replies: 1
Views: 104

NullPointerException - SmartFoxServer.java:2968

I've gotten this error a few times already and it causes the server to go down and stall. I've checked for nulls before my function call in my own code, so I thought maybe its in SFS.


java.lang.NullPointerException
at it.gotoandplay.smartfoxserver.SmartFoxServer.removeIpFromFilter(SmartFoxServer ...
by Gamebrew
22 Apr 2009, 04:21
Forum: The Bug Trap
Topic: Exception during client disconnection: Null
Replies: 5
Views: 206

No its the first time I've seen it. But there is always some little bits of warnings and errors every once in a while. I guess its the nature of a multiplayer system where anything can happen at anytime.
by Gamebrew
20 Apr 2009, 03:43
Forum: The Bug Trap
Topic: Exception during client disconnection: Null
Replies: 5
Views: 206

Exception during client disconnection: Null

I've been running my server for quite a while this is the first real error I've seen in my logs. I'm using the latest Smartfox 1.6.5 and Linux.

[ WARNING ] > Exception during client disconnection: java.lang.NullPointerException
java.lang.NullPointerException
at it.gotoandplay.smartfoxserver ...
by Gamebrew
24 Feb 2009, 03:26
Forum: Server Side Extension Development
Topic: Java DATAROW_INTKEY first column starts at 1?
Replies: 2
Views: 6320

Java DATAROW_INTKEY first column starts at 1?

I created a small function to return a single value of any SQL statement, so it would be row 0, column 0. It kept returning null until I set the item index as getItem(1). The docs say it should start at 0, is this problem, or am I doing something wrong? This is Java, Linux, MySQL, the field type is ...
by Gamebrew
24 Aug 2008, 15:55
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { Update } SmartFoxServer PRO 1.6.3 available
Replies: 65
Views: 116910

What day will docs on this update be available? I'm interested in <MaxSocketIdleTime> thanks!
by Gamebrew
24 Jun 2008, 03:50
Forum: Server Side Extension Development
Topic: Standard to create reconnection script?
Replies: 1
Views: 4935

Standard to create reconnection script?

I still get some users disconnecting for some reason or another, whether it be their ISP or something browser related. I was wondering if its normal for large apps to create a reconnect script, where if an abrupt disconnect is detected it will relogin and copy the lost USER variables and state to ...
by Gamebrew
12 Jun 2008, 13:32
Forum: SmartFoxServer 1.x Discussions and Help
Topic: AdminTool used memory stays at max?
Replies: 4
Views: 7572

Hi Lapo, I just thought the more memory the better. Just to be sure, if the used memory reaches max and stays there (forever?) that's normal?
by Gamebrew
11 Jun 2008, 22:05
Forum: SmartFoxServer 1.x Discussions and Help
Topic: AdminTool used memory stays at max?
Replies: 4
Views: 7572

AdminTool used memory stays at max?

Hi I'm using SFS 1.6.2, Linux, 2G of memory. I set the total memory to 1.5G. In the AdminTool after 2-3 days the used memory always climbs then equals the total memory and just stays there. The same amount of people are on about 50-100 users. Is it just really lazy garbage cleanup or is something ...
by Gamebrew
11 Jun 2008, 19:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How secure is smart fox server?
Replies: 5
Views: 10015

For my Artillery game I already have incidents of cheating thru changing the server string like changing their score to something impossible. I trace the JSON string to see what they tried. I think Smartfox should have an option to encrypt the entire JSON string back and forth. There should be some ...
by Gamebrew
31 May 2008, 15:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Disconnections are a normal occurance?
Replies: 3
Views: 7348

Thanks for the info, I don't send quick bursts of many messages. It's a chat room and two turn-based games. I read that you get mass disconnects, I don't see that on mine, I just get complaints of straight disconnects for no reason.
by Gamebrew
30 May 2008, 16:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Disconnections are a normal occurance?
Replies: 3
Views: 7348

Disconnections are a normal occurance?

Hi I'm using SFS PRO for Linux 1.6.2, 1G of memory, 512M of VM Max on a dedicated server. I have about 50 users on at a time avg during the day. The server doesn't reboot ands runs okay, but I always get complaints of disconnects. I don't know what % of total is complaining but people are always on ...
by Gamebrew
19 May 2008, 13:41
Forum: Server Side Extension Development
Topic: Linux virtual memory not increasing with -Xms?
Replies: 2
Views: 6524

It works great, thanks Lapo!