Ok another great idea (i think)

Associate
Joined
11 Jul 2005
Posts
788
Location
London
I would like to create a program that i can put on my dedicated boxes , that communicated with a php or aspx or something on my website and sets up game servers for hourly intervals, i.e someone places an order on a specialist order form for the 1 hour booking, the server.cfg is edited with there desired clan name/rcon etc... and the server is started up and the ip/port is emailed to them, then after an interval of 60 minutes the server is taken down until the next order??

Whoever can help me create this can take a nice share of profit :D
 
Just a quick note... generally people who use this forum for direct commercial gain are frowned upon.

If you want us to help you complete this task, then make a start, and when you hit a problem ask and I'm certain you'll get help.
 
I guess a combination of exec or shell_exec to launch the servers, and pass them the cfg file and fopen, and fwrite to save out the cfg's then if you wrote a template cfg for each game and worked out the possible options or number ranges for each then you could populate the template and save it from a web interface and have it load the server, you could also use cron to check to see if a server should be shutdown at the beginning of each hour and if so then bring up the next server in a list.

Apache2
PHP
Cron
Shell Access
MySql

Those are the things you would need
 
Back
Top Bottom