Page 1 of 1
avatar timeout
Posted: 03 Nov 2009, 03:22
by danielfck
hi there!
here is one big issue regarding the timeout on the avatar.
When the avatar want to change from ROOM_A to ROOM_B, the event is not triggered or dispatched.
later we found out that there could be a server disconnection since the avatar have been idle for about 10min.
is there any way to prevent this disconnection from happening?
please help!
Posted: 03 Nov 2009, 05:18
by anilone
Modify your server configuration "config.xml"
Refer and change the values of MaxUserIdleTime , MaxSocketIdleTime to a comfortable value of your choice
Posted: 04 Nov 2009, 03:25
by danielfck
hi!
we have tried putting this following values below:
<MaxUserIdleTime>9000</MaxUserIdleTime>
<MaxSocketIdleTime>9000</MaxSocketIdleTime>
<MaxIdleTime>9000</MaxIdleTime>
but after 5 minutes of inactivity, the avatar still cannot move from one room to another room.
How come this cannot work?
anilone wrote:Modify your server configuration "config.xml"
Refer and change the values of MaxUserIdleTime , MaxSocketIdleTime to a comfortable value of your choice
Posted: 04 Nov 2009, 04:44
by anilone
why you concluded that it was due to time out. Have you got "SFSEvent.onConnectionLost" notification?
Is there any error when you called joinRoom function? like SFSEvent.onJoinRoomError
Re: avatar timeout
Posted: 04 Nov 2009, 18:11
by Bax
danielfck wrote:hi there!
here is one big issue regarding the timeout on the avatar.
When the avatar want to change from ROOM_A to ROOM_B, the event is not triggered or dispatched.
later we found out that there could be a server disconnection since the avatar have been idle for about 10min.
is there any way to prevent this disconnection from happening?
please help!
In one of the examples provided with OpenSpace room change is possible. Are you sure you are doing the proper steps in changing room? Do you have server-side or client-side errors logged?