#530 Array data does not work when using a base version (1) from a configReader.getStruct versus the actual version of the client (eg 546 for dof)

Open
opened 10 months ago by image · 0 comments
image commented 10 months ago

I noticed this when trying to use some of the base client version structs

if only ClientVersion="1" exists, the recipe array data will not serialize or printpacket. Workaround obviously is to make packets for the client version used.

I noticed this when trying to use some of the base client version structs if only ClientVersion="1" exists, the recipe array data will not serialize or printpacket. Workaround obviously is to make packets for the client version used. <Struct Name="WS_UpdateRecipeBook" ClientVersion="1" OpcodeName="OP_UpdateRecipeBookMsg"> <Data ElementName="recipe_count" Type="int16" /> <Data ElementName="packed_size" Type="int32" /> <Data ElementName="recipe_array" Type="Array" ArrayVariableSize="recipe_count"> <Data ElementName="recipe_id" Type="int32" Size="1" /> <Data ElementName="unknown" Type="int32" Size="2" /> </Data> <Data ElementName="unknown1" Type="int32" Size="1" /> </Struct> <Struct Name="WS_UpdateRecipeBook" ClientVersion="546" OpcodeName="OP_UpdateRecipeBookMsg"> <Data ElementName="recipe_count" Type="int16" /> <Data ElementName="packed_size" Type="int32" /> <Data ElementName="skill_array" Type="Array" ArraySizeVariable="recipe_count"> <Data ElementName="recipe_id" Type="int32" Size="1" /> <Data ElementName="unknown" Type="int32" Size="2" /> </Data> </Struct>
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.