Azeroth-Pilot-Reloaded / azeroth-pilot-reloaded

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

[ISSUE] - Troll Starting Zones #350

Closed LexaraTalionis closed 1 month ago

LexaraTalionis commented 1 month ago

Description

I expected the addon to successfully load the Troll Start route. It didn't.

World of Warcraft Flavor

Retail (Default)

APR Status

Message: Interface/AddOns/APR/APR-Core/helpers/StepHelper.lua:24: bad argument #1 to 'pairs' (table expected, got nil) Time: Sun Oct 6 16:54:44 2024 Count: 1 Stack: Interface/AddOns/APR/APR-Core/helpers/StepHelper.lua:24: bad argument #1 to 'pairs' (table expected, got nil) [string "@Interface/AddOns/APR/APR-Core/libs/AceGUI-3.0/AceGUI-3.0.lua"]:66: in function <...e/AddOns/APR/APR-Core/libs/AceGUI-3.0/AceGUI-3.0.lua:64> [string "@Interface/AddOns/APR/APR-Core/libs/AceGUI-3.0/AceGUI-3.0.lua"]:300: in function `Fire' [string "@Interface/AddOns/APR/APR-Core/libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua"]:22: in function <...Core/libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>

Locals:

Tested with only APR

Lua Error

Message: Interface/AddOns/APR/APR-Core/Transport.lua:45: attempt to index field '?' (a nil value) Time: Sun Oct 6 16:54:28 2024 Count: 1 Stack: Interface/AddOns/APR/APR-Core/Transport.lua:45: attempt to index field '?' (a nil value)

[string "@Interface/AddOns/APR/APR-Core/Transport.lua"]:45: in function GetMeToRightZone' [string "@Interface/AddOns/APR/APR-Core/QuestHandler.lua"]:1066: in functionfunc' [string "@Interface/AddOns/APR/APR-Core/QuestHandler.lua"]:1081: in function <Interface/AddOns/APR/APR-Core/QuestHandler.lua:1060>

Locals:

Reproduction Steps

  1. Create a Troll character
  2. When prompted to "Choose your Starting Zone" select "Echo Isles"
  3. Open APR
  4. Select "Route"
  5. Click "Speed Run"

Screenshots

No response

Any additional information?

This error is due to a missing period between "APR.Classes" and the class name.

Starting at line 1098 of APR\Routes\Vanilla\Kalimdor_Horde.lua elseif APR.ClassId == APR.ClassesWarrior and APR.Race == "Troll" then should be elseif APR.ClassId == APR.Classes.Warrior and APR.Race == "Troll" then

Please note that the bug affects all Trolls starting on the Echo Isles of all classes, so each class's if clause will have to be corrected.