Search found 35 matches
- 21 Feb 2016, 12:48
- Forum: SFS2X Java / Android API
- Topic: How to print log in a java class in server.
- Replies: 2
- Views: 10723
Re: How to print log in a java class in server.
Thanks Lapo very much.
- 21 Feb 2016, 11:26
- Forum: SFS2X Java / Android API
- Topic: How to print log in a java class in server.
- Replies: 2
- Views: 10723
How to print log in a java class in server.
Hi admin, How to print log in a java class in server. I reseach and try with an example but it don't work. private final Logger m_log; public ChessGameBoard() { m_log = LoggerFactory.getLogger("com.xdevteam.chess.ChessGameBoard"); .... } public boolean methodA() { m_log.info("It shoul...
- 11 Jan 2016, 16:07
- Forum: SFS2X Java / Android API
- Topic: How to check an user join Zone?
- Replies: 2
- Views: 10067
Re: How to check an user join Zone?
Hi Lapo,
I appreciate your answer. It is very full . Thank you very much.
Cheer,
I appreciate your answer. It is very full . Thank you very much.
Cheer,
- 06 Jan 2016, 16:20
- Forum: SFS2X Java / Android API
- Topic: How to check an user join Zone?
- Replies: 2
- Views: 10067
How to check an user join Zone?
Hi admin,
I have some small queries:
How an user client can be notified if the other user join Zone? Or How to check a user is online? Which the API of smartFox support this?
Please help give your comment.
Cheer,
I have some small queries:
How an user client can be notified if the other user join Zone? Or How to check a user is online? Which the API of smartFox support this?
Please help give your comment.
Cheer,
- 27 Dec 2015, 08:26
- Forum: SFS2X Java / Android API
- Topic: Problem with the event SFSEvent.USER_ENTER_ROOM
- Replies: 1
- Views: 8883
Problem with the event SFSEvent.USER_ENTER_ROOM
Hi admin, I read about the event USER_ENTER_ROOM at http://docs2x.smartfoxserver.com/api-docs/jsdoc/symbols/SFS2X.SFSEvent.html#.USER_ENTER_ROOM I want to that when an user enter room, I can get more information such as level, money...from the user. I think so we can use method user.setVariable(). B...
- 29 Nov 2015, 09:40
- Forum: SFS2X Questions
- Topic: Custom Extension - No Extensions Can be Invoked
- Replies: 17
- Views: 30014
Re: Custom Extension - No Extensions Can be Invoked
The error should be self explanatory ==> LoginAssistant doesn't work with ROOM LEVEL Extensions! You are attempting to use the LoginAssistant with an Extension that attached to a Room. This is not possible because Rooms don't get a LOGIN event. Only Zones do. Thanks Thanks for your comment. This is...
- 26 Nov 2015, 17:19
- Forum: SFS2X Questions
- Topic: Custom Extension - No Extensions Can be Invoked
- Replies: 17
- Views: 30014
Re: Custom Extension - No Extensions Can be Invoked
Hi Lapo, I understand problem and I think that we are having a bug with The Login Assistant component Steps to reproduce: 1) server side configures with Login Assistant component(for example: http://docs2x.smartfoxserver.com/DevelopmentBasics/login-assistant) 2) client side: send request to create a...
- 24 Nov 2015, 15:34
- Forum: SFS2X Questions
- Topic: Custom Extension - No Extensions Can be Invoked
- Replies: 17
- Views: 30014
Re:
i'm calling this when i entered a room: public void SendSpawnRequest () { Room room = sfClient.LastJoinedRoom; ExtensionRequest request = new ExtensionRequest ("spawnMe", new SFSObject (), room); sfClient.Send (request); Debug.Log("request sent"); } I got the same issue, How to ...
- 17 Nov 2015, 16:27
- Forum: SFS2X Java / Android API
- Topic: Advanced features of login-assistant
- Replies: 2
- Views: 9949
Re: Advanced features of login-assistant
Thanks for your help. It is very helpful.
- 16 Nov 2015, 17:08
- Forum: SFS2X Java / Android API
- Topic: Advanced features of login-assistant
- Replies: 2
- Views: 9949
Advanced features of login-assistant
Hi admin, I see that we can set some extra fields after the credentials have been checked in server side. Document:http://docs2x.smartfoxserver.com/DevelopmentBasics/login-assistant // Store avatar in session object loginData.session.setProperty("avatar", avatarPic) // Set client as Modera...
- 29 Oct 2015, 15:06
- Forum: SFS2X Java / Android API
- Topic: Login Assistant component should support change password
- Replies: 10
- Views: 14665
Re: Login Assistant component should support change passwor
Thanks Lapo,
I think I will build a new Login/Register Assistant component.
I think I will build a new Login/Register Assistant component.
- 29 Oct 2015, 10:33
- Forum: SFS2X Java / Android API
- Topic: Login Assistant component should support change password
- Replies: 10
- Views: 14665
Re: Login Assistant component should support change passwor
Do we have any solution to change password when user loged-in?
- 28 Oct 2015, 16:34
- Forum: SFS2X Java / Android API
- Topic: Login Assistant component should support change password
- Replies: 10
- Views: 14665
Re: Login Assistant component should support change passwor
Problem: getApi().checkSecurePassword(session, dbPword, oldPassword) always returns false although oldPassword is sent correctly. For example: registered an account A with password is "123456789" and oldPassword is "123456789". The method getApi().checkSecurePassword(session, &qu...
- 24 Oct 2015, 03:53
- Forum: SFS2X Java / Android API
- Topic: Login Assistant component should support change password
- Replies: 10
- Views: 14665
Re: Login Assistant component should support change passwor
Anyone help me?
- 13 Oct 2015, 15:44
- Forum: SFS2X Java / Android API
- Topic: Login Assistant component should support change password
- Replies: 10
- Views: 14665
Re: Login Assistant component should support change passwor
Hi Lapo, I try to implementing a module to change password with the following code: Client: public void changePassword(String userName, String oldPassword, String newPassword) { SFSObject param = new SFSObject(); param.putUtfString("userName", getUserName()); param.putUtfString("oldPa...