giveitempanel lua errors

Status
Not open for further replies.
Messages
1,171
Reaction score
2,089
Points
870
Location
United States of America
Type of bug: LUA

Description of the bug: opening the item panel produces script errors and doesn't show anything in the gui. The value changers are a bit buggy but you can still change the numbers by clicking the up and down buttons.

How to reproduce the bug: giveitempanel in console, script errors.

Time stamp(s): 12:20PM GMT -8 11/12/2020

*Errors:

[ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81: attempt to index field 'List' (a nil value) 1. OnValueChanged - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81 2. SetValue - lua/vgui/dnumberwang.lua:164 3. unknown - lua/vgui/dnumberwang.lua:83 (x10) [ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81: attempt to index field 'List' (a nil value) 1. OnValueChanged - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81 2. SetValue - lua/vgui/dnumberwang.lua:164 3. DoClick - lua/vgui/dnumberwang.lua:60 4. OldOnMouseReleased - lua/vgui/dlabel.lua:237 5. UnAnchorValue - lua/vgui/dnumberwang.lua:21 6. unknown - lua/vgui/dnumberwang.lua:66 [ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81: attempt to index field 'List' (a nil value) 1. OnValueChanged - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81 2. SetValue - lua/vgui/dnumberwang.lua:164 3. unknown - lua/vgui/dnumberwang.lua:83 [ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81: attempt to index field 'List' (a nil value) 1. OnValueChanged - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81 2. SetValue - lua/vgui/dnumberwang.lua:164 3. DoClick - lua/vgui/dnumberwang.lua:60 4. OldOnMouseReleased - lua/vgui/dlabel.lua:237 5. UnAnchorValue - lua/vgui/dnumberwang.lua:21 6. unknown - lua/vgui/dnumberwang.lua:66 [ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81: attempt to index field 'List' (a nil value) 1. OnValueChanged - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81 2. SetValue - lua/vgui/dnumberwang.lua:164 3. unknown - lua/vgui/dnumberwang.lua:83 [ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81: attempt to index field 'List' (a nil value) 1. OnValueChanged - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81 2. SetValue - lua/vgui/dnumberwang.lua:164 3. DoClick - lua/vgui/dnumberwang.lua:60 4. OldOnMouseReleased - lua/vgui/dlabel.lua:237 5. UnAnchorValue - lua/vgui/dnumberwang.lua:21 6. unknown - lua/vgui/dnumberwang.lua:66 [ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81: attempt to index field 'List' (a nil value) 1. OnValueChanged - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:81 2. SetValue - lua/vgui/dnumberwang.lua:164 3. unknown - lua/vgui/dnumberwang.lua:83 (x12) [ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:104: attempt to index field 'List' (a nil value) 1. unknown - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:104 (x10) [ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:145: attempt to index field 'IsGovEquipment' (a boolean value) 1. GiveItemPanelCreate - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:145 2. unknown - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:187 3. unknown - lua/includes/modules/concommand.lua:54 [ERROR] gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:104: attempt to index field 'List' (a nil value) 1. unknown - gamemodes/perp/gamemode/modules/guicore/menus/giveitem.lua:104

*Media:
13440e2b4ae4c1da07ed65ad364d4c05.png

https://gyazo.com/13440e2b4ae4c1da07ed65ad364d4c05
 
Upvote 0
A fix has been pushed for the next server restart

This issue only occurs for people that have the "giveitem" permission but not the "developer" permission, aka Administrators.
 
Status
Not open for further replies.
Back
Top