Spodii / netgore

Cross platform online rpg engine using C# and SFML
http://www.netgore.com/
40 stars 16 forks source link

Collections Index Error - Map Instances #374

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As I've been doing work on Map Instancing in NetGore recently I've come across 
a bug that happens every so often (quite frequently).

After I teleport to a new instance of a map, at some point in the next X 
minutes (variable times it seems like) an ArgumentOutOfRangeException occurs in 
the TSList.cs class, on line 415: return _list[index];. The problem is, _list 
holds only 1 item in its list, my character. But when you view the index's 
value, it is 1. It should be 0.

Please see attachment for visuals.

Original issue reported on code.google.com by darksumm...@gmail.com on 4 May 2013 at 3:23

Attachments:

GoogleCodeExporter commented 9 years ago
Just looked into this and it was me, not a vanilla NetGore issue. Sorry to post 
this.

Original comment by darksumm...@gmail.com on 4 May 2013 at 4:14