Bug Serveur GMOD

  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
Voici mon bug :

[ERROR] addons/darkrpmodification/lua/darkrp_config/settings.lua:297: '=' expected near '<eof>'1. unknown - addons/darkrpmodification/lua/darkrp_config/settings.lua:0

Merci de m'aider au plus vite ! merci :)
 
Ryoley

Ryoley

Geek suprême
Messages
239
Score réaction
29
Points
140
chopperYT à dit:
Voici mon bug :

[ERROR] addons/darkrpmodification/lua/darkrp_config/settings.lua:297: '=' expected near '<eof>'1. unknown - addons/darkrpmodification/lua/darkrp_config/settings.lua:0

Merci de m'aider au plus vite ! merci :)
Il doit y avoir une erreur à la ligne 297 de ton fichier settings.lua que tu as dû modifier.
 
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
chopperYT à dit:
Voici mon bug :

[ERROR] addons/darkrpmodification/lua/darkrp_config/settings.lua:297: '=' expected near '<eof>'1. unknown - addons/darkrpmodification/lua/darkrp_config/settings.lua:0

Merci de m'aider au plus vite ! merci :)
Salut, peux-tu envoyer le fichier indiqué (addons/darkrpmodification/lua/darkrp_config/settings.lua) ?
Merci.
 
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
erreur.PNG
 
Ryoley

Ryoley

Geek suprême
Messages
239
Score réaction
29
Points
140
chopperYT à dit:
Regarde la pièce jointe 12235
Je ne vois rien à la ligne 297 qui pourrait créer des erreurs. Tu as modifié des parties du fichier récemment ? Si oui, envoie les parties que tu as modifié si possible.
 
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
D'accord, as-tu touché aux fichiers "gamemode" de ton FTP ?
 
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
Ryoley à dit:
Je ne vois rien à la ligne 297 qui pourrait créer des erreurs. Tu as modifié des parties du fichier récemment ? Si oui, envoie les parties que tu as modifié si possible.
Bah décidément on poste les mêmes réponses en même temps Kappa
 
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
Je viens de regarder dans mon fichier et la ligne GM.Config.meDistance est à la ligne 293 et non 297.

Peux-tu envoyer tout le fichier s'il te plait ?
 
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
Wasied à dit:
Je viens de regarder dans mon fichier et la ligne GM.Config.meDistance est à la ligne 293 et non 297.

Peux-tu envoyer tout le fichier s'il te plait ?
gjhghj.PNG
 
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
Wasied à dit:
Je viens de regarder dans mon fichier et la ligne GM.Config.meDistance est à la ligne 293 et non 297.

Peux-tu envoyer tout le fichier s'il te plait ?
 

Pièces jointes

  • sv_gamemode_functions.rar
    8.2 KB Vues: 42
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
chopperYT à dit:
Regarde la pièce jointe 12236
Le fichier que tu as envoyé avant, pas la console :D
Il me faudrait le fichier pas une photo du fichier
 
  • J'aime
Réactions: chopperYT
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
Wasied à dit:
Le fichier que tu as envoyé avant, pas la console :D
Il me faudrait le fichier pas une photo du fichier
c'est fait.
 
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
chopperYT à dit:
Non, moi je te demande le fichier settings.lua du darkrpmodification :)
Tu séléctionnes tout ce qu'il y a sur ce fichier et tu le colles ici : https://hastebin.com/
Puis tu m'envoies le lien ;-)
 
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
Wasied à dit:
Non, moi je te demande le fichier settings.lua du darkrpmodification :)
Tu séléctionnes tout ce qu'il y a sur ce fichier et tu le colles ici : https://hastebin.com/
Puis tu m'envoies le lien ;-)
 

Pièces jointes

  • settings.rar
    4.5 KB Vues: 51
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
On y est presque, j'ai juste pas la fin du fichier
 
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
--[[-------------------------------------------------------------------------
DarkRP config settings.
-----------------------------------------------------------------------------

This is the settings file of DarkRP. Every DarkRP setting is listed here.

Warning:
If this file is missing settings (because of e.g. an update), DarkRP will assume default values for these settings.
You need not worry about updating this file. If a new setting is added you can manually add them to this file.
---------------------------------------------------------------------------]]


--[[
Toggle settings.
Set to true or false.
]]

-- voice3D - Enable/disable 3DVoice is enabled.
GM.Config.voice3D = true
-- AdminsCopWeapons - Enable/disable admins spawning with cop weapons.
GM.Config.AdminsCopWeapons = true
-- adminBypassJobCustomCheck - Enable/disable whether an admin can force set a job with whenever customCheck returns false.
GM.Config.adminBypassJobRestrictions = true
-- allow people getting their own custom jobs.
GM.Config.allowjobswitch = true
-- allowrpnames - Allow Players to Set their RP names using the /rpname command.
GM.Config.allowrpnames = true
-- allowsprays - Enable/disable the use of sprays on the server.
GM.Config.allowsprays = true
-- allowvehicleowning - Enable/disable whether people can own vehicles.
GM.Config.allowvehicleowning = true
-- allowvnocollide - Enable/disable the ability to no-collide a vehicle (for security).
GM.Config.allowvnocollide = false
-- alltalk - Enable for global chat, disable for local chat.
GM.Config.alltalk = false
-- antimultirun - Disallow people joining your server(s) twice on the same account.
GM.Config.antimultirun = true
-- autovehiclelock - Enable/Disable automatic locking of a vehicle when a player exits it.
GM.Config.autovehiclelock = false
-- babygod - people spawn godded (prevent spawn killing).
GM.Config.babygod = true
-- canforcedooropen - whether players can force an unownable door open with lockpick or battering ram or w/e.
GM.Config.canforcedooropen = true
-- chatsounds - sounds are played when some things are said in chat.
GM.Config.chatsounds = true
-- chiefjailpos - Allow the Chief to set the jail positions.
GM.Config.chiefjailpos = true
-- cit_propertytax - Enable/disable property tax that is exclusive only for citizens.
GM.Config.cit_propertytax = false
-- copscanunfreeze - Enable/disable the ability of cops to unfreeze other people's props.
GM.Config.copscanunfreeze = true
-- copscanunweld - Enable/disable the ability of cops to unweld other people's props.
GM.Config.copscanunweld = false
-- cpcanarrestcp - Allow/Disallow CPs to arrest other CPs.
GM.Config.cpcanarrestcp = true
-- currencyLeft - The position of the currency symbol. true for left, false for right.
GM.Config.currencyLeft = true
-- customjobs - Enable/disable the /job command (personalized job names).
GM.Config.customjobs = true
-- customspawns - Enable/disable whether custom spawns should be used.
GM.Config.customspawns = true
-- deathblack - Whether or not a player sees black on death.
GM.Config.deathblack = false
-- showdeaths - Display kill information in the upper right corner of everyone's screen.
GM.Config.showdeaths = true
-- deadtalk - Enable/disable whether people talk and use commands while dead.
GM.Config.deadtalk = true
-- deadvoice - Enable/disable whether people talk through the microphone while dead.
GM.Config.deadvoice = true
-- deathpov - Enable/disable whether people see their death in first person view.
GM.Config.deathpov = false
-- decalcleaner - Enable/Disable clearing every player's decals.
GM.Config.decalcleaner = false
-- disallowClientsideScripts - Clientside scripts can be very useful for customizing the HUD or to aid in building. This option bans those scripts.
GM.Config.disallowClientsideScripts = true
-- doorwarrants - Enable/disable Warrant requirement to enter property.
GM.Config.doorwarrants = true
-- dropmoneyondeath - Enable/disable whether people drop money on death.
GM.Config.dropmoneyondeath = false
-- droppocketarrest - Enable/disable whether people drop the stuff in their pockets when they get arrested.
GM.Config.droppocketarrest = false
-- droppocketdeath - Enable/disable whether people drop the stuff in their pockets when they die.
GM.Config.droppocketdeath = true
-- dropweapondeath - Enable/disable whether people drop their current weapon when they die.
GM.Config.dropweapondeath = false
-- Whether players can drop the weapons they spawn with.
GM.Config.dropspawnedweapons = true
-- dynamicvoice - Enable/disable whether only people in the same room as you can hear your mic.
GM.Config.dynamicvoice = true
-- earthquakes - Enable/disable earthquakes.
GM.Config.earthquakes = false
-- enablebuypistol - Turn /buy on of off.
GM.Config.enablebuypistol = true
-- enforceplayermodel - Whether or not to force players to use their role-defined character models.
GM.Config.enforceplayermodel = true
-- globalshow - Whether or not to display player info above players' heads in-game.
GM.Config.globalshow = false
-- ironshoot - Enable/disable whether people need iron sights to shoot.
GM.Config.ironshoot = true
-- showjob - Whether or not to display a player's job above their head in-game.
GM.Config.showjob = true
-- letters - Enable/disable letter writing / typing.
GM.Config.letters = true
-- license - Enable/disable People need a license to be able to pick up guns.
GM.Config.license = false
-- lockdown - Enable/Disable initiating lockdowns for mayors.
GM.Config.lockdown = true
-- lockpickfading - Enable/disable the lockpicking of fading doors.
GM.Config.lockpickfading = true
-- logging - Enable/disable logging everything that happens.
GM.Config.logging = true
-- lottery - Enable/disable creating lotteries for mayors.
GM.Config.lottery = true
-- showname - Whether or not to display a player's name above their head in-game.
GM.Config.showname = true
-- showhealth - Whether or not to display a player's health above their head in-game.
GM.Config.showhealth = true
-- needwantedforarrest - Enable/disable Cops can only arrest wanted people.
GM.Config.needwantedforarrest = false
-- noguns - Enabling this feature bans Guns and Gun Dealers.
GM.Config.noguns = false
-- norespawn - Enable/Disable that people don't have to respawn when they change job.
GM.Config.norespawn = false
-- npcarrest - Enable/disable arresting npc's.
GM.Config.npcarrest = true
-- ooc - Whether or not OOC tags are enabled.
GM.Config.ooc = true
-- propertytax - Enable/disable property tax.
GM.Config.propertytax = false
-- proppaying - Whether or not players should pay for spawning props.
GM.Config.proppaying = false
-- propspawning - Enable/disable props spawning. Applies to admins too.
GM.Config.propspawning = true
-- removeclassitems - Enable/disable shipments/microwaves/etc. removal when someone changes team.
GM.Config.removeclassitems = true
-- removeondisconnect - Enable/disable shipments/microwaves/etc. removal when someone disconnects.
GM.Config.removeondisconnect = true
-- respawninjail - Enable/disable whether people can respawn in jail when they die.
GM.Config.respawninjail = true
-- restrictallteams - Enable/disable Players can only be citizen until an admin allows them.
GM.Config.restrictallteams = false
-- restrictbuypistol - Enabling this feature makes /buy available only to Gun Dealers.
GM.Config.restrictbuypistol = false
-- restrictdrop - Enable/disable restricting the weapons players can drop. Setting this to true disallows weapons from shipments from being dropped.
GM.Config.restrictdrop = false
-- revokeLicenseOnJobChange - Whether licenses are revoked when a player changes jobs.
GM.Config.revokeLicenseOnJobChange = true
-- shouldResetLaws - Enable/Disable resetting the laws back to the default law set when the mayor changes.
GM.Config.shouldResetLaws = false
-- strictsuicide - Whether or not players should spawn where they suicided.
GM.Config.strictsuicide = false
-- telefromjail - Enable/disable teleporting from jail.
GM.Config.telefromjail = true
-- teletojail - Enable/disable teleporting to jail.
GM.Config.teletojail = true
-- unlockdoorsonstart - Enable/Disable unlocking all doors on map start.
GM.Config.unlockdoorsonstart = false
-- voiceradius - Enable/disable local voice chat.
GM.Config.voiceradius = true
-- tax - Whether players pay taxes on their wallets.
GM.Config.wallettax = false
-- wantedsuicide - Enable/Disable suiciding while you are wanted by the police.
GM.Config.wantedsuicide = false
-- realisticfalldamage - Enable/Disable dynamic fall damage. Setting mp_falldamage to 1 will over-ride this.
GM.Config.realisticfalldamage = true
-- printeroverheat - Whether the default money printer can overheat on its own.
GM.Config.printeroverheat = true
-- weaponCheckerHideDefault - Hide default weapons when checking weapons.
GM.Config.weaponCheckerHideDefault = true
-- weaponCheckerHideNoLicense - Hide weapons that do not require a license.
GM.Config.weaponCheckerHideNoLicense = false

--[[
Value settings
]]
-- adminnpcs - Whether or not NPCs should be admin only. 0 = everyone, 1 = admin or higher, 2 = superadmin or higher, 3 = rcon only
GM.Config.adminnpcs = 3
-- adminsents - Whether or not SENTs should be admin only. 0 = everyone, 1 = admin or higher, 2 = superadmin or higher, 3 = rcon only
GM.Config.adminsents = 1
-- adminvehicles - Whether or not vehicles should be admin only. 0 = everyone, 1 = admin or higher, 2 = superadmin or higher, 3 = rcon only
GM.Config.adminvehicles = 2
-- adminweapons - Who can spawn weapons: 0: admins only, 1: supadmins only, 2: no one, 3: everyone
GM.Config.adminweapons = 1
-- arrestspeed - Sets the max arrest speed.
GM.Config.arrestspeed = 120
-- babygodtime - How long the babygod lasts.
GM.Config.babygodtime = 5
-- chatsoundsdelay - How long to wait before letting a player emit a sound from their chat again.
-- Leave this on at least a few seconds to prevent people from spamming sounds. Set to 0 to disable.
GM.Config.chatsoundsdelay = 5
-- deathfee - the amount of money someone drops when dead.
GM.Config.deathfee = 30
-- decaltimer - Sets the time to clear clientside decals (in seconds).
GM.Config.decaltimer = 120
-- demotetime - Number of seconds before a player can rejoin a team after demotion from that team.
GM.Config.demotetime = 120
-- doorcost - Sets the cost of a door.
GM.Config.doorcost = 30
-- entremovedelay - how long to wait before removing a bought entity after disconnect.
GM.Config.entremovedelay = 0
-- gunlabweapon - The weapon that the gunlab spawns.
GM.Config.gunlabweapon = "weapon_p2282"
-- jailtimer - Sets the jailtimer (in seconds).
GM.Config.jailtimer = 120
-- lockdowndelay - The amount of time a mayor must wait before starting the next lockdown.
GM.Config.lockdowndelay = 120
-- maxadvertbillboards - The maximum number of /advert billboards a player can place.
GM.Config.maxadvertbillboards = 3
-- maxCheques - The maximum number of cheques someone can write
GM.Config.maxCheques = 5
-- maxdoors - Sets the max amount of doors one can own.
GM.Config.maxdoors = 20
-- maxdrugs - Sets max drugs.
GM.Config.maxdrugs = 2
-- maxfoods - Sets the max food cartons per Microwave owner.
GM.Config.maxfoods = 2
-- maxfooditems - Sets the max amount of food items a player can buy from the F4 menu.
GM.Config.maxfooditems = 20
-- maxlawboards - The maximum number of law boards the mayor can place.
GM.Config.maxlawboards = 2
-- maxletters - Sets max letters.
GM.Config.maxletters = 10
-- maxlotterycost - Maximum payment the mayor can set to join a lottery.
GM.Config.maxlotterycost = 250
-- maxvehicles - Sets how many vehicles one can buy.
GM.Config.maxvehicles = 1
-- microwavefoodcost - Sets the sale price of Microwave Food.
GM.Config.microwavefoodcost = 30
-- minlotterycost - Minimum payment the mayor can set to join a lottery.
GM.Config.minlotterycost = 30
-- Money packets will get removed if they don't get picked up after a while. Set to 0 to disable.
GM.Config.moneyRemoveTime = 600
-- mprintamount - Value of the money printed by the money printer.
GM.Config.mprintamount = 250
-- normalsalary - Sets the starting salary for newly joined players.
GM.Config.normalsalary = 45
-- npckillpay - Sets the money given for each NPC kill.
GM.Config.npckillpay = 10
-- paydelay - Sets how long it takes before people get salary.
GM.Config.paydelay = 160
-- pocketitems - Sets the amount of objects the pocket can carry.
GM.Config.pocketitems = 10
-- pricecap - The maximum price of items (using /price).
GM.Config.pricecap = 500
-- pricemin - The minimum price of items (using /price).
GM.Config.pricemin = 50
-- propcost - How much prop spawning should cost (prop paying must be enabled for this to have an effect).
GM.Config.propcost = 10
-- quakechance - Chance of an earthquake happening.
GM.Config.quakechance = 4000
-- respawntime - Minimum amount of seconds a player has to wait before respawning.
GM.Config.respawntime = 1
-- changejobtime - Minimum amount of seconds a player has to wait before changing job.
GM.Config.changejobtime = 10
-- runspeed - Sets the max running speed.
GM.Config.runspeed = 240
-- runspeed - Sets the max running speed for CP teams.
GM.Config.runspeedcp = 255
-- searchtime - Number of seconds for which a search warrant is valid.
GM.Config.searchtime = 30
-- ShipmentSpawnTime - Antispam time between spawning shipments.
GM.Config.ShipmentSpamTime = 3
-- shipmenttime - The number of seconds it takes for a shipment to spawn.
GM.Config.shipmentspawntime = 10
-- startinghealth - the health when you spawn.
GM.Config.startinghealth = 100
-- startingmoney - your wallet when you join for the first time.
GM.Config.startingmoney = 3000
-- vehiclecost - Sets the cost of a vehicle (To own it).
GM.Config.vehiclecost = 40
-- wallettaxmax - Maximum percentage of tax to be paid.
GM.Config.wallettaxmax = 5
-- wallettaxmin - Minimum percentage of tax to be paid.
GM.Config.wallettaxmin = 1
-- wallettaxtime - Time in seconds between taxing players. Requires server restart.
GM.Config.wallettaxtime = 600
-- wantedtime - Number of seconds for which a player is wanted for.
GM.Config.wantedtime = 120
-- walkspeed - Sets the max walking speed.
GM.Config.walkspeed = 160
-- falldamagedamper - The damper on realistic fall damage. Default is 15. Decrease this for more damage.
GM.Config.falldamagedamper = 15
-- falldamageamount - The base damage taken from falling for static fall damage. Default is 10.
GM.Config.falldamageamount = 10
-- printeroverheatchance - The likelyhood of a printer overheating. The higher this number, the less likely (minimum 3, default 22).
GM.Config.printeroverheatchance = 22
-- printerreward - Reward for destroying a money printer.
GM.Config.printerreward = 950

--[[---------------------------------------------------------------------------
Chat distance settings
Distance is in source units (similar to inches)
---------------------------------------------------------------------------]]
GM.Config.talkDistance = 250
GM.Config.whisperDistance = 90
GM.Config.yellDistance = 550
GM
 
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
;( ;(
 
  • Initiateur de la discussion
chopperYT

chopperYT

Geek
Messages
67
Score réaction
3
Points
95
Problème résolu, c'était un module pour le "/ano" qui faisait bugger. Merci d'avoir pris le temps de m'avoir répondus, je passe le topic en résolu.
 
Discord d'entraide
Rejoignz-nous sur Discord