Z-Perl Unit Frames

Z-Perl Unit Frames

16M Downloads

Wrath ptr error

Raulfin opened this issue ยท 3 comments

commented
32x ZPerl_Target/ZPerl_Target.lua:1544: attempt to call global 'UnitIsBattlePet' (a nil value)
[string "@ZPerl_Target/ZPerl_Target.lua"]:1544: in function `func'
[string "@ZPerl_Target/ZPerl_Target.lua"]:1301: in function <ZPerl_Target/ZPerl_Target.lua:1299>

Locals:
self = XPerl_Target {
 bossFrame = XPerl_TargetbossFrame {
 }
 perlBuffs = 0
 portraitFrame = XPerl_TargetportraitFrame {
 }
 nameFrame = XPerl_TargetnameFrame {
 }
 OnBackdropLoaded = <function> defined @SharedXML/Backdrop.lua:152
 GetBackdropColor = <function> defined @SharedXML/Backdrop.lua:390
 partyid = "target"
 hitIndicator = XPerl_TargethitIndicator {
 }
 combatMask = 65536
 SetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:422
 ApplyBackdrop = <function> defined @SharedXML/Backdrop.lua:294
 SetBackdrop = <function> defined @SharedXML/Backdrop.lua:329
 ClearBackdrop = <function> defined @SharedXML/Backdrop.lua:282
 GetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:409
 GetBackdrop = <function> defined @SharedXML/Backdrop.lua:347
 eliteFrame = XPerl_TargeteliteFrame {
 }
 SetBorderBlendMode = <function> defined @SharedXML/Backdrop.lua:266
 highlight = XPerl_Targethighlight {
 }
 cpFrame = XPerl_TargetcpFrame {
 }
 OnBackdropSizeChanged = <function> defined @SharedXML/Backdrop.lua:182
 HasBackdropInfo = <function> defined @SharedXML/Backdrop.lua:278
 creatureTypeFrame = XPerl_TargetcreatureTypeFrame {
 }
 0 = <userdata>
 statsFrame = XPerl_TargetstatsFrame {
 }
 typeFramePlayer = XPerl_TargettypeFramePlayer {
 }
 FlashFrames = <table> {
 }
 conf = <table> {
 }
 time = 0
 buffSetup = <table> {
 }
 perlDebuffs = 0
 feedbackFontHeight = 30
 feedbackText = XPerl_TargethitIndicatortext {
 }
 buffFrame = XPerl_TargetbuffFrame {
 }
 debuffFrame = XPerl_TargetdebuffFrame {
 }
 SetupTextureCoordinates = <function> defined @SharedXML/Backdrop.lua:214
 SetupPieceVisuals = <function> defined @SharedXML/Backdrop.lua:246
 SetBackdropColor = <function> defined @SharedXML/Backdrop.lua:399
 GetEdgeSize = <function> defined @SharedXML/Backdrop.lua:188
 levelFrame = XPerl_TargetlevelFrame {
 }
}
(*temporary) = nil
(*temporary) = "target"
(*temporary) = "attempt to call global 'UnitIsBattlePet' (a nil value)"

commented

This error is now still present in live wrath classic of this morning

commented

in ZPerl_Target.lua comment out lines 144 and 145

		--"PET_BATTLE_HEALTH_CHANGED",
		--"UPDATE_SUMMONPETS_ACTION",
commented

thanks a ton, NayooZ, this worked perfectly.