Page 1 of 1

New struct

Posted: Tue Jun 20, 2017 8:24 pm
by Ememjr
I am trying to create a new struct for opcode 793 in opcodes i have

Code: Select all

id	version_range1	version_range2	name			opcode	table_data_version
21313	63136		63136		OP_EquipmentSets	793		1
i added a new struct in worldstructs

Code: Select all

<Struct Name="WS_EquipmentSets" ClientVersion="63136" OpcodeName="OP_EquipmentSets">
     <Data ElementName="category" Type="EQ2_16Bit_String" Size="1" />
</Struct>
but when i open the packet in the packet analyzer it does not see the struct, it says no packet struct found
also shows log data version 63136
select Opcode 793(19-03)
selected opcoe version range 63136-63136
struct client version is blank

what am i missing

Re: New struct

Posted: Tue Jun 20, 2017 11:05 pm
by Jabantiz
That should be all there is to it, the only thing I can think of off the top of my head is if it is a client cmd packet so it would need

OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EquipmentSets"

If it is not a client cmd then the only other thing I can think of is the file you edited is not the same file analyzer points to (this is likely to be the most common issue as we have all done that a lot)

Re: New struct

Posted: Wed Jun 21, 2017 3:16 am
by Ememjr
OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EquipmentSets"

it was this thanks