Search found 117 matches

by aliko
12 Sep 2013, 08:56
Forum: SFS2X Questions
Topic: enableLagMonitor problem
Replies: 12
Views: 11116

enableLagMonitor problem

Hello, I want to see the lag between client and server, so that i enabled lagmonitor like below. but pingPongHandler is not dispatch any time. What am i missing? can you help me please? Best Regards sfs.enableLagMonitor(true); sfs.addEventListener(SFSEvent.PING_PONG, pingPongHandler); private functi...
by aliko
11 Sep 2013, 09:04
Forum: SFS2X Questions
Topic: Connection problems
Replies: 5
Views: 6320

Re: Connection problems

Thank you very much for your reply. i use php for create xml and read this data from client. this xml file include game and player that created from random algorithma. I mean this is an tournament listing. Those datas are changing when clients register or unregister tournament. do you have any sugge...
by aliko
11 Sep 2013, 08:08
Forum: SFS2X Questions
Topic: Connection problems
Replies: 5
Views: 6320

Re: Connection problems

There is no bw problem.
I have an extension that call another host php script with url.openStream()
is this will be the problem? perhaps it response late.
by aliko
11 Sep 2013, 05:29
Forum: SFS2X Questions
Topic: Connection problems
Replies: 5
Views: 6320

Connection problems

Hello, I have a license for 500 concurrent users. I try to create a multiplayer game. Everything is wokring perfectly under 30 users. When users counting become to 50 concurrent, i start to get connection problems. Zone reconnection timeframe setting is 5, and max. idle time is 30. I have a timer th...
by aliko
14 May 2013, 14:03
Forum: SFS2X Questions
Topic: Resumeing game usage?
Replies: 1
Views: 3267

Resumeing game usage?

Hello,

After a game started when one of player internet connection broken , i want to wait him 2 minutes,

there will be 2 seleciton;
- resume game if he back in 2 minutes.
- finished game if not back after 2 minutes.

how can i do that with SFS2X, what should be he main prosedure?

Best Regards
by aliko
04 Apr 2013, 10:51
Forum: SFS2X Questions
Topic: SFSEventType.USER_JOIN_ZONE
Replies: 4
Views: 5586

Re: SFSEventType.USER_JOIN_ZONE

Hello,

thank you very much for your help.
as you said i forgot to close database connection.

it was fixed now.
by aliko
04 Apr 2013, 09:57
Forum: SFS2X Questions
Topic: SFSEventType.USER_JOIN_ZONE
Replies: 4
Views: 5586

Re: SFSEventType.USER_JOIN_ZONE

Hello, There is no any error. i created a debug trace notes. for 9th user i a got this. 04 Nis 2013 | 11:58:07,252 | INFO | pool-1-thread-1 | Extensions | | {MyExt}: login extension:Guest#9 requested 04 Nis 2013 | 11:58:07,279 | INFO | pool-1-thread-1 | Extensions | | {MyExt}: login:Guest#9 point:99...
by aliko
04 Apr 2013, 09:23
Forum: SFS2X Questions
Topic: SFSEventType.USER_JOIN_ZONE
Replies: 4
Views: 5586

SFSEventType.USER_JOIN_ZONE

Hello,

I have created a handler like below

addEventHandler(SFSEventType.USER_JOIN_ZONE, ZoneJoinEventHandler.class);

it is working normally until 10th user login.
but when 10th and later user try to login extension is not working.
What will be the problem? Can you help me please?

Best Regards
by aliko
13 Mar 2013, 09:01
Forum: SFS2X Questions
Topic: Acces playerlist that not joined room
Replies: 8
Views: 7692

Re: Acces playerlist that not joined room

I try to explain with more details, i'm at lobby, i'm creating a game room without leaving lobby "settings.leaveLastJoinedRoom=false;" my lastjoined rooms are lobby and gameroom. at game room i have a button that exit and and goto lobby. when i leave gameroom and try to rejoin lobby i got ...
by aliko
12 Mar 2013, 15:36
Forum: SFS2X Questions
Topic: Acces playerlist that not joined room
Replies: 8
Views: 7692

Re: Acces playerlist that not joined room

Thank you very much again :)
One more question,

settings.leaveLastJoinedRoom=false;


if i config this setting like that i have problem on exit game room.
how can i activate the lobby room after exiting game room.
i got The target room is null error when i try to send chat msg.
by aliko
12 Mar 2013, 15:12
Forum: SFS2X Questions
Topic: Acces playerlist that not joined room
Replies: 8
Views: 7692

Re: Acces playerlist that not joined room

Thank you very much for your reply.
I solved the variable from with a server extension.

Is there a way to enable access playerlist from outside a game room?
by aliko
12 Mar 2013, 09:44
Forum: SFS2X Questions
Topic: Acces playerlist that not joined room
Replies: 8
Views: 7692

Acces playerlist that not joined room

Hello, I'm creating a new game room like below code var settings:SFSGameSettings = new SFSGameSettings("newgame"); settings.maxUsers = 2; settings.maxSpectators = 10; settings.isPublic = true; settings.isGame = true; settings.notifyGameStarted = true; settings.leaveLastJoinedRoom = true; s...

Go to advanced search