Please help :(

12/18/2009 19:58 WHITELIONX#1
I have come across a new problem for myself "IndexOutOfRangeException was unhandled" and I get this with a yellow arrow pointing to.... return Cells[X, Y]; I get this in DMap.cs? It seems to load the maps but then crashes? The source is not actually giving errors or warnings but when I try to f5 it comes up with the IndexOutOfRangeException :(
12/18/2009 20:07 Arcо#2
Quote:
Originally Posted by WHITELIONX View Post
I have come across a new problem for myself "IndexOutOfRangeException was unhandled" and I get this with a yellow arrow pointing to.... return Cells[X, Y]; I get this in DMap.cs? It seems to load the maps but then crashes? The source is not actually giving errors or warnings but when I try to f5 it comes up with the IndexOutOfRangeException :(

I wanna say its probably one of your mobspawns.
Did you recently put in a new spawn before you got that error?
12/18/2009 20:24 WHITELIONX#3
The only thing I remember changing was guards name but it is back to DarkGuard again and the number which changes Guards appearance but again that is back to what it was. Ahhhh I remember when I was playing the game yesterday I tried the /spawn command but never spawned anything? But I never actually messed in the mobspawn.txt or anything like that >.< I removed the lantern a while ago but the server was fine with that removed it started last night so maybe because I tried the /spawn command?
12/18/2009 20:28 Arcо#4
Quote:
Originally Posted by WHITELIONX View Post
The only thing I remember changing was guards name but it is back to DarkGuard again and the number which changes Guards appearance but again that is back to what it was. Ahhhh I remember when I was playing the game yesterday I tried the /spawn command but never spawned anything? But I never actually messed in the mobspawn.txt or anything like that >.< I removed the lantern a while ago but the server was fine with that removed it started last night so maybe because I tried the /spawn command?

That might be it.
Look into mobspawns.txt and remove the last spawn in there.
Tell me if that works.
12/18/2009 20:35 WHITELIONX#5
Nope same problem >.< The /spawn command that I did I don`t even think I did the entire thing correctly because I wasn`t sure how it worked but tested it anyway I think I tried /spawn Pheasant but that was how I wrote it
12/18/2009 20:41 Arcо#6
Quote:
Originally Posted by WHITELIONX View Post
Nope same problem >.< The /spawn command that I did I don`t even think I did the entire thing correctly because I wasn`t sure how it worked but tested it anyway I think I tried /spawn Pheasant but that was how I wrote it

Then you didn't do the command right.
Hmm what else did you do before you got that error?
12/18/2009 20:48 WHITELIONX#7
^^ You know what I decided to do rofl I had another copy of the source and all I have done is copy and pasted the code from other mob.txt and the server has reopened lmao, yup I thought myself it was something to do with either mobs or npcs but wasn`t sure which. I have fixed it now and thank you for helping :) I will place a thanks

request close please