PDA

View Full Version : New Packets



Flotsam
10-24-2002, 03:13 PM
Don't know if these were missed earlier or just not used...

Some new/unused (in SEQ) packets that I have found while scouring the new opcodes:

0x1640 Call it the RandomResultsCode packet - after your client requests a random dice roll from the server (via RandomCode packet), this is the packet that returns your results from the server

0x2d41 Call it the cDestroyCoinsCode packet - this is the packet that the client sends to the server when you destroy coins - I have to check to see if it is a general DestroyItem update request packet

0x3542 Call it ForageMessageCode - the packet that contains the dialogue that explains the success or failure of your forage attempt

0x5e42 Call it the NPCDialogueCode packet - this is the packet that contains NPC dialogue that is sent from server to client when any NPC's are hailed or spoken to - also includes dialogue from monsters that attack you (a moss snake hisses and attacks!)

0x5f42 Call it cRaidChangeCode - the packet that goes from the client to the server requesting all changes to your raid group

0x6042 Call it RaidStatusCode - the packet that contains all the updated information on the status of your raid group - from server to client

0xb540 Call it cInspectPCCode - the packet that goes from client requesting PC info from server (followed by 0xb640)

I will append this note if I find additional 'lost' packets

Flotsam
10-25-2002, 11:16 AM
Lot of new packets that I have defined that are currently unused by SEQ. Thought I'd clarify some of these here - particularly some of the trading packets (i.e. when you trade an item or gold to someone). I am skipping stuff like cursor changes, etc, that are already dealt with adequately by SEQ.


0xd140 Initiate trade request
0xe640 Server check on target and proximity
0xda40 Trade accept (by client)
0xdb40 Trade cancelation (by client or server)
0xdc40 Trade concluded (by server)
0xdf40 Incoming Trade item info during trade (SEQ handles this but is named TradeItemOut which I think is misleading)
0x1040 Char Info request from server (always followed by 0x2e40 CharInfoCode from client)
0x3e41 Item info for successfully concluded trade

Flotsam
10-25-2002, 11:46 AM
An extremely newb question...

Can I add these packet definitions to opcodes.h even if they aren't used by SEQ? Don't see how that would cause a problem, but I want to check first

bonkersbobcat
10-25-2002, 12:10 PM
Can I add these packet definitions to opcodes.h even if they aren't used by SEQ?As long as the names you give the new packets don't conflict with any existing names (or future names) there is no problem.

SEQ User
10-25-2002, 12:18 PM
diff -c -r1.15 opcodes.h
*** showeq/src/opcodes.h 25 Oct 2002 15:14:11 -0000 1.15
--- showeq/src/opcodes.h 25 Oct 2002 19:17:16 -0000
***************
*** 35,46 ****
--- 35,50 ----

#define ItemInShopCode 0x0c40

+ #define CharInfoRequest 0x1040
+
#define SysMsgCode 0x1420

#define EmoteTextCode 0x1540

#define PlayerAACode 0x1522

+ #define RandomResultsCode 0x1640
+
#define cRunToggleCode 0x1f40

#define cJumpCode 0x2040
***************
*** 57,67 ****

#define DeleteSpawnCode 0x2940

! #define RemDropCode 0x2b40

#define cCursorItemCode 0x2c41

! #define MakeDropCode 0x2c40

#define CharInfo 0x2e40

--- 61,73 ----

#define DeleteSpawnCode 0x2940

! #define RemDropCode 0x2c40

#define cCursorItemCode 0x2c41

! #define MakeDropCode 0x2d40
!
! #define cDestroyCoinsCode 0x2d41

#define CharInfo 0x2e40

***************
*** 73,83 ****

#define TradeBookInCode 0x3440

#define cConCorpseCode 0x3422

#define xBuyItemCode 0x3540

! #define sSpellFizzleRegainCode 0x3522

#define CharProfileCode 0x3640

--- 79,93 ----

#define TradeBookInCode 0x3440

+ #define cConCorpseCode 0x3442
+
#define cConCorpseCode 0x3422

+ #define sSpellFizzleRegainCode 0x3522
+
#define xBuyItemCode 0x3540

! #define sSpellFizzleRegainCode 0x3542

#define CharProfileCode 0x3640

***************
*** 89,94 ****
--- 99,106 ----

#define GroupInviteCode 0x3e20

+ #define ConcludeTradeItemInfo 0x3e41
+
#define GroupDeclineCode 0x4140

#define sSpellInterruptedCode 0x4142
***************
*** 97,107 ****

#define CloseGMCode 0x4321

! #define GroupDeleteCode 0x4420

#define sDoneLootingCode 0x4421

! #define CloseVendorCode 0x4521

#define CastOnCode 0x4640

--- 109,119 ----

#define CloseGMCode 0x4321

! #define GroupDeleteCode 0x4440

#define sDoneLootingCode 0x4421

! #define CloseVendorCode 0x4541

#define CastOnCode 0x4640

***************
*** 109,123 ****

#define NewCorpseCode 0x4a40

! #define cLootCorpseCode 0x4e20

! #define cDoneLootingCode 0x4f20

! #define MoneyOnCorpseCode 0x5020

#define ItemOnCorpseCode 0x5220

! #define CharUpdateCode 0x5521

#define StaminaCode 0x5741

--- 121,135 ----

#define NewCorpseCode 0x4a40

! #define cLootCorpseCode 0x4e40

! #define cDoneLootingCode 0x4f40

! #define MoneyOnCorpseCode 0x5040

#define ItemOnCorpseCode 0x5220

! #define CharUpdateCode 0x5541

#define StaminaCode 0x5741

***************
*** 127,134 ****
--- 139,152 ----

#define NewZoneCode 0x5b40

+ #define NPCDialogueCode 0x5e42
+
#define ZoneSpawnsCode 0x5f41

+ #define cRaidChangeCode 0x5f42
+
+ #define RaidStatusCode 0x6042
+
#define ClientTargetCode 0x6241

#define PlayerItemCode 0x6441
***************
*** 155,161 ****

#define cTrackCode 0x8441

! #define cSneakCode 0x8521

#define cHideCode 0x8641

--- 173,179 ----

#define cTrackCode 0x8441

! #define cSneakCode 0x8541

#define cHideCode 0x8641

***************
*** 173,179 ****

#define DoorSpawnCode 0x9520

! #define LevelUpUpdateCode 0x9821

#define ExpUpdateCode 0x9941

--- 191,197 ----

#define DoorSpawnCode 0x9520

! #define LevelUpUpdateCode 0x9841

#define ExpUpdateCode 0x9941

***************
*** 181,187 ****

#define MobUpdateCode 0x9f40

! #define sLootItemCode 0xa020

#define Attack2Code 0xa140

--- 199,205 ----

#define MobUpdateCode 0x9f40

! #define sLootItemCode 0xa040

#define Attack2Code 0xa140

***************
*** 191,205 ****

#define HPUpdateCode 0xb240

#define InspectDataCode 0xb640

! #define BookTextCode 0xce20

#define xTradeSpellBookSlotsCode 0xce41

#define BadCastCode 0xd321

! #define TradeItemOutCode 0xdf20

#define RandomCode 0xe741

--- 209,237 ----

#define HPUpdateCode 0xb240

+ #define cInspectPC 0xb540
+
#define InspectDataCode 0xb640

! #define BookTextCode 0xce40

#define xTradeSpellBookSlotsCode 0xce41

+ #define InitiateTradeCode 0xd140
+
#define BadCastCode 0xd321

! #define AcceptTradeCode 0xda40
!
! #define CancelTradeCode 0xdb40
!
! #define ConcludeTradeCode 0xdc40
!
! #define TradeItemOutCode 0xdf40
!
! #define TradeItemInfo 0xdf40
!
! #define TargetAndProximity 0xe640

#define RandomCode 0xe741

***************
*** 215,220 ****

#define CDoorSpawnsCode 0xf741

! #define cChatFiltersCode 0xff21

#endif // OPCODES_H
--- 247,252 ----

#define CDoorSpawnsCode 0xf741

! #define cChatFiltersCode 0xff41

#endif // OPCODES_H