BitSwarmClient exception

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

User avatar
janheuninck
Posts: 68
Joined: 23 Nov 2011, 01:35
Location: Vancouver BC, Canada

BitSwarmClient exception

Postby janheuninck » 10 Sep 2012, 18:45

The last few weeks my client often throws a BitSwarmException and crashes the game. I had this issue before I upgraded to v1.1 of the API, and after upgrading the issue remains. It is hard to describe when the error occurs, because it seems to be totally random. Is there a way to catch this exception or get more information about it?

Image

Cheers
Jan
User avatar
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: BitSwarmClient exception

Postby A51Integrated » 11 Sep 2012, 15:16

If there's an exception being thrown there, I would look at what is being passed by the server to the client. Look at the server logs and see if there are any dropped outgoing messages. An error like that often is the result of a poor connection and packets get dropped.
A51 Integrated
http://a51integrated.com / +1 416-703-2300

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 38 guests