Page 1 of 1

WorldStructs.xml Updates

Posted: Sat Apr 14, 2018 12:22 pm
by tyrbo
Couple of things to add to WorldStructs.xml:

They added a ward remaining about to heal packets. This isn't represented in this struck. I think they changed other parts of the struct as well at the same time. Additionally, the amount looks to probably be an int64.

Code: Select all

<Struct Name="WS_HearHeal" ClientVersion="64600" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqHearHealCmd">
<Data ElementName="caster" Type="int32" />
<Data ElementName="target" Type="int32" />
<Data ElementName="heal_amt" Type="int64" />
<Data ElementName="spellname" Type="EQ2_16Bit_String" Size="1"/>
<Data ElementName="crit_type" Type="int8" />
<Data ElementName="unknown" Type="int8" />
<Data ElementName="type" Type="int8" />
</Struct>
crit_type handles the different crit types. 0 being normal, and the next couple representing mythical crits and fabled and whatever other types they added.

Also,

The character sheet gained a couple extra bytes as well at some point, which breaks some things. I also updated HearSpellDamage to be an int64.
This diff on GitHub contains only those changes, so I'll link it to simplify things. Also allows ranged attacks to crit, which wasn't apparently a thing before.

https://github.com/stitchpvp/world/comm ... 382f0a766b

I left that HearSpellDamage as 63120. Looking at it now makes me question that, maybe it should have been a version bump. I don't have a backup of that client to check.

No idea when the character sheet change happened. Wasn't obvious until I tried grouping.

Re: WorldStructs.xml Updates

Posted: Tue Apr 17, 2018 12:04 am
by Cynnar
I will try to get this added in when I can.
tyrbo wrote: Sat Apr 14, 2018 12:22 pm crit_type handles the different crit types. 0 being normal, and the next couple representing mythical crits and fabled and whatever other types they added.
There is a packet that has these crit types in it, I believe. In version 64587 (last collect I had done) it was opcode 608. I have not really messed much with it besides adding in OP_CritType for the opcode name and started a bare min in the struts.

Edit:
commited this to SVN