Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Both command table & shipyard table LUA errors #72

Open
gaymer77 opened this issue May 9, 2024 · 3 comments
Open

Both command table & shipyard table LUA errors #72

gaymer77 opened this issue May 9, 2024 · 3 comments

Comments

@gaymer77
Copy link

gaymer77 commented May 9, 2024

Since patch 10.2.7 dropped on Tues I've been getting LUA errors like crazy when I go to both the Command Table and the Fleet Command Table (also Mission Table for BFA but I'll post that under the page for that addon isntead of here). The issues I'm seeing with the command table is the pops two LUA errors immediately when you open the command table (listed as FIRST LUA ERROR ON COMMAND TABLE & SECOND LUA ERROR ON THE COMMAND TABLE below) and then when you select "Garrison Commander Quick Mission Completion" its own/another LUA error (its listed as THIRD LUA ERROR ON COMMAND TABLE below) and does not complete any of the missions like it previously has done. When you go to the Followers tab of the Command Table, it throws out another LUA error too. You have to manually complete it as if you weren't using the addon.

The other issue is with the Fleet Command Table.

### FIRST LUA ERROR ON THE COMMAND TABLE (happens when you initially open the Command Table)

Message: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
Time: Wed May  8 17:41:06 2024
Count: 1
Stack: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `SetJustifyV'
[string "@Interface/AddOns/GarrisonCommander/Widgets.lua"]:304: in function `?'
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:102: in function <...face/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua:91>
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:140: in function `Create'
[string "@Interface/AddOns/GarrisonCommander/MissionControl.lua"]:852: in function `BuildMissionList'
[string "@Interface/AddOns/GarrisonCommander/MissionControl.lua"]:589: in function <...nterface/AddOns/GarrisonCommander/MissionControl.lua:566>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "@Interface/AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua"]:66: in function <.../AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua"]:494: in function `InitializeAddon'
[string "@Interface/AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua"]:619: in function <.../AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua:611>
[string "=[C]"]: ?
[string "=[C]"]: in function `LoadAddOn'
[string "@Interface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua"]:402: in function `UIParentLoadAddOn'
[string "@Interface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua"]:599: in function `Garrison_LoadUI'
[string "@Interface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua"]:2182: in function <...rface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua:1304>

Locals: (*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = "CENTER"

### SECOND LUA ERROR FOR COMMAND TABLE (happens when you initially open the Command Table)

Message: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
Time: Wed May  8 17:41:06 2024
Count: 1
Stack: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `SetJustifyV'
[string "@Interface/AddOns/GarrisonCommander/Widgets.lua"]:304: in function `?'
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:102: in function <...face/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua:91>
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:140: in function `Create'
[string "@Interface/AddOns/GarrisonCommander/ShipControl.lua"]:860: in function `BuildMissionList'
[string "@Interface/AddOns/GarrisonCommander/ShipControl.lua"]:642: in function <Interface/AddOns/GarrisonCommander/ShipControl.lua:619>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "@Interface/AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua"]:66: in function <.../AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua"]:494: in function `InitializeAddon'
[string "@Interface/AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua"]:619: in function <.../AddOns/DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua:611>
[string "=[C]"]: ?
[string "=[C]"]: in function `LoadAddOn'
[string "@Interface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua"]:402: in function `UIParentLoadAddOn'
[string "@Interface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua"]:599: in function `Garrison_LoadUI'
[string "@Interface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua"]:2182: in function <...rface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua:1304>
Locals: (*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = "CENTER"

### THIRD LUA ERROR (happens when you select (Garrison Comander Quick Mission Competion")

Message: Interface/AddOns/GarrisonCommander/Widgets.lua:475: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
Time: Wed May  8 17:44:54 2024
Count: 1
Stack: Interface/AddOns/GarrisonCommander/Widgets.lua:475: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `SetJustifyV'
[string "@Interface/AddOns/GarrisonCommander/Widgets.lua"]:475: in function `?'
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:102: in function <...face/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua:91>
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:140: in function `Create'
[string "@Interface/AddOns/GarrisonCommander/Widgets.lua"]:67: in function `AddMissionButton'
[string "@Interface/AddOns/GarrisonCommander/MissionCompletion.lua"]:277: in function `MissionAutoComplete'
[string "@Interface/AddOns/GarrisonCommander/MissionCompletion.lua"]:198: in function <...rface/AddOns/GarrisonCommander/MissionCompletion.lua:130>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:996: in function <...rface/AddOns/GarrisonCommander/GarrisonCommander.lua:996>

Locals: (*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = "CENTER"

### FORTH LUA ERROR (happens when you click on the Followers tab)

Message: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
Time: Wed May  8 17:45:40 2024
Count: 1
Stack: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `SetJustifyV'
[string "@Interface/AddOns/GarrisonCommander/Widgets.lua"]:304: in function `?'
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:102: in function <...face/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua:91>
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:140: in function `Create'
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:1444: in function `RenderFollowerPageMissionList'
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:1653: in function `AddMenu'
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:1639: in function `RefreshMenu'
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:3121: in function <...rface/AddOns/GarrisonCommander/GarrisonCommander.lua:3107>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `SelectTab'
[string "@Interface/AddOns/Blizzard_GarrisonTemplates/Blizzard_GarrisonMissionTemplates.lua"]:2347: in function <...risonTemplates/Blizzard_GarrisonMissionTemplates.lua:2343>
[string "=(tail call)"]: ?

Locals: (*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = "CENTER"

### FIFTH LUA ERROR (happens when you click on an individual follower under the Follower tab)

Message: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
Time: Wed May  8 17:46:42 2024
Count: 1
Stack: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `SetJustifyV'
[string "@Interface/AddOns/GarrisonCommander/Widgets.lua"]:304: in function `?'
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:102: in function <...face/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua:91>
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:140: in function `Create'
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:1444: in function <...rface/AddOns/GarrisonCommander/GarrisonCommander.lua:1412>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:1329: in function <...rface/AddOns/GarrisonCommander/GarrisonCommander.lua:1323>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `GarrisonFollowerListButton_OnClick'
[string "@Interface/AddOns/Blizzard_GarrisonTemplates/Blizzard_GarrisonSharedTemplates.lua"]:1064: in function <...rrisonTemplates/Blizzard_GarrisonSharedTemplates.lua:1060>

Locals: (*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = "CENTER"

### SIXTH LUA ERROR (happens when you go back to the Mission tab from the Follower tab and also blocks you from actually going into the Mission tab again without having to having to log out & back in to be able to go to the Mission tab)

Message: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
Time: Wed May  8 17:47:59 2024
Count: 1
Stack: Interface/AddOns/GarrisonCommander/Widgets.lua:304: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `SetJustifyV'
[string "@Interface/AddOns/GarrisonCommander/Widgets.lua"]:304: in function `?'
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:102: in function <...face/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua:91>
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:140: in function `Create'
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:1444: in function `RenderFollowerPageMissionList'
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:1653: in function `AddMenu'
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:1639: in function `RefreshMenu'
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:3105: in function `?'
[string "@Interface/AddOns/GarrisonCommander/libs/LibInit/Ace3/AceHook-3.0/AceHook-3.0.lua"]:90: in function <...mander/libs/LibInit/Ace3/AceHook-3.0/AceHook-3.0.lua:87>

Locals: (*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = "CENTER"

### FIRST LUA ERROR FOR THE FLEET COMMAND TABLE (when you click on "Garrison Comander Quick Mission Completion button)

Message: Interface/AddOns/GarrisonCommander/Widgets.lua:475: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
Time: Wed May  8 18:20:19 2024
Count: 1
Stack: Interface/AddOns/GarrisonCommander/Widgets.lua:475: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `SetJustifyV'
[string "@Interface/AddOns/GarrisonCommander/Widgets.lua"]:475: in function `?'
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:102: in function <...face/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua:91>
[string "@Interface/AddOns/Altoholic/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:140: in function `Create'
[string "@Interface/AddOns/GarrisonCommander/Widgets.lua"]:67: in function `AddMissionButton'
[string "@Interface/AddOns/GarrisonCommander/MissionCompletion.lua"]:277: in function `MissionAutoComplete'
[string "@Interface/AddOns/GarrisonCommander/MissionCompletion.lua"]:198: in function <...rface/AddOns/GarrisonCommander/MissionCompletion.lua:130>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/GarrisonCommander/GarrisonCommander.lua"]:996: in function <...rface/AddOns/GarrisonCommander/GarrisonCommander.lua:996>

Locals: (*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = "CENTER"

### SECOND LUA ERROR FOR THE FLEET COMMAND TABLE (when after you manually complete shipyard missions)

Message: Interface/AddOns/GarrisonCommander/ShipYard.lua:195: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
Time: Wed May  8 18:21:32 2024
Count: 11
Stack: Interface/AddOns/GarrisonCommander/ShipYard.lua:195: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `SetJustifyV'
[string "@Interface/AddOns/GarrisonCommander/ShipYard.lua"]:195: in function <Interface/AddOns/GarrisonCommander/ShipYard.lua:171>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `GarrisonShipyardMap_SetupBonus'
[string "@Interface/AddOns/Blizzard_GarrisonUI/Mainline/Blizzard_GarrisonShipyardUI.lua"]:1162: in function `GarrisonShipyardMap_UpdateMissions'
[string "@Interface/AddOns/Blizzard_GarrisonUI/Mainline/Blizzard_GarrisonShipyardUI.lua"]:855: in function <..._GarrisonUI/Mainline/Blizzard_GarrisonShipyardUI.lua:851>

Locals: (*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = "CENTER"
@Lilyheart
Copy link

Lilyheart commented May 12, 2024

Replacing all instances of SetJustifyV("CENTER") with SetJustifyV("MIDDLE") resolves the problem.

@gaymer77
Copy link
Author

Replacing all instances of SetJustifyV("CENTER") with SetJustifyV("MIDDLE") resolves the problem.

I tried that and it actually made it worse. Now any time I just hover over a table it throws LUA errors.

@Eyedol-X
Copy link

Eyedol-X commented May 13, 2024

Replacing all instances of SetJustifyV("CENTER") with SetJustifyV("MIDDLE") resolves the problem.

This worked for me, updated instances in GarrisonCommander.lua, Shipyard.lua, and Quick.lua - Did not change anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants