Jump to content

(Tcadmin_advance) Module Create Failed - Service ID ...


marks

Recommended Posts

Hello,

 

Here is the error i am getting when i try and use "Tcadmin_advanced".

 

Module Create Failed - Service ID: 132 - Error: System.Exception: You did not send a game or voice server id or the data was not valid. at Web.billingapi.xde97676d01739ced(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc)

 

Does any one have any idea to fix this? (more info below)

 

---------------------------

tcadmin (works fine creating game servers under tcadmin it self)

 

GameID: TC2458307324781

Name: CSS

 

WHMCS

 

http://i43.tinypic.com/2qjezow.png

http://i39.tinypic.com/33pg1z7.png

 

--------------------------------

Config file (default_values.php)

---------------------------------

<?php

/*
tcadmin_advanced version 1.05
Copyright (c) 2009 Luis Alvarenga
http://www.tcadmin.com

Change Log
v1.05 : Added TS3 upload and download quota attributes
v1.04 : Values are no longet sent with HTML encoding
v1.03 : Service password is updated when using a custom field for the TCAdmin password.
v1.02 : Self signed certificates are supported.
v1.01 : Added support for WHMCS 3.8.1.
        Service password is updated correctly.
v1.0  : Initial release.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

if(count(get_included_files()) ==1) exit("Direct access not permitted.");

$billing_api_values = array();

/* *************** */
/* Advanced Values */
/* *************** */

$billing_api_values["skip_page"]="1";

$billing_api_values["game_additional_slots"]="0";
$billing_api_values["game_additional_arguments"]="";
$billing_api_values["game_level"]="";

$billing_api_values["voice_additional_slots"]="0";
$billing_api_values["voice_additional_arguments"]="";
$billing_api_values["voice_upload_quota"]="";
$billing_api_values["voice_download_quota"]="";
$billing_api_values["voice_level"]="";

/* ************** */
/* Game Switching */
/* ************** */

$billing_api_values["switch_at_once"]=1;
$billing_api_values["game_id_switch_1"]="";
$billing_api_values["game_slots_switch_1"]="";
$billing_api_values["game_id_switch_2"]="";
$billing_api_values["game_slots_switch_2"]="";
$billing_api_values["game_id_switch_3"]="";
$billing_api_values["game_slots_switch_3"]="";
$billing_api_values["game_id_switch_4"]="";
$billing_api_values["game_slots_switch_4"]="";
$billing_api_values["game_id_switch_5"]="";
$billing_api_values["game_slots_switch_5"]="";
$billing_api_values["game_id_switch_6"]="";
$billing_api_values["game_slots_switch_6"]="";
$billing_api_values["game_id_switch_7"]="";
$billing_api_values["game_slots_switch_7"]="";
$billing_api_values["game_id_switch_8"]="";
$billing_api_values["game_slots_switch_8"]="";
$billing_api_values["game_id_switch_9"]="";
$billing_api_values["game_slots_switch_9"]="";
$billing_api_values["game_id_switch_10"]="";
$billing_api_values["game_slots_switch_10"]="";
$billing_api_values["game_id_switch_11"]="";
$billing_api_values["game_slots_switch_11"]="";
$billing_api_values["game_id_switch_12"]="";
$billing_api_values["game_slots_switch_12"]="";
$billing_api_values["game_id_switch_13"]="";
$billing_api_values["game_slots_switch_13"]="";
$billing_api_values["game_id_switch_14"]="";
$billing_api_values["game_slots_switch_14"]="";
$billing_api_values["game_id_switch_15"]="";
$billing_api_values["game_slots_switch_15"]="";
$billing_api_values["game_id_switch_16"]="";
$billing_api_values["game_slots_switch_16"]="";
$billing_api_values["game_id_switch_17"]="";
$billing_api_values["game_slots_switch_17"]="";
$billing_api_values["game_id_switch_18"]="";
$billing_api_values["game_slots_switch_18"]="";
$billing_api_values["game_id_switch_19"]="";
$billing_api_values["game_slots_switch_19"]="";
$billing_api_values["game_id_switch_20"]="";
$billing_api_values["game_slots_switch_20"]="";
$billing_api_values["game_id_switch_21"]="";
$billing_api_values["game_slots_switch_21"]="";
$billing_api_values["game_id_switch_22"]="";
$billing_api_values["game_slots_switch_22"]="";
$billing_api_values["game_id_switch_23"]="";
$billing_api_values["game_slots_switch_23"]="";
$billing_api_values["game_id_switch_24"]="";
$billing_api_values["game_slots_switch_24"]="";
$billing_api_values["game_id_switch_25"]="";
$billing_api_values["game_slots_switch_25"]="";

/* ************************** */
/* Client UserId and Password */
/* ************************** */

$billing_api_values["user_name"] = $params["username"];
$billing_api_values["user_password"] = $params["password"];


/* *************************************************************************************** */
/*                              DON'T CHANGE BELLOW THIS LINE                              */
/* *************************************************************************************** */


/* **************************************** */
/* Values found in the module settings page */
/* **************************************** */

$billing_api_values["game_package_id"] = $params["serviceid"];
$billing_api_values["voice_package_id"] = $params["serviceid"];
$billing_api_values["client_package_id"] = $params["serviceid"];

$billing_api_values["game_id"] = $params["configoption3"];
$billing_api_values["game_slots"] = $params["configoption5"];
$billing_api_values["game_private"] = $params["configoption7"];
$billing_api_values["game_branded"] = $params["configoption9"];
$billing_api_values["game_datacenter"] = $params["configoption11"];
$billing_api_values["game_hostname"] = $params["configoption13"];
$billing_api_values["game_rcon_password"] = $params["configoption15"];
$billing_api_values["game_private_password"] = $params["configoption17"];

$billing_api_values["voice_id"] = $params["configoption4"];
$billing_api_values["voice_slots"] = $params["configoption6"];
$billing_api_values["voice_private"] = $params["configoption8"];
$billing_api_values["voice_branded"] = $params["configoption10"];
$billing_api_values["voice_datacenter"] = $params["configoption12"];
$billing_api_values["voice_hostname"] = $params["configoption14"];
$billing_api_values["voice_rcon_password"] = $params["configoption16"];
$billing_api_values["voice_private_password"] = $params["configoption18"];

/* ****************** */
/* Client Information */
/* ****************** */

$billing_api_values["client_id"] = $params["clientsdetails"]["userid"];
$billing_api_values["user_email"] = $params["clientsdetails"]["email"];
$billing_api_values["user_fname"] = $params["clientsdetails"]["firstname"];
$billing_api_values["user_lname"] = $params["clientsdetails"]["lastname"];
$billing_api_values["user_address1"] = $params["clientsdetails"]["address1"];
$billing_api_values["user_address2"] = $params["clientsdetails"]["address2"];
$billing_api_values["user_city"] = $params["clientsdetails"]["city"];
$billing_api_values["user_state"] = $params["clientsdetails"]["state"];
$billing_api_values["user_zip"] = $params["clientsdetails"]["postcode"];
$billing_api_values["user_country"] = $params["clientsdetails"]["country"];
$billing_api_values["user_phone1"] = $params["clientsdetails"]["phonenumber"];
$billing_api_values["user_phone2"] = "";

/* ****************************** */
/* Billing API Login and Password */
/* ****************************** */
$billing_api_values["response_type"] = "text";
$billing_api_values["tcadmin_username"] = $params["serverusername"];
$billing_api_values["tcadmin_password"] = $params["serverpassword"];

?>

Link to comment
Share on other sites

Hello,

 

Here is some more logs. I have replaced any IP with "XXX.XXX.XXX.XXX".

 

TCADMIN

----------------------- Log Start: 22/03/2010 4:07:24 AM -----------------------

 

TCAdmin - The GameHosting Control Panel

Software Version: 1.0.3400.26691

.NET Version : 1.1.4322.2443

Operating System: Win32NT version 6.0.6001.0

 

Creating scheduled task...

Error creating TCAdmin task.

Adding local server IPs to IP Filtering Rules..

Adding Remote Server IPs to IP Filtering Rules..

 

Starting services...

 

Starting FTP Server on XXX.XXX.XXX.XXX:21 with FTP root c:\program files (x86)\tcadmin control panel\monitor\FTPRoot

This FTP Server has been configured for game file downloads.

Loading security configuration...

FTP Server has been started.

 

Starting Game Server Monitor...

Game Server Monitor has been started.

 

Starting the Support Service...

Support System has been started.

 

Starting the System Monitor...

System monitoring has been disabled in your configuration.

System Monitor has been started.

 

 

Master Server STARTED on XXX.XXX.XXX.XXX:8888

 

http://i44.tinypic.com/2vtr0q8.png

http://i44.tinypic.com/2s1swtw.png

 

if you look at "2vtr0q8.png" you can see "URL used: http:///billingapi.aspx" When it should have a IP or hostname to tcadmin in that URL. Where do i set that setting? That is my idea at less.

Link to comment
Share on other sites

Hello, thanks for you inputs. I have recreated the product for 100tick and it working now. The only issue is in the example from the PDF "WHMCS TCadmin Advanced Module" but private password is not working. Can someone please paste the good config for private password?

 

Thanks

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, 9 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