Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
[Weapon Loadouts]
lua/autorun/weapon_loadout.lua:233: bad argument #1 to 'TableToKeyValues' (table expected, got nil)
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:490
6. unknown - lua/includes/extensions/net.lua:33
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. getMostLoadouts - lua/autorun/weapon_loadout.lua:238
4. WL_FGlobal_ModifyLoad - lua/autorun/weapon_loadout.lua:736
5. func - lua/autorun/weapon_loadout.lua:654
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:662
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:490
6. unknown - lua/includes/extensions/net.lua:33
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. getMostLoadouts - lua/autorun/weapon_loadout.lua:238
4. WL_FGlobal_ModifyLoad - lua/autorun/weapon_loadout.lua:736
5. func - lua/autorun/weapon_loadout.lua:654
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. getMostLoadouts - lua/autorun/weapon_loadout.lua:238
4. WL_FGlobal_ModifyLoad - lua/autorun/weapon_loadout.lua:736
5. func - lua/autorun/weapon_loadout.lua:654
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:662
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
2. saveData - lua/autorun/weapon_loadout.lua:233
3. getMostLoadouts - lua/autorun/weapon_loadout.lua:238
4. WL_FGlobal_ModifyLoad - lua/autorun/weapon_loadout.lua:736
5. func - lua/autorun/weapon_loadout.lua:654
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
This mod seriously is a must have, and I love it.
it was working before I switched computers (it still works now but creates an error)
but just recently it started creating a lua error whenever i spawn a VJ SNPC...
2. Becomes completely nonfunctional when any ammo has a negative amount
Go into steamapps\common\GarrysMod\garrysmod\data\weapon_loadouts and you'll find a file called weapon_loadouts.txt (IF YOU DON"T, YOU NEED TO MAKE IT)
Open it, CTRL + A, and delete it all.
This should reset your data and you should be good
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:662
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
8. ActivateTool - lua/includes/modules/spawnmenu.lua:287
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:132
10. unknown - lua/vgui/dlabel.lua:237
This happens when you're trying to open up the loadouts
The addon works if you already had a loadout saved. Ask a friend's for their save file. That is what I did. It can be found in steamapps\common\GarrysMod\garrysmod\data\weapon_loadouts, and is called "weapon_loadouts.txt"
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:662
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
8. ActivateTool - lua/includes/modules/spawnmenu.lua:287
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:132
10. unknown - lua/vgui/dlabel.lua:237
I'm getting the same problem