Problem opening the gamemode file 'XXX/gamemode/init.lua

Srcds runs fine, it’s the issue of getting my game mode up and running. Whenever I use my game mode, DarkRP, or any other gamemode it says:



ERROR! Module 'zlib_b64' not found!
Couldn't include file 'XXXXX\gamemode\init.lua' <File not found>
[cpp]
There was a problem opening the gamemode file 'XXXXX/gamemode/init.lua'

Registering gamemode 'XXXXX' derived from 'base'


That’s the only error I can find. It has the zlib error when I make a local server via Garry’s Mod, and this also shows;


 
[gamemodes\XXXXX\gamemode\cl_init.lua:18] function arguments expected near '='
[cpp] 
There was a problem opening the gamemode file 'XXXXX/gamemode/cl_init.lua'


I guess it’s just an error in the lua involving ‘=’ as I can see, but thats the client lua, and srcds couldn’t include, which I can see somehow. Maybe it’s my code, I’ll take a look if it is or not.


Wow… I must’ve forgot to close some () and must of misspelled some things. It works now.

looks like someone is missing an " = " somewhere. On line 18

Duh. Well fixed the issue and now it’s this (via Garry’s Mod Console):


Couldn't include file 'XXXXX\gamemode\cl_init.lua' (File not found)
[cpp] 
There was a problem opening the gamemode file 'XXXXX/gamemode/cl_init.lua'


Registering gamemode 'XXXXX' derived from 'base'


Same as last time in srcds. Is it because of the / and 's? I tried deriving from sandbox but that didn’t work.