FAQ  •  Register  •  Login

Remote server management?

<<

Cracatoa

User avatar

Posts: 292

Joined: Sun Apr 18, 2010 2:39 pm

Location: In your attic

Post Thu Nov 11, 2010 1:58 pm

Remote server management?

Idea:Remote server restarting command

Question: Is there a possible way to add levels to a server remotely?
The bottom statement is false.
The top statement is true.
<<

raptor

Posts: 1046

Joined: Mon Oct 11, 2010 9:03 pm

Post Thu Nov 11, 2010 4:06 pm

Re: Remote server management?

Do you mean a web interface? Like a mini web-server will display some admin feature you can access via http?
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Thu Nov 11, 2010 4:08 pm

Re: Remote server management?

@dbuck: I think he would be satisfied with access from within the game

@cracatoa:

First idea: probably hard to implement in a platform independent manner -- you'd need to start running a restarter program, kill your current session, then have the restarter restart. I experienced some of the joy with this process implementing the updater for Windows, which has to follow a similar process.

Second idea: I assume you mean add new levels that don't yet exist on the server. So... not currently, though maybe possible sometime in the future. You can remove levels from the rotation, however. This is something I want too, but it's not on my list.
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Thu Nov 11, 2010 4:10 pm

Re: Remote server management?

Although... perhaps doing admin via a web server would in fact be easier. You'd have to be able to upload files, manipulate the INI file (and/or command line params), and kill/run a process.

Actually, this suddenly seems quite doable, at least for Linux servers, leveraging Apache and other services that already exist.

It might be really cool to have a whole server management panel in your browser, with stats and feedback about what's happening at the moment.

Hell, once you have that, you could even use that as a gateway to automate services, like the process I have for restarting the master server via a webpage in the event the process dies (known to several members of the community; many eyes and all that).
<<

raptor

Posts: 1046

Joined: Mon Oct 11, 2010 9:03 pm

Post Thu Nov 11, 2010 4:24 pm

Re: Remote server management?

I see you are slowly convincing yourself of a web interface.

For an idea: I helped in building software for a project once that used mongoose server:
http://code.google.com/p/mongoose/

It is a really, really tiny http server written in C (I know bitfighter is C++) that was made to be embeddable. Maybe something like this could be compiled into bitfighter server and open at a default port?

Just an idea
<<

karamazovapy

Posts: 1567

Joined: Tue Feb 23, 2010 7:52 pm

Post Thu Nov 11, 2010 4:40 pm

Re: Remote server management?

If we're embedding a webend utility, it might be wise to make activating it default only for dedicated servers and (I guess) a menu option for client hosting. I'm just imagining how locked-down public and school computers would respond to software attempting to open unauthorized ports...
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Thu Nov 11, 2010 5:08 pm

Re: Remote server management?

It would only make sense on a dedicated server; I can't see enabling it otherwise.

As for C code... ick. I've just spent the last two evenings trying to make oglconsole work with Bitfighter, to -- finally -- give us a better way to debug scripts. That's C, and it was a bit of a mess (although, to be fair, part of the problem was that it was designed to work with SDL, not GLUT, which is what Bitfighter uses to do its graphics, and I was trying to integrate two separate implementations of the code that turned out to be violently incompatible).

The disadvantage to an integrated web server is that we would still have to deal with cross-platform file management (to add new levels, robots, etc.), and we would still have to figure out a way to restart the server. And if the server crashed, well so would your remote access.

On the other hand, many of the tools we would need to build already exist in Apache/php/Perl/etc.
<<

karamazovapy

Posts: 1567

Joined: Tue Feb 23, 2010 7:52 pm

Post Sat Oct 15, 2011 10:32 am

Re: Remote server management?

A number of remote server management tools have been added!

Return to Adopted Features

Who is online

Users browsing this forum: No registered users and 0 guests