Register for your free account! | Forgot your password?

You last visited: Today at 12:31

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

Advertisement



Packets

Discussion on Packets within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
PrototypeGaming's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 8
Received Thanks: 2
Packets

A few minutes ago, I decided to log the incoming packets in Project Manifest Source. This is my first time working with these packets, but I wanted to learn just incase I decide to downgrade/upgrade the source.

I created a character and looked at the character creation packet below. According to looking at version 4267's structure, the first two bytes' (Are they called bytes? Just want to make sure.) value is 60, but if I did my calculation correctly using the packet printed in the console its value is 104. 112 (104 + 8) should be the length of the packet. For the next two bytes, I got 1001 then after that I'm confused.

My questions are:
Quote:
-Why were the first two bytes' values different? Did it use a different structure that was not in the wiki?
-Using the character creation packet, can you break it down and show me how you get the values?
Account ID: test5
Password: test
Character Name: Hello

Code:
Loading... Please wait...
        Loaded 190 Lottery Items.
        Loaded 170 Compressed Data Maps.
        Loaded 357 Npcs Spawns.
        Loaded 18652 Monsters.
        Loaded 297 Monster Families.
Finished loading.
1C 00 1C 04 77 8E E3 EA 45 42 0F 00 7C 00 45 6E             ....w...EB..|.En
2C 81 58 FF 84 73 00 00 0A 00 00 00 54 51 53 65             ,.X..s......TQSe
72 76 65 72                                                 rver

68 00 E9 03 00 00 00 00 00 00 00 00 00 00 00 00             h...............
00 00 00 00 48 65 6C 6C 6F 00 00 00 00 00 00 00             ....Hello.......
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 EB 03 0A 00 77 8E E3 EA 32 43 38 31             ........w...2C81
35 38 46 46 38 34 37 33 00 00 00 00 00 00 00 00             58FF8473........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 54 51 53 65 72 76 65 72             ........TQServer

1C 00 1C 04 77 8E E3 EA 45 42 0F 00 7C 00 45 6E             ....w...EB..|.En
2C 81 58 FF 84 73 00 00 0A 00 00 00 54 51 53 65             ,.X..s......TQSe
72 76 65 72                                                 rver

20 00 1A 27 45 42 0F 00 EA 03 00 00 8B B3 3C 06              ..'EB........<.
4A 00 00 00 B7 01 83 01 00 00 00 00 00 00 00 00             J...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 FF FF FF FF D9 BF 3C 06              ..'EB........<.
68 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             h...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 00 00 00 00 D9 BF 3C 06              ..'EB........<.
4B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             K...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 00 00 00 00 9D C9 3C 06              ..'EB........<.
4C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             L...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 03 00 00 00 F7 C9 3C 06              ..'EB........<.
60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             `...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 00 00 00 00 08 CB 3C 06              ..'EB........<.
4D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             M...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 00 00 00 00 53 CB 3C 06              ..'EB......S.<.
4E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             N...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 00 00 00 00 A5 CB 3C 06              ..'EB........<.
61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             a...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 00 00 00 00 E7 CB 3C 06              ..'EB........<.
84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 FF FF FF FF 74 CD 3C 06              ..'EB......t.<.
68 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             h...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 B2 01 7E 01 60 F3 3C 06              ..'EB....~.`.<.
89 00 00 00 AE 01 7C 01 00 00 00 00 FF FF FF FF             ......|.........
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 00 00 00 00 1F FC 3C 06              ..'EB........<.
60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             `...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 B3 01 7C 01 28 00 3D 06              ..'EB....|.(.=.
89 00 00 00 B2 01 7E 01 00 00 00 00 FF FF FF FF             ......~.........
54 51 53 65 72 76 65 72                                     TQServer

20 00 FE 03 0F 04 3D 06 45 42 0F 00 D1 BB 0D 00              .....=.EB......
B3 01 7C 01 02 00 00 00 00 00 00 00 00 00 00 00             ..|.............
54 51 53 65 72 76 65 72                                     TQServer

0C 00 20 04 45 42 0F 00 02 00 00 00 54 51 53 65             .. .EB......TQSe
72 76 65 72                                                 rver

20 00 1A 27 45 42 0F 00 00 00 00 00 5A 12 3D 06              ..'EB......Z.=.
91 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
54 51 53 65 72 76 65 72                                     TQServer

30 00 EC 03 FF FF FF 00 DD 07 00 00 6F 00 00 00             0...........o...
00 00 00 00 00 00 00 00 04 05 48 65 6C 6C 6F 04             ..........Hello.
41 6C 6C 20 00 07 40 72 65 76 69 76 65 00 00 00             All ..@revive...
54 51 53 65 72 76 65 72                                     TQServer

30 00 EC 03 FF FF FF 00 DD 07 00 00 70 00 00 00             0...........p...
00 00 00 00 00 00 00 00 04 05 48 65 6C 6C 6F 04             ..........Hello.
41 6C 6C 20 00 07 40 72 65 76 69 76 65 00 00 00             All ..@revive...
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 00 00 00 00 B5 5B 3D 06              ..'EB.......[=.
5E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ^...............
54 51 53 65 72 76 65 72                                     TQServer

20 00 1A 27 45 42 0F 00 FF FF FF FF E6 5C 3D 06              ..'EB.......\=.
68 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             h...............
54 51 53 65 72 76 65 72                                     TQServer
PrototypeGaming is offline  
Old 01/01/2011, 12:57   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Your looking at the 4267 client version packet, and compairing it to a 5135 client version packet, that answers all your questions, they arnt the same packet.
Korvacs is offline  
Old 01/01/2011, 17:54   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
To expand on that just a little bit...

The first two bytes in the packet are the length value for the packet. They count how many bytes (it's bytes, not bits, they are different but w/e. Lots of ppl mix them up, myself included) the packet contains (without the 8 byte seal). As such the first two bytes will change VERY often for a few reasons.

#1: the packet changes... new values are added which means you need more bytes to send this new data and as such the packet length increases

#2: the packet size is variable (it has a count of objects being sent such as in an update packet or multi target spell packet) or it contains a variable length string (generally contains a byte preceding the string listing how long the string will be).

If you want some more info on packets I've provided some links in my packets/proxy thread which might help some. If not I can do my best to help with any questions you have on them (packets aren't tooo difficult to grasp... just takes a bit to think about them in the right way)
pro4never is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Help]Packets
08/25/2010 - CO2 Programming - 24 Replies
Can someone please tell me how to send and receive packets or at least give me some links for explanations. note: I am using C#.
how to use packets?
07/26/2009 - Kal Online - 12 Replies
how to use packet hack and where to download them? lg master
help in +4 ore packets
04/09/2008 - RF Online - 5 Replies
can you please tell me what packet to look into if i am going to alter the packet for ore mining, is it the send or the receive part? please just what to look into and then from that on ill make my way through.



All times are GMT +1. The time now is 12:37.


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.