Could you please confirm that the offset of GCD field is still 0x2C ? I've spent some time looking at the functions and the GCD I get seems to be wrong for the spells I cast. Still looking at the functions, but maybe someone could confirm.
I was so desperate after some time with no luck that I've even wrote some ugly code to find that offset for me, I kept casting a spell with the GCD I knew (2600ms) and the following ugly code was iterating through the cooldown list and looking for the GCD field with the expected value
no luck:P there is othing found that would look like GCD for the spell I'm casting (Greater Heal), maybe I'm doing something stupid and will notice in a while but maybe someone could just confirm please :-)if (currentTime - startTime < 1000 && spellID==expectedID)
{
double dasdsa = currentTime - startTime;
gcd = Memory.ReadUInt(currentListObject + 0x2c);
try
{
for (int i = 10; i < 50; i++)
{
gcd = Memory.ReadUInt(currentListObject + 0x1+(uint)i);
if (gcd > 2500 && gcd < 3000)
break;
}
}
catch { }
}
edit: it seems like the 0x14 offset for normal cooldown is also not correct, the spell ID and casttime offsets seem to be fine
edit: seems like the normal cooldown offets is now at 20h still testing and looking for gcd field
edit: seems that GCD for spells having also normal cooldown (ex.Mind Blast is at) 0x2B
I'm unable to find the GCD field for spells not using normal cooldowns there doesn't seem to be one, any ideas?
edit: I got it working, the 2Ch field doesn't seem to always contain the GCD anyway,
Last edited by rafalsk; 12-17-2010 at 07:52 PM.
What's current SpellsOnCooldown list offset?
edit:looks like table moved for some time(I've found that list under other offet than it's on offset list/come from deassembling getspellcooldown), but now it's back in old place. No idea why it moved.
Last edited by xmer; 12-21-2010 at 01:01 PM.
Casting some spells create 2 elements on CD list: one contain GCD and another for spell CD.I got it working, the 2Ch field doesn't seem to always contain the GCD anyway,