Gamemode not working after todays gmod crashonlaunch update
6 replies, posted
Is there some lua changes or something because for some reason after the update to fix the crashing on launch I cant get my gamemode running.
It doesnt seem to run init.lua at all. cl_init.lua runs with some errors due to init.lua not downloading scripts to the client.
have you setup the text file for your gamemode?
also in the init.lua you need AddCSLuaFile("cl_init.lua") DO NOT include("cl_init.lua") anywhere on the client
[QUOTE=G4MB!T;38448436]have you setup the text file for your gamemode?
also in the init.lua you need AddCSLuaFile("cl_init.lua") DO NOT include("cl_init.lua") anywhere on the client[/QUOTE]
yes and i know. i am only including shared.lua in the client which (shared.lua) the init should download to client with addcsluafile
however i am getting an error from cl_init.lua saying shared.lua is nil. (init not downloading shared to client?) The shared.lua (which should run after being included in the init) never seems to run since it derivers the gamemode from sandbox, and when i join it is definitely not derivered since the tons and tons of errors from other addons. Also the init.lua is not doing anything else that it was supposed to do and i get zero output prints for it. Only thing that seems to run is cl_init.lua
and remember that the gamemode worked perfectly before the updates, when the update which broke gmod (error when launched) happened i managed to launch gmod by not closing the error and opening an second instance of gmod and the gamemode worked fine. Then an update that was supposed to fix it but it still crashed on launch but i managed to launch it again but this time the gamemode didnt work. Now today the final update that fixed launch crashing the gamemode still doesnt work.
hmm sounds odd.
is there errors in shared.lua?
Ok i solved it... problem was that i didnt scroll the output up enough..
forgot to close a parenthesis in init.lua ^^ (i did some heavy updating while gmod was broken)
shall the dumb ratings rain upon me
ye no offence but you should really try and find problems like that first and debug it as best as you can before you post.
[QUOTE=G4MB!T;38448730]ye no offence but you should really try and find problems like that first and debug it as best as you can before you post.[/QUOTE]
Yeah i thought i did. But apparently it makes 2 almost identical outputs from a join (first server, then client) so i read the "last one" which looked like it was the only output all the way from singleplayer start > current moment
Sorry, you need to Log In to post a reply to this thread.