Catalyst Gaming
General => Support & Help => Topic started by: rBST Cow on June 01, 2014, 02:40:09 PM
-
So basically I'm trying to learn how to code and I've been following Youtube tutorials on how to run a dedicated server so I can put my gamemode on it and test it out. The problem is that whenever I run it, the gamemode won't like play. It says "Game: Base Gamemode" and not "Game: Example"(I named my gamemode example. I then found an error in the console whenever I join and it says
"[cow|2|STEAM_0:1:54217608] Lua Error:
Couldn't include file 'shared.lua' (File not found) (@gamemodes/example/gamemode/cl_init.lua (line 1))"
Could this be the issue? How do I fix it?
-
I think the issue is in the server.cfg file (Haven't loaded a game mode on my server in a while) and make the sv_defaultgamemode example. If that doesn't work check this link:
http://wiki.garrysmod.com/page/Gamemode_Creation
-
Are you using a batch file to run the server? If so, paste the code here.
-
Are you using a batch file to run the server? If so, paste the code here.
I'm using srcds to run the server
These are the files located in C:\Users\nigger\Desktop\Coding\SteamCMD\Server\garrysmod\gamemodes as well as C:\Program Files (x86)\Steam\SteamApps\common\garrysmod\garrysmod\gamemodes
https://www.mediafire.com/folder/jylx9fn4b7jav/example
I'm not sure if it's an issue with the code or what, I like know very little about LUA...tryna' learn