WS_ExamineSpellInfo
Moderator: Team Members
-
paulgh
- Retired
- Posts: 51
- Joined: Sun Jul 27, 2008 8:48 pm
WS_ExamineSpellInfo
Hi LE,
I have some data and a question. Just in case you haven't already found this, in WS_ExamineSpellInfo,
unknown8 is minimum_range type=float,
unknown10 is two elements: first can_effect_raid, second affect_only_group_members.
Also group_spell seems to be for spells that have continuing effects. There are a few more, but that involves my question.
What exactly does oversized mean? I would think it meant that the value wouldn't fit in the specified size, but I'm having trouble matching the data in my spell log to the structure.
I have some data and a question. Just in case you haven't already found this, in WS_ExamineSpellInfo,
unknown8 is minimum_range type=float,
unknown10 is two elements: first can_effect_raid, second affect_only_group_members.
Also group_spell seems to be for spells that have continuing effects. There are a few more, but that involves my question.
What exactly does oversized mean? I would think it meant that the value wouldn't fit in the specified size, but I'm having trouble matching the data in my spell log to the structure.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Oversized simply means that the value takes up twice as much space as normal. SOE uses 0xFF or 0x7F to signify that fact. If you are looking at the xml structures and the type is int16 with an oversized value of 127, if the first value in that field of the packet is NOT 127 (0x7F) then the value is an int8. It is only an int16 if the value in the first starts with 0x7F. Note that if the value DOES start with 0x7f, you ignore that position and the int16 value is the following 2 bytes.
For example in the power_req field:
10 - this means the spell has a power_req of 16
7F D2 00 - power_req of 210
7F 54 01 - power_req of 340
Thanks for the struct changes
For example in the power_req field:
10 - this means the spell has a power_req of 16
7F D2 00 - power_req of 210
7F 54 01 - power_req of 340
Thanks for the struct changes
-
paulgh
- Retired
- Posts: 51
- Joined: Sun Jul 27, 2008 8:48 pm
Thanks LE. That was confusing the heck out of me.
Continuing on, element unknown2 is min_class_skill_req type=int16 oversized.
Element friendly_spell is actually type=int8. The second byte is:
I am not positive of qty_required, but it fills the space.
Unknown9 seems to be how many time a spell will ... 'proc' is the word I guess. Used mainly in DOT's and HOT's.
That's about all I can decipher. Thanks again for clearing that up for me.
Continuing on, element unknown2 is min_class_skill_req type=int16 oversized.
Element friendly_spell is actually type=int8. The second byte is:
Code: Select all
<Data ElementName="num_reagents" Type="int8" />
<Data ElementName="reagent_array" Type="Array" ArraySizeVariable="num_reagents">
<Data ElementName="reagent" Type="EQ2_8Bit_String" Size="1" />
<Data ElementName="consumed" Type="int8" Size="1" />
<Data ElementName="qty_required" Type="int32" Size="1" />
</Data>Unknown9 seems to be how many time a spell will ... 'proc' is the word I guess. Used mainly in DOT's and HOT's.
That's about all I can decipher. Thanks again for clearing that up for me.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
paulgh
- Retired
- Posts: 51
- Joined: Sun Jul 27, 2008 8:48 pm
Sorry John, but I don't quite understand that. I suppose the consumed and quantity fields could be reversed, as I have no spell that requires 2 or more of a component. There is also the possibility of there being another field, but I only have 1 real example, Call of the Hero. If anyone has any other spells that require reagents, and wants to send the log record my way, I'll be happy to investigate further. Just post a note in one of my threads, as, while I read everything here, I seldom check my email which is my username here @rcn.com.
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Wizards consume Planar Symbols for their ports, and clerics (Templars, Inquistors) consume Odyssey Stones for their port to your bind point.paulgh wrote:Sorry John, but I don't quite understand that. I suppose the consumed and quantity fields could be reversed, as I have no spell that requires 2 or more of a component. There is also the possibility of there being another field, but I only have 1 real example, Call of the Hero. If anyone has any other spells that require reagents, and wants to send the log record my way, I'll be happy to investigate further. Just post a note in one of my threads, as, while I read everything here, I seldom check my email which is my username here @rcn.com.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Simple English... "consumed" sounds like an afterthought, while "qty_required" sounds like a forethought. 
Since it seems to be about reagents, I see it saying "I need 'n' of 'item_id' and have no idea why I think I already consumed some" /boggle
I have a baby wizard, if I ever get to play again, I will certainly let you pick the log apart.
Since it seems to be about reagents, I see it saying "I need 'n' of 'item_id' and have no idea why I think I already consumed some" /boggle
I have a baby wizard, if I ever get to play again, I will certainly let you pick the log apart.
-
paulgh
- Retired
- Posts: 51
- Joined: Sun Jul 27, 2008 8:48 pm
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Great work! Thanks for the updates. I have been busy the last couple of days, but I'll get them added within the next few days.paulgh wrote:Thanks LE. That was confusing the heck out of me.
Continuing on, element unknown2 is min_class_skill_req type=int16 oversized.
Element friendly_spell is actually type=int8. The second byte is:I am not positive of qty_required, but it fills the space.Code: Select all
<Data ElementName="num_reagents" Type="int8" /> <Data ElementName="reagent_array" Type="Array" ArraySizeVariable="num_reagents"> <Data ElementName="reagent" Type="EQ2_8Bit_String" Size="1" /> <Data ElementName="consumed" Type="int8" Size="1" /> <Data ElementName="qty_required" Type="int32" Size="1" /> </Data>
Unknown9 seems to be how many time a spell will ... 'proc' is the word I guess. Used mainly in DOT's and HOT's.
That's about all I can decipher. Thanks again for clearing that up for me.
Who is online
Users browsing this forum: No registered users and 0 guests