Garry's Mod

Need help with a gmod script

Submitted by suicidalaustralian, , Thread ID: 87844

Thread Closed
09-05-2018, 03:38 PM
This post was last modified: 09-05-2018, 03:41 PM by suicidalaustralian
#1
Hi there, recently I began developing a gmod Halo RP server for a friend. He gave me the darkrp Job ranks script as seen on the gmodstore. He wants me to repurpose this script for our Halo RP server, however I have tried quite a few times I cannot seem to figure out how to configure the script to work with our custom joblist. If anyone is able to teach or tell me how to accomplish this I would greatly appreciate it!

An example of some errors I get when trying to use the script unconfigured:

[ERROR] addons/jobrankssystem/lua/tbfy_jobranks/sh_jobranks_config.lua:186: unexpected symbol near '}'
1. unknown - addons/jobrankssystem/lua/tbfy_jobranks/sh_jobranks_config.lua:0



[ERROR] addons/jobrankssystem/lua/tbfy_jobranks/sh_jobranks_config.lua:186: unexpected symbol near '}'
1. unknown - addons/jobrankssystem/lua/tbfy_jobranks/sh_jobranks_config.lua:0

L 05/09/2018 - 23:37:24: Lua Error:
[ERROR] addons/jobrankssystem/lua/tbfy_jobranks/sv_jobranks.lua:229: attempt to index global 'JobRanksConfig' (a nil value)
1. unknown - addons/jobrankssystem/lua/tbfy_jobranks/sv_jobranks.lua:229
2. include - [C]:-1
3. unknown - addons/jobrankssystem/lua/autorun/sh_loadjobranks.lua:8



[ERROR] addons/jobrankssystem/lua/tbfy_jobranks/sv_jobranks.lua:229: attempt to index global 'JobRanksConfig' (a nil value)
1. unknown - addons/jobrankssystem/lua/tbfy_jobranks/sv_jobranks.lua:229
2. include - [C]:-1
3. unknown - addons/jobrankssystem/lua/autorun/sh_loadjobranks.lua:8


[ULib] addons/jobrankssystem/lua/tbfy_jobranks/sh_jobranks.lua:64: attempt to index global 'JobRanksConfig' (a nil value)
1. fn - addons/jobrankssystem/lua/tbfy_jobranks/sh_jobranks.lua:64
2. Call - lua/ulib/shared/hook.lua:109
3. Call - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:149
4. unknown - gamemodes/darkrp/gamemode/init.lua:111
5. DeriveGamemode - [C]:-1
6. unknown - gamemodes/halorp/gamemode/shared.lua:6
7. include - [C]:-1
8. unknown - gamemodes/halorp/gamemode/init.lua:4



[ULib] addons/jobrankssystem/lua/tbfy_jobranks/sh_jobranks.lua:64: attempt to index global 'JobRanksConfig' (a nil value)
1. fn - addons/jobrankssystem/lua/tbfy_jobranks/sh_jobranks.lua:64
2. Call - lua/ulib/shared/hook.lua:109
3. Call - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:149
4. unknown - gamemodes/darkrp/gamemode/init.lua:111
5. DeriveGamemode - [C]:-1
6. unknown - gamemodes/halorp/gamemode/shared.lua:6
7. include - [C]:-1
8. unknown - gamemodes/halorp/gamemode/init.lua:4

Users browsing this thread: 4 Guest(s)