Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 12:49

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

Advertisement



How can I check the packet structure?

Discussion on How can I check the packet structure? within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
Xorg's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 87
Received Thanks: 3
How can I check the packet structure?

Hey,
We have this packet header database:
Code:
SEND:


0x00____________ Restore Char
0x01____________ AntiCp
0x02____________ Login
0x03____________ HackShield + engine.exe CRC check
0x04____________ CreateChar 
0x05____________ Ping
0x06____________ ???
0x07____________ DeleteChar
0x08____________ Welcome Packet
0x09____________ VersionCheck
0x0A____________ LoadChar
0x0B____________ GameStart
0x0C____________ SYSTEM_GUILDWAR_SIEGEGUN
0x0D____________ SYSTEM_GUILDWAR_SIEGEGUN
0x0E____________ SYSTEM_GUILDWAR_SIEGEGUN
0x0F____________ Attack
0x10____________ ExecuteSkill
0x11____________ Chat
0x12____________ OnTeleport
0x13____________ Deactive in char -> CPlayer::LoadChar
0x14____________ Move
0x15____________ MoveStop
0x16____________ NPC replay 
0x17____________ NPC tax
0x18____________ BuyItem (NPC only ?)
0x19____________ SellItem
0x1A____________ DropItem
0x1B____________ GameStop
0x1C____________ AddTradeItem
0x1D____________ AnimationState
0x1E____________ AddSkillPoints
0x1F____________ Rest/sit
0x20____________ PicUpItem
0x21____________ UseItem
0x22____________ AskForTrade
0x23____________ AnswereTheThreadAsk
0x24____________ ChancelTrade
0x25____________ Revival
0x26____________ SiegeGunProcess ( FALSE )
0x27____________ SiegeGunProcess ( TRUE )
0x28____________ SiegeGunConrol
0x29____________ LearnSkill
0x2A____________ SkillUp
0x2B____________ SkillAnimation
0x2C____________ AskForParty
0x2D____________ AnswerOfAskForParty
0x2E____________ GUILD
0x2F____________ LeadParty
0x30____________ KickPlayerFromParty (only party owner)
0x31____________ InsertIntoStorage
0x32____________ GetFromStorage
0x33____________ Quest ..+Fishing ?
0x34____________ GetStorage
0x35____________ BirdEvent
0x36____________ Important no idea .. don't know what it does
0x37____________ -> gives a error normaly..Invalid packet
0x38____________ SaveRevivalPosition
0x39____________ EnchantItem
0x3A____________ SetShopName .. or more ?
0x3C____________ useStoneOfJob
0x3D____________ Emotion
0x3E____________ AgreeTrade
0x3F____________ DestroyItem
0x40____________ FriendListSystem
0x41____________ WearItem
0x42____________ UnwearItem
0x43____________ SwitchShop 0=end 1=start
0x44____________ GambleSystem DICE
0x45____________ StopFishing / Cooking
0x46____________ GetShopName (or Info +items ?)
0x47____________ BuyItemAtShop
0x48____________ MasterOfPaper-Rock-Scissores
0x49____________ IsCooking .. 
0x4A____________ RevivalAccept (from mage..)
0x4B____________ use StoneOfChance
0x4C____________ GoldenLuckyPouch / Silver
0x4D____________ GoldenPot / Silver
0x4E____________ StoneOfBirth
0x4F____________ GetAssaList
0x50____________ AskPVP
0x51____________ AnswerAskPVP
0x52____________ Transform
0x53____________ Bless
0x54____________ ExeciteTransformSkill
0x55____________ Teacher/Student
0x56____________ Invalidle packet at Process
0x57____________ Invalidle packet at Process
0x58____________ change state ?
0x59____________ SkillBar
0x5A____________ MovingScroll
0x5B____________ UpgradeItem
0x5C____________ SendMessage (friendlist)
0x5D____________ StopOpeningWoodenBox
0x5A____________ OpenWoodenBox
0x5F____________ ChangeGuildName
0x60____________ ChangePlayerName
0x61____________ GoFishingIsland
0x62____________ EnforceItem lvl 1 | MixItem | EnforceItem lvl 2
0x63____________ BeadOfFire
0x8a____________ Teleport Scroll
0x89____________ Recall Scroll




RECV


0x3B____________ Item Away?
0x36____________ Item Drop?
0x46____________ Town Port(Send to All players? o.O)
0x3E____________ Someone Attack
0x3D____________ State?
0x38____________ Mob Disapear
0x24____________ Mob Move
0x25____________ Mob Move Stop
0x33____________ Mob Apear
0x22____________ Player Move
0x23____________ Player Move Stop
0x32____________ Player Apear
I want to write some program, some functions, but how can I guess what does packet contain?
For example:
sss.xxxxxxxxxxxxxxxx.t.cccccccccccccccccccccccccccccccccccccccccccccccccc cccccccccccccc
size.name.flag.message

I tried to do with sniffer, but packet is encrypted and its hard to guess whats up there.
Xorg is offline  
Old 08/02/2009, 03:10   #2
 
meak1's Avatar
 
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
the recv packets are not encryptet, the send packets are encrypted but u can search for the assambly part where the packets encrypted then u have the send packets and u can use the same function for sending packets,or u search here in the forum the decrypt encrypt Table from bakabug, sry for my bad english. Here in forum are much sources about sending and sniffing


EDIT:666 Beiträge
meak1 is offline  
Old 08/02/2009, 13:08   #3
 
Xorg's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 87
Received Thanks: 3
Ok for example lets take packet of incoming message.
PHP Code:
if (packet[2] == 0x3c)
{    
    
memcpy((void*)&(Message.Name),(void*)((DWORD)packet+3),16); 
    
int len;
    
len strlen (Message.Name);    
    
memcpy((void*)&(Message.Content),(void*)((DWORD)packet+3+1+len),255); 
    
printf("Name: %s, Content: %s\n"Message.NameMessage.Content);    

I was trying with all combinations, and I have figured out that this packet is built like that.
sss.nnnnnnnnnnnnnnnn.x.mmmmmmmmmmmmm... -> and whats next? Message flag (PM, Horn, Normal chat etc.?)

sss - size
x - IDK
nnnn... - name
mmmmm... - message content

How can I display whole packet at once and see whats up there?
Something like that:
PHP Code:
printf("Packet: %s"packet); 
Xorg is offline  
Reply


Similar Threads Similar Threads
[Request] Packet Structure for CharData Packet
05/16/2011 - Silkroad Online - 4 Replies
can someone tell me which structure the CharData packet has? i would really appreciate this, since im still noob in such things. its just too high for me/ too much information for my head. :handsdown: S->C(3013)...
packet structure
03/09/2008 - Conquer Online 2 - 16 Replies
For what I'd like to do, I think packets are the place to start. After that, probably java then C and VB. This is a question for the people here who are self-taught... what resources would you recommend for... 1. understanding packet structure 2. learning some programming language without enrolling at the local university I'm mainly interested in packet structure and how to capture/decipher/edit/send them, and eventually I'd like to "automate" these functions by writing some programs. ...
new packet structure?proxy=dead?
08/19/2007 - Conquer Online 2 - 2 Replies
I'm hearing that the server.dat has been cracked,and the chat commands are not valid anymore?is it true?Is anyone planing on realeasing the server fix?even without the proxies the are still some uses for it.If some one knows hows can you tell us how to crack it.My hex skills are weak,I know java and trying to learn more on VB,but by the time i crack it the next patch will be out lol :(



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


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.