okay, so let me cut to the chase. I have been getting this problem in my program.cs file and I have not yet figured out how to solve it... I tried commenting it but yet nothing has happened. when I debug the build the whole solution it brings up the server command prompt with all the data loading then stops at the bottom saying this error (NullReferenceException):
sorry for the noob-ness I have not been coding for a while now...
any ideas would be appreciated (:
on this piece of code:Quote:
Object reference is not set to an instance of an object
Code:
[COLOR="Red"]if (EntityUID.Now == 0)[/COLOR]
{
Console.Clear();
Console.WriteLine("Database error. Please check your MySQL. Server will now close.");
Console.ReadLine();
return;
}
any ideas would be appreciated (: