LFA Posted December 17, 2010 Share Posted December 17, 2010 (edited) tcadmin2_advanced is available here: http://clients.tcadmin.com/downloads.php?action=displaycat&catid=5 This post was a hack to create reseller packages with tcadmin_advanced. This file allows create/suspend/unsupend/delete commands for reseller packages. To create a reseller package you need to specify the reseller role id and the package you want to assign. For example: $billing_api_values["role_id"]="3"; $billing_api_values["package_id"]="1"; or if the client selects the package using a configurable option: $billing_api_values["role_id"]="3"; $billing_api_values["package_id"]="ConfigOption:Package";default_values_v2.php.txt Edited June 26, 2011 by LFA Link to comment Share on other sites More sharing options...
JakkFrosted Posted June 26, 2011 Share Posted June 26, 2011 Any advice for TS3 auto setups? I can create a tcadmin user from whmcs but the TS3 servers will not set up and I have no errors messages. Link to comment Share on other sites More sharing options...
LFA Posted June 26, 2011 Author Share Posted June 26, 2011 It works the same as v1. Send TEAMSPEAK3 as the voice id. Go to General Settings > Scheduled Tasks and you should see the task and the error that occurred. To view all console messages while the service is created enable debug mode for the monitor and start in console mode. http://help.tcadmin.com/Debug_Mode Link to comment Share on other sites More sharing options...
LFA Posted June 26, 2011 Author Share Posted June 26, 2011 Also there is a tcadmin2_advanced in the download area. Link to comment Share on other sites More sharing options...
JakkFrosted Posted June 26, 2011 Share Posted June 26, 2011 Yes I am using the tcadmin2_advanced module. I didn't think to look on the scheduled tasks area; I thought that was for something else. I'm getting this error: "Error - cannot cast from source type to destination type". The task is "Task: Determine voice server location" My datacenter ID is 1, and it is what is chosen in whmcs. Link to comment Share on other sites More sharing options...
JakkFrosted Posted June 26, 2011 Share Posted June 26, 2011 Enabled debug mode but that doesn't show anything other than some page information on the footer. The debug console isn't showing anything either. Take note that I am able to create TS servers from tcadmin manually. Link to comment Share on other sites More sharing options...
LFA Posted June 26, 2011 Author Share Posted June 26, 2011 What is the voice id that you are sending? Send the create command again and check the check file named BillingAPI.LastCommand.log Link to comment Share on other sites More sharing options...
JakkFrosted Posted June 26, 2011 Share Posted June 26, 2011 This is what I get: cat BillingApi.LastCommand.log - - - - - - - - - - 6/26/2011 5:27:13 PM - - - - - - - - - - role_id= package_id= game_additional_slots=0 game_additional_arguments= voice_additional_slots=0 voice_additional_arguments= voice_upload_quota= voice_download_quota= user_name=Testg user_password=bH16s3yw5P game_package_id=103 voice_package_id=103 package_package_id=103 client_package_id=103 game_id= game_slots= game_private= game_branded= game_datacenter= game_hostname= game_rcon_password= game_private_password= voice_id=TEAMSPEAK3 voice_slots=12 voice_private= voice_branded= voice_datacenter=1 voice_hostname= voice_rcon_password= voice_private_password= skip_page=1 client_id=1 user_email=*****@gmail.com user_fname=Test user_lname=guy user_address1= user_address2= user_city= user_state= user_zip= user_country=US user_phone1= user_phone2= response_type=text tcadmin_username=********** tcadmin_password=********** function=AddPendingSetup Link to comment Share on other sites More sharing options...
LFA Posted June 26, 2011 Author Share Posted June 26, 2011 it looks good to me. I'll do some tests. Link to comment Share on other sites More sharing options...
LFA Posted June 27, 2011 Author Share Posted June 27, 2011 Are you sure that configuring the monitor in debug mode and then sending the command does not show anything? It should show the full stack trace when the error occurs. Link to comment Share on other sites More sharing options...
JakkFrosted Posted June 27, 2011 Share Posted June 27, 2011 Yeah, here's an image of the debug console: Link to comment Share on other sites More sharing options...
LFA Posted June 27, 2011 Author Share Posted June 27, 2011 That debug console is only for javascript stuff. Follow the steps here to stop the monitor service and start it in console mode: http://help.tcadmin.com/Server_Components Link to comment Share on other sites More sharing options...
LFA Posted June 27, 2011 Author Share Posted June 27, 2011 Also you don't need to send the command again. Just click on start in the task popup. Link to comment Share on other sites More sharing options...
JakkFrosted Posted June 27, 2011 Share Posted June 27, 2011 (edited) I get nothing in the console when i try to run the task. I tried this before I posted here too, I should have mentioned that. I just tried again. Edited June 27, 2011 by JakkFrosted typo(ocd) Link to comment Share on other sites More sharing options...
LFA Posted June 27, 2011 Author Share Posted June 27, 2011 Check if there is any information about the error in the monitor error logs /home/tcadmin/Logs/Monitor Link to comment Share on other sites More sharing options...
LFA Posted June 27, 2011 Author Share Posted June 27, 2011 If you want me to take a closer look create a ticket with the login to the server and control panel. Link to comment Share on other sites More sharing options...
Extent Posted February 18, 2013 Share Posted February 18, 2013 For me Voice ID for TeamSpeak 3 is TEAMSPEAK which isn't in TCAdmin. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now