Page 1 of 1

Port server tools/tgstation-server/watchdog to dm

Posted: Thu Apr 20, 2017 7:06 pm
by JJRcop
I had a crazy idea since the server tools, being in windows batch format, are not cross platform: turn it into DM!

The idea is make a tgstation-tools.dme file in the tools/tgstation-server folder, and make new tools in dm. This would mean it could be hosted on whatever platform BYOND can run on, take advantage of the startup proc, and consequently the Master argument of the world's Topic proc for secure remote administration capabilities.

I have an idea for two interfaces:
First, connecting to the server tools via dreamseeker, which would give you a control panel that allows you to perform all the actions you can currently do using the batch scripts, this could only be connected to via a localhost connection.
Secondly, an empty file that when edited, will be read by the server tools and executed as a verb, then blanked out to empty again, this is so that you can interface easily using a system shell, as you can currently.

When updating, tgstation-server will also recompile itself, then restart.

Since the server tools would be in BYOND, this would allow much easier interface between the server tools and the game.

Re: Port server tools/tgstation-server/watchdog to dm

Posted: Thu Apr 20, 2017 9:25 pm
by oranges
I think you got lost on the way to the shit ideas thread

Re: Port server tools/tgstation-server/watchdog to dm

Posted: Thu Apr 20, 2017 9:26 pm
by MrStonedOne
its not a bad idea, but its not a good idea.

The tools aren't cross platform because they abuse a quirk in windows i/o handling that linux doesn't have.

This wouldn't fix that.