Add packet struct and ops for AdvancedLoreText

Just stuff if people want to start working on it
This commit is contained in:
Michael Cook (mackal) 2020-02-18 15:50:01 -05:00
parent a63dc7d5e0
commit 6fb0042e3f
6 changed files with 13 additions and 4 deletions

View File

@ -36,6 +36,7 @@ static const uint32 MAX_MERC_GRADES = 10;
static const uint32 MAX_MERC_STANCES = 10; static const uint32 MAX_MERC_STANCES = 10;
static const uint32 BLOCKED_BUFF_COUNT = 20; static const uint32 BLOCKED_BUFF_COUNT = 20;
static const uint32 QUESTREWARD_COUNT = 8; static const uint32 QUESTREWARD_COUNT = 8;
static const uint32 ADVANCED_LORE_LENGTH = 8192;
/* /*
@ -2966,6 +2967,12 @@ struct ItemViewRequest_Struct {
/*046*/ char unknown046[2]; /*046*/ char unknown046[2];
}; };
struct ItemAdvancedLoreText_Struct {
int32 item_id;
char item_name[64];
char advanced_lore[ADVANCED_LORE_LENGTH];
};
struct LDONItemViewRequest_Struct { struct LDONItemViewRequest_Struct {
uint32 item_id; uint32 item_id;
uint8 unknown004[4]; uint8 unknown004[4];

View File

@ -331,7 +331,7 @@ OP_LDoNButton=0x596e
OP_SetStartCity=0x7936 # Was 0x2d1b OP_SetStartCity=0x7936 # Was 0x2d1b
OP_VoiceMacroIn=0x202e OP_VoiceMacroIn=0x202e
OP_VoiceMacroOut=0x3920 OP_VoiceMacroOut=0x3920
OP_ItemViewUnknown=0x0b64 OP_ItemAdvancedLoreText=0x0b64
OP_VetRewardsAvaliable=0x05d9 OP_VetRewardsAvaliable=0x05d9
OP_VetClaimRequest=0xcdde OP_VetClaimRequest=0xcdde
OP_VetClaimReply=0x361b OP_VetClaimReply=0x361b

View File

@ -448,6 +448,8 @@ OP_FinishWindow2=0x40ef
OP_ItemVerifyRequest=0x189c OP_ItemVerifyRequest=0x189c
OP_ItemVerifyReply=0x097b OP_ItemVerifyReply=0x097b
OP_ItemAdvancedLoreText=0x023b
# merchant stuff # merchant stuff
OP_ShopPlayerSell=0x791b OP_ShopPlayerSell=0x791b
OP_ShopRequest=0x4fed OP_ShopRequest=0x4fed

View File

@ -327,7 +327,7 @@ OP_LDoNButton=0x41b5 # C
OP_SetStartCity=0x7bf6 # C OP_SetStartCity=0x7bf6 # C
OP_VoiceMacroIn=0x31b1 # C OP_VoiceMacroIn=0x31b1 # C
OP_VoiceMacroOut=0x7880 # C OP_VoiceMacroOut=0x7880 # C
OP_ItemViewUnknown=0x21c7 # C OP_ItemAdvancedLoreText=0x21c7 # C
OP_VetRewardsAvaliable=0x4e4e # C OP_VetRewardsAvaliable=0x4e4e # C
OP_VetClaimRequest=0x771f # C OP_VetClaimRequest=0x771f # C
OP_VetClaimReply=0x2f95 # C OP_VetClaimReply=0x2f95 # C

View File

@ -576,7 +576,7 @@ OP_QueryResponseThing=0x0000 #
# realityincarnate: these are just here to stop annoying several thousand byte packet dumps # realityincarnate: these are just here to stop annoying several thousand byte packet dumps
OP_LoginUnknown1=0x22cf OP_LoginUnknown1=0x22cf
OP_LoginUnknown2=0x43ba OP_LoginUnknown2=0x43ba
OP_ItemViewUnknown=0x4db4 OP_ItemAdvancedLoreText=0x4db4
#Petition Opcodes #Petition Opcodes
OP_PetitionSearch=0x0000 #search term for petition OP_PetitionSearch=0x0000 #search term for petition

View File

@ -336,7 +336,7 @@ OP_LDoNButton=0x1031 # C
OP_SetStartCity=0x68f0 # C OP_SetStartCity=0x68f0 # C
OP_VoiceMacroIn=0x1524 # C OP_VoiceMacroIn=0x1524 # C
OP_VoiceMacroOut=0x1d99 # C OP_VoiceMacroOut=0x1d99 # C
OP_ItemViewUnknown=0x4eb3 # C OP_ItemAdvancedLoreText=0x4eb3 # C
OP_VetRewardsAvaliable=0x0baa # C Mispelled? OP_VetRewardsAvaliable=0x0baa # C Mispelled?
OP_VetClaimRequest=0x34f8 # C OP_VetClaimRequest=0x34f8 # C
OP_VetClaimReply=0x6a5d # C OP_VetClaimReply=0x6a5d # C