Thread Tools Display Modes
08-07-16, 02:04 PM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
VehicleSeatIndicator.lua Lua Error

Vehicle Seat Indicator produces an Lua error upon entering the following vehicle in Ulduar.



Error:
Code:
Message: Interface\FrameXML\VehicleSeatIndicator.lua:40: attempt to perform arithmetic on local 'xOffset' (a nil value)
Time: 08/07/16 21:58:37
Count: 1
Stack: Interface\FrameXML\VehicleSeatIndicator.lua:40: in function `VehicleSeatIndicator_SetUpVehicle'
Interface\FrameXML\VehicleSeatIndicator.lua:96: in function <Interface\FrameXML\VehicleSeatIndicator.lua:93>

Locals: vehicleIndicatorID = 227
backgroundTexture = "Interface\Vehicles\SeatIndicator\Vehicle-SiegeEngine.blp"
numSeatIndicators = 2
totalHeight = 128
totalWidth = 128
(for index) = 2
(for limit) = 2
(for step) = 1
i = 2
button = VehicleSeatIndicatorButton2 {
 0 = <userdata>
}
virtualSeatIndex = nil
xOffset = nil
yOffset = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = VehicleSeatIndicatorButton2 {
 0 = <userdata>
}
(*temporary) = "CENTER"
(*temporary) = VehicleSeatIndicator {
 0 = <userdata>
 currSkin = 227
 hasPulsedPlayer = false
}
(*temporary) = "TOPLEFT"
(*temporary) = VehicleSeatIndicator {
 0 = <userdata>
 currSkin = 227
 hasPulsedPlayer = false
}
(*temporary) = VehicleSeatIndicatorButton2Highlight {
 0 = <userdata>
}
(*temporary) = "attempt to perform arithmetic on local 'xOffset' (a nil value)"
numVehicleIndicatorButtons = 2
Only appears to affect the biggest vehicle.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » VehicleSeatIndicator.lua Lua Error

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off