View Single Post
Old 06-28-11, 06:42 PM   #1
CyberZombie
A Deviate Faerie Dragon
 
CyberZombie's Avatar
Join Date: May 2006
Posts: 16
Patch for WoW 4.2 error messages

There are 2 new parameters for the COMBAT_LOG_EVENT_UNFILTERED event added in 4.2. The changes I made correct them. Note: I am sure that the Carbonite folks will be making use of the additional parameters as they fall in line with other parameters they are using. This is ONLY A TEMPORARY FIX. Buyer beware.

This patch is for the release version 4.11 of Carbonite in the file Carbonite.lua.

The lines to patch are 2675, 9672, and 9679-9682.

Thanks to Karquile for his idea to use search if line numbers don't match:
Originally Posted by Karquile View Post
I did the same. I think the difference is that I use Win32Pad for my text editor, and it assigns numbers to the wraparounds of those ultralong data lines in the 5000's.

Anyone who can't find the patch area in Carbonite 4.11, regardless of the editor they use, should search for
...
which only occurs once in the whole lua file. The patch starts there.

Line 2675 or search for the following:
Code:
local sNa,sFl
Original:
Code:
local sNa,sFl,dId,dNa,dFl=select(5,...)
Patched:
Code:
local sNa,sFl,sRFl,dId,dNa,dFl,dRFl=select(5,...)

Line 9672 or search for the following:
Code:
local time,cEv
Original:
Code:
local time,cEv,_hideCaster,sId,sNa,sFl,dId,dNa,dFl,a1,a2,a3,a4=select(1,...)
Patched:
Code:
local time,cEv,_hideCaster,sId,sNa,sFl,sRFl,dId,dNa,dFl,dRFl,a1,a2,a3,a4=select(1,...)

Lines 9679-9682 or search for the following:
Code:
local i=10
Original:
Code:
local i=10
if pre~="SWING" then
spI,spN,spS=select(10,...)
i=13
Patched:
Code:
local i=12
if pre~="SWING" then
spI,spN,spS=select(12,...)
i=15

Last edited by CyberZombie : 06-29-11 at 12:11 PM.
CyberZombie is offline