Search found 6 matches

by tortenazor
14 Mar 2012, 10:55
Forum: SFS2X Questions
Topic: The supplied index is out of bounds.
Replies: 14
Views: 17894

Re: The supplied index is out of bounds.

Hello,

I have upgraded both the server and the client to the latest releases ( attaching screenshot to confirm )

I understand that network errors can happen and packets can be lost. My game is already designed to deal with that. My problem with that particular error is that when it happens my ...
by tortenazor
13 Mar 2012, 23:56
Forum: SFS2X Questions
Topic: The supplied index is out of bounds.
Replies: 14
Views: 17894

Re: The supplied index is out of bounds.

Hi,

here's the stack trace I get

at flash.utils::ByteArray/writeBytes()
at com.smartfoxserver.v2.core::SFSIOHandler/handlePacketData()
at com.smartfoxserver.v2.core::SFSIOHandler/onDataRead()

also I opened a post on the as3 API forum, sice i'm uncertain where this belongs

http://forums ...
by tortenazor
13 Mar 2012, 18:19
Forum: SFS2X ActionScript 3 API
Topic: Random AS3 API crash
Replies: 3
Views: 7773

Re: Random AS3 API crash

Hi,

just a follow-up post. Updated bopth server and APi to latest releases and the issue is still there. Unfortunately I can't reproduce the rror. It happens very randomly.

In the meantime I suggest a patch that try catches this block

at flash.utils::ByteArray/writeBytes()
at com.smartfoxserver ...
by tortenazor
12 Mar 2012, 11:27
Forum: SFS2X Questions
Topic: The supplied index is out of bounds.
Replies: 14
Views: 17894

Re: The supplied index is out of bounds.

Hi,

I get this error myself as well. It happens very randomly and so far I haven't been able to reproduce the error or create a sequence of steps that reproduces it. I have a realtime multiplayer race when car's positions are broadcasted to all players. This error happens sometimes, it is very rare ...
by tortenazor
01 Mar 2012, 12:55
Forum: SFS2X ActionScript 3 API
Topic: Random AS3 API crash
Replies: 3
Views: 7773

Random AS3 API crash

Hi,

we've developed a realtime racing game using SFX. It works great so far. However from time to time the flash client throws this:

RangeError: Error #2006: Index out of limits
at flash.utils::ByteArray/writeBytes()
at com.smartfoxserver.v2.core::SFSIOHandler/handlePacketData()
at com ...
by tortenazor
01 Mar 2012, 12:49
Forum: SFS2X ActionScript 3 API
Topic: Access room variable before joining it
Replies: 7
Views: 13130

Access room variable before joining it

Hi,

I seem not to be able to access a room's variables before joining in. I understand this is meant to minimize traffic. But I was wondering if there was any way to do it, maybe some flag I missed to have rooms broadcast variables to all the zone instead of only to joined users.

Thanks