WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   Tutorials & Other Helpful Info. (http://www.wowinterface.com/forums/forumdisplay.php?f=12)
-   -   4.1 COMBAT_LOG_EVENT_UNFILTERED changes (http://www.wowinterface.com/forums/showthread.php?t=39104)

MysticalOS 02-27-11 02:44 PM

4.1 COMBAT_LOG_EVENT_UNFILTERED changes
 
4.1 adds a new arg, hideCaster (boolean), and of course, with blizz tradition, not at the end, but right smack in the middle offseting rest of args and breaking mods not updated to account for it. This boolean isn't logged by /combatlog so that parsing seems unaffected.

4.0.6
COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, ...)

4.1
COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, ...)

Ketho 02-27-11 03:47 PM

.. that sucks. :(

MysticalOS 02-27-11 04:42 PM

not really, it's a 2 second fix in most mods when 4.1 launches, to support it now though just means some if/else rules and a client build check to have your mod support ptr and live similtaniously.

Seerah 02-27-11 05:16 PM

To perhaps help explain why it's in the middle instead of the end... The different CLEU events add returns to the end of the normal CLEU returns.

Crissa 03-03-11 06:00 PM

What does the new item mean, though?

-Crissa

SDPhantom 03-03-11 07:32 PM

it's a flag telling the combat log if it should show the message or not, this could possibly mean events firing for spells currently not fired for CLEU?

Waky 03-03-11 09:19 PM

Thanks for that note, I'll have some changing to do come 4.1

Nuggs 03-05-11 01:42 PM

lol, lovely place to stick it. Thanks for the heads up though. :D

Morsker 03-05-11 04:48 PM

When trying to make mods compatible between 4.0.6 and 4.1 I noticed that GetBuildInfo() is still returning 40000 as its 4th value on the PTR, even though the 1st value is "4.1.0". I resorted to this for consistency's sake:

Code:

local clientVersion
do
        local version = GetBuildInfo() -- e.g. "4.0.6"
        local a, b, c = strsplit(".", version) -- e.g. "4", "0", "6"
        clientVersion = 10000*a + 100*b + c -- e.g. 40006
end



All times are GMT -6. The time now is 10:22 AM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC