1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

The error podioum

Discussion in 'Modder General Chat' started by alemismun, Mar 4, 2017.

?

Did I fuck up bad?

Poll closed Mar 11, 2017.
  1. yeah

    66.7%
  2. no

    33.3%
  1. alemismun

    alemismun New Member

    So first of all, I did not mod any of the core files, all I did was add some custom jobs.
    And this happened.
    (Note: this has never happened before)

    --- ERRORS --

    [DarkRP] There is 1 Lua problem!
    Please check your console for more information!

    [DarkRP] gamemodes/darkrp/gamemode/modules/base/cl_gamemode_functions.lua:23: attempt to index local 'jobTable' (a nil value)
    1. Call - gamemodes/darkrp/gamemode/modules/base/cl_gamemode_functions.lua:23
    2. unknown - gamemodes/darkrp/gamemode/modules/base/cl_gamemode_functions.lua:62

    There is 1 Lua problem!
    Please check your console for more information!
    [ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua" on line 388.
    The best help I can give you is this:

    There is a player with an invalid team!

    The player's name is alemismun, their team number is "1001", which has the name "Unassigned"

    Hints:
    - It is the server owner's responsibility to figure out why that player has no valid team.
    - This error is very likely to be caused by an earlier error. If you don't see any errors in your own console, look at the server console.

    The responsibility for the error above lies with (the authors of) one (or more) of these files:
    1. gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua on line 388
    2. gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua on line 240
    ------- End of Simplerr error -------
    [ERROR] A runtime error has occurred in "addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua" on line 62.
    The best help I can give you is this:

    Corrupt team: Refugee!
    This job does not have a unique command.

    Hints:
    - There must be some other job that has the same command.
    - Fix this by changing the 'command' of your job to something else.

    The responsibility for the error above lies with (the authors of) one (or more) of these files:
    1. addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua on line 62
    2. function 'xpcall'
    3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
    4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
    5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
    6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
    7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
    8. gamemodes/darkrp/gamemode/init.lua on line 108
    ------- End of Simplerr error -------

    gamemodes/darkrp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua" on line 62.
    The best help I can give you is this:

    Corrupt team: Refugee!
    This job does not have a unique command.

    Hints:
    - There must be some other job that has the same command.
    - Fix this by changing the 'command' of your job to something else.

    The responsibility for the error above lies with (the authors of) one (or more) of these files:
    1. addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua on line 62
    2. function 'xpcall'
    3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
    4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
    5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
    6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
    7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
    8. gamemodes/darkrp/gamemode/init.lua on line 108
    ------- End of Simplerr error -------

    [ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sv_data.lua" on line 460.
    The best help I can give you is this:

    Failed to retrieve player information from the database.

    Hints:
    - This means your database or the connection to your database is fucked.
    - This is the error given by the database:
    no such table: playerinformation

    The responsibility for the error above lies with (the authors of) one (or more) of these files:
    1. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 460
    2. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 345
    3. gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua on line 300
    4. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 290
    5. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 344
    6. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 345
    7. gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua on line 300
    8. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 290
    9. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 344
    10. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 345
    11. gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua on line 300
    12. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 290
    13. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 344
    14. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 345
    15. gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua on line 300
    16. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 290
    17. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 344
    18. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 431
    19. gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua on line 587
    ------- End of Simplerr error -------
    --- Double Post Merged, Mar 4, 2017 ---
    I hope this is not like facepunch where they insult you instead of trying to help those with few to no knowledge about lua.
    --- Double Post Merged, Mar 4, 2017 ---
    UPDATE! GOT IT FIXED?
    [​IMG]
    Idk fuck it ill re-install all and just pray, I made a copy of the most important files anyways
    --- Double Post Merged, Mar 4, 2017 ---
    Update on this: took me hours to set it up, it works!
    But update 2: got deleted, I hate my life.......
    Time to re-do everything again, yay.
     
    Last edited: Mar 4, 2017
  2. Pab14567

    Pab14567 Well-Known Member

    We won't bash you unless you edit core files :)
     
  3. Sir Klutch

    Sir Klutch Active Member

    You didn't fuck up badly. At least everything was drag'n'drop and not written yourself. Then yes, you fucked up.
     
  4. alemismun

    alemismun New Member

    I did write the custom jobs....
     
  5. Sir Klutch

    Sir Klutch Active Member

    The custom jobs are all copy and paste?
     
  6. alemismun

    alemismun New Member

    Got it fixed, turns out the error was that the default job claimed in the start of the job file was set to citizen when I had that disabled.
     

Share This Page