Hello I am in need of help setting up a gamemode called CityRP which is based off of Cider and Applejack. But I do not spawn when I try to test out the gamemode. And get a few errors in console help please?
SERVER CONSOLE LOG:
[url]http://pastebin.com/6r89esFd[/url]
Does anybody know how to fix? I can send you the files as well if that helps.
[QUOTE=skatehawk11;49445377]Where did you even get this gamemode? Applejack is ancient.[/QUOTE]
My friend sent this to me saying he had it on his server about a year ago, knowing that I was looking to start one he sent me the files.
[QUOTE][FAYD|2|STEAM_0:0:45998462] Lua Error:
Couldn't include file 'base\gamemode\cl_init.lua' [B][U](File not found)[/U][/B] (<nowhere>)
[FAYD|2|STEAM_0:0:45998462] Lua Error:
[B][I]Couldn't Load Init Script (because the file has not been found) [/I][/B]: 'base/gamemode/cl_init.lua'
[FAYD|2|STEAM_0:0:45998462] Lua Error:
Couldn't include file 'sh_init.lua' [B][I](File not found)[/I][/B] (@gamemodes/cityrp/gamemode/cl_init.lua (line 6))[/QUOTE]
[QUOTE=NRG Ronnie;49445447][/QUOTE]
The files are their. I have no idea why they are not found
This is for GMod 12. It relies heavily on the old base gamemode.
[QUOTE=code_gs;49445691]This is for GMod 12. It relies heavily on the old base gamemode.[/QUOTE]
Dang. Anyway to port it?
[QUOTE=Fayhd;49447397]Dang. Anyway to port it?[/QUOTE]
Tbh remaking it would be better than porting it
[QUOTE=Skere_;49447975]Tbh remaking it would be better than porting it[/QUOTE]
This is a download to it? Want to take a look at it?
[url]https://mega.nz/#!NNFGXB7Z!TMt_VPDDoOdZC2XfvIEUKNRtdJfXxXwcEJClncaJyiE[/url]
[B][I]Okay I now get theses errors in console any help?[/I][/B]
[ERROR] gamemodes/cityrp/gamemode/cl_init.lua:791: function arguments expected near '['
1. unknown - gamemodes/cityrp/gamemode/cl_init.lua:0
Lua Error:
Couldn't Load Init Script: 'cityrp/gamemode/cl_init.lua'
[QUOTE=Fayhd;49450503][B][I]Okay I now get theses errors in console any help?[/I][/B]
[ERROR] gamemodes/cityrp/gamemode/cl_init.lua:791: function arguments expected near '['
1. unknown - gamemodes/cityrp/gamemode/cl_init.lua:0
Lua Error:
Couldn't Load Init Script: 'cityrp/gamemode/cl_init.lua'[/QUOTE]
Look for syntax errors in the function that contains that line
You can get so many versions that work better on this version of Gmod, how ever all of them have a awful HUD (from my experience), check lexis GitHub, it has a some what fixed version and so does the addons and gamemode release on this website.
[QUOTE=Borris_Squad;49454393]You can get so many versions that work better on this version of Gmod, how ever all of them have a awful HUD (from my experience), check lexis GitHub, it has a some what fixed version and so does the addons and gamemode release on this website.[/QUOTE]
This is from Lexis GitHub
Okay I fixed the mySQL and now the only error I get is this, Please help.
[ERROR] gamemodes/applejack/gamemode/init.lua:143: attempt to index local 'q' (a nil value)
1. Query - gamemodes/applejack/gamemode/init.lua:143
2. LoadData - gamemodes/applejack/gamemode/metatables/sv_player.lua:654
3. unknown - gamemodes/applejack/gamemode/init.lua:655
[QUOTE=Skere_;49447975]Tbh remaking it would be better than porting it[/QUOTE]
Kinda agree if you're okay at coding.
After I fix this the gamemode will work
[ERROR] gamemodes/applejack/gamemode/init.lua:143: attempt to index local 'q' (a nil value)
1. Query - gamemodes/applejack/gamemode/init.lua:143
2. LoadData - gamemodes/applejack/gamemode/metatables/sv_player.lua:654
3. unknown - gamemodes/applejack/gamemode/init.lua:655
If you're trying to get Facepunch to do all the work for you, you could at least post the line of code that's error'ing
[QUOTE=NiandraLades;49470049]If you're trying to get Facepunch to do all the work for you, you could at least post the line of code that's error'ing[/QUOTE]
I would do it myself but I have no idea what the problem is, and I did connect the mySQL database
[url]http://pastebin.com/fEVamff8[/url]
[QUOTE=Fayhd;49470147]I would do it myself but I have no idea what the problem is, and I did connect the mySQL database
[url]http://pastebin.com/fEVamff8[/url][/QUOTE]
If the error is from: gamemodes/applejack/gamemode/init.lua:143:
Not sure why you aren't giving us the init.lua instead of the db shit.
EDIT: Mah bad, read through it once more and realized it might be the right script (would be nice to know which line is 143 though)
[QUOTE=john55223;49470318]If the error is from: gamemodes/applejack/gamemode/init.lua:143:
Not sure why you aren't giving us the init.lua instead of the db shit.[/QUOTE]
That is from init.lua....
[QUOTE=Fayhd;49470322]That is from init.lua....[/QUOTE]
He means the actual code from that line
Sorry, you need to Log In to post a reply to this thread.