|
You last visited: Today at 00:05
Advertisement
[Release] +5500 Packets structure , client/packets constants
Discussion on [Release] +5500 Packets structure , client/packets constants within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
09/27/2012, 13:03
|
#1
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
[Release] +5500 Packets structure , client/packets constants
edit : if u know nothing about packets go to this post first
explaining what is packets , and explaining a packet with details and everything
i start making my very own packet structure to use them on my new proxy but i thought of ripping them from the source
so yeah the following packets is ripped of trinity base source
right now im just providing the packets structure and constants and when i have time ill add how the server handle them and what the client send (with an example of packets and what i do)
this thread will be edited by me everyday adding explanations on them and fixing any mistake
Packets Structure
2400: market quest packet
2223: elitepk tournament
2219: elitepk tournament
1063: elitepk tournament
2224: elitepk tournament
2232: elitepk tournament
2233: elitepk tournament
2252: elitepk tournament
1130: elitepk tournament
1058: top guilds
used to send to client the top donations and players ranking in guild
aka OSupervisor CPSupervisor PKSupervisor and so on
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | id | | 8 | uint | OSupervisor | | 12 | uint | PKSupervisor | | 16 | uint | unknowen | | 20 | uint | CPSupervisor | | 24 | uint | HonoraryManager | | 28 | uint | RoseSupervisor | | 32 | uint | TulipFollower | | 36 | uint | LilySupervisor | | 40 | uint | OrchidFollower | | 44 | uint | all flowers |
2102: guild members
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 8 | ushort | guilde page |
1001: EnitityCreate
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 24 | String[16] | Enitity_Name | | 72 | ushort | Body_Type | | 74 | ushort | Class_Type |
1004: chat packet
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | Chat_Color | | 8 | uint | Chat_Type | | 12 | uint | MessageUID1 | | 16 | uint | MessageUID2 | | 20 | uint | Chat_Mesh | | 26 | String[25] | _From | | (27 + _From.Length) | string[26 + _From.Length]) | _to | | (29 + _From.Length) | string[(28 + _From.Length) + _To.Length] | _Message |
1009: itemusage/ping packet
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | UID | | 8 | uint | dwparam | | 12 | uint | id | | 16 | uint | TimeStamp | | 20 | uint | dwExtraInfo1 | | 24 | uint | dwExtraInfo2 | | 28 | uint | dwExtraInfo3 | | 32 | uint | pos1 | | 36 | uint | pos2 | | 40 | uint | pos3 | | 44 | uint | pos4 | | 48 | uint | pos5 | | 52 | uint | pos6 | | 56 | uint | pos7 | | 60 | uint | pos8 | | 64 | uint | pos9 | | 68 | uint | pos10 | | 72 | uint | pos11 |
1015: string packet
1019: known persons
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | UID | | 8 | byte | type | | 9 | byte | online | | 20 | string[16] | name |
1022: action/attack packet
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 8 | uint | attacker | | 12 | uint | attacked | | 16 | ushort | x | | 18 | ushort | y | | 20 | uint | attack_type | | 24 | uint | damage | | 26 | ushort | Ko_Count | | 28 | uint | Response_dmg | | 32 | byte | first_effect | | 33 | byte | second_effect |
1023: team packet
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | request_type | | 8 | uint | UID |
1024: atributes set
1027: socketing
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 8 | uint | itemUID | | 12 | uint | gemUID | | 16 | ushort | Slot | | 18 | ushort | Mode |
1038: itemadding stabilization
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 8 | uint | itemUID | | 12 | uint | PurificationItemCount | | 16 | uint list | PurificationItems List (couldn't get this) |
1052: login packet
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | Identifier | | 8 | uint | login_type |
1056: trade
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | dwparam | | 8 | uint | trade_type |
1101: floor items
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | UID | | 8 | uint | ItemID | | 12 | ushort | X | | 14 | ushort | Y | | 16 | ushort | Item_Color | | 18 | ushort | item_type |
1102: warehouses
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | Npc_ID | | 8 | byte | warehouse_Type | | 16 | uint | UID | | 20 | Uint | Count | | 24 | uint | ItemUID | | 28 | uint | Item_ID | | 33 | byte | Socket one | | 34 | byte | socket two | | 41 | byte | plus | | 42 | byte | bless | | 43 | byte | bound | | 44 | ushort | enchant | | 46 | ushort | effect | | 48 | byte | lock | | 49 | byte | suspicious | | 51 | byte | item_color | | 52 | uint | socket_progress | | 56 | uint | plus_Progress |
1107: guild command
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | type | | 8 | uint | dwparam |
1127: enlighment
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 8 | uint | enlighter_UID | | 12 | uint | enlighted_UID | | 16 | uint | dwParamTest1 | | 20 | uint | dwParamTest2 | | 24 | uint | dwParamTest3 |
2031: NPC Dialog
2032: NPC Dialog
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | Npc_ID | | 10 | byte | Option_ID | | 11 | byte | Interact_Type | | 14 | String[13] | Input |
2036: compose
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | byte | Mode | | 8 | uint | ItemUID | | 12 | uint | PlusItemUID |
2044: offline tg
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | byte | ID | | 8 | ushort | Minutes |
2046: trade partener
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | UID | | 8 | byte | type | | 9 | byte | online | | 10 | uint | hours_left | | 16 | String[16] | name |
2048: ItemLock
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | UID | | 8 | uint | ID | | 12 | uint | dwParam |
2050: Broadcast
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | byte | type | | 8 | uint | dwParam | | 12 | byte | String_count |
2064: Nobility
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | type | | 8 | ulong | dwparam | | 8 | ushort | wparam1 | | 10 | ushort | wparam2 | | 16 | uint | dwparam2 | | 20 | uint | dwparam3 | | 24 | uint | dwparam4 |
2067: Mentor prize
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | Prize_type | | 8 | uint | mentor_id | | 24 | ulong | Prize_exp | | 32 | ushort | Prize_heaven_blessed | | 34 | ushort | Prize_Plus_Stones |
2065: MentorApprentice
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | type | | 8 | uint | UID | | 12 | uint | dwparam | | 16 | byte | dynamic | | 20 | byte | online | | 22 | String[21] | name |
2066: MentorInformation
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | mentor_type | | 8 | uint | mentor_ID | | 12 | uint | Apprentice_ID | | 16 | uint | Mentor_mesh | | 20 | uint | Shared_battle_power | | 24 | uint | unkowen(999999) | | 28 | uint | enrole_data | | 32 | uint | mentor_level | | 33 | byte | mentor_class | | 34 | ushort | mentor_pkp | | 56 | byte | mentor_online | | 64 | uint | aoorentice_exp | | 72 | ushort | apprentice_bless | | 74 | ushort | apprentice_compposing | | 76 | byte | string_count | | 77 | string[mentor_name.length] | mentor_name | | 81+mentor_name.length+mentor_spousename.length | string[apprentice_name] | apprentice_name | | 79+mentor_name.length | string[mentor_spousename.length] | mentor_spousename |
2076: Purify item
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | byte | mode | | 8 | uint | itemUID | | 12 | uint | AddUID |
2202: Arsenal guild
2203: Arsenal guild
2207://Request Arena ranking List
2206: arena
2205: arena signup
2208: request arena winner list
2209: arena
2211: arena
10005: walk/move
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | byte | direction | | 8 | uint | UID | | 12 | uint | GroundMovment_type | | 16 | uint | TimeStamp | | 20 | uint | Map_ID |
10010: jump/data
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | UID | | 8 | uint | dwparam | | 16 | uint | TimeStamp | | 20 | uint | ID | | 22 | ushort | faving | | 24 | ushort | wparam1 | | 26 | ushort | wparam2 | | 24 | uint | wparam3 | | 26 | uint | wparam4 |
1040: Status
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | UID | | 8 | uint | HitPoints | | 12 | uint | mana | | 16 | uint | MaxAttack | | 20 | uint | MinAttack | | 24 | uint | defence | | 28 | uint | MagicAttack | | 32 | uint | MagicDefence | | 36 | uint | Dodge | | 40 | uint | Agility | | 44 | uint | Accuracy | | 48 | uint | Gems[1] | | 52 | uint | Gems[2] | | 56 | uint | Magic_Defence_Percent | | 60 | uint | Gems[7] | | 64 | uint | Item_Bless | | 68 | uint | CriticalStrike | | 72 | uint | SkillCStrike | | 76 | uint | Immunity | | 80 | uint | Penetration | | 84 | uint | Block | | 88 | uint | BreakTrough | | 92 | uint | Counteracation | | 96 | uint | Detoxication | | 100 | uint | getfan | | 104 | uint | getfan | | 108 | uint | gettower | | 112 | uint | gettower | | 116 | uint | metal_resistance | | 120 | uint | woord_resistance | | 124 | uint | water_resistance | | 128 | uint | fire_resistance | | 132 | uint | earth_resistance |
1150: send flowers
1151: add flowers
1312: clans
1066: Reincarnation
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | byte | New_Class | | 8 | ushort | New_Body |
2320: SubClass
2110: Memory agate
1128: VIP advantages
| Offset | type | value |
|---|
| 0 | ushort | length | | 2 | ushort | type | | 4 | uint | UID | | 8 | uint | UID2 |
and here is the constants
General Data Type
Code:
ObserveKnownPerson = 54,
SetLocation = 74,
Hotkeys = 75,
ConfirmFriends = 76,
ConfirmProficiencies = 77,
ConfirmSpells = 78,
ChangeDirection = 79,
ChangeAction = 81,
UsePortal = 85,
Teleport = 86,
Leveled = 92,
XPListEnd = 93,
Revive = 94,
DeleteCharacter = 95,
ChangePKMode = 96,
ConfirmGuild = 97,
SwingPickaxe = 99,
UnknownEntity = 102,
NewCoordonates = 108,
OwnBooth = 111,
GetSurroundings = 114,//251
OpenCustom = 116,
ObserveEquipment = 117,
EndTransformation = 118,
EndFly = 120,
ViewEnemyInfo = 123,
OpenWindow = 126,
CompleteLogin = 251,//132,
RemoveEntity = 135,
Jump = 137,
Die = 145,
TeamSearchForMember = 106,
EndTeleport = 146,
ViewFriendInfo = 148,
ChangeFace = 151,
ViewPartnerInfo = 152,
FlashStep = 156,
Away = 161,
ObserveEquipment2 = 310;
Code:
Compose = 1,
Craft = 2,
Warehouse = 4,
DetainRedeem = 336,
DetainClaim = 337,
VIPWarehouse = 341,
Breeding = 368,
PurificationWindow = 455,
StabilizationWindow = 459,
TalismanUpgrade = 347,
GemComposing = 422,
OpenSockets = 425,
Blessing = 426,
TortoiseGemComposing = 438,
RefineryStabilization = 448,
HorseRacingStore = 464,
Reincarnation = 485;
Code:
ExitQuestion = 1,
Minimize = 2,
ShowReviveButton = 1053,
FlowerPointer = 1067,
Enchant = 1091,
LoginScreen = 1153,
SelectRecipiet = 30,
JoinGuild = 34,
MakeFriend = 38,
ChatWhisper = 40,
CloseClient = 43,
HotKey = 53,
Furniture = 54,
TQForum = 79,
PathFind = 97,
LockItem = 102,
ShowRevive = 1053,
HideRevive = 1054,
StatueMaker = 1066,
GambleOpen = 1077,
GambleClose = 1078,
Compose = 1086,
Craft1 = 1088,
Craft2 = 1089,
Warehouse = 1090,
ShoppingMallShow = 1100,
ShoppingMallHide = 1101,
NoOfflineTraining = 1117,
CenterClient = 1155,
ClaimCP = 1197,
ClaimAmount = 1198,
MerchantApply = 1201,
MerchantDone = 1202,
RedeemEquipment = 1233,
ClaimPrize = 1234,
RepairAll = 1239,
FlowerIcon = 1244,
SendFlower = 1246,
ReciveFlower = 1248,
WarehouseVIP = 1272,
UseExpBall = 1288,
HackProtection = 1298,
HideGUI = 1307,
Inscribe = 3059,
BuyPrayStone = 3069,
HonorStore = 3104,
Opponent = 3107,
CountDownQualifier = 3109,
QualifierStart = 3111,
ItemsReturnedShow = 3117,
ItemsReturnedWindow = 3118,
ItemsReturnedHide = 3119,
QuestFinished = 3147,
QuestPoint = 3148,
QuestPointSparkle = 3164,
StudyPointsUp = 3192,
Updates = 3218,
IncreaseLineage = 3227,
HorseRacingStore = 3245,
GuildPKTourny = 3249,
QuitPK = 3251,
Spectators = 3252,
CardPlayOpen = 3270,
CardPlayClost = 3271,
ArtifactPurification = 3344,
SafeguardConvoyShow = 3389,
SafeguardConvoyHide = 3390,
RefineryStabilization = 3392,
ArtifactStabilization = 3398,
SmallChat = 3406,
NormalChat = 3407,
Reincarnation = 3439;
Code:
Walk = 0,
Run = 1,
TwoCoordonates = 9;
purify/stabilize constants
Code:
Purify1 = 0,
Purify = 1,
Stabilaze = 2;
mentor system constants
Code:
RequestApprentice = 1,
RequestMentor = 2,
LeaveMentor = 3,
ExpellApprentice = 4,
AcceptRequestApprentice = 8,
AcceptRequestMentor = 9,
DumpApprentice = 18,
DumpMentor = 19;
mentor exp constants
Code:
ClaimExperience = 1,
ClaimAmountExpBalls = 2,
ClaimHeavenBlessing = 3,
ClaimPlus = 4,
Show = 5;
donation constants
Code:
Donate = 1,
List = 2,
Icon = 3,
NextRank = 4;
btoadcast constants
Code:
ReleaseSoonMessages = 1,
MyMessages = 2,
BroadcastMessage = 3,
Urgen15CPs = 4,
Urgen5CPs = 5;
lock constants
Code:
RequestLock = 0,
RequestUnlock = 1,
UnlockDate = 2;
partner constants
Code:
RequestPartnership = 0,
RejectRequest = 1,
BreakPartnership = 4,
AddPartner = 5;
offline tg constants
Code:
OnTrainingTimeRequested = 0,
OnConfirmation = 1,
ReplyToConfirmation = 3,
ClaimExperience = 4;
Code:
Plus = 0,
CurrentSteed = 2,
NewSteed = 3;
guild constants
Code:
JoinRequest = 1,
InviteRequest = 2,
Quit = 3,
Info = 6,
Allied = 7,
Neutral1 = 8,
Enemied = 9,
Neutral2 = 10,
DonateSilvers = 11,
Refresh = 12,
Disband = 19,
DonateConquerPoints = 20,
Bulletin = 27,
Discharge = 30,
Promote = 37;
Code:
Drop = 1,
Remove = 2,
Animation = 3,
DropDetain = 4;
Code:
Request = 1,
Close = 2,
ShowTable = 3,
HideTable = 5,
AddItem = 6,
SetMoney = 7,
ShowMoney = 8,
Accept = 10,
RemoveItem = 11,
ShowConquerPoints = 12,
SetConquerPoints = 13;
socketing constants
Code:
Add = 0,
Remove = 1,
SlotOne = 1,
SlotTwo = 2;
team constants
Code:
Create = 0,
JoinRequest = 1,
ExitTeam = 2,
AcceptInvitation = 3,
InviteRequest = 4,
AcceptJoinRequest = 5,
Dismiss = 6,
Kick = 7,
ForbidJoining = 8,
UnforbidJoining = 9,
LootMoneyOff = 10,
LootMoneyOn = 11,
LootItemsOff = 12,
LootItemsOn = 13;
action constants
Code:
Melee = 2,
MarriageRequest = 8,
MarriageAccept = 9,
Kill = 14,
Magic = 24,
Reflect = 26,
Dash = 27,
Ranged = 28,
MonkMelee = 34,
MerchantAccept = 40,
MerchantRefuse = 41,
MerchantProgress = 42,
Scapegoat = 43,
CounterKillSwitch = 44,
FatalStrike = 45,
ShowUseSpell = 52,
InteractionRequest = 46,
InteractionAccept = 47,
InteractionRefuse = 48,
InteractionEffect = 49,
InteractionStopEffect = 50;
friends option constants
Code:
RequestFriendship = 10,
RemovePerson = 14,
AddFriend = 15,
RemoveEnemy = 18,
AddEnemy = 19;
constants
Code:
BuyFromNPC = 1,
SellToNPC = 2,
RemoveInventory = 3,
EquipItem = 4,
UnequipItem = 6,
ArrowReload = 8,
ViewWarehouse = 9,
WarehouseDeposit = 10,
WarehouseWithdraw = 11,
Repair = 14,
DragonBallUpgrade = 19,
MeteorUpgrade = 20,
ShowBoothItems = 21,
AddItemOnBoothForSilvers = 22,
RemoveItemFromBooth = 23,
BuyFromBooth = 24,
UpdateDurability = 25,
AddItemOnBoothForConquerPoints = 29,
Ping = 27,
Enchant = 28,
RedeemGear = 32,
ClaimGear = 33,
SocketTalismanWithItem = 35,
SocketTalismanWithCPs = 36,
DropItem = 37,
DropMoney = 38,
SocketerMan = 43,
NextWepone = 45,
Accessories = 41,
ToristSuper = 51,
MergeStackableItems = 48,
SplitStack = 49;
guild packets constants
Code:
GuildLeader = 1000,
DeputyLeader = 990,
HDeputyLeader = 980,
LeaderSpouse = 920,
Manager = 890,
HonoraryManager = 880,
TSupervisor = 859,
OSupervisor = 858,
CPSupervisor = 857,
ASupervisor = 856,
SSupervisor = 855,
GSupervisor = 854,
PKSupervisor = 853,
RoseSupervisor = 852,
LilySupervisor = 851,
Supervisor = 850,
HonorarySuperv = 840,
Steward = 690,
HonorarySteward = 680,
DeputySteward = 650,
DLeaderSpouse = 620,
DLeaderAide = 611,
LSpouseAide = 610,
Aide = 602,
TulipAgent = 599,
OrchidAgent = 598,
CPAgent = 597,
ArsenalAgent = 596,
SilverAgent = 595,
GuideAgent = 594,
PKAgent = 593,
RoseAgent = 592,
LilyAgent = 591,
Agent = 590,
SupervSpouse = 521,
ManagerSpouse = 520,
SupervisorAide = 511,
ManagerAide = 510,
TulipFollower = 499,
OrchidFollower = 498,
CPFollower = 497,
ArsFollower = 496,
SilverFollower = 495,
GuideFollower = 494,
PKFollower = 493,
RoseFollower = 492,
LilyFollower = 491,
Follower = 490,
StewardSpouse = 420,
SeniorMember = 210,
Member = 200,
None = 0
ChatType
Code:
Talk = 2000,
Whisper = 2001,
Team = 2003,
Guild = 2004,
TopLeft = 2005,
Clan = 2006,
Qualifier = 2007,
Friend = 2009,
Center = 2011,
Service = 2014,
World = 2021,
PopUP = 2100,
Dialog = 2101,
HawkMessage = 2104,
Website = 2105,
FirstRightCorner = 2108,
ContinueRightCorner = 2109,
GuildBulletin = 2111,
BroadcastMessage = 2500;
to rip this out and post it this way it took me 6 hrs , so i think ill take rest then make it looks elegant and adding comments , log the packets with proxy and make sure that everything is correct
then will explain how server handle this packets and everything about each packet
peace out
|
|
|
09/27/2012, 15:54
|
#2
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Most of these packets are Already known / included in sources if you would like to post packet structures u should post smthing unusual ( smthing hasnt been released b4 ) as Guild Ranking packet ( not profile packet ) but thx for effort
|
|
|
09/27/2012, 16:26
|
#3
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
well i've said that im ripping this out of the source and trust me ripping it took so **** effort to get you them here in this form
so i think this is useful for who can't really figure them out from sources
but yup when im done with this ill release +5600 packet structures but that will take a week cuz ill be logging them all and not from source
anyway thanks for the feed back
|
|
|
09/27/2012, 16:44
|
#4
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by go for it
well i've said that im ripping this out of the source and trust me ripping it took so **** effort to get you them here in this form
so i think this is useful for who can't really figure them out from sources
but yup when im done with this ill release +5600 packet structures but that will take a week cuz ill be logging them all and not from source
anyway thanks for the feed back
|
List of Unknown packet structure :- (i Already did most of them)
1 - Chi packets 2533 / 2534
2 - Quest packet 1134 / 1135
3 - achivment packet 1136
4 - Poker packets
5 - Team Qualifier
|
|
|
09/27/2012, 16:52
|
#5
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
well i think if you can do one packet structure by packet logging you can do any
here is my what i've got from logging (not from source)
1004 - chat packets
offset 0 ushort 56
offset 2 ushort 1004
offset 4 uint chatcolor (red ffffa500)
offset 8 uint chattype (x835 LoginInformation)
10014 - Entity Spawn for monsters
offset 0 ushort 233 long
offset 2 ushort 10014 type
offset 4 uint 108 (monster/person mesh)
offset 8 uint charcter_id
offset 86 ushort coord x
offset 88 ushort coord y
offset 218 charcter_name
1101 - item loot
offset 0 ushort x0018 32 long
offset 2 ushort x044d type 1101
offset 4 uint itemid
offset 8 uint unknowen value of 9A A0 14 79
offset 12 ushort coordx
offset 14 ushort coordy
offset 18 ushort loottype (1 drop , 3 loot)
10010 - General Data
offset 0 ushort value 38
offset 2 ushort 10010
offset 4 uint Entity_ID (1003712)
offset 8 ushort coordx
offset 10 ushort coordy
offset 20 data type (jump 137 , fs jump 156 0x9c)
offset 24 current x
offset 26 current y
10017 - Entity Status
offset 0 ushort 44 long
offset 2 ushort 10017 type
offset 4 uint type 1003712
offset 8 uint status amout 1 O.O
offset 12 uint
offset 16 ulong x0425
1009 item usage
offset 0 ushort 88 long
offset 2 ushort 1009
offset 4 itemid
offset 8 itemlocation 0 for on the floor , usage type 27 = loot
usage type 3 = drop
offset 12 itemusagetype
fixing an old packet structure by comparing to new logged packet
packet 1006
offset 0 ushort packet long vaild
offset 2 ushort 1006 type vaild
offset 4 uint charcter_id vaild
offset 16 uint gold 8,643,958 vaild
offset 20 uint cps 30 vaild
offset 22 ulong exp 48.598 not vailed 00.000
offset 60 ushort hp 3264 not vailed hp 18528 19410
offset 68 byte level 126 vaild
offset 112 name wqe5qw64eqw vaild
everything in the above spoiler was my first time ever trying to log packets and analyze them on my own , so i think i can do the same with any other unknown packet , but i still got some stuff to do plus it doesn't worth it to update the proxy and log packets and spend hrs understanding/trying for some bunch of people who doesn't even thank me
|
|
|
09/27/2012, 17:47
|
#6
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by go for it
well i think if you can do one packet structure by packet logging you can do any
everything in the above spoiler was my first time ever trying to log packets and analyze them on my own , so i think i can do the same with any other unknown packet , but i still got some stuff to do plus it doesn't worth it to update the proxy and log packets and spend hrs understanding/trying for some bunch of people who doesn't even thank me
|
well yea no1 in this community deserve ..and about packet structure thats right when u do just one packet structure using logger it become super easy
|
|
|
10/05/2012, 07:29
|
#7
|
elite*gold: 0
Join Date: Feb 2006
Posts: 67
Received Thanks: 7
|
**** i love to learn that .....then i will say thanks for it.... but i dont know how to start im newbie on this ! can u guys gave me some advice how to start learning it
|
|
|
10/05/2012, 13:11
|
#8
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
this is the packets client send to server , you should handle them at server and send pack packets to tell client what to show and what to do
for example packet 1004 (chat packet)
when you type something in client and press enter it send a 1004 packet to server
and server make thread for it with this packet structure
so assume this packet chat_type is world the server should send a 1004 packet for each player in the server so the client show to every player that someone talking in the world channel
assume this packet chat_type is whiper , the server should search for the player id in the database
if he doesn't exist it should reply to who sent the packet with "this player is offline" or even "this player does not exist"
else if he exist and offline it send "this player is offline"
else he exist and online it send to him a 1004 packet so his client show him the whisper he is getting
tell me any packet of them and ill explain it with codes for better understanding , goodluck mate
|
|
|
10/06/2012, 23:26
|
#9
|
elite*gold: 0
Join Date: Oct 2012
Posts: 4
Received Thanks: 1
|
dude very useless i make packats in source already come in so dis no good!! no thx i tlel u waste time make 2 thred!
it is terble but goood try  
i not use and no thanks 4 u. sory
eben U just copy paste sorce from 0.0 u don kno u prolbaly copy from my surce :d :d
bast of luck ! 4 u time
|
|
|
10/07/2012, 04:08
|
#10
|
elite*gold: 0
Join Date: Oct 2012
Posts: 52
Received Thanks: 35
|
Quote:
Originally Posted by a6eg
dude very useless i make packats in source already come in so dis no good!! no thx i tlel u waste time make 2 thred!
it is terble but goood try  
i not use and no thanks 4 u. sory
eben U just copy paste sorce from 0.0 u don kno u prolbaly copy from my surce :d :d
bast of luck ! 4 u time
|
What are you talking about?
This would be very useful for those working on a server.
Tell him, thanks for his time to post this thread, it was very hard work, the last thing he needs is some fail person flaming terribly.
I bet you have 0 clue of what this is even about, you don't do you?
#thread recommended
|
|
|
10/07/2012, 07:08
|
#11
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
guys guys guys  no flaming please
Quote:
dude very useless i make packats in source already come in so dis no good!! no thx i tlel u waste time make 2 thred!
it is terble but goood try
i not use and no thanks 4 u. sory
eben U just copy paste sorce from 0.0 u don kno u prolbaly copy from my surce :d :d
bast of luck ! 4 u time
|
okay mate thanks for ur POV i dun like it but i still respect it so no problem
Quote:
What are you talking about?
This would be very useful for those working on a server.
Tell him, thanks for his time to post this thread, it was very hard work, the last thing he needs is some fail person flaming terribly.
I bet you have 0 clue of what this is even about, you don't do you?
#thread recommended
|
thanks mate but let him just say whatever he wants
|
|
|
 |
Similar Threads
|
[REQUEST] packets send list , or anyway to sniff send packets
08/10/2012 - Kal Online - 16 Replies
hey everyone , as mentioned , i wanna know if anyone got a complete send packets lists or anyway i can sniff send packets , thanks in advance
|
[Packets] Wie änder ich flyff packets?
07/16/2011 - Flyff Private Server - 19 Replies
HeyHo,
Ich würde sehr gerne wissen wie man die Flyff Packets ändert...
ich denke mal Zahlen ändern werden nicht ausreichen oder?
|
A few unknown packets sent client->server...
01/07/2011 - CO2 Programming - 7 Replies
0x3EA, 0x3F4 (found a little information on it, more would be appreciated) 0x404 (crafting?), 0x405, 0x450 (spell action start?), 0x459, 0x7F2
If anyone has any information about the above (somewhat) undocumented packets, please inform me. If you need structures, I can get them.
Also, can someone explain what crafting is exactly? According to the wiki, 0x404 is crafting.
You can expect a similar thread when I'm finished grabbing subtypes from the 4267 client. :P
Thanks in advance.
|
How do I grab packets from a client using a debugger?
12/14/2010 - CO2 Programming - 1 Replies
As the title says, how would I go about doing this? I'm planning to code a 1.0 server (in C++ mind you), but from what I know, there's no public documentation of packets, nor could I sniff them from a current server for these old clients.
Also, once I get the packets, how could I find out what each one (and its contents) actually references?
This is all to new to me. I've never done asynchronous socket programming before. Expect more questions.
Thanks in advance.
|
Login Packets for 5089+ (New Client)
02/13/2009 - CO2 Programming - 7 Replies
I know I might be a little crazy, but I'm going to work on a CO Client. I'm trying to do a proxy/packet logger and a very simple client that can do some basic things. Later is definitely a big project, but it is something I want to tackle. However, before I can do that, there are a few things that I need to know.
Does anyone have the login packet structures for 5089+? There are a couple of things that I am looking for and perhaps just some clarification on what I already know from the...
|
All times are GMT +1. The time now is 00:08.
|
|