• Server addons don't load?
    15 replies, posted
I can't post console logs right now, but basically my server won't load any of the addons in the addons directory. I've looked at the addon.txt and the Lua, and it all looks fine. IIRC, my server does post in the logs that it has loaded the addons, but they are obviously not enabled on my server. Here are my logs: [CODE]Console initialized. ConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod" Setting breakpad minidump AppID = 4000 Initializing Steam libraries for secure Internet server [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Logging into anonymous gameserver account. Fetching Workshop Addons.. No -authkey Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/archive' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/rdm' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/for_allah' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/mapvote' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/metamod' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/sourcemod' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/ulib' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/ulx' Adding Path: [/servers/steam/SteamApps/common/Counter-Strike Source Dedicated Server/cstrike] FIND [/servers/steam/SteamApps/common/Counter-Strike Source Dedicated Server/cstrike/*.vpk] ADDING [/servers/steam/SteamApps/common/Counter-Strike Source Dedicated Server/cstrike/cstrike_pak_000.vpk] Unknown command "cl_cmdrate" Unknown command "cl_updaterate" Unknown command "rate" Changing gamemode to Trouble in Terrorist Town (terrortown) Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/archive' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/rdm' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/for_allah' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/mapvote' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/metamod' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/sourcemod' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/ulib' Adding Filesystem Addon '/servers/steam/SteamApps/common/GarrysModDS/garrysmod/addons/ulx' Adding Path: [/servers/steam/SteamApps/common/Counter-Strike Source Dedicated Server/cstrike] FIND [/servers/steam/SteamApps/common/Counter-Strike Source Dedicated Server/cstrike/*.vpk] ADDING [/servers/steam/SteamApps/common/Counter-Strike Source Dedicated Server/cstrike/cstrike_pak_000.vpk] Network: IP 172.31.0.236, mode MP, dedicated Yes, ports 27015 SV / 27005 CL PREP OK Lua JIT is DISABLED! /////////////////////////////// // Ulysses Library // /////////////////////////////// // Loading... // // shared/defines.lua // // shared/misc.lua // // shared/util.lua // // shared/hook.lua // // shared/table.lua // // shared/player.lua // // server/player.lua // // shared/messages.lua // // shared/commands.lua // // server/concommand.lua // // server/util.lua // // shared/sh_ucl.lua // // server/ucl.lua // // server/phys.lua // // server/player_ext.lua // // server/entity_ext.lua // // Load Complete! // /////////////////////////////// [ULIB] Loading SHARED module: ulx_init.lua /////////////////////////////// // ULX Admin Mod // /////////////////////////////// // Loading... // // sh_defines.lua // // lib.lua // // base.lua // // sh_base.lua // // log.lua // // MODULE: slots.lua // // MODULE: uteam.lua // // MODULE: votemap.lua // // MODULE: xgui_server.lua // /////////////////////////////// // ULX GUI -- by Stickly Man // /////////////////////////////// // Adding Main Modules.. // // bans.lua // // commands.lua // // groups.lua // // maps.lua // // settings.lua // // Adding Setting Modules.. // // client.lua // // server.lua // // Adding Gamemode Modules.. // // sandbox.lua // // Loading Server Modules.. // // sv_bans.lua // // sv_groups.lua // // sv_maps.lua // // sv_sandbox.lua // // sv_settings.lua // // XGUI modules added! // /////////////////////////////// // MODULE: chat.lua // // MODULE: fun.lua // // MODULE: menus.lua // // MODULE: rcon.lua // // MODULE: teleport.lua // // MODULE: user.lua // // MODULE: userhelp.lua // // MODULE: util.lua // // MODULE: vote.lua // // end.lua // // Load Complete! // /////////////////////////////// Included TTT language file: chef.lua Included TTT language file: english.lua [AddCSLuaFile] Couldn't find 'effects/ulx_firework/init.lua' (<nowhere>) [AddCSLuaFile] Couldn't find 'effects/ulx_firework/init.lua' (<nowhere>) [AddCSLuaFile] Couldn't find 'effects/ulx_fireworkstem/init.lua' (<nowhere>) [AddCSLuaFile] Couldn't find 'effects/ulx_fireworkstem/init.lua' (<nowhere>) Trouble In Terrorist Town gamemode initializing... This is TTT version 2013-07-28 Checking TTT file consistency. ConVarRef room_type doesn't point to an existing ConVar Executing dedicated server config file server.cfg[/CODE]
Addon.txt isn't required/used anymore. Just post the logs when you can.
There, I posted the logs. I know Metamod and SourceMod don't work. I just haven't deleted them yet.
The addons are loading fine, minus your ulx_fireworks. [code][AddCSLuaFile] Couldn't find 'effects/ulx_firework/init.lua' (<nowhere>) [AddCSLuaFile] Couldn't find 'effects/ulx_firework/init.lua' (<nowhere>) [AddCSLuaFile] Couldn't find 'effects/ulx_fireworkstem/init.lua' (<nowhere>) [AddCSLuaFile] Couldn't find 'effects/ulx_fireworkstem/init.lua' (<nowhere>)[/code] Seems like they don't exist.
That's just it—they aren't loading fine. Neither RDM nor MapVote have loaded. I hardcoded for_allah into the TTT files, as well as TTT Death Station (I removed it because it wasn't loading). It's strange that ULX and ULib are the only addons loading.
Post the addon structure, because they seem to be loading correctly.
Here you go: [CODE]addons\for_allah addons\mapvote addons\RDM addons\TTT Death Station addons\for_allah\addon.txt addons\for_allah\lua addons\for_allah\materials addons\for_allah\models addons\for_allah\sound addons\for_allah\lua\autorun addons\for_allah\lua\weapons addons\for_allah\lua\autorun\jihad_resources.lua addons\for_allah\lua\weapons\weapon_jihadbomb addons\for_allah\lua\weapons\weapon_jihadbomb\cl_init.lua addons\for_allah\lua\weapons\weapon_jihadbomb\init.lua addons\for_allah\lua\weapons\weapon_jihadbomb\shared.lua addons\for_allah\materials\models addons\for_allah\materials\vgui addons\for_allah\materials\models\weapons addons\for_allah\materials\models\weapons\v_models addons\for_allah\materials\models\weapons\w_models addons\for_allah\materials\models\weapons\v_models\pr0d.c4 addons\for_allah\materials\models\weapons\v_models\pr0d.c4\bomb1.vmt addons\for_allah\materials\models\weapons\v_models\pr0d.c4\bomb1_planted.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\bomb1_ref.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\bomb2.vmt addons\for_allah\materials\models\weapons\v_models\pr0d.c4\bomb2.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\bomb3b.vmt addons\for_allah\materials\models\weapons\v_models\pr0d.c4\bomb3b.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\hand.vmt addons\for_allah\materials\models\weapons\v_models\pr0d.c4\hand.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_04.vmt addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_04.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_45.vmt addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_45.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_active.vmt addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_active.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_off.vmt addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_off.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_off_ref.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_on.vmt addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_on.vtf addons\for_allah\materials\models\weapons\v_models\pr0d.c4\screen_ref.vtf addons\for_allah\materials\models\weapons\w_models\pr0d.c4 addons\for_allah\materials\models\weapons\w_models\pr0d.c4\bomb1_planted.vmt addons\for_allah\materials\models\weapons\w_models\pr0d.c4\bomb2.vmt addons\for_allah\materials\models\weapons\w_models\pr0d.c4\bomb3b.vmt addons\for_allah\materials\models\weapons\w_models\pr0d.c4\hand.vmt addons\for_allah\materials\models\weapons\w_models\pr0d.c4\screen_04.vmt addons\for_allah\materials\models\weapons\w_models\pr0d.c4\screen_45.vmt addons\for_allah\materials\models\weapons\w_models\pr0d.c4\screen_active.vmt addons\for_allah\materials\models\weapons\w_models\pr0d.c4\screen_off.vmt addons\for_allah\materials\models\weapons\w_models\pr0d.c4\screen_on.vmt addons\for_allah\materials\vgui\entities addons\for_allah\materials\vgui\entities\weapon_jihadbomb.vmt addons\for_allah\materials\vgui\entities\weapon_jihadbomb.vtf addons\for_allah\models\weapons addons\for_allah\models\weapons\v_jb.dx80.vtx addons\for_allah\models\weapons\v_jb.dx90.vtx addons\for_allah\models\weapons\v_jb.mdl addons\for_allah\models\weapons\v_jb.sw.vtx addons\for_allah\models\weapons\v_jb.vvd addons\for_allah\models\weapons\w_jb.dx80.vtx addons\for_allah\models\weapons\w_jb.dx90.vtx addons\for_allah\models\weapons\w_jb.mdl addons\for_allah\models\weapons\w_jb.phy addons\for_allah\models\weapons\w_jb.sw.vtx addons\for_allah\models\weapons\w_jb.vvd addons\for_allah\sound\siege addons\for_allah\sound\siege\big_explosion.wav addons\for_allah\sound\siege\fuse.wav addons\for_allah\sound\siege\jihad.wav addons\mapvote\addon.txt addons\mapvote\lua addons\mapvote\README.md addons\mapvote\lua\autorun addons\mapvote\lua\mapvote addons\mapvote\lua\autorun\mapvote.lua addons\mapvote\lua\mapvote\cl_mapvote.lua addons\mapvote\lua\mapvote\sv_mapvote.lua addons\metamod\bin addons\RDM\addon.txt addons\RDM\lua addons\RDM\lua\autorun addons\RDM\lua\autorun\client addons\RDM\lua\autorun\server addons\RDM\lua\autorun\client\clientgui.lua addons\RDM\lua\autorun\server\servergui.lua addons\TTT Death Station\addon.txt addons\TTT Death Station\lua addons\TTT Death Station\materials addons\TTT Death Station\lua\entities addons\TTT Death Station\lua\weapons addons\TTT Death Station\lua\entities\ttt_death_station addons\TTT Death Station\lua\entities\ttt_death_station\shared.lua addons\TTT Death Station\lua\weapons\weapon_ttt_death_station addons\TTT Death Station\lua\weapons\weapon_ttt_death_station\shared.lua addons\TTT Death Station\materials\vgui addons\TTT Death Station\materials\vgui\ttt addons\TTT Death Station\materials\vgui\ttt\icon_fon_death_station.vmt addons\TTT Death Station\materials\vgui\ttt\icon_fon_death_station.vmt.bz2 addons\TTT Death Station\materials\vgui\ttt\icon_fon_death_station.vtf addons\TTT Death Station\materials\vgui\ttt\icon_fon_death_station.vtf.bz2[/CODE]
It looks fine, meaning it's an issue with the addons. Can you post the mapvote you're using?
This is the MapVote I'm using right now: [url]https://github.com/tyrantelf/gmod-mapvote[/url] This is an alternative MapVote that I might use: [url]https://github.com/Willox303/gmod-mapvote[/url] This is my RDM manager: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=145459395[/url] [url]http://www.mediafire.com/download/32bu2y58f2spzjk/RDM.rar[/url] This is my Jihad bomb: [url]http://www.garrysmod.org/downloads/?a=view&id=33601[/url] This is my Death Station: [url]http://www.garrysmod.org/downloads/?a=view&id=134412[/url] The Jihad and the Death Station are hardcoded into TTT right now. Otherwise, the other two don't work. This addon works! [url]http://steamcommunity.com/sharedfiles/filedetails/?id=162581348[/url] I had to use the Gmad Extractor to get it out of my client files: [url]http://www.treesoft.dk/gmod/gmad/[/url]
Here is the folder structure of the defibrillator addon: [CODE]addons\defibrillator\addon.txt addons\defibrillator\lua addons\defibrillator\materials addons\defibrillator\lua\weapons addons\defibrillator\lua\weapons\weapon_ttt_defib.lua addons\defibrillator\materials\vgui addons\defibrillator\materials\vgui\ttt addons\defibrillator\materials\vgui\ttt\icon_rg_defibrillator.png[/CODE] What are the naming standards behind lua files? Does it just read everything in the lua folder like one big file, or do the files have to have specific names? Also, can servers really just use png files instead of vmts for in-game icons?
In hindsight, I should have posted this thread in Help & Support... sorry moderators. If you want to move it, feel free. But good news! I've been able to fix some of my addons. For RDM, I changed the file structure to: [CODE]addons\RDM\addon.txt addons\RDM\lua addons\RDM\lua\autorun addons\RDM\lua\autorun\rdm.lua[/CODE] Then I took the code from clientgui.lua and servergui.lua and put them in the following if statements (respectively): [CODE]if CLIENT then -- ... end if SERVER then -- ... end[/CODE] Also, I guess I lied when I said I was trying to use: [url]https://github.com/tyrantelf/gmod-mapvote[/url] As my MapVote addon. I was actually using: [url]https://github.com/wiox/gmod-mapvote[/url] When I switched to use the version my TyrantElf, it worked. The other addons that I need to fix are all weapons, so I made a new thread: [url]http://facepunch.com/showthread.php?t=1368228[/url] Otherwise, this thread is resolved.
I've had this problem with a server once, no idea what was causing it, though uploading to the garrysmod folder directly helped me.
Sorry to necro, but I'm also having this issue, so if anyone has a suggestion as to how this can be solved I would greatly appreciate it.
[QUOTE=Selkie;44576982]Sorry to necro, but I'm also having this issue, so if anyone has a suggestion as to how this can be solved I would greatly appreciate it.[/QUOTE] Post a console startup log.
[QUOTE=Selkie;44576982]Sorry to necro, but I'm also having this issue, so if anyone has a suggestion as to how this can be solved I would greatly appreciate it.[/QUOTE] This is caused by the lua file limit garry put on the addons folder. upload directly to your garrysmod and it'll work fine
is your host linux and is everything lower case? EDIT --- According to your console logs it looks like it is linux based. please make sure all files and folders are lower case then let us know. Edit again-- Remove any " - " in folder names as well.
Sorry, you need to Log In to post a reply to this thread.