Author Topic: SS++ goes public along with its source.  (Read 5509 times)

0 Members and 1 Guest are viewing this topic.

Offline Flamiex

  • Major(1)
  • Posts: 22
SS++ goes public along with its source.
« 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
« Last Edit: February 09, 2007, 07:24:00 pm by Flamiex »

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: SS++ goes public along with its source.
« Reply #1 on: February 11, 2007, 05:40:46 pm »
I like this script. Looks useful and extremely interesting.
There are other worlds than these

Offline Xxypher

  • Veteran
  • *****
  • Posts: 1319
  • Soldat Veteran.
Re: SS++ goes public along with its source.
« Reply #2 on: June 06, 2007, 08:46:17 pm »
Hooowwwww, exactly do I install this or put it in the game?

Offline drinkduff

  • Major(1)
  • Posts: 37
Re: SS++ goes public along with its source.
« Reply #3 on: June 08, 2007, 01:54:44 pm »
There's a rock and i've been hiding under it.

What's SS++

Offline Irlandec

  • Soldier
  • **
  • Posts: 176
Re: SS++ goes public along with its source.
« Reply #4 on: July 25, 2008, 03:34:57 am »
Link broken for me :(

Offline Nubism

  • Major
  • *
  • Posts: 58
Re: SS++ goes public along with its source.
« Reply #5 on: August 11, 2008, 11:31:29 am »

Offline UnknownSniper

  • Camper
  • ***
  • Posts: 428
  • Southern by the Grace of God
Re: SS++ goes public along with its source.
« Reply #6 on: August 11, 2008, 12:50:38 pm »
Link broken for me :(

That's probably because this is a year old...
I had a job and a piece of land
My sweet wife was my best friend
But I traded that for Cocaine and a whore
-Jamey Johnson


Offline garfield

  • Major(1)
  • Posts: 4
Re: SS++ goes public along with its source.
« Reply #7 on: November 20, 2009, 05:48:19 pm »
reup ?

Offline LORD KILLA

  • Camper
  • ***
  • Posts: 254
  • Happie
Re: SS++ goes public along with its source.
« Reply #8 on: November 21, 2009, 05:48:12 am »
Link broken for me :(

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

Wrong, two years...

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: SS++ goes public along with its source.
« Reply #9 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.
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: SS++ goes public along with its source.
« Reply #10 on: November 21, 2009, 08:53:00 pm »
Yeah... locked.
There are other worlds than these