Search found 38 matches

by tinnt
12 Oct 2013, 07:09
Forum: SFS2X Questions
Topic: Cannot connect to smartfox
Replies: 12
Views: 11222

Re: Cannot connect to smartfox

This issue has been resolved after investigating threaddump. Thank you for your support.

Tin.
by tinnt
02 Oct 2013, 07:08
Forum: SFS2X Questions
Topic: Cannot connect to smartfox
Replies: 12
Views: 11222

Re: Cannot connect to smartfox

02 Oct 2013 | 06:30:51,887 | WARN | pool-1-thread-2 | entities.managers.SFSExtensionManager | | com.smartfoxserver.v2.exceptions.SFSLoginException: Admin login refused to user 'admin': invalid TCP port When I cannot connect to server via Admin tool, the message as above. I checked that the server is...
by tinnt
01 Oct 2013, 09:50
Forum: SFS2X Questions
Topic: Cannot connect to smartfox
Replies: 12
Views: 11222

Re: Cannot connect to smartfox

I don't think that the connection was the root cause of the issue because with every function that need a connection to DB was written as the following: public void updateLastLogin(String username, long miliseconds) throws Exception { Session session = sessionFactory.openSession(); try { String sql ...
by tinnt
01 Oct 2013, 04:40
Forum: SFS2X Questions
Topic: Error while monitoring create room during runtime
Replies: 13
Views: 15292

Re: Error while monitoring create room during runtime

There was 2 cases as the following: 1. First case: working well without errors I was using the code when the Zone initialize. There was no error, and I can monitor the room with Admin Tool. 2. After the zone has been launched successfully, I provided to user a button that he can create a custom game...
by tinnt
01 Oct 2013, 00:25
Forum: SFS2X Questions
Topic: Cannot connect to smartfox
Replies: 12
Views: 11222

Re: Cannot connect to smartfox

Are you using a custom login Extension that maybe uses a database to check credentials?


Yes, the system is using a custom login extension. But I didn't find any error log from my extension, and I cannot login to SFS2X with Admin Tool also.
by tinnt
01 Oct 2013, 00:17
Forum: SFS2X Questions
Topic: Cannot connect to smartfox
Replies: 12
Views: 11222

Re: Cannot connect to smartfox

Are you using a custom login Extension that maybe uses a database to check credentials?

Yes, the system is using a custom login extension. But I didn't find any error log from my extension, and I cannot login to SFS2X with Admin Tool also.
by tinnt
30 Sep 2013, 15:49
Forum: SFS2X Questions
Topic: Cannot connect to smartfox
Replies: 12
Views: 11222

Re: Cannot connect to smartfox

Cannot connect with admin tool too but I can 'telnet' to the server at the port. That's why I don't know how to fix the issue because the server is already listening on the port but can't connected by our game or admin tool.

Tin.
by tinnt
30 Sep 2013, 08:04
Forum: SFS2X Questions
Topic: Cannot connect to smartfox
Replies: 12
Views: 11222

Cannot connect to smartfox

Hi, SFS2X was installed to a linux(ubuntu) server successfully, and I can start the server normally. Recently i got an error that i cannot connect to smarfoxserver event the server is still running after a running period. I'm using SFS2X community version. The firewall was set correctly for incoming...
by tinnt
30 Sep 2013, 07:57
Forum: SFS2X Questions
Topic: Error while monitoring create room during runtime
Replies: 13
Views: 15292

Re: Error while monitoring create room during runtime

I didn't get any error/exeption during initial phase with empty room variable.
by tinnt
26 Sep 2013, 08:23
Forum: SFS2X Questions
Topic: Error while monitoring create room during runtime
Replies: 13
Views: 15292

Re: Error while monitoring create room during runtime

I can create a room from Admin tool as your post and then can monitor it as well but there was a difference as the following: 1. From admin tool: I cannot input empty string to a room variable (String type) 2. From code: I can initialize a room variable with empty, and the code worked well during se...
by tinnt
17 Sep 2013, 04:50
Forum: SFS2X Questions
Topic: Error while monitoring create room during runtime
Replies: 13
Views: 15292

Re: Error while monitoring create room during runtime

A room was created during server startup with a message contained Vietnamese is ok, but the one was created by the code above threw exception, even the same code.
by tinnt
17 Sep 2013, 04:47
Forum: SFS2X Questions
Topic: Error while monitoring create room during runtime
Replies: 13
Views: 15292

Re: Error while monitoring create room during runtime

The message was typed in Vietnamese as 'Không tên' by default.
by tinnt
13 Sep 2013, 08:54
Forum: SFS2X Questions
Topic: Error while monitoring create room during runtime
Replies: 13
Views: 15292

Re: Error while monitoring create room during runtime

Here the code int gamePotSize = params.getInt(Constants.RV_GAME_POT_SIZE); int gameMode = ChineseChessRules.GAME_MODE_NORMAL;//params.getInt(Constants.RV_GAME_MODE); int totalTimeOut = params.getInt(Constants.RV_GAME_TIMEOUT); int timeOut = totalTimeOut / 10; if (timeOut > getTimeOut()) { timeOut = ...
by tinnt
23 Aug 2013, 04:45
Forum: SFS2X Questions
Topic: Error while monitoring create room during runtime
Replies: 13
Views: 15292

Error while monitoring create room during runtime

Hi, On SERVER_READY event, I created some game rooms for player and everything worked fine. From admin tool I could monitor these room perfectly. As player would like to create his own room. When he sent create room request on server side I used the same code as above to create a room but from admin...

Go to advanced search