probleme error code lua a chaque fois que je creer mes jobs.

  • Initiateur de la discussion benji1919
  • Date de début
  • Initiateur de la discussion
B

benji1919

Geek
Messages
66
Score réaction
0
Points
80
bonjour a chaque fois que je creer mes jobs je passe sous la map cela m'ennuie un peux je vous envoie mais erreur.

05/08/2017 23:25:01: Lua Error
[ERROR] gamemodes/darkrp/gamemode/config/jobrelated.lua:2036: '}' expected (to close '{' at line 2017) near 'salary'
1. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:0
[ERROR] gamemodes/darkrp/gamemode/config/jobrelated.lua:2036: '}' expected (to close '{' at line 2017) near 'salary'
1. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:0
05/08/2017 23:25:02: Lua Error
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 30.
The best help I can give you is this:
A table is being indexed by something that does not exist (table index is nil).
Hints:
- The thing between square brackets does not exist (is nil).
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 30
2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
3. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
6. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 30.
The best help I can give you is this:
A table is being indexed by something that does not exist (table index is nil).
Hints:
- The thing between square brackets does not exist (is nil).
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 30
2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
3. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
6. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:137
4. 05/08/2017 23:25:02: Lua Error: Couldn't Load Init Script 'darkrp/gamemode/init.lua'
Couldn't Load Init Script: 'darkrp/gamemode/init.lua'
Default clips will be not be modified


est vue que je ne me conais pas bien en code je vous met mon fichier job.lua

voici mon fichier job.lua : https://pastebin.com/DdBPibds
 
Feytone

Feytone

Chuck Norris
Messages
4 741
Score réaction
1 301
Points
600
Déjà, ligne 2035, 2036 et 2038 : à la fin de ces lignes, il faut des virgules.
Si tu encore des erreurs on va revoir les autres problèmes mais je pense que ce sera corrigé rien qu'avec les virgules manquantes.
 
  • Initiateur de la discussion
B

benji1919

Geek
Messages
66
Score réaction
0
Points
80
maintenant voila ce qu'il me disent:

05/09/2017 00:29:17: Lua Error
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/config/jobrelated.lua" on line 1705.
The best help I can give you is this:
Corrupt team: Psychopathe!
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. gamemodes/darkrp/gamemode/config/jobrelated.lua on line 1705
2. function 'include'
3. gamemodes/darkrp/gamemode/init.lua on line 104
------- End of Simplerr error -------
1. error - [C]:-1
2. error - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. createJob - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:418
4. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:1705
5. include - [C]:-1
6. unknown - gamemodes/darkrp/gamemode/init.lua:104
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/config/jobrelated.lua" on line 1705.
The best help I can give you is this:
Corrupt team: Psychopathe!
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. gamemodes/darkrp/gamemode/config/jobrelated.lua on line 1705
2. function 'include'
3. gamemodes/darkrp/gamemode/init.lua on line 104
------- End of Simplerr error -------
1. error - [C]:-1
2. error - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. createJob - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:418
4. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:1705
5. include - [C]:-1
6. unknown - gamemodes/darkrp/gamemode/init.lua:104
05/09/2017 00:29:17: Lua Error
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 30.
The best help I can give you is this:
A table is being indexed by something that does not exist (table index is nil).
Hints:
- The thing between square brackets does not exist (is nil).
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 30
2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
3. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
6. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 30.
The best help I can give you is this:
A table is being indexed by something that does not exist (table index is nil).
Hints:
- The thing between square brackets does not exist (is nil).
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 30
2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
3. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
6. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:137
4. 05/09/2017 00:29:17: Lua Error: Couldn't Load Init Script 'darkrp/gamemode/init.lua'
Couldn't Load Init Script: 'darkrp/gamemode/init.lua'
Default clips will be not be modified
 
Feytone

Feytone

Chuck Norris
Messages
4 741
Score réaction
1 301
Points
600
Tu as trois fois ton job Psychopathe... Relis au moins ton dossier jobs...
 
  • Initiateur de la discussion
B

benji1919

Geek
Messages
66
Score réaction
0
Points
80
j'ai envie de te dire que de base je ne c'est pas coder hein mais voila le codeur que j'ai payer ma envoyer chier.
 
Feytone

Feytone

Chuck Norris
Messages
4 741
Score réaction
1 301
Points
600
benji1919 à dit:
j'ai envie de te dire que de base je ne c'est pas coder hein mais voila le codeur que j'ai payer ma envoyer chier.
Ah si t'as besoin, je te conseille @Levo
 
  • Initiateur de la discussion
B

benji1919

Geek
Messages
66
Score réaction
0
Points
80
j'ai encore des probleme , je vais reflechir car le codeur je les payer 1500€ et il ma envoyer chier apres quil a eu l'argent. :

05/09/2017 00:42:28: Lua Error
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/config/jobrelated.lua" on line 1705.
The best help I can give you is this:
Corrupt team: SDF!
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. gamemodes/darkrp/gamemode/config/jobrelated.lua on line 1705
2. function 'include'
3. gamemodes/darkrp/gamemode/init.lua on line 104
------- End of Simplerr error -------
1. error - [C]:-1
2. error - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. createJob - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:418
4. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:1705
5. include - [C]:-1
6. unknown - gamemodes/darkrp/gamemode/init.lua:104
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/config/jobrelated.lua" on line 1705.
The best help I can give you is this:
Corrupt team: SDF!
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. gamemodes/darkrp/gamemode/config/jobrelated.lua on line 1705
2. function 'include'
3. gamemodes/darkrp/gamemode/init.lua on line 104
------- End of Simplerr error -------
1. error - [C]:-1
2. error - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. createJob - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:418
4. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:1705
5. include - [C]:-1
6. unknown - gamemodes/darkrp/gamemode/init.lua:104
05/09/2017 00:42:28: Lua Error
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 30.
The best help I can give you is this:
A table is being indexed by something that does not exist (table index is nil).
Hints:
- The thing between square brackets does not exist (is nil).
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 30
2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
3. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
6. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 30.
The best help I can give you is this:
A table is being indexed by something that does not exist (table index is nil).
Hints:
- The thing between square brackets does not exist (is nil).
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 30
2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
3. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
6. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:137
4. 05/09/2017 00:42:28: Lua Error: Couldn't Load Init Script 'darkrp/gamemode/init.lua'
Couldn't Load Init Script: 'darkrp/gamemode/init.lua'
Default clips will be not be modified
 
Feytone

Feytone

Chuck Norris
Messages
4 741
Score réaction
1 301
Points
600
benji1919 à dit:
j'ai encore des probleme , je vais reflechir car le codeur je les payer 1500€ et il ma envoyer chier apres quil a eu l'argent. :

05/09/2017 00:42:28: Lua Error
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/config/jobrelated.lua" on line 1705.
The best help I can give you is this:
Corrupt team: SDF!
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. gamemodes/darkrp/gamemode/config/jobrelated.lua on line 1705
2. function 'include'
3. gamemodes/darkrp/gamemode/init.lua on line 104
------- End of Simplerr error -------
1. error - [C]:-1
2. error - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. createJob - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:418
4. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:1705
5. include - [C]:-1
6. unknown - gamemodes/darkrp/gamemode/init.lua:104
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/config/jobrelated.lua" on line 1705.
The best help I can give you is this:
Corrupt team: SDF!
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. gamemodes/darkrp/gamemode/config/jobrelated.lua on line 1705
2. function 'include'
3. gamemodes/darkrp/gamemode/init.lua on line 104
------- End of Simplerr error -------
1. error - [C]:-1
2. error - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. createJob - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:418
4. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:1705
5. include - [C]:-1
6. unknown - gamemodes/darkrp/gamemode/init.lua:104
05/09/2017 00:42:28: Lua Error
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 30.
The best help I can give you is this:
A table is being indexed by something that does not exist (table index is nil).
Hints:
- The thing between square brackets does not exist (is nil).
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 30
2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
3. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
6. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 30.
The best help I can give you is this:
A table is being indexed by something that does not exist (table index is nil).
Hints:
- The thing between square brackets does not exist (is nil).
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 30
2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
3. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
6. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:137
4. 05/09/2017 00:42:28: Lua Error: Couldn't Load Init Script 'darkrp/gamemode/init.lua'
Couldn't Load Init Script: 'darkrp/gamemode/init.lua'
Default clips will be not be modified
1500€ ? Viens pas raconter de mytho quand même...

Bref, je vais pas refaire tout ton jobs.lua, je te conseille @Levo un très bon configurateur.
 
  • Initiateur de la discussion
B

benji1919

Geek
Messages
66
Score réaction
0
Points
80
c'est possible d'avoir juste le codage des jobs de base a mon avis je me suis tromper je vient de lire sur internet qu'il ne faut pas supprimer les job de base dans jobrelated.

merci d'avance cela serais super.
 
Malcolm

Malcolm

Psychopathe
Messages
1 096
Score réaction
262
Points
280
benji1919 à dit:
c'est possible d'avoir juste le codage des jobs de base a mon avis je me suis tromper je vient de lire sur internet qu'il ne faut pas supprimer les job de base dans jobrelated.

merci d'avance cela serais super.
Déjà d'une ne touche jamais au DarkRP quand tu t'y connais pas, utilise le DarkRP-Modification, et de 2 envoie tous ton jobs.lua en pastebin et la prochaine fois que tu mets du code mets le
Code:
comme ça
 
  • Initiateur de la discussion
B

benji1919

Geek
Messages
66
Score réaction
0
Points
80
je vous remercie car c'est arranger pour le reste du code j'ai su me debrouiller comme un grand mais maintenant je ne toucherais jamais au DarkRP.
 
Malcolm

Malcolm

Psychopathe
Messages
1 096
Score réaction
262
Points
280
benji1919 à dit:
je vous remercie car c'est arranger pour le reste du code j'ai su me debrouiller comme un grand mais maintenant je ne toucherais jamais au DarkRP.
Tant mieux, passe le topic en résolu.
 
Discord d'entraide
Rejoignz-nous sur Discord