Author Topic: PHP Soldat.ini maker.  (Read 5950 times)

0 Members and 1 Guest are viewing this topic.

Offline DePhille

  • Flagrunner
  • ****
  • Posts: 623
  • SoldatPage Webmaster
    • SoldatPage
PHP Soldat.ini maker.
« on: April 15, 2007, 02:01:06 pm »
Hi,

I've made a PHP script to make and edit soldat.ini files easily. It's hosted on SoldatPage and you need an activated account to use the tool. I've done that to prevent abuse of the script, and to enlarge the SoldatPage community ofcourse.

It's currently still a BETA-version. Once it has been used for some time and no bugs have been reported, I'l change it's state.
Due to that, feedback is extremely welcome!

Features:
- Made for servers.
- Explanation with every setting.
- Upload and load an existing soldat.ini file.
- Generate new soldat.ini files.
- Simple GUI, easy to understand categories.


Grtz, DePhille
« Last Edit: April 15, 2007, 02:35:40 pm by DePhille »
This signature was broken. Feel free to fix it.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: PHP Soldat.ini maker.
« Reply #1 on: April 15, 2007, 02:38:55 pm »
Very useful, but heres an idea. Why don't you have the result page actually throw you a Soldat.ini that you would be forced to download instead of having to copy + paste the files contents?
There are other worlds than these

Offline DarkNoddy

  • Soldier
  • **
  • Posts: 194
  • BunnehMastah
Re: PHP Soldat.ini maker.
« Reply #2 on: April 15, 2007, 09:28:00 pm »
Probably because many people change the ini settings trough the Server Web interface, where you edit it in text.

Adding a Download link for the ini or something wouldnt be a bad Idea tho.
(I havent actually seen the ini Maker as the page says "you do not have permisson ...")

From the pictures: good job!
----Get µTorrent here! - Torrent Tutorial----  
The sum of all fears: 01945

Offline DePhille

  • Flagrunner
  • ****
  • Posts: 623
  • SoldatPage Webmaster
    • SoldatPage
Re: PHP Soldat.ini maker.
« Reply #3 on: April 16, 2007, 11:01:12 am »
I will try to implement the download function.
I'm also looking for "official soldat.ini templates". A few years back you had the official SCTFL rules, I wonder if they still exist.

Also, the "You don't have permission to view this page" means you need an activated account to use the tool. Anyway, I'll rewrite that code so it also explains whyyou don't have permission to view the page.

Grtz, DePhille
This signature was broken. Feel free to fix it.

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: PHP Soldat.ini maker.
« Reply #4 on: April 16, 2007, 05:01:46 pm »
here's the one i use for the sna.gather servers, sctfl standards last time i checked

http://nagather.u13.net/gather.ini

Offline SoulSnipa

  • Major
  • *
  • Posts: 88
    • Soldat Mappers League
Re: PHP Soldat.ini maker.
« Reply #5 on: April 17, 2007, 06:08:41 am »
make it AJAX

Offline DePhille

  • Flagrunner
  • ****
  • Posts: 623
  • SoldatPage Webmaster
    • SoldatPage
Re: PHP Soldat.ini maker.
« Reply #6 on: April 21, 2007, 06:02:31 am »
Thanks for the suggestions.
I'll add the template as soon as I've finished the download link.

However, I don't see the purpose of using AJAX on this script. The only purpose would be to update the output whenever the user inserts a charatcer or so. However, that'd generate 5KB download with every keypress which isn't really useful. If you meant to just perform the XML parse when the button is clicked I still thnk it is better to use the POST method since it's alot simpeler to code, aot safer and every browser supports it.
However, Maybe I'm missing the point, please explain further.

Grtz, DePhille

Date Posted: 17-04-2007, 17:34:16
Updates:
The ini file will start downloading when you click the button.
Support for ini templates added.
Template "#sna.gather" added.
Problem with linefeeds fixed.

I'm still looking for some ini files to be used as templates, if you have any please let me know.

Grtz, DePhille
This signature was broken. Feel free to fix it.

Offline miketh2005

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 668
  • What's the URL for www.microsoft.com?
Re: PHP Soldat.ini maker.
« Reply #7 on: January 26, 2009, 05:56:11 pm »
outdated, sorry to bump, but i was womdering if you can make one for 1.4.2, if i use this my server wont start
Quote from: 'Ando.' pid='12999178' dateline='1309046898'
My new password is secure as shit :)
Mate, I am not sure Shit is even secured nowadays.