#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)

开启中
image10 月之前创建 · 0 条评论
image 评论于 10 月之前

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>
登录 并参与到对话中。
正在加载...
取消
保存
这个人很懒,什么都没留下。