Official Soldat Forums

Server Talk => Server Discussion => Topic started by: Flamiex on February 09, 2007, 07:16:02 pm

Title: SS++ goes public along with its source.
Post by: Flamiex on February 09, 2007, 07:16:02 pm
Alright, since I've decided to stop working on SS++ and focus more on FracNet, I decided to make SS++ open source.

First of all, please note that the package comes AS IS. All 3 game modes have been tested numerous times and I believe are bugless at this point.
I will *not* provide further support than what I write here in this topic on how to install/run the program on your server.

Requirements:
1)A soldat server (duh)
2)Webspace that has PHP4.x or above installed on it.
3)MySQL 4.x or above.

Please note that 2) and 3) do NOT necessarly have to be on the same server as the soldat server. But if they are, it will not cost you *any* bandwidth, therefor it is recommended.

Installation:
1)Download the ZIP: http://flamiex.fracs.net/SS++.zip
2)Upload the SS++ folder on your webspace.
3)Import Install.sql onto your database.
4)Open config.php (located in SS++) and set the settings to match your server information.
Please note, I've put a LOT more variables than the minimum requirement in config.php to allow the programming inclined people to be able to play around with the settings as they wish. But the REQUIRED fields are the following parts:
/**SET DATABASE SETTINGS**/
/**SET SOLDAT SERVER SETTINGS**/
/**SET BOT SETTINGS**/
Please note that in the bot settings, temp_password is set while a game is running so people dont come in and disturb the game. real_password is your server's password (not the admin password) which will be set back after a game is over. Both those fields can remain empty if you wish.

If you decide to edit ANY other value in the config, do so at your own risk. Again I will not provide support if you somehow changed something and it stopped working. I only encourage those who have some programming knowledge to change them as they should understand what they do by looking at run.php.

Running the bot:
Simply run run.php (located in the SS++ folder) you can run it by simply going to its URL and then close it (it will not finish loading as its a never ending script), but the proper way to run it is to run it from shell access.

You can edit this program as much as you want, I do not care. You can even use parts of it for your own programs.
I've coded this in 3-4 days so I never had a chance to optimise it as much as I wouldve wanted to, so dont bother telling me there are some parts I could've done much better - I already know that ;p

One more thing, The use for a database is "optional", what I mean by that, I had it log the tournaments and the games played in them into the database for potentially have them displayed on a site afterward. If you do not wish to use a database for your program, you can fairly easily edit the code to do so. But for that you need to understand PHP. Again I will not do it/help you.

Alright this is what Config.php looks like in case some people want to see if they can manage to configure it before downloading it:
http://www.privatepaste.com/091JAbp0Q1
Title: Re: SS++ goes public along with its source.
Post by: jrgp on February 11, 2007, 05:40:46 pm
I like this script. Looks useful and extremely interesting.
Title: Re: SS++ goes public along with its source.
Post by: Xxypher on June 06, 2007, 08:46:17 pm
Hooowwwww, exactly do I install this or put it in the game?
Title: Re: SS++ goes public along with its source.
Post by: drinkduff on June 08, 2007, 01:54:44 pm
There's a rock and i've been hiding under it.

What's SS++
Title: Re: SS++ goes public along with its source.
Post by: Irlandec on July 25, 2008, 03:34:57 am
Link broken for me :(
Title: Re: SS++ goes public along with its source.
Post by: Nubism on August 11, 2008, 11:31:29 am
Link broken for me :(

same...
Title: Re: SS++ goes public along with its source.
Post by: UnknownSniper on August 11, 2008, 12:50:38 pm
Link broken for me :(

That's probably because this is a year old...
Title: Re: SS++ goes public along with its source.
Post by: garfield on November 20, 2009, 05:48:19 pm
reup ?
Title: Re: SS++ goes public along with its source.
Post by: LORD KILLA on November 21, 2009, 05:48:12 am
Link broken for me :(

That's probably because this is a year old...

Wrong, two years...
Title: Re: SS++ goes public along with its source.
Post by: SpiltCoffee on November 21, 2009, 07:40:46 pm
It was a year old when that guy posted, LORD KILLA.

I think it's time to stop necroposting, because I don't think Flamiex is about to reupload his program any time soon.
Title: Re: SS++ goes public along with its source.
Post by: jrgp on November 21, 2009, 08:53:00 pm
Yeah... locked.