You are not logged in.

#1 2010-01-17 23:28:50

mrbug
Member
Registered: 2007-07-17
Posts: 221

[SOLVED] Pioneers - creating new games remotely

Is there a way to create new games in Pioneers on a remote server? It seems like there are two ways to create games:
1. pioneers-server-gtk (graphical)
2. pioneers-server-console (commandline)

I would like to make it so that a friend can start games through my computer without having to give him full SSH access.


EDIT: Got it!

I created a script that would does the following command:

pioneers-server-console -c 3 -g Default -k 60 -P 4 -p 15557 -R 1 -T 1 -v 10 -x

...and set that to be the shell for a new user. The home directory was set to /dev/null.

Login as the user and the game is created. The -x switch makes the server program exit when the game is over. When that happens, the user is disconnected.

I'm not sure how "graceful" that is, but it works very well.


I'm assuming that this could work with any kind of one-shot programs/games.

Last edited by mrbug (2010-01-27 21:51:43)


dvdtube - download all uploads from a YouTube user and then optionally create a DVD.
(Regular version AUR link / SVN version AUR link)

Offline

Board footer

Powered by FluxBB