GrossKopf Posted July 24, 2010 Share Posted July 24, 2010 I know a couple months ago the author of PRoCon made some changes that was supposed to allow for an auto setup for PRoCon with TCAdmin. Has anyone adapted their PRoCon template for this? If so, can you attach it to this thread or explain how it's done? Right now I manually set up each customer, but an automated system would be much easier. Link to comment Share on other sites More sharing options...
GrossKopf Posted July 26, 2010 Author Share Posted July 26, 2010 Anyone? Link to comment Share on other sites More sharing options...
DJzz Posted July 26, 2010 Share Posted July 26, 2010 You can make TCAdmin install PRoCon (with the procon.cfg) but I don't think you can automate it because in order to get the BC2 server IP/Port you have to make PRoCon a secondary application on BC2 but that means installing PRoCon on the same dedicated server as BC2 which isn't allowed. Not sure if you can manually create secondary applications but even then you'd need the user to type their BC2 IP/port/rcon and if they have to do that you might as well do it yourself Link to comment Share on other sites More sharing options...
GrossKopf Posted July 27, 2010 Author Share Posted July 27, 2010 No, you don't put PRoCon on the same box as BC2 and it doesn't run as a secondary application. I have two dedicated servers that I use for hosting of PRoCon and other BC2 admin tools. They connect via rcon to the server. Right now I use WHMCS for billing. When I approve the new order, TCAdmin installs PRoCon, but it's obviously not configured. I then log into the dedicated box, run PRoCon and manually enter everything in to get it set up. There IS a way to fully automate the set up because I know that Primary Target and some other GSP's are using TCAdmin to automatically set up PRoCOn. Link to comment Share on other sites More sharing options...
lpgservers Posted July 28, 2010 Share Posted July 28, 2010 Take the config(s) from a freshly created procon instance, change the variables, and use that as your installation/setup/default config(s). You can also use install scripts with .bat files to do things for you as well Link to comment Share on other sites More sharing options...
DJzz Posted July 29, 2010 Share Posted July 29, 2010 I assumed you were trying to setup PRoCon & BC2 but if you're only setting up PRoCon then just change the WHMCS ones so it passes existing variables:- Replace server name with server IP, admin port with slots, rcon as rcon, username as password (or any other variables that WHMCS passes that aren't needed for PRoCon). WHMCS and TCAdmin don't care whether %hostname% isn't actually a hostname but an IP. So set your WHMCS order form to include the required variables:- BC2 Server IP = %hostname% Admin Port = %slots% Remote admin password = %rconpassword% Username = %privatepassword% Make your procon.cfg for TCAdmin like:- procon.private.servers.add "%hostname%" %slots% "%rconpassword%" procon.private.servers.autoconnect "%hostname%" %slots% procon.private.tcadmin.enableLayer "%hostname%" %slots% "%serverip%" %serverport% "PRoCon[%hostname%:%slots%]" procon.private.tcadmin.setPrivileges "%hostname%" %slots% "%privatepassword%" 7777777 I haven't tried it but don't see why it wouldn't work There might be better variables to choose which WHMCS can pass to TCAdmin or you might even be able to create custom ones but I haven't really looked in to it. Link to comment Share on other sites More sharing options...
DJzz Posted July 31, 2010 Share Posted July 31, 2010 I understand you don't host BC2. Are you using the tcadmin_advanced module in WHMCS? If so when you go to Products/Services --> Procon (or whatever the product is called) --> Module Settings you should see Game ID, Game Slots, Game Private etc. Each of those module settings mean a TCAdmin variable so Game Slots would be %slots% when creating a template in TCAdmin. So in WHMCS go to Custom Fields and create one called "Admin Port" then go back to the module settings and set Game Slots to CustomField:Admin Port (it should be in the drop down list) Repeat the process for the other variables as in the procon.cfg from my previous post. Now when WHMCS passes an order to TCAdmin it'll take those variable and add them to the procon.cfg If that still doesn't make sense send me an email and I'll try and explain it better Link to comment Share on other sites More sharing options...
DJzz Posted August 1, 2010 Share Posted August 1, 2010 That's the standard tcadmin module which comes with WHMCS, you need to download the advanced one from the TCAdmin downloads sections here. There's a pdf inside with install and usage instructions. Link to comment Share on other sites More sharing options...
DJzz Posted August 1, 2010 Share Posted August 1, 2010 You'll have to ask your provider for it then as I'm not sure if posting it here is allowed. Also if they use WHMCS they should be able to help you with setting it up. Link to comment Share on other sites More sharing options...
GrossKopf Posted August 1, 2010 Author Share Posted August 1, 2010 You'll have to ask your provider for it then as I'm not sure if posting it here is allowed. Also if they use WHMCS they should be able to help you with setting it up. Oh boy. Hope I can get it. I put in a support ticket here, but I'm sure they will tell me the same thing. Link to comment Share on other sites More sharing options...
ECF Posted August 1, 2010 Share Posted August 1, 2010 The file is open source code so I don't see why they cannot provide it to you. Link to comment Share on other sites More sharing options...
GrossKopf Posted August 1, 2010 Author Share Posted August 1, 2010 Just got a response saying they don't have that module. Is there someplace else I can get it from? Link to comment Share on other sites More sharing options...
ECF Posted August 2, 2010 Share Posted August 2, 2010 They simply have to login to our client center and download it for you. Link to comment Share on other sites More sharing options...
GrossKopf Posted August 2, 2010 Author Share Posted August 2, 2010 Ok, I will give it a shot... Link to comment Share on other sites More sharing options...
GrossKopf Posted August 2, 2010 Author Share Posted August 2, 2010 It doesn't look like I'm getting this from my host. Any other way to get this? Link to comment Share on other sites More sharing options...
GrossKopf Posted August 2, 2010 Author Share Posted August 2, 2010 Nevermind. I finally got it. If I need help, I'll be sure to post here! Link to comment Share on other sites More sharing options...
DJzz Posted August 4, 2010 Share Posted August 4, 2010 Should be ok assuming you've made the WHMCS drop downs on the module settings page correspond with that. Are you making TCAdmin create the procon.cfg? Go to the game page for PRoCon in TCAdmin and click Default Config Files and make sure there's one for procon.cfg, the File Path is /Configs/procon.cfg then go to the Template File for that new config and make sure it's as you posted above. If that still doesn't work then post the procon.cfg which TCAdmin has created in here to see if it is generating anything for those variables. Link to comment Share on other sites More sharing options...
GrossKopf Posted August 6, 2010 Author Share Posted August 6, 2010 Should be ok assuming you've made the WHMCS drop downs on the module settings page correspond with that. Are you making TCAdmin create the procon.cfg? Go to the game page for PRoCon in TCAdmin and click Default Config Files and make sure there's one for procon.cfg, the File Path is /Configs/procon.cfg then go to the Template File for that new config and make sure it's as you posted above. If that still doesn't work then post the procon.cfg which TCAdmin has created in here to see if it is generating anything for those variables. You kinda lost me at the "go to the Template file..." part. I have a procon.cfg in the procon.zip file, as seen in my above response. I didn't have procon.cfg in the default config files section so I've added that. Link to comment Share on other sites More sharing options...
DJzz Posted August 6, 2010 Share Posted August 6, 2010 As far as I know TCAdmin will only pass the variables from WHMCS if it creates the .cfg file, you need to delete the one in the .zip file then:- Go to Default Config Files Click the display name for the procon.cfg Click Template File Paste ///////////////////////////////////////////// // This config will be overwritten by procon. ///////////////////////////////////////////// procon.private.servers.add "%hostname%" %slots% "%rconpassword%" procon.private.servers.autoconnect "%hostname%" %slots% procon.private.tcadmin.enableLayer "%hostname%" %slots% "%serverip%" %serverport% "PRoCon[%hostname%:%slots%]" procon.private.tcadmin.setPrivileges "%hostname%" %slots% "%privatepassword%" 515959 Click Save TCAdmin will now create that config file and put it in the right place with the variables from WHMCS. Link to comment Share on other sites More sharing options...
Jaggl Posted August 13, 2010 Share Posted August 13, 2010 works fine for us.... Link to comment Share on other sites More sharing options...
GrossKopf Posted August 13, 2010 Author Share Posted August 13, 2010 Guess I'll continue to just set them up manually. Only takes like 2 minutes anyway and if you've got multiple servers you have to set them up manually anyway, so I guess it's not a big deal. Link to comment Share on other sites More sharing options...
GrossKopf Posted August 15, 2010 Author Share Posted August 15, 2010 So, now that I got it worked out. Any way to automatically add additional servers beyond the customer's first server? Link to comment Share on other sites More sharing options...
kidcakes Posted January 29, 2011 Share Posted January 29, 2011 i'm also hoping for this Link to comment Share on other sites More sharing options...
Goran Posted January 29, 2011 Share Posted January 29, 2011 So, now that I got it worked out. Any way to automatically add additional servers beyond the customer's first server? Just create a new layer by using "Create a Game and Voice Server", If you ask me it's better to install 2 Procon game services for 2 different game servers since someone will probably charge procon layers If your customer has the ability of editing procon.cfg then it can add as many servers as he wants. Link to comment Share on other sites More sharing options...
Stryker Posted November 5, 2011 Share Posted November 5, 2011 Any of you guys have a functional v2 Procon Template? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.