Search found 12 matches
- 13 Nov 2015, 03:50
- Forum: SFS2X Questions
- Topic: ploblem with extension respone
- Replies: 3
- Views: 4742
Re: ploblem with extension respone
that seem a bug. user 1 join room, user 2 join room. after user 1 leave room and join room again. at this time any respone from server only receive user 1 when use getApi().leaveRoom(user, getParentExtension().getParentRoom(), true, true) happen this error but work well with getApi().leaveRoom(user,...
- 12 Nov 2015, 10:53
- Forum: SFS2X Questions
- Topic: ploblem with extension respone
- Replies: 3
- Views: 4742
ploblem with extension respone
in my room have 2 users. I send to all by : send(cmd, obj, room.getUserLists());
but only one user receive extension response.
what happen with my server? plse help me.
i use sfs 2x 2.9.0 , as3 client.
sorry i cant post my code becase it very confuse
but only one user receive extension response.
what happen with my server? plse help me.
i use sfs 2x 2.9.0 , as3 client.
sorry i cant post my code becase it very confuse
- 13 Oct 2015, 10:52
- Forum: SFS2X Questions
- Topic: user_count_change only fire when leave room
- Replies: 4
- Views: 5568
Re: user_count_change only fire when leave room
this exactly my ploblem. thankyou very much, Lapo
- 13 Oct 2015, 10:11
- Forum: SFS2X Questions
- Topic: user_count_change only fire when leave room
- Replies: 4
- Views: 5568
Re: user_count_change only fire when leave room
server version : 2.9.0 i have zone extension and room extension. i login 2 user to zone user 1 send extension request to zone extension public class JoinRoomRequestHandle extends BaseClientRequestHandler { @Override public void handleClientRequest(User user, ISFSObject isfso) { int rid = isfso.getIn...
- 13 Oct 2015, 06:45
- Forum: SFS2X Questions
- Topic: user_count_change only fire when leave room
- Replies: 4
- Views: 5568
user_count_change only fire when leave room
I have 2 room of default group. when i join user to room from server by getApi().joinroom event USer_count_change not fire in client but it work when user leave room by server with getApi().leaveRoom.
please help me. thanks alot
please help me. thanks alot
- 18 Sep 2015, 10:41
- Forum: SFS2X Questions
- Topic: disable join room from server
- Replies: 2
- Views: 4145
Re: disable join room from server(Solved)
using privilege manage , ploblem is solved
- 18 Sep 2015, 07:29
- Forum: SFS2X Questions
- Topic: disable join room from server
- Replies: 2
- Views: 4145
disable join room from server
client send request to join a room, default server allow user join this room.
my question is how can denied join room request from server.
i tried "throw SFSJoinRoomException" in JoinRoomHandle but at this time user completed join room.
thank for help.
my question is how can denied join room request from server.
i tried "throw SFSJoinRoomException" in JoinRoomHandle but at this time user completed join room.
thank for help.
- 08 Sep 2015, 03:43
- Forum: SFS2X ActionScript 3 API
- Topic: Retrieves the list of Rooms in group
- Replies: 3
- Views: 11482
Re: Retrieves the list of Rooms in group
thks Lapo, my issue is solved when i add "game" to default room group in admintool or subcribe "game" group before request room list. details you posted here http://www.smartfoxserver.com/forums/viewtopic.php?t=8090
- 08 Sep 2015, 01:07
- Forum: SFS2X ActionScript 3 API
- Topic: Retrieves the list of Rooms in group
- Replies: 3
- Views: 11482
Re: Retrieves the list of Rooms in group
I mean : i have 10 room(created by extension) with same groupId is "game". So, how can i get all these room in client.
getRoomListFromGroup() only return rooms client joined not all.
I using the lastest version i,ve just down at homepage
Thks for help
getRoomListFromGroup() only return rooms client joined not all.
I using the lastest version i,ve just down at homepage
Thks for help
- 07 Sep 2015, 11:57
- Forum: SFS2X Questions
- Topic: How can I get all params from event?
- Replies: 7
- Views: 8815
Re: How can I get all params from event?
http://docs2x.smartfoxserver.com/ -> APi Documentation
- 07 Sep 2015, 10:55
- Forum: SFS2X Questions
- Topic: How can I get all params from event?
- Replies: 7
- Views: 8815
Re: How can I get all params from event?
as3 code:
Code: Select all
for (var x in e.params) {
Cc.log(x + ": " + e.params[x]);
}
- 07 Sep 2015, 10:51
- Forum: SFS2X ActionScript 3 API
- Topic: Retrieves the list of Rooms in group
- Replies: 3
- Views: 11482
Retrieves the list of Rooms in group
i want to Retrieves the list of Rooms in a specified group. all room with this group is created by getApi().createroom().
try with as3 sfs.getRoomListFromGroup() result is only the room joined.
Can i do it?
try with as3 sfs.getRoomListFromGroup() result is only the room joined.
Can i do it?