• Help me with this error please I think some addon is causing it!
    13 replies, posted
[CODE]VAC secure mode is activated. Client "NaS" connected (71.192.199.114:27005). Writing cfg/banned_user.cfg. Entity:PhysicsInit() - Failed to create physics for entity Loading upgradeable money printers Upgradeable money printers has been loaded! [ERROR] gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1022: attempt to call a number value 1. addToCategory - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1 022 2. AddExtraTeam - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:6 38 3. unknown - addons/script-firesystem/lua/autorun/fire_darkrpadds.lua:4 Timer Failed! [Simple][@addons/script-firesystem/lua/autorun/fire_darkrpadds.lua (line 1)] [ERROR] gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1022: attempt to call a number value 1. addToCategory - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1 022 2. createJob - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:638 3. unknown - addons/darkrp tow truck driver job/lua/autorun/tow_darkrpadds.l ua:3 Timer Failed! [Simple][@addons/darkrp tow truck driver job/lua/autorun/tow_darkr[/CODE]
It's the firesystem and tow truck driver addons. Remove them.
[QUOTE=panzer123ns;47951938][CODE]VAC secure mode is activated. Client "NaS" connected (71.192.199.114:27005). Writing cfg/banned_user.cfg. Entity:PhysicsInit() - Failed to create physics for entity Loading upgradeable money printers Upgradeable money printers has been loaded! [ERROR] gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1022: attempt to call a number value 1. addToCategory - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1 022 2. AddExtraTeam - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:6 38 3. unknown - addons/script-firesystem/lua/autorun/fire_darkrpadds.lua:4 Timer Failed! [Simple][@addons/script-firesystem/lua/autorun/fire_darkrpadds.lua (line 1)] [ERROR] gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1022: attempt to call a number value 1. addToCategory - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1 022 2. createJob - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:638 3. unknown - addons/darkrp tow truck driver job/lua/autorun/tow_darkrpadds.l ua:3 Timer Failed! [Simple][@addons/darkrp tow truck driver job/lua/autorun/tow_darkr[/CODE][/QUOTE] If you're the guy that owns the 'MethRP', terrible darkrp server edit. You're gonna run into a lot of problems as you've edited the core files of DarkRP therefore all your addons will end up becoming outdated as the core gamemode will no longer update. Good job. :dance: However this may not be causing the issues right now.
Is there a way to fix that...I only change the name of the sever from darkrp to MethRP :)
Post the code to the files that are erroring (the ones that contain the timer failed code).
Yeah this error as well [CODE][ERROR] gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1022: attempt to call a number value 1. addToCategory - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1 022 2. AddExtraTeam - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:6 38 3. unknown - addons/darkrp fire system/lua/autorun/fire_darkrpadds.lua:4 Timer Failed! [Simple][@addons/darkrp fire system/lua/autorun/fire_darkrpadds.lu a (line 1)] [ERROR] gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1022: attempt to call a number value 1. addToCategory - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:1 022 2. createJob - gamemodes/methrp/gamemode/modules/base/sh_createitems.lua:638 3. unknown - addons/darkrp tow truck driver job/lua/autorun/tow_darkrpadds.l ua:3[/CODE]
We need CODE.
oh oh ok you want me to go to those files and actually paste the code...lol my bad [editline]18th June 2015[/editline] Ok here the code for this error [CODE]local function loadModules() local fol = "darkrp_modules/" local files, folders = file.Find(fol .. "*", "LUA") for _, folder in SortedPairs(folders, true) do if folder == "." or folder == ".." or GAMEMODE.Config.DisabledCustomModules[folder] then continue end -- Sound but incomplete way of detecting the error of putting addons in the darkrpmod folder if file.Exists(fol .. folder .. "/addon.txt", "LUA") or file.Exists(fol .. folder .. "/addon.json", "LUA") then DarkRP.errorNoHalt("Addon detected in the darkrp_modules folder.", 2, { "This addon is not supposed to be in the darkrp_modules folder.", "It is supposed to be in garrysmod/addons/ instead.", "Whether a mod is to be installed in darkrp_modules or addons is the author's decision.", "Please read the readme of the addons you're installing next time." }, "<darkrpmod addon>/lua/darkrp_modules/" .. folder, -1) continue end for _, File in SortedPairs(file.Find(fol .. folder .."/sh_*.lua", "LUA"), true) do if SERVER then AddCSLuaFile(fol..folder .. "/" ..File) end if File == "sh_interface.lua" then continue end doInclude(fol.. folder .. "/" ..File) end[/CODE] Here is line 85 Heres the console error [CODE][AddCSLuaFile] Couldn't find 'darkrp_modules/hr_cm/sh_hr_cm_darkrp.lua' (@gamemo des/methrp/gamemode/libraries/modificationloader.lua (line 81))[/CODE]
Please guys I really need ur help to solve these errors :)
That has nothing to do with the errors you posted above. That's an automatic loading system, meaning the file is probably empty.
What do you want me to paste then thats all I know m8
The file that was causing the error you first posted. Read the error.
In all seriousness I recommend at least learning how to read errors and navigate windows explorer before you throw a ton of addons in a folder expecting them to work with zero problems. Some basic Lua knowledge will also do wonders when trying to run a server.
In all seriousness, I recommend no tmaking yet another generic DarkRP server. I swear now half the browser list is darkrp remakes :/
Sorry, you need to Log In to post a reply to this thread.