New struct

Discussions of the design and development of in-game content.

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

New struct

Post by Ememjr » Tue Jun 20, 2017 8:24 pm

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

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: New struct

Post by Jabantiz » Tue Jun 20, 2017 11:05 pm

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)

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: New struct

Post by Ememjr » Wed Jun 21, 2017 3:16 am

OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EquipmentSets"

it was this thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests