Author Topic: Server script selection  (Read 1758 times)

0 Members and 1 Guest are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Server script selection
« on: January 29, 2011, 09:53:21 pm »
In the Soldat Dedicated Server, I, and possibly other people, would probably find it useful to have some method of selection of what scripts to run that are available on a server. Similar to a mapslist, having a scripts list could be taken advantage of to make it easier to manage scripts. Before you come to the conclusion that needing to modify a text file every time a new script is added or removed, I'd like to say that default the file is not there, which resorts to default behavior, which is simply using all scripts found in the scripts directory.

Using command line, it could be possibly to specify what scripts list file to use. This can make it possible to easily run back and forth different scripts using the same server files. Its essentially the same reasoning behind why you can specify a different soldat.ini configuration file (although unfortunately server.ini some reason is not available for selection via command line parameters).

Another possibility would be simply selecting the scripts, or the script list file inside the soldat.ini file. This would remove the necessity to have the command line parameter to specify the script list file, as you can already specify soldat.ini file, which can then specify which scripts to be used. Although I don't want to complete remove the idea of command line parameter, as similar with ports, you can specify the port of the server via soldat.ini or command line parameters, and may have its uses.

There are other possible setups, as I don't care as much about the setup but more of if the functionality is available. Having the functionality can allow for ease of access to multiple server configurations in a single server, or even run multiple servers using the same files (which could save memory, for having many climb maps for example). It is already currently possible to run multiple servers using the same files (by specifying a different port, or soldat.ini configuration with a different port), and having them both run at the same time, but it is not possible for them to run separate scripts.
« Last Edit: January 29, 2011, 10:53:42 pm by DorkeyDear »

Offline CurryWurst

  • Camper
  • ***
  • Posts: 265
    • Soldat Global Account System
Re: Server script selection
« Reply #1 on: January 30, 2011, 10:37:45 am »
I advocate your proposal, but I prefer a command line implementation to a section in the soldat.ini file with regard to server provider. So, if necessary, they can control what scripts are being executed. If added to the soldat.ini the command line parameter should override the settings in the ini file.
Soldat Global Account System: #soldat.sgas @ quakenet

DarkCrusade

  • Guest
Re: Server script selection
« Reply #2 on: January 30, 2011, 12:04:45 pm »
I advocate your proposal, but I prefer a command line implementation to a section in the soldat.ini file with regard to server provider. So, if necessary, they can control what scripts are being executed. If added to the soldat.ini the command line parameter should override the settings in the ini file.

That sounds better. I'm all for it ;)

Offline Boblekonvolutt

  • Soldier
  • **
  • Posts: 222
  • "YOU are a CAR."
Re: Server script selection
« Reply #3 on: January 30, 2011, 12:06:05 pm »
Makes a lot of sense.