Skip to content

Latest commit

 

History

History
149 lines (142 loc) · 16.3 KB

Progress.md

File metadata and controls

149 lines (142 loc) · 16.3 KB

Project feature progress

For the progress of the project as a whole, please have a look at the projects page.

In this document we track the progress of the packet handlers. Each packet handler requires some game logic behind it.

The complexity is a number between 1 (low complexity and effort) and 10 (high complexity and effort). Complexity 0 means we wont implement it.

Feature Packet code Progress Complexity Note
Public chat 0x00 100% 5
Whisper chat 0x02 100% 5
Client Checksum 0x03 0% 0 Don't need - no security benefit
Ping 0x0E 100% 1 Used to disconnect players whose connection got lost
Animation 0x18 100% 2
SkillAttack 0x19 100% 10
MagicCancel 0x1B 100% 2
WarpGate 0x1C 100% 5
AreaSkill 0x1E 100% 10
PickupItem 0x22 100% 6
DropItem 0x23 100% 6
InventoryMove 0x24 100% 7
ConsumeItem 0x26 100% 5
TalkNPC 0x30 100% 5
CloseNPC 0x31 100% 1
BuyNPCItem 0x32 100% 5
SellNPCItem 0x33 100% 5
ItemRepair 0x34 100% 2
Trade Request 0x36 100% 2
TradeResponse 0x37 100% 2
TradeMoney 0x3A 100% 2
TradeOK 0x3C 100% 6
TradeCancel 0x3D 100% 3
PersonalShopGroup 0x3F 100% 10
PartyRequest 0x40 100% 2
PartyRequestAnswer 0x41 100% 4
RequestPartyList 0x42 100% 5
PartyKick 0x43 100% 3
GuildJoinRequest 0x50 100% 1
GuildJoinAnswer 0x51 100% 1
RequestGuildList 0x52 100% 3
GuildKickPlayer 0x53 100% 1
GuildMasterAnswer 0x54 100% 1
GuildMasterInfoSave 0x55 100% 2
GuildMasterCreateCancel 0x56 100% 1
GuildWarReqRes 0x61 100% 3
GuildInfoRequest 0x66 100% 2
GGAuth 0x73 0% 0
WarehouseMoneyInOut 0x81 100% 3
WarehouseClose 0x82 100% 3
WarehousePassword 0x83 100% 1
ChaosMachineMix 0x86 100% 5
ChaosMachineClose 0x87 100% 1
WarpCommand 0x8E 100% 5
DevilSquareEnter 0x90 100% 2
DevilSquareRemainingTime 0x91 100% 1
RegEventChip 0x95 100% 1 Golden Archer item registration
GetMutoNum 0x96 0% 1
UseEndEventChip 0x97 100% 1 Golden Archer dialog close
UseRenaExchangeZen 0x98 0% 1
RequestChangeServer 0x99 0% 0
RequestEnterBC 0x9A 100% 3
BCStuff 0x9B 100% 1
RequestLottoRegister 0x9D 0% 0
RequestEventEnterCount 0x9F 0% 0
RequestQuestInfo 0xA0 100% 4
SetQuestState 0xA2 100% 2
PetItemCommand 0xA7 100% 5
RequestPetItemInfo 0xA9 100% 3
DuelGroup 0xAA 100% 6
- Duel start request 0xAA01
- Duel start response 0xAA02
- Duel stop request 0xAA03
- Duel channel join request 0xAA07
- Duel channel quit request 0xAA09
RequestEnterChaosCastle 0xAF 100% 4
TargetTeleport 0xB0 100% 3
ChangeServerAuth 0xB1 0% 0
CastleSiegeGroup 0xB2 100% 10
CSRequest_NPC_DB_List 0xB3 100% 3 Gate and statue list
RequestCSRegGuildList 0xB4 100% 2
RequestCSAttGuildList 0xB5 100% 2
RequestCSWeaponUse 0xB7 100% 1 The server applies the impact itself; the weapon explosion request (0xB704) is accepted without effect
LoggedIn 0xB8 100% 1
RequestGuildMarkCastleOwner 0xB902 100% 1 Entering the hunting zone (0xB905) is implemented
JewelMix 0xBC 100% 4
CrywolfGroup 0xBD 100% 10
LuckyCoin 0xBF0B-0xBF0D 100% 3 Registration and exchange at Delgado
IllusionTempleGroup 0xBF 100% 10 Team-based PvP mini game: relic pickup/delivery, scoring, skill points, special skills, rewards
InventoryItemEquip 0xBF20 100% 2 Using figurines and charms inside the inventory
FriendListRequest 0xC0 0% 0 Not needed, friend list is sent automatically
FriendAdd 0xC1 100% 2
WaitFriendAdd 0xC2 100% 2
FriendDelete 0xC3 100% 1
FriendStateClient 0xC4 100% 1
FriendMemoSend 0xC5 100% 2
FriendMemoReadRequest 0xC7 100% 2
FriendMemoDelete 0xC8 100% 1
FriendMemoListRequest 0xC9 0% 0 Not needed, letter list is sent automatically
ChatRoomCreate 0xCA 100% 2
ChatRoomInvitationReq 0xCB 100% 2
KanturuGroup 0xD1 100% 10
CashShopGroup 0xD2 90% 10 Opening, points, the storage list, buying, gifting and using items. The event item list, deleting storage items and items which expire are missing.
AreaSkillHit 0xDB 100% 10
GuildAssignStatus 0xE1 100% 1
GuildAssignType 0xE2 0% 2
RequestAllyJoinLeave 0xE5 100% 3
AnswerAllyJoinLeave 0xE6 100% 3
RequestAllyList 0xE9 100% 3
RequestAllyKickGuild 0xEB 100% 3
LoginLogoutGroup 0xF1 100% 10
CharacterGroup 0xF3 100% 11
- Character list 0xF300
- Character creation 0xF301
- Character delete request 0xF302
- Character select request 0xF303
- Character stat increase request 0xF306
- Character focus request 0xF315
- Save key configuration 0xF330
- Master skill level increase request 0xF352
GensGroup 0xF8 100% 8
- Join gens request 0xF801
- Leave gens request 0xF803
- Gens reward request 0xF809
- Gens ranking request 0xF80B Answered with the gens info of the player (0xF807)
Hit 0x11 100% 10
Teleport 0x15 100% 2
Walk 0xD4 100% 10

The character group also handles InventoryRequest (C3 F3 10) in the world and NPC-dialog states, returning an authoritative inventory snapshot.

Ordinary item operations continue to push their existing inventory deltas. The explicit snapshot request supports resynchronization after an ambiguous reply and completion of NPC operations which may send no item delta: for example, repairing an item already at full durability returns without a durability update. Requests are throttled per player (250 ms by default, configurable on the handler). The connection's PacketPipeReaderBase awaits Connection.ReadPacketAsync, which awaits its packet subscribers. RemotePlayer.PacketReceivedAsync in turn awaits the complete handler through RunPersistenceExclusiveAsync. Thus, an item operation sent before the refresh on the same connection completes first. The refresh lock only serializes snapshots; it does not order background game actions. Waiting requests share a fresh snapshot; a request received after serialization starts waits for the next snapshot so an earlier response cannot acknowledge a later item action. Delayed refreshes are suppressed after returning to character selection.