AuthResponsePacket - 5518

12/29/2011 11:54 I don't have a username#1
#Edit just used the one from Albetros as a temp fix.
12/29/2011 13:42 Mr_PoP#2
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);
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 :)
12/29/2011 18:20 I don't have a username#3
Quote:
Originally Posted by Mr_PoP View Post
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);
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 :)
The EntityID is my UID.

Also token shouldn't be random it's used to authorize the account at the gameserver, if it's banned etc.
12/29/2011 18:23 Korvacs#4
As far as the client is concerned the 2 values can be practically anything (i seem to remember it not liking being sent 0s for the values), it wont disrupt the login process. So that's not where the problem is.
12/29/2011 18:51 I don't have a username#5
I will recheck everything again, thanks tho :)