• Live Server Editing
    6 replies, posted
I've use 2 different server hosts. The first one was an easy xenon server with pretty restart buttons and all pre-setup for me. The second one was a virtual server. I had to install steamcmd on through a linux command line, and wasn't quite as easy. Whenever I modified files on the virtual server, it required a map change for the file to re-load. The xenon server files would edit live. Each had it's own pros and cons, if I was changing the rate of fire on a weapon, xenon is great. Cause the file would edit live and I could balance weapons much faster. With the virtual server, Every time I wanted something to take effect, a map change was necessary. But if I wanted to change a core gamemode file on the xenon... server crash... The virtual server on the other hand would implement the core modification next map. Is there a way to choose which one I get? I would really like to not have to deal with server restarts when testing something.
I may be wrong, but I don't think Linux supports Lua refresh.
Well there we go, lol. But why would any server host not use linux though?
[QUOTE=swinginman;43974799]Well there we go, lol. But why would any server host not use linux though?[/QUOTE] Each OS has its pros and cons.
You can mimic refresh though. Use file.Find to list files in directories and reload the files through recursion..
[QUOTE=Acecool;43975097]You can mimic refresh though. Use file.Find to list files in directories and reload the files through recursion..[/QUOTE] Does that actually work? I've gotten some nasty errors just running lua_openscript on one file.
[QUOTE=BFG9000;43984585]Does that actually work? I've gotten some nasty errors just running lua_openscript on one file.[/QUOTE] It does if done properly.
Sorry, you need to Log In to post a reply to this thread.