Search found 27 matches

by Lucas
26 Dec 2019, 13:33
Forum: SFS2X Questions
Topic: getApi().joinRoom bug
Replies: 4
Views: 5510

Re: getApi().joinRoom bug

I create delays when creating rooms and when user connecting. It worked for me.
by Lucas
19 Dec 2019, 14:20
Forum: SFS2X Questions
Topic: getApi().joinRoom bug
Replies: 4
Views: 5510

Re: getApi().joinRoom bug

Hi, What does it mean --> "(auto-recovery connect to the game room)"? I write code for reconnect user after disconnect. User login to server and user autojoin into game room (if game is no finished) How does this work? - The client closes the game? - The server kicks the player? - Unexpec...
by Lucas
19 Dec 2019, 13:22
Forum: SFS2X Questions
Topic: getApi().joinRoom bug
Replies: 4
Views: 5510

getApi().joinRoom bug

I get this bug stably. 1. The player join to the first room. 2. From the join to the first room, the player join to the second room (auto-recovery connect to the game room). 3. The player finishes the game, is removed from the second room, the second room is removed. All works good. 4. A third room ...
by Lucas
09 Jul 2019, 14:23
Forum: SFS2X Questions
Topic: Class in __lib__
Replies: 4
Views: 5663

Re: Class in __lib__

Hmm... that's a strange error though. We'll have to investigate. As regards creating the Rooms at initialization: you can do it if you inhibit the fireClientEvent parameter. This is because all Extensions are initialized before the server engine is ready, therefore causing an Exception (though a di...
by Lucas
09 Jul 2019, 10:40
Forum: SFS2X Questions
Topic: Class in __lib__
Replies: 4
Views: 5663

Re: Class in __lib__

I solved this problem. Create of rooms at the request of the player, and not at the time of initialization in the zone. The extensionis right attached to the room.
by Lucas
07 Jul 2019, 09:56
Forum: SFS2X Questions
Topic: Class in __lib__
Replies: 4
Views: 5663

Class in __lib__

Hi! I create MMORoom in Zone Extension CreateMMORoomSettings cfg = new CreateMMORoomSettings(); cfg.setName("Planet"+res.getString("id")); cfg.setMaxUsers(1000); cfg.setDynamic(false); cfg.setGame(true); cfg.setHidden(false); cfg.setAutoRemoveMode(SFSRoomRemoveMode.DEFAULT); cfg....
by Lucas
07 Mar 2015, 12:54
Forum: SFS2X ActionScript 3 API
Topic: Create bug room
Replies: 3
Views: 7966

Re: Create bug room

The problem was technical limitations threads on VPS server. Logs were many, so this problem does not seem to have time in the last 500 messages filter WARN or ERROR
by Lucas
05 Mar 2015, 17:38
Forum: SFS2X ActionScript 3 API
Topic: Create bug room
Replies: 3
Views: 7966

Re: Create bug room

If it's privileges, all users have the same rights.
From the same room can be created by normal, but may not extension and autojoin
by Lucas
05 Mar 2015, 16:27
Forum: SFS2X ActionScript 3 API
Topic: Create bug room
Replies: 3
Views: 7966

Create bug room

I create Room: var settings:RoomSettings = new RoomSettings(roomName); settings.groupId = DEFAULT_GROUP; settings.isGame = true; settings.maxUsers = roomMaxS*2; settings.maxSpectators = 0; settings.maxVariables = 10; settings.extension = new RoomExtension(EXTENSION_ID, EXTENSIONS_CLASS); settings.va...
by Lucas
18 Feb 2015, 20:33
Forum: SFS2X Questions
Topic: Send email
Replies: 2
Views: 4564

Re: Send email

Thank you very much!
by Lucas
18 Feb 2015, 18:25
Forum: SFS2X Questions
Topic: Send email
Replies: 2
Views: 4564

Send email

Hello!
Did not find information on how to send e-mails with the server extensions.
After standard Java components does not. Try through SignUpAssistantComponent, causing
suac.handleClientRequest (null, params)
gives exception for null.
How can I send a email if the user is not?
by Lucas
09 Jun 2014, 09:24
Forum: SFS2X ActionScript 3 API
Topic: Error on kernel
Replies: 24
Views: 28205

Re: Error on kernel

Thank you very much! The error can be easily reproduced with this small snippet: var arr:Array = [] arr["map"] = 1000 The problem is that "map" is already a method in the Array class and cannot be reassigned. I suppose you are calling one of your variables "map" which i...
by Lucas
03 Jun 2014, 11:12
Forum: SFS2X ActionScript 3 API
Topic: Error on kernel
Replies: 24
Views: 28205

Re: Error on kernel

Send Stripped project to PM
by Lucas
29 May 2014, 09:53
Forum: SFS2X ActionScript 3 API
Topic: Error on kernel
Replies: 24
Views: 28205

Re: Error on kernel

Replaced AutoJoin in

Code: Select all

sfs.send( new CreateRoomRequest(settings, true, sfs.lastJoinedRoom) )

by

Code: Select all

sfs.send( new CreateRoomRequest(settings, false, sfs.lastJoinedRoom) )

Error removed.
Problem exactly Join Room
by Lucas
29 May 2014, 09:40
Forum: SFS2X ActionScript 3 API
Topic: Error on kernel
Replies: 24
Views: 28205

Re: Error on kernel

Server side UserJoinHandler: addEventHandler(SFSEventType.USER_JOIN_ROOM, OnUserJoinHandler.class); public class OnUserJoinHandler extends BaseServerEventHandler { @Override public void handleServerEvent(ISFSEvent event) throws SFSJoinRoomException { Room gameRoom = (Room) event.getParameter(SFSEven...

Go to advanced search