WorldStructs.xml Updates

Code pertaining to the server

Moderator: Team Members

Post Reply
tyrbo
Team Member
Posts: 271
Joined: Thu Feb 18, 2016 12:33 pm

WorldStructs.xml Updates

Post by tyrbo » Sat Apr 14, 2018 12:22 pm

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.

User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Re: WorldStructs.xml Updates

Post by Cynnar » Tue Apr 17, 2018 12:04 am

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
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests