Hello Facepunch,
I am running a modified Half-Life 2 nutscript server (with Warhammer 40K factions as well as their own weapons) by Cheesenut, and the problem I am encountering a loading screen that permanently stays on the player's screen and cannot do anything or select anything while on it. Here are the errors possibly associated to the issue, as shown in my server console:
[code]
[ERROR] gamemodes/hl2rp/schema/sh_config.lua:17: table index is nil
1. unknown - gamemodes/hl2rp/schema/sh_config.lua:17
2. include - [C]:-1
3. include - gamemodes/nutscript/gamemode/core/sh_util.lua:17
4. unknown - gamemodes/hl2rp/schema/sh_schema.lua:131
5. include - [C]:-1
6. include - gamemodes/nutscript/gamemode/core/sh_util.lua:17
7. load - gamemodes/nutscript/gamemode/core/libs/sh_plugin.lua:44
8. initialize - gamemodes/nutscript/gamemode/core/libs/sh_plugin.lua:178
9. unknown - gamemodes/nutscript/gamemode/shared.lua:66
[Rifleman354|2|<redacted>] Lua Error:
[ERROR] gamemodes/hl2rp/schema/sh_schema.lua:170: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. unknown - gamemodes/hl2rp/schema/sh_schema.lua:170
3. include - [C]:-1
4. include - gamemodes/nutscript/gamemode/core/sh_util.lua:17
5. load - gamemodes/nutscript/gamemode/core/libs/sh_plugin.lua:44
6. initialize - gamemodes/nutscript/gamemode/core/libs/sh_plugin.lua:178
7. unknown - gamemodes/nutscript/gamemode/shared.lua:66
[/code]
Following these errors, what I did next was putting back the original factions in the server along with the new ones i placed, no change. Then I deleted all the original classes, still no changes. Now I have no idea how to solve the issue despite my attempts, perhaps someone in this forum knows the solution? Below this paragraph, shows a perpetual loading screen that does not allow me or other players to select or create their RP character.
https://files.facepunch.com/forum/upload/273169/454acab9-4b05-4024-bdbe-f8f7ae182610/rp_avalon_space0001.jpg
why don't you contact the person that made it instead...? They are the person that wrote the code,
which makes them the most suitable to troubleshoot this issue.
Anyways, debugging errors are useless if you don't have the code which they refer to, so post that.
specifically : "gamemodes/hl2rp/schema/sh_config.lua" & "gamemodes/hl2rp/schema/sh_schema.lua"
I'd suggest using pastebin as it'd make things much easier to understand.
I just asked the one of the devs for Nutscript, he said it has something to do with the server, but not sure what exactly, nor does he know the answer.
Problem has been solved! Apparently, the issue is that a particular server add-on is in conflict with Nut script. It is not a LUA code within Nutscript that is causing the loading screen glitch, all I need to do is look for and remove a particular addon out the server content pack.
Sorry, you need to Log In to post a reply to this thread.