Search found 10 matches

by moranil
27 Nov 2013, 15:11
Forum: SFS2X HTML5 / JavaScript API
Topic: class serialization from client to server
Replies: 1
Views: 6720

class serialization from client to server

we have our game client in AS3/flash. we are porting client to html5.
we are able to receive class object/other data from the server in html5 client.
we are also able to send data to server but not able to serialize a class.

Does the html5 api implement this feature?
Is there is any example for ...
by moranil
01 Aug 2012, 08:15
Forum: SFS2X Questions
Topic: connection issue : session created/dropped but login failed
Replies: 7
Views: 11036

Re: connection issue : session created/dropped but login fai

[Update]
after debug it was found that the connection pool of db got struck sometimes.
change log for c3p0 library shows that there were some deadlock in older version.
after upgrading the c3p0 and mysql connector/j the issue was not seen again.
by moranil
26 Jul 2012, 10:40
Forum: SFS2X Questions
Topic: connection issue : session created/dropped but login failed
Replies: 7
Views: 11036

Re: connection issue : session created/dropped but login fai

we have same problem again. here is the thread dump (blocked threads only)

2012-07-26 16:00:27
Full thread dump Java HotSpot(TM) Server VM (17.0-b16 mixed mode):

"RMI TCP Connection(4)-127.0.0.1" daemon prio=10 tid=0xb6acbc00 nid=0x1d89 runnable [0x6e032000]
java.lang.Thread.State: RUNNABLE
at ...
by moranil
05 Jul 2012, 10:54
Forum: SFS2X Questions
Topic: connection issue : session created/dropped but login failed
Replies: 7
Views: 11036

Re: connection issue : session created/dropped but login fai

Thanks for the reply.

yes we are using custom login handler( using hibernate ). and hibernate session is being closed.
sessions are created /closed but login handler is not being called when this occurs. This happened on our server twice yesterday.

does having custom login, also explain why we ...
by moranil
05 Jul 2012, 07:56
Forum: SFS2X Questions
Topic: connection issue : session created/dropped but login failed
Replies: 7
Views: 11036

connection issue : session created/dropped but login failed

we have recently facing issue that smartfox server stops connecting
users after some network glitches, even admin console login does not success.

It does not seems related to connection issue reported in forum, where custom login is
used.

hardware: 16 core server machine using only one core at ...
by moranil
13 Jul 2011, 11:59
Forum: SFS2X Questions
Topic: How can I send message from server to all users?
Replies: 10
Views: 21459

dest wrote: Am I right?
yes, you are right. I forgot to change code at that point.
by moranil
13 Jul 2011, 11:55
Forum: SFS2X Questions
Topic: null pointer when creatgame( ) from zone extension
Replies: 1
Views: 4446

null pointer when creatgame( ) from zone extension

Hi all,

I am getting null pointer exception when creating game room in init() method of zone extension. however rooms are created and works fine if I handle exception

here is the trace

java.lang.NullPointerException
at com.smartfoxserver.bitswarm.io.Response.write(Response.java:74)
at com ...
by moranil
12 Jul 2011, 12:35
Forum: SFS2X Questions
Topic: How can I send message from server to all users?
Replies: 10
Views: 21459

the way We have done is:

from extension we do:

public class GameExtension extends SFSExtension
{

private List<User> userlist = new ArrayList<User>();


public ScheduledFuture<?> scheduleTaskOnce(int delay)
{
SmartFoxServer sfs = SmartFoxServer.getInstance();
return sfs.getTaskScheduler ...
by moranil
19 May 2011, 10:31
Forum: SFS2X Questions
Topic: Is there a pdf-version of sfs-2x documentation ?
Replies: 2
Views: 6088

2x pdf

I found the following link for 2x pdf

http://games.anomsoft.com/2011/05/12/sm ... tionguide/