Page 2 of 2

Re: spell icons in maintained window

Posted: Sun Mar 01, 2009 8:01 pm
by LethalEncounter
Hey Zcoretri , don't bother with these spell effects. Ive discovered a bit more about them:

<Struct Name="Substruct_SpellEffects" ClientVersion="843" >
<Data ElementName="spell_id" Type="int32" Size="1" />
<Data ElementName="total_time" Type="float" Size="1" />
<Data ElementName="expire_timestamp" Type="int32" Size="1" />
<Data ElementName="icon" Type="int16" Size="1" />
<Data ElementName="icon_type" Type="int16" Size="1" />
<Data ElementName="unknown2" Type="int16" Size="1" />
</Struct>

<Struct Name="Substruct_MaintainedEffects" ClientVersion="1">
<Data ElementName="name" Type="char" Size="60" />
<Data ElementName="target" Type="int32" Size="1" />
<Data ElementName="target_type" Type="int8" Size="1" />
<Data ElementName="spell_id" Type="int32" Size="1" />
<Data ElementName="slot_pos" Type="int32" Size="1" />
<Data ElementName="icon" Type="int16" Size="1" />
<Data ElementName="icon_type" Type="int16" Size="1" />
<Data ElementName="unknown3" Type="int8" Size="1" />
<Data ElementName="conc_used" Type="int8" Size="1" />
<Data ElementName="total_time" Type="float" Size="1" />
<Data ElementName="expire_timestamp" Type="int32" Size="1" />
</Struct>

Using these structs plus a few changes to World, the spells display the time remaining, flash, and go away like Live. I'm out of time for tonight, but I'll try to fix the remaining bugs tomorrow and get it checked in.

Re: spell icons in maintained window

Posted: Sun Mar 01, 2009 11:39 pm
by Zcoretri
Nice work LE, can't wait to check it out :)