Jump to content

Optimal public/private slot setup?


Bubka3

Recommended Posts

To have it in a single product you can create a configurable option type dropdown with these values:

PUB8|8 slots,PUB12|12 slots,PUB16|16 slots,PRI8|8 private slots,PRI12|12 private slots,PRI16|16 private slots

 

PUB8 creates a public 8 slot service

PRI8 creates a private 8 slot service

Link to comment
Share on other sites

  • 1 month later...
For that you have to set the value of game_priority. This is only available in v2

 

This would have to be added to default_values and tca2_advanced I assume?

Would it look as follows and pass correctly with $ddoptions of normal/high or would it be an integer?

$billing_api_values["game_priority"] = $params["configoption#"];

"Game Priority" => array( "Type" => "dropdown", "Options" => $ddoptions, "Description" => tcadmin2_advanced_GetDescription("blahblahblahtrolololol.") ),

Or am I completely wrong? :confused:

Link to comment
Share on other sites

$billing_api_values["game_priority"] = $params["configoptions"]["[b]Priority[/b]"];

 

In that example Priority is a configurable option named Priority. Possible values are Idle, BelowNormal, Normal, AboveNormal, High, RealTime

 

You can also have it hardcoded:

$billing_api_values["game_priority"] = "AboveNormal";

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 87 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use