Port server tools/tgstation-server/watchdog to dm

How, what and why to code in BYOND.
Post Reply
User avatar
JJRcop
Joined: Wed Apr 23, 2014 1:52 am
Byond Username: JJRcop
Github Username: JJRcop

Port server tools/tgstation-server/watchdog to dm

Post by JJRcop » #283441

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.
I lurk quite often...
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

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

Post by oranges » #283505

I think you got lost on the way to the shit ideas thread
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

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

Post by MrStonedOne » #283509

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.
Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
Post Reply

Who is online

Users browsing this forum: No registered users