Two days ago, some friends of mine decided they wanted to play some CO, but not the actuall server, so I went and threw together a server with all my old files I had saved. Needless to say, it became a headache fixing stuff because I forgot to backup alot of files from my previous work. Anyway, I got almost everything back to normal, when I ran into a NullReferenceException I've never encountered before. It seems the fix I'm acustom to using...
Code:
e.g: if(blabla != null)
Just won't work, it keeps denying the fix.
Here's the exception.
Code:
public byte[] String(long CharId, byte Type, string name)
{
ushort PacketType = 1015;
[COLOR="Red"]byte[] Packet = new byte[13 + name.Length];[/COLOR]
fixed (byte* p = Packet)
Every time I attempt the fix, it presents issue with "String" and "ushort"
I've attempted different experimental methods, but nothing. I'm seriously lost, I've been trying awhile, and I'm just not getting anywhere.
If anyone can offer me a hand, it would be greatly appreciated.