can some one knows how to fix this or a guide pls

10/05/2010 05:41 marlyandedsel#1
I got error in my mob.cs line 688
just look at the image file I inlcude here.
10/05/2010 07:19 Arcо#2
try replacing
byte Tries = (byte)Rnd.Next(0, From.Count);
ItemID = (uint)From[Tries];
with
int Tries = (byte)Rnd.Next(0, From.Count);
ItemID = Convert.ToUInt32(From[Tries]);
10/05/2010 10:05 marlyandedsel#3
Quote:
Originally Posted by Аrco View Post
try replacing
byte Tries = (byte)Rnd.Next(0, From.Count);
ItemID = (uint)From[Tries];
with
int Tries = (byte)Rnd.Next(0, From.Count);
ItemID = Convert.ToUInt32(From[Tries]);


thanks i will it and i will inform you here if it works

Quote:
Originally Posted by Аrco View Post
try replacing
byte Tries = (byte)Rnd.Next(0, From.Count);
ItemID = (uint)From[Tries];
with
int Tries = (byte)Rnd.Next(0, From.Count);
ItemID = Convert.ToUInt32(From[Tries]);

i still get errors, I have attach some image check it out if i have done something wrong.