-Added several opcodes; not all confirmed working yet.

-Partial support for item packet (several of the types have been shuffled so this will take a while to get working).
This commit is contained in:
KimLS
2024-12-04 21:07:50 -08:00
parent 2c48ec39ef
commit c4a7fcc063
4 changed files with 119 additions and 56 deletions
+33 -1
View File
@@ -522,7 +522,6 @@ namespace Laurion {
/*08*/ int32 unknown2;
/*12*/ uint8 doorid;
/*13*/ uint8 padding2[3];
};
/*
@@ -603,6 +602,39 @@ namespace Laurion {
/*0028*/
};
//These are significantly changed in Laurion from RoF2
enum ItemPacketType {
//ItemPacketViewLink = 0x00,
ItemPacketMerchant = 0x64,
ItemPacketTradeView = 0x65,
ItemPacketLoot = 0x66,
ItemPacketTrade = 0x67,
ItemPacketCharInventory = 0x6A, //Rof 0x69 -> Larion 0x6a (requires translation)
ItemPacketLimbo = 0x6B, //0x6A -> 0x6B
//ItemPacketWorldContainer = 0x6B, //These aren't found yet
//ItemPacketTributeItem = 0x6C,
//ItemPacketGuildTribute = 0x6D,
//ItemPacketCharmUpdate = 0x6E, // Larion has a specific packet for this
//ItemPacketRecovery = 0x71,
//ItemPacketParcel = 0x73,
ItemPacketInvalid = 0xFF
};
/*
enum ItemPacketType
{
ItemPacketViewLink = 0x00,
ItemPacketTradeView = 0x65,
ItemPacketLoot = 0x66,
ItemPacketTrade = 0x67,
ItemPacketCharInventory = 0x69,
ItemPacketSummonItem = 0x6A,
ItemPacketTributeItem = 0x6C,
ItemPacketMerchant = 0x64,
ItemPacketWorldContainer = 0x6B
};
*/
#pragma pack()
}; //end namespace structs