Hi
does blizzard change unitcastinginfo, because i tryed to reverse the function, where i can find endtime and starttime, but it looks like that this parameters not available anyone more (always getting 0), has anyone the same problem?
Thx
Hi
does blizzard change unitcastinginfo, because i tryed to reverse the function, where i can find endtime and starttime, but it looks like that this parameters not available anyone more (always getting 0), has anyone the same problem?
Thx
They're still there.
wth!, okay,
when i check the script_unitcastinginfo in IDA i find out it should be at Playerbase + 0C38h, is that correct?
0xC48 for start time, 0xC4C for end time.
Code:v25 = *(_DWORD *)(pUnit + 0xC48); v26 = (double)v25; if ( v25 < 0 ) v26 = v26 + aIsNot; FrameScript::PushNumber(a1, v26); // startTime v27 = (double)*(signed int *)(pUnit + 0xC4C); if ( *(_DWORD *)(pUnit + 0xC4C) < 0 ) v27 = v27 + aIsNot; FrameScript::PushNumber(a1, v27); // endTime
i already checked these offsets but got no values, the problem was, during my test i made a simple test procedure, after casting a spell i checked the values from the offset to early (i think server did not send back the info), now i added a simple thread.sleep of 200 for debugging and it works, thx a lot apoc, next time i will know how i can find such stuff.