Jump to content

Dennis

Administrator
  • Posts

    1,881
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by Dennis

  1. You'd need to mark 'Prompt for variable values'. I'd suggest you read some more about custom scripts: http://help.tcadmin.com/Custom_Scripts Using variables in scripts, you'd need to do %ThisService_variableName%
  2. This has happened for us after the update as well. It only happens sometimes. What is really annoying though, is how bad the panel performs after the recent updates. We've upgraded to Mono 4.8 on all servers, but we get so many time outs all the time. The control panel runs slower and slower until we restart it.
  3. When configuring the mod, there's a tab called "Add/replace lines" or something like that. You can use that one.
  4. I think I figured it out! Please tell me if I did. We've created the variable AND added ![variableName] to the custom command line - I just saw that the last part is not needed. Adding $[service.UserCommandLine] somewhere in the command line just means that this is where all the custom variables for the command line will be, right?
  5. Well, the server is updated, isn't it?
  6. If the jar file name is different, remember to update the command line.
  7. That actually depends. With the new Game Switch option, I could see some benefits in creating these configs and allow the user to switch: - Vanilla - Bukkit/spigot - Forge (mods, modpacks) We've had tons of clients trying to install plugins on a vanilla server, or trying to apply a vanilla Minecraft update to a spigot server, and then they wonder why that update did nothing. Being able to separate the configs, and thus disabling features that aren't needed for eg. vanilla (like BukGet), could actually be a good idea.
  8. Executing script 'Download defaults.sql and set serveradmin password'. I'd suggest you check that script.
  9. I don't understand anything... This is our default, custom command line: -game csgo -console -condebug -usercon -maxplayers_override $[service.Slots] +maxplayers $[service.Slots] +exec server.cfg -ip $[service.IpAddress] -port $[service.GamePort] -tickrate ![tickrate] ![authkey] ![workshopcollection] ![workshopstartmap] ![GOTV] ![insecure] ![setsteamaccount] ![tvadvertisewatchable] +tv_port $[service.CustomPort1] This is what it looks like to the customer: http://i.imgur.com/MahR5IH.png Am I completely misunderstanding everything?
  10. This take SECONDS, you won't earn anything from "optimizing" this at all. Checking if the files are present is what takes a long time. When we provision a Minecraft service, the setup happens within 6 seconds (WHMCS -> TCAdmin -> Select one out of 6 servers -> Setup). TCAdmin started setup of Minecraft at 13:00:41 and finished at 13:00:47. On our setup, finding the server on which to install the service usually takes 1 second. Finding the IP didn't even take a second.
  11. So essentially, there's no difference in doing: -game csgo -console -maxplayers_override $[service.Slots] +exec server.cfg -ip $[service.IpAddress] -port $[service.GamePort] ![tickrate] ![authkey] !$[service.UserCommandLine] and -game csgo -console -maxplayers_override $[service.Slots] +exec server.cfg -ip $[service.IpAddress] -port $[service.GamePort] ![tickrate] ![authkey] ![map] if the variable was named 'map'? If I create more command line variables, they will all be placed where the usercommandline variable is?
  12. Thanks to you, I've spent the last 4 hours trying to debug why it wouldn't work with our config, and are you effing kidding me... You've set the working directory to ShooterGame/Binaries/Linux/, and we didn't use any working directory with our configuration. I noticed that in ShooterGame/Binaries/Linux/ you had a Steam executable file, and we didn't. When launching our config with -automanagedmods, it crashed and said that a file was missing (not mentioning which one)... I just realised that our Steam executable had been placed in the root of the game server because we didn't use a working directory, thus TCAdmin didn't cd to ShooterGame/Binaries/Linux/... Who the fuck develops a game where a semi-important executable are placed relative to your current folder?!
  13. I just disabled the gaming firewall. Otherwise, you could open every port that you know you're going to use. For example, CSGO is using port 27015 by default, and the port increment is 10, so you'd open port 27015, 27025, 27035, 27045 and so on. Do the same for query and rcon ports for all games. OVH also has an API, so you could possibly create a script that opens the exact port when a new game server is created.
  14. I see why you'd want it, but it's not a very good idea afterall. The game port is the port that you would use to connect from the game. When/if the mentioned games implement a server browser where you can search for an IP (or direct connect), or even just a console with a command to joining an IP, customers would have trouble connecting using the IP shown in TCAdmin because it's just the query port.
  15. I'm pretty sure -automanagedmods doesn't work for Linux.
  16. Make sure you've enabled support for Windows Firewall in the server's Router/Firewall Settings tab. After this, restart the monitor and all of the game services.
  17. It doesn't require much, actually. You just make a drop-down containing 2 values - one value selects the Windows config, the other selects the Linux one.
  18. I'm not sure I understand this... Let's say I've created 3 variables for my game: workshopstartmap, authkey and tickrate. I've always done the following for custom commandline 'templates': -game csgo -console -maxplayers_override $[service.Slots] +exec server.cfg -ip $[service.IpAddress] -port $[service.GamePort] ![tickrate] ![authkey] ![workshopstartmap]. Instead of adding the three custom variables, I could just add $[service.UserCommandLine]? Or how am I supposed to do this? I have a very good understanding of how commandlines and variables work, but I've just never seen this specific variable. And I can do that with regular custom variables as well
  19. http://help.tcadmin.com/Commandlines Does anyone know exactly what this mean? I'm curious as I've never done anything with the 'User Commandline' variable, and I'd like to know if there's anything that can be done with this.
  20. Configs can be pretty universal, but you'd need to have seperate configs if the executable file is different (which they usually are). If you have the Windows config, and the only thing that differs from the Windows and Linux version of the server is the executable file, simply just create a new config and set the Windows config as the template for everything except files & folders.
  21. Dennis

    Rust

    It does what? I've never seen this. Setting maxplayers wouldn't create new available slots, would it?
  22. Also, I would use the query port as the steamPort.
  23. What's the command line that you start it with?
×
×
  • 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