I Got stuck on this=/

05/01/2009 04:57 Panquque#1
Hello guys,
well since i got back to lotf because there is nothing to do with binaries and they get boring with the time, well i thought i was gonna try lotf again.

But everytime i open the console i get this:

System.OverflowException: Valor demasiado grande o demasiado pequeño para un byt
e sin firmar.
en System.Convert.ToByte(UInt32 value)
en COServer_Project.NPCs.SpawnAllNPCs() en C:\Documents and Settings\Administ
rador\Escritorio\DropDead Source\DropDead Source files\COServerProject\Entities.
cs:línea 19

It was everything fine until i started messing with the NPC's in the database well only adding them to it, like some sob's and stuff,

And when i add something in there like a npc it does appear in the game but i dissapears in the NPC table, Any ideas of how to fix this?

Thanks.
05/01/2009 05:01 AndreaCo#2
just use localhost/phpmyadmin and go into the npc table and search for the npc id if you want do edit it
05/01/2009 05:11 CoAttack#3
i know the problem...its in spanish
05/01/2009 05:24 InfamousNoone#4
Quote:
Originally Posted by CoAttack View Post
i know the problem...its in spanish
Anyone who's actually delt with C# can tell by the ENGLISH exception name, that it's simply something like the following being done:

Convert.ToByte(1000);

1000 exceeds Byte.Max, therefore, exception.