TFS-Clay Posted June 24, 2009 Share Posted June 24, 2009 I know there is a game_additional_arguments attribute, but I was wondering how I could make this "hidden" and set it per product? Thanks for any assistance. Link to comment Share on other sites More sharing options...
peace Posted July 1, 2009 Share Posted July 1, 2009 Hello. You have to edit default_value.php file where you can set game_additional_arguments parametrs as you want. For exaple, 100 tickrate source server: game_additional_arguments "-tickrate 100". For different packages you may have to create new .php file with new configuration. What do you mean by hidden? This option by default is hidden from users in order form. Link to comment Share on other sites More sharing options...
CrimsonGT Posted October 2, 2009 Share Posted October 2, 2009 Sorry to bump this old thread. Was wondering if anyone has ever configured game_additional_arguments to work with the module? As in, how to make it show up on the module page giving the options to associate it with a configurable option, or in my case, a text box. Link to comment Share on other sites More sharing options...
Admin-Nation-Servers Posted October 2, 2009 Share Posted October 2, 2009 Yes, Do something like this $billing_api_values["game_additional_arguments"]="+map ".$customfields["maps"]." +fps_max 0"; Link to comment Share on other sites More sharing options...
CrimsonGT Posted October 10, 2009 Share Posted October 10, 2009 Would something like this work? $billing_api_values["game_additional_arguments"] = "-tickrate "ConfigOption:Tickrate" +max_fps "ConfigOption:ServerFPS""; Im trying to figure out if I can make it use multiple Config Options, or if I have to just do like "CustomField:CmdLineArguements" and then write it in there. Link to comment Share on other sites More sharing options...
ZeeBOB Posted October 15, 2009 Share Posted October 15, 2009 Hi, For our CS:S servers we offer our clients the ability to upgrade their tickrate from 66 to 100 and FPS to 500 To do this I have added a new Configurable Option called "Tickrate and FPS" It is a drop-down field and the options are: -tickrate 66|66-Tick (Pricing: $0) -tickrate 66 +fps_max 550|66-Tick + 500FPS (Pricing: $15) -tickrate 100|100-Tick (Pricing: $15) -tickrate 100 +fps_max 550|100-Tick + 500FPS (Pricing: $30) And in my default_values.php $billing_api_values["game_additional_arguments"]="ConfigOption:Tickrate and FPS"; This gives the user the option to specify what Tick/FPS they want. If they only want the standard 66/250 then they don't pay anything. Note the "|" symbol in my options. Whatever comes before the | will be what gets put in the additional parameters field on their server and whatever comes after the | is what the user sees as the option. Remember not to specify tickrate or fps settings in any of your setup or custom command lines otherwise you will have the tick/fps commands twice. If you need any more help PM me Link to comment Share on other sites More sharing options...
Admin-Nation-Servers Posted October 15, 2009 Share Posted October 15, 2009 Hi, For our CS:S servers we offer our clients the ability to upgrade their tickrate from 66 to 100 and FPS to 500 To do this I have added a new Configurable Option called "Tickrate and FPS" It is a drop-down field and the options are: -tickrate 66|66-Tick (Pricing: $0) -tickrate 66 +fps_max 550|66-Tick + 500FPS (Pricing: $15) -tickrate 100|100-Tick (Pricing: $15) -tickrate 100 +fps_max 550|100-Tick + 500FPS (Pricing: $30) And in my default_values.php $billing_api_values["game_additional_arguments"]="ConfigOption:Tickrate and FPS"; This gives the user the option to specify what Tick/FPS they want. If they only want the standard 66/250 then they don't pay anything. Note the "|" symbol in my options. Whatever comes before the | will be what gets put in the additional parameters field on their server and whatever comes after the | is what the user sees as the option. Remember not to specify tickrate or fps settings in any of your setup or custom command lines otherwise you will have the tick/fps commands twice. If you need any more help PM me Thanks for sharing Link to comment Share on other sites More sharing options...
CrimsonGT Posted October 16, 2009 Share Posted October 16, 2009 Definitely, very useful information So what exactly am I doing wrong? $billing_api_values["game_additional_arguments"] = "-tickrate ConfigOption:Tickrate +max_fps ConfigOption:ServerFPS"; When it installs the game my command line looks exactly like that, instead of the actual value of the ConfigOption's. Thats how the tcadmin support said it should be so im a bit confused. Technically they had = "ConfigOption:Tickrate" but im assuming im just doing something silly. Link to comment Share on other sites More sharing options...
ZeeBOB Posted October 17, 2009 Share Posted October 17, 2009 You are trying to put text and a variable in which does not work. Use the example I have above. Only put the variable in "quotation marks" and have the variable set what text appears. Link to comment Share on other sites More sharing options...
Admin-Nation-Servers Posted December 22, 2009 Share Posted December 22, 2009 I don't see how this would work... because you are making a variable in ""???? Link to comment Share on other sites More sharing options...
Admin-Nation-Servers Posted December 22, 2009 Share Posted December 22, 2009 Fixed... Link to comment Share on other sites More sharing options...
DJSean00 Posted November 15, 2015 Share Posted November 15, 2015 Sorry to dig up an old thread but I see in my BillingApi.LastCommand.log that it is passing the tickrate 100 now however its not going into the commandline? Do I need to create a commandline variable called game_additional_arguments ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.