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.

Persistent Issue

Discussion in 'DarkRP Modding Questions & Help' started by [TXG] Church, Sep 26, 2016.

  1. [TXG] Church

    [TXG] Church New Member

    Hello,

    I'm trying to help a friend with his server and for some reason I'm constantly getting the following error:

    Code (Text):

    [ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 78.
    The best help I can give you is this:

    Corrupt team: FBI!
    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/lua/darkrp_customthings/jobs.lua on line 78
    2. function 'xpcall'
    3. gamemodes/thepurge/gamemode/libraries/simplerr.lua on line 477
    4. gamemodes/thepurge/gamemode/libraries/fn.lua on line 84
    5. gamemodes/thepurge/gamemode/libraries/fn.lua on line 84
    6. gamemodes/thepurge/gamemode/libraries/modificationloader.lua on line 137
    7. gamemodes/thepurge/gamemode/libraries/modificationloader.lua on line 148
    8. gamemodes/thepurge/gamemode/init.lua on line 86
    ------- End of Simplerr error -------

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

    Corrupt team: FBI!
    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/lua/darkrp_customthings/jobs.lua on line 78
    2. function 'xpcall'
    3. gamemodes/thepurge/gamemode/libraries/simplerr.lua on line 477
    4. gamemodes/thepurge/gamemode/libraries/fn.lua on line 84
    5. gamemodes/thepurge/gamemode/libraries/fn.lua on line 84
    6. gamemodes/thepurge/gamemode/libraries/modificationloader.lua on line 137
    7. gamemodes/thepurge/gamemode/libraries/modificationloader.lua on line 148
    8. gamemodes/thepurge/gamemode/init.lua on line 86
    ------- End of Simplerr error -------

     
    However I go through and try to for instance comment out the related job and instead of fixing it, the error just moves onto the next job and says it takes place there.

    I've attached the jobs.lua at the bottom

    and yes I know about the first couple lines with the copy paste, I left it in to preserve the line numbers being accurate in the error, otherwise I'd remove them
     

    Attached Files:

  2. Nagisa Momoe

    Nagisa Momoe Member

    It is too obvious chagne the command of the job to something unique
     
  3. [TXG] Church

    [TXG] Church New Member

    All the jobs are unique, did you read the post? I remove the job entirely or set the command and it just moves the error to the next job
     
  4. Nagisa Momoe

    Nagisa Momoe Member

    Paste your job code on pastebin plz, I really don't like downloading people files
     
  5. [TXG] Church

    [TXG] Church New Member

    http://pastebin.com/5a6XAJah
     
  6. Nagisa Momoe

    Nagisa Momoe Member

    Try lowercase
     
  7. [TXG] Church

    [TXG] Church New Member

    Lowercase what? Command name? That doesn't help. The issue is something else than what the error reporter is saying because I can completely remove the job that the error is saying (in this case FBI) and it will just say the error is still occurring and in the next job (thief in this case)
     
  8. Nagisa Momoe

    Nagisa Momoe Member

    Well idk, your code is too long that I'm too lazy to check them all honestly, I only have 10 jobs
     

Share This Page