Search found 5 matches
- 02 Jul 2006, 01:21
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: switchSpectator reverse?
- Replies: 1
- Views: 4216
switchSpectator reverse?
Hi, i searched for it on the forum and bumped into one where i found that there isnt any feature that switches a player back into a spectator yet. i know there is a workaround to get the user to leave the room and join again as a spectator, but any idea if a switchPlayer feature will be there in the...
- 16 May 2006, 10:01
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: player index on onUserEnterRoom
- Replies: 5
- Views: 8678
userId increments based on users connecting to smartfox, player index starts from 1 when a user joins a room and is the first player, and for the next entering player, the value increments by 1 regardless of user id. the feature that makes it ideal for me is that it fills up empty spaces between the...
- 16 May 2006, 09:37
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: player index on onUserEnterRoom
- Replies: 5
- Views: 8678
oh, i though tthat gave the user id and not player index :) , i just tried it, its returning me the userId, so like my user Id was 3 and i was the first player in my game room, then the second player to enter the room, when i getId() it, i get 4.. which is the user Id, i need the player id / player ...
- 15 May 2006, 21:17
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: onRoomListUpdate does not send vars!
- Replies: 23
- Views: 35052
- 15 May 2006, 18:19
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: player index on onUserEnterRoom
- Replies: 5
- Views: 8678
player index on onUserEnterRoom
hi, is there a way to recieve the index assigned to a user in the: smartFox.onUserEnterRoom() event, so that when a user joins a room, all the users present in the room get the index of the player assigned by the server. Actually i want to use this index for placing a player in my interface when he ...