Azeroth-Pilot-Reloaded / azeroth-pilot-reloaded

Azeroth Pilot Reloaded
GNU General Public License v3.0
29 stars 10 forks source link

[ISSUE] - error when doing dungeons #347

Closed Cudyhouse closed 3 days ago

Cudyhouse commented 1 month ago

Description

Every time in dungeons, i have a lua error message

World of Warcraft Flavor

Retail (Default)

APR Status

{{"Class","SHAMAN"},{"Continent","Khaz Algar"},{"Time & Date","Sat Sep 28 01:41:18 2024"},{"Language","frFR"},{"Name","Zephyrïa"},{"Realm","Krasus"},{"World Coordinates","-2658.50, 2673.80"},{"Level","80"},{"AddOn Version","v4.5.0"},{"Faction","Alliance"},{"Coordinates","53.58, 44.73"},{"Client Build","56647"},{"Client Version","11.0.2"},{"Index, Step","74, GetFP"},{"Route","2248-TWW-Isle-of-Dorn"},{"Zone","Trésor du conseil"}}

Tested with only APR

Lua Error

Message: Interface/AddOns/APR/APR-Core/Transport.lua:317: attempt to perform arithmetic on upvalue 'posX' (a nil value)
Time: Fri Sep 27 22:26:35 2024
Count: 29
Stack: Interface/AddOns/APR/APR-Core/Transport.lua:317: attempt to perform arithmetic on upvalue 'posX' (a nil value)
[string "@Interface/AddOns/APR/APR-Core/Transport.lua"]:317: in function `findClosestTaxi'
[string "@Interface/AddOns/APR/APR-Core/Transport.lua"]:334: in function `ClosestTaxi'
[string "@Interface/AddOns/APR/APR-Core/Transport.lua"]:274: in function `GetPortal'
[string "@Interface/AddOns/APR/APR-Core/Transport.lua"]:74: in function `GetMeToRightZone'
[string "@Interface/AddOns/APR/APR-Core/Transport.lua"]:367: in function <Interface/AddOns/APR/APR-Core/Transport.lua:353>

Locals: faction = "Neutral"
closestDistance = Infinite
closestNodeId = nil
closestName = nil
closestX = 0
closestY = 0
(for state) = <table> {}
(for control) = 2925
nodeId = 2925
taxi = <table> {
 y = 72.316002
 x = -4018.750000
 Name = "Opportunity Point, The Ringing Deeps"
}
taxiX = -4018.750000
taxiY = 72.316002
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on upvalue 'posX' (a nil value)"
continent = 2274
posX = nil
posY = nil

Reproduction Steps

1 : tag into dungeon 2 : entering dungeon 3 : error lua

Screenshots

No response

Any additional information?

No response

Neogeekmo commented 3 days ago

Fixed with v4.5.5