WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   VehicleSeatIndicator.lua Lua Error (https://www.wowinterface.com/forums/showthread.php?t=54148)

zork 08-07-16 02:04 PM

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.


All times are GMT -6. The time now is 04:49 AM.

vBulletin © 2022, Jelsoft Enterprises Ltd
© 2004 - 2021 MMOUI