Search found 108 matches

by sankarganesh86
13 Aug 2019, 03:48
Forum: SFS2X Questions
Topic: User Reconnection In SFS2X
Replies: 6
Views: 8097

Re: User Reconnection In SFS2X

Hi Lapo,

I am waiting for ur response for my previous post questions !!!
Now a days why u didn't give response for some post any reasons behind it to skip some post in forums ?
by sankarganesh86
10 Aug 2019, 14:39
Forum: SFS2X Questions
Topic: User Reconnection In SFS2X
Replies: 6
Views: 8097

Re: User Reconnection In SFS2X

Hi Lapo, Client AS3 We added the 2 events CONNECTION_RETRY & CONNECTION_RESUME in Client Side Server Side We added the 2 Events SFSEventType.USER_RECONNECTION_TRY & SFSEventType.USER_RECONNECTION_SUCCESS In Admin Page I set User Reconnect time frame to 10 and restart the server too Is there ...
by sankarganesh86
08 Aug 2019, 09:32
Forum: SFS2X Questions
Topic: User Reconnection In SFS2X
Replies: 6
Views: 8097

Re: User Reconnection In SFS2X

Hi Thanks for the fast Response !!! Where we need to enable or disable the HRC+ in SFS2X ? private function onConnectionLost(evt:SFSEvent):void { Trace("Connection was lost. Reason: " + evt.params.reason) } We need to trigger any other Event from client side from the above Function for to ...
by sankarganesh86
08 Aug 2019, 08:29
Forum: SFS2X Questions
Topic: User Reconnection In SFS2X
Replies: 6
Views: 8097

User Reconnection In SFS2X

Hi,


Client - AS3.0
Server - Java

Due to poor internet connection some times our client got disconnected from the server and after few sec again Internet is connected
So how to handle this kind of scenario ? We need to maintain same session for that user in our server
Please guide me ASAP
by sankarganesh86
04 Dec 2017, 16:58
Forum: SFS2X ActionScript 3 API
Topic: Highly Resilient Connection (HRC) system problem
Replies: 7
Views: 15053

Re: Highly Resilient Connection (HRC) system problem

Hi Lapo, As per your suggestion i create a extension and ask client to ping the server for every 30 seconds 6 Android tabs and 2 Systems are connected with the Local SFS2X server Total 6+2 = 8 Clients All clients will send ping request at every 30 seconds to SFS2X , At the time of starting all send ...
by sankarganesh86
04 Dec 2017, 12:47
Forum: SFS2X ActionScript 3 API
Topic: Highly Resilient Connection (HRC) system problem
Replies: 7
Views: 15053

Re: Highly Resilient Connection (HRC) system problem

I develop a game application in as3 ,I received a frequent disconnect from server side , I attach the server logs also Please get the attachment !!! Socket closed automatically, I don't know why ... In Zone i set <overrideMaxUserIdleTime>3000</overrideMaxUserIdleTime> In Server I set <sessionMaxIdle...
by sankarganesh86
01 Dec 2017, 11:50
Forum: SFS2X ActionScript 3 API
Topic: Highly Resilient Connection (HRC) system problem
Replies: 7
Views: 15053

Re: Highly Resilient Connection (HRC) system problem

1) first we will run the client it shows, Connection failure msg 2) After we will start the server ...is there any event client will keep on checking server is up or down ? 3) Or we will put a Timer for to check the server "sfs.loadConfig("config.xml");" it will keep on calling u...
by sankarganesh86
01 Dec 2017, 09:09
Forum: SFS2X ActionScript 3 API
Topic: Highly Resilient Connection (HRC) system problem
Replies: 7
Views: 15053

Re: Highly Resilient Connection (HRC) system problem

Is there any way to re-establish the connection in this scenario ?
with new instance ?
by sankarganesh86
30 Nov 2017, 11:26
Forum: SFS2X ActionScript 3 API
Topic: Highly Resilient Connection (HRC) system problem
Replies: 7
Views: 15053

Highly Resilient Connection (HRC) system problem

Hi, Server version 2.13 Client API 1.7.5 And i changed "User Reconnect timeframe" to 50 using Admin tool And i added below events also in coding part sfs.addEventListener(SFSEvent.CONNECTION_RESUME, onConnectionResumed); sfs.addEventListener(SFSEvent.CONNECTION_RETRY, onConnectionRetry); I...
by sankarganesh86
11 Nov 2017, 11:33
Forum: SFS2X ActionScript 3 API
Topic: SFS2X how to set Global Room Variables
Replies: 3
Views: 14488

Re: SFS2X how to set Global Room Variables

Hi, I create a room in java server side after receive a request from client AS3, Room created successfully but at the time of room creation i set some room variables that is not received after room created in client side, Below i added my code CreateRoomSettings settings = new CreateRoomSettings(); ...
by sankarganesh86
01 Aug 2017, 08:49
Forum: SFS2X Questions
Topic: Room Instance Not deleted after delete executed
Replies: 12
Views: 12806

Re: Room Instance Not deleted after delete executed

As per you suggestion i override the destory function and wrote cancel all timers in the code
but it still running after room deleted

Please see get the attachment !!!

In the destory method i put some traces too but that is also not coming in the logs
by sankarganesh86
01 Aug 2017, 06:03
Forum: SFS2X Questions
Topic: Room Instance Not deleted after delete executed
Replies: 12
Views: 12806

Re: Room Instance Not deleted after delete executed

ok Thanks Lapo!!!
I will update the code
by sankarganesh86
31 Jul 2017, 16:18
Forum: SFS2X Questions
Topic: Room Instance Not deleted after delete executed
Replies: 12
Views: 12806

Re: Room Instance Not deleted after delete executed

Thanks Lapo,

And error in stack in the eventHandler class

Before sending data to the user i will check if the user is connected or not

User.isConnected() status and i will send the data
it will clear that problem ?
by sankarganesh86
31 Jul 2017, 15:36
Forum: SFS2X Questions
Topic: Room Instance Not deleted after delete executed
Replies: 12
Views: 12806

Re: Room Instance Not deleted after delete executed

I created task scheduler not in base class and that task scheduler class in not the extension of the SFSEXTENSION It is separate class then how we will destroy from the base class using below function in the base class ? @Override public void destroy() { super.destroy(); if (taskHandle != null) task...
by sankarganesh86
31 Jul 2017, 13:07
Forum: SFS2X Questions
Topic: Room Instance Not deleted after delete executed
Replies: 12
Views: 12806

Re: Room Instance Not deleted after delete executed

Yes you correct !!! i stored sfs users in arraylist and i will remove the user at the time of user disconnect from the array but it array size is not reduced with in fraction of seconds that why may be problem raised and if user disconnected i need to send msg to other users in the game play for use...

Go to advanced search