安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






[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