- Nov 6, 2018
- 82
- 0
- 18
Hello, i'm having an issue with a crash right now, i'm pretty sure the cause is portal @Far any ideas? Any help is appreciated
Error:
The line causing the error is:
public Cell GetCell(Point location)
{
return Cells[location.X, location.Y];
}
Specifcally the "return Cells"
Error:
Code:
Server.MirEnvir.Cell GetCell(System.Drawing.Point) - System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Server.MirEnvir.Map.GetCell(Point location) in C:\Users\CrazyAlien\Desktop\Server1\mir2-master\Server\MirEnvir\Map.cs:line 602
at Server.MirObjects.PlayerObject.Run(MirDirection dir) in C:\Users\CrazyAlien\Desktop\Server1\mir2-master\Server\MirObjects\PlayerObject.cs:line 5688
at Server.MirNetwork.MirConnection.Run(Run p) in C:\Users\CrazyAlien\Desktop\Server1\mir2-master\Server\MirNetwork\MirConnection.cs:line 877
at Server.MirNetwork.MirConnection.ProcessPacket(Packet p) in C:\Users\CrazyAlien\Desktop\Server1\mir2-master\Server\MirNetwork\MirConnection.cs:line 250
at Server.MirNetwork.MirConnection.Process() in C:\Users\CrazyAlien\Desktop\Server1\mir2-master\Server\MirNetwork\MirConnection.cs:line 184
at Server.MirEnvir.Envir.WorkLoop() in C:\Users\CrazyAlien\Desktop\Server1\mir2-master\Server\MirEnvir\Envir.cs:line 573
The line causing the error is:
public Cell GetCell(Point location)
{
return Cells[location.X, location.Y];
}
Specifcally the "return Cells"
Last edited: