#Edit just used the one from Albetros as a temp fix.
var settings = new Properties.Settings();
AuthResponsePacket ar = new AuthResponsePacket();
ar.AccountId = (uint)acc.id;
ar.Port = settings.ServerLocalPort;
ar.Token = (uint)Rand.Next();
ar.IP = settings.ServerLocalIP;
SendPacket(ar);
The EntityID is my UID.Quote:
well if it success the Token should be RANDOM! it shouldn't be static. also the Response should send the AccountID not the UID/EntityID try that it will solve ur prob :)Code:var settings = new Properties.Settings(); AuthResponsePacket ar = new AuthResponsePacket(); ar.AccountId = (uint)acc.id; ar.Port = settings.ServerLocalPort; ar.Token = (uint)Rand.Next(); ar.IP = settings.ServerLocalIP; SendPacket(ar);