Register for your free account! | Forgot your password?

You last visited: Today at 20:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



5290

Discussion on 5290 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 50
Received Thanks: 6
5290

Problem solved, Thanks everybody.
#request close
§hift is offline  
Old 02/08/2011, 17:30   #2
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
Why is your key a byte array?
Is it supposed to be a int or byte array?
Also if that byte array is longer than 4 bytes (the size of an int, what a coincidence!)
the size (54 in this case) should also be different. (Same goes for if its shorter than 4..)
Basser is offline  
Thanks
1 User
Old 02/08/2011, 17:41   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
I forget which patch the auth response packet changed in (fairly sure it was before 5290 but just asking). Are you trying to run current patch? Or some new but pre current one? The current auth response packet from my old source is...

Code:
public static byte[] AuthResponse(string Ip, uint UID, uint key, ushort Port)
        {
            byte[] Packet = new byte[52];
            WriteUInt16(52,0, Packet);
            WriteUInt16(1055, 2, Packet);
            WriteUInt32(UID, 4, Packet);
            WriteUInt32(key, 8, Packet);
            WriteUInt32(Port, 12, Packet);
            WriteUInt16(42508, 16, Packet);
            WriteUInt16(67, 18, Packet);
            WriteString(Ip, 20, Packet);
            return Packet;
        }
Sadly the parts aren't well labeled but it's working just fine using the following inputs.

Ip = game ip (obviously)
uid = Client uid
key = auth response type (2 for valid login)
port = game port.

if it's then failing to connect to game server chances are you're using the wrong port for the game server listener (keep in mind that using loader can force the port settings... so make sure they match up ^^)
pro4never is offline  
Thanks
1 User
Old 02/08/2011, 18:26   #4
 
elite*gold: 0
Join Date: Jan 2011
Posts: 50
Received Thanks: 6
Sucks pretty hardcore, I still cannot login :/
§hift is offline  
Old 02/08/2011, 19:53   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
So you mean to say that with that packet the client never attempts to connect to the game port at all? O_o that's simply not something that should be possible... Make sure that your loader ip/port settings match up with the stuff being sent in that packet as well as your game server listeners cause it certainly should be working fine.
pro4never is offline  
Old 02/08/2011, 20:25   #6
 
QuickCo's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 139
Received Thanks: 45
Are you sending the seed packet?
QuickCo is offline  
Old 02/08/2011, 21:12   #7
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
The client won't even send the auth response packet if you don't send the seed packet so that all comes before sending the auth response. Should in no way be an issue.
pro4never is offline  
Old 02/08/2011, 22:19   #8
 
elite*gold: 0
Join Date: Jan 2011
Posts: 50
Received Thanks: 6
Of Course I Send the Seed Packet, But I found other stupid things.
Problem solved.

Thanks Chris/Bas/QuickCO.

Respect~!
§hift is offline  
Reply


Similar Threads Similar Threads
Fix 5290+ source NPC option!!!!
09/18/2010 - CO2 PServer Guides & Releases - 1 Replies
First thx pro4ever rel this source !!!! I set up , and test it ... Test the npc option is not work... now i will teach you how to fix that Open SocketClient.cs Add code:
pro4never's 5290 source ???
09/03/2010 - CO2 Private Server - 2 Replies
who can work it online...and login no error please help me how to setup one by one
where can i download 5290 c# Source
09/02/2010 - CO2 Private Server - 19 Replies
hello I saw some people talking about the new 5290 C# Source. if any one have it or know from where can i download Source. Tell ME Please (If it is full or not, there are my friends will be working In IT ) They Learned C# Language Sorry For My Bad English:p



All times are GMT +1. The time now is 20:50.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.