Ok if you get try to log in and get an error similar to this
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
at COServer.Start.Game_FirstDataArrived(Object sender, DataArgs e) in CoFuture_ReleaseServerStart.cs:line 317
which should be one of these 2 lines
Code:
COClient Cli = ((COServer.AuthServerPackets.AuthRequest.AuthBinder)GameClients[e.Conn]).Client;
string User = Cli.Account + ": " + Cli.Char.Name;
and get the Error: Connection with Server is interupted. Please re-login. on your client
make sure in your account table auth is set to 1
eg
Code:
AccountID Password Type Auth Address
NewChar 0 1 NULL
Also make sure tha the password field is blank
Changing the Auth to 1 and having a blank password try to log in again and now you should have the create char screen on the client
If you get
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
at COServer.Start.Game_FirstDataArrived(Object sender, DataArgs e) in CoFuture_ReleaseServerStart.cs:line 317
and get to the create char screen of the client then what i think is happening is that it is connecting you to the game server without first making sure that there is a row in the character table (CharID) with the same accountid as in the account table. CharID == AccountID.... This will raise the exception but allow you to create the char.
After you successfully created the char you should be able to login and these error will not appear for that account/char
I hope this helps the thing to make sure is that Auth is 1 and password is blank
Cheers
Walos
I Have had a bit of a look through this again and if you change this in start.cs
Code:
string User = Cli.Account + ": " + Cli.Char.Name;
ClientList.Items.Add(User);
to
Code:
if (Cli.Status != Mode.CreateCharacter)
{
string User = Cli.Account + ": " + Cli.Char.Name;
ClientList.Items.Add(User);
}
Assumming that Auth is set right in the account table you shouldnt see this error again.
Its caused when you are creating a new Character as Cli.Char does not exist yet
Cheers
Walos