Page 1 of 1

Substruct_MaintainedEffects

Posted: Fri Feb 27, 2009 12:35 pm
by Zcoretri
I think I have resolved some unknowns in this struct.
Current struct:

Code: Select all

- <Struct Name="Substruct_MaintainedEffects" ClientVersion="1">
  <Data ElementName="name" Type="char" Size="60" /> 
  <Data ElementName="target" Type="int32" Size="1" /> 
  <Data ElementName="unknown" Type="int8" Size="1" /> 
  <Data ElementName="spell_id" Type="int32" Size="1" /> 
  <Data ElementName="unknown2" Type="int32" Size="1" /> 
  <Data ElementName="icon" Type="int16" Size="1" /> 
  <Data ElementName="icon_type" Type="int16" Size="1" /> 
  <Data ElementName="unknown3" Type="int16" Size="1" /> 
  <Data ElementName="time_remaining" Type="float" Size="1" /> 
  <Data ElementName="icon_color" Type="int32" Size="1" /> 
  </Struct>
new struct:

Code: Select all

- <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="time_remaining" Type="float" Size="1" /> 
  <Data ElementName="icon_color" Type="int32" Size="1" /> 
  </Struct>

On the target type I got these values:
0 = Self
1 = Pet <--------------Edit: played with server code and found it displayed this :)
2 = <Spawn> Name <-----Edit: setting this displayed nothing, where on live it displays the name of target of the spell
3 = Group

slot_num = position of the shown icon in the maintained window

unknown3 still unknown, but there was always a 1 here

conc_used = every maintained effect that used a concentration slot show a value of 1 here.

Re: Substruct_MaintainedEffects

Posted: Fri Feb 27, 2009 2:43 pm
by LethalEncounter
Awesome, thanks! Whenever I get around to fixing spells (soon), I'll be sure to use this :)

Re: Substruct_MaintainedEffects

Posted: Fri Feb 27, 2009 2:50 pm
by Scatman
Nice job Zcor :)

Re: Substruct_MaintainedEffects

Posted: Fri Feb 27, 2009 5:27 pm
by John Adams
Motion put before the team to append any statement giving estimated time frames with the Sony Online Entertainment Official Disclaimer "soon(tm)".

Do I hear a second?

Re: Substruct_MaintainedEffects

Posted: Sat Feb 28, 2009 1:36 am
by Zcoretri
John Adams wrote:Motion put before the team to append any statement giving estimated time frames with the Sony Online Entertainment Official Disclaimer "soon(tm)".

Do I hear a second?
Second the motion