Register for your free account! | Forgot your password?

You last visited: Today at 01:20

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

Advertisement



5250 Packet Values

Discussion on 5250 Packet Values within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
5250 Packet Values

Im currently mapping all of the 5250 packets which will bring us right upto date once again. Most of them are pretty straight forward and ive already started to update the wiki!

However theres a few values knocking around which ive never seen before, and i was wondering if anyone could provide any suggestions as to what they could be.

Crossed out values have been figured out.

This will be updated.

Char Info - 1006:
Offset 42 - 1522
Offset 79 - 21
Mentor Packet - 2066:
Offset 24 - 999999 (Value cannot be altered, if it is changed the packet is ignored)
Offset 28 - 20100417
Offset 32 - 13660
Korvacs is offline  
Thanks
6 Users
Old 04/29/2010, 18:59   #2
 
elite*gold: 0
Join Date: Feb 2010
Posts: 129
Received Thanks: 30
Quote:
Originally Posted by Korvacs View Post
Im currently mapping all of the 5250 packets which will bring us right upto date once again. Most of them are pretty straight forward and ive already started to update the wiki!

However theres a few values knocking around which ive never seen before, and i was wondering if anyone could provide any suggestions as to what they could be.

Crossed out values have been figured out.

This will be updated.

Char Info - 1006:
Offset 42 - 1522
Offset 79 - 21
Mentor Packet - 2066:
Offset 24 - 999999 (Value cannot be altered, if it is changed the packet is ignored)
Offset 28 - 20100417
Offset 32 - 13660
Well sorry can't help there
But are you gonna end up release these packets? ._.
Øblivion is offline  
Old 04/29/2010, 23:11   #3


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Yes, some are already on the wiki.
Korvacs is offline  
Old 04/30/2010, 00:23   #4
 
elite*gold: 0
Join Date: Feb 2010
Posts: 129
Received Thanks: 30
Quote:
Originally Posted by Korvacs View Post
Yes, some are already on the wiki.
Sounds cool
Wish i could help
Øblivion is offline  
Old 04/30/2010, 09:03   #5
 
elite*gold: 0
Join Date: Mar 2010
Posts: 126
Received Thanks: 14
Wish I could understand it. Lol
-Spirits- is offline  
Old 04/30/2010, 10:28   #6


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Its not that difficult alot of it is simply experimentation with values, which is how i figured out 90% of the Mentor packet layout. The rest is looking at existing values in the packets and seeing how they relate to the client, for example:

In the mentor packet i originally got caught up with this value:

20100417

It was a uint (4bytes) not a ulong (8bytes) and i had never seen anything like it, when i was poking around in the mentor system on the client looking for anything that could possibly be related, i noticed that the enrolement date was.

2010, 04, 17

And that was that, i was fairly supprised that they would send the date as a number, they usually send such values as a string, but there we go.

The other number,

13660

Was in fact not a ushort (2bytes) as i originally suspected, it was simply the level and class (both 1 byte in size) right next to each other, i had forgotten that they were in the packet.

So its simply about reading and understanding the data that you are given, and then experimenting with empty areas of the packet to find any other values which you couldnt see previously.
Korvacs is offline  
Old 05/01/2010, 00:36   #7
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
great effort Korvacs (we all used to c u as a great helper)

if i'm allowed to note something if u don't mind ..

take a look at the Character info packet again , i ddnt actually test it but when i read it i guess it will dc the client coz the Packet length is less than the bytes it sends
Quote:
106 + TotalStringLength
which are 3 strings
Quote:
106 byte String_Count
107 byte First_Name_Length
108 string First_Name
109 + Pos byte Second_Name_Length
110 + Pos string Second_Name
111 + Pos byte Spouse_Name_Length
112 + Pos string Spouse_Name
i think it should be
Quote:
109 + TotalStringLength
or
Quote:
106 + TotalStringLength+StringsCount
or change the position where start to r8 the strings
Quote:
103 byte String_Count
104 byte First_Name_Length
i am sure u know very much better than me but i thought i might give a hand
samehvan is offline  
Old 05/01/2010, 01:10   #8


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Typo, opps!

Fixing it now, this wouldnt disconnect the client though, the spouse name would have been trimmed by 3 bytes thats all.

Mistakes belong in the wiki thread though for future reference, this is just about the values im posting.
Korvacs is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[HELP] Detour connections Client 5250.
06/29/2010 - CO2 Private Server - 18 Replies
Okay, so I want the client to connect to any IP I want. I can't edit the server.dat, it's encrypted. (Do not send me DatCryptor, I know this isn't working.) I've tried Nullable's ConquerLoader as well, but it simply freezes the client, it's very strange. So does anyone have a solution? Its Client patch 5250.
5250 source confusion
06/11/2010 - CO2 Private Server - 5 Replies
<edit> Figured out what was confusing me so much. 5250 uses port 9959 rather than 9958 like earlier versions for it's initial connection which was confusing me. I'll update thread as I run into other annoying problems >.<
5250+ Server.dat Injection
05/18/2010 - CO2 Private Server - 4 Replies
Apparently 5250+ injects a dll that changes the server.dat. Does anyone have any info on how to connect to private servers/local ip? Any info would be helpful.
ineed sourse 5250 for any money
05/14/2010 - CO2 Private Server - 2 Replies
i need sourse 5250 free or for money replay any one for me and connect me:[email protected]



All times are GMT +2. The time now is 01:20.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.