My problem is not about getting a connecting user but getting a user who is logged in since many minutes.
User 1 login:
* canLogin add the user to the list
* usersById map look like this:
[1 => User1]
User 2 login:
* canLogin add the user to the list
* usersById map look like this:
[1 => User1; 2 ...
Search found 7 matches
- 15 Nov 2010, 13:47
- Forum: Server Side Extension Development
- Topic: SmartFoxServer#getUserById(Integer) not synchronized ?
- Replies: 7
- Views: 12348
- 15 Nov 2010, 12:37
- Forum: Server Side Extension Development
- Topic: SmartFoxServer#getUserById(Integer) not synchronized ?
- Replies: 7
- Views: 12348
- 02 Nov 2010, 12:52
- Forum: Server Side Extension Development
- Topic: SmartFoxServer#getUserById(Integer) not synchronized ?
- Replies: 7
- Views: 12348
SmartFoxServer#getUserById(Integer) not synchronized ?
Hello,
I'm using SmartFoxServer PRO 1.6.9 and I'm working on java extensions.
I encounter some issues with the method Room#getAllUsers(). Sometime it does not return all the users of the room. This method seems to use SmartFoxServer#getUserById(Integer) to resolve User objects from user id ...
I'm using SmartFoxServer PRO 1.6.9 and I'm working on java extensions.
I encounter some issues with the method Room#getAllUsers(). Sometime it does not return all the users of the room. This method seems to use SmartFoxServer#getUserById(Integer) to resolve User objects from user id ...
- 11 Oct 2010, 15:08
- Forum: Server Side Extension Development
- Topic: room.removeUser and InternalEvent
- Replies: 0
- Views: 3474
room.removeUser and InternalEvent
Hello,
I have an extension (zone level extension) which handle logOut, userExit, userJoin and userLost events. I use those events to monitor user movements.
I miss some userExit or userLost or logOut because I see more userJoin than (userExit + userLost + logOut).
It seems that room.removeUser ...
I have an extension (zone level extension) which handle logOut, userExit, userJoin and userLost events. I use those events to monitor user movements.
I miss some userExit or userLost or logOut because I see more userJoin than (userExit + userLost + logOut).
It seems that room.removeUser ...
- 20 Sep 2010, 07:10
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Java Garbage Collector unloading python package classes
- Replies: 11
- Views: 16505
- 17 Sep 2010, 12:40
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Java Garbage Collector unloading python package classes
- Replies: 11
- Views: 16505
I use smartfox pro 1.6.9
My server config file contains only my java extensions (I also removed from the Server directory all sample extensions; my Server directory contains only mandatories file and libs). I can confirm with the admin tool, only my zones are loaded and the extension tab is empty ...
My server config file contains only my java extensions (I also removed from the Server directory all sample extensions; my Server directory contains only mandatories file and libs). I can confirm with the admin tool, only my zones are loaded and the extension tab is empty ...
- 17 Sep 2010, 09:28
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Java Garbage Collector unloading python package classes
- Replies: 11
- Views: 16505