• Faster way to test than restarting server.
    10 replies, posted
It gets really annoying having to constantly restart the server every time you miss an = sign somewhere when creating a gamemode. Is there a way to reinitialize the gamemode without restarting the server or changing the map?
gamemode_reload
Why can you just do it locally from your computer? It runs plenty quicker. Upload it to the server after you're done adjusting.
gamemode_reload and gamemode_reload_cl Never used them so I have no idea if they work. EDIT: Wow double ninja'd.
[QUOTE=ikg;18723900]Why can you just do it locally from your computer? It runs plenty quicker. Upload it to the server after you're done adjusting.[/QUOTE] I'm talking about a listen server anyway, not dedicated. Even then it takes an annoyingly long time.
Personally, I use LuaPad. It has the In-Game Scripting environment I need, and I can easily reload my scripts when I miss a "=" sign some-where in the script.
LuaPad works for regular scripts, not gamemodes.
when coding a gamemode empty your addons folder unless they are required for the game mode. then save your file and just type reload in console.
[QUOTE=-TB-;18724853]when coding a gamemode empty your addons folder unless they are required for the game mode. then save your file and just type reload in console.[/QUOTE] A gamemode derived from base/fretta doesn't load addons anyway, does it?
I use this program I wrote in AutoIt to disable addons. [URL=http://errur.com/f/Download.php?id=842][IMG]http://errur.com/f/images/u/842.png[/IMG][/URL] Just put it in your addons folder. When it's run it renames all addons/*/info.txt files to info.disabled and vice versa. I included the source with the executable so you can check it/compile it yourself if you're paranoid.
Sorry, you need to Log In to post a reply to this thread.