Jump to content

ringo

Member
  • Posts

    24
  • Joined

  • Last visited

Everything posted by ringo

  1. ringo

    Languages

    Any way to remove the languages drop down from the login page? Any help is appreciated.
  2. ringo

    Help

    Yeah SteamCMD no longer supports Centos 5.X, best update to 6.X
  3. ringo

    Help

    What OS are you running? do a "cat /etc/system-release"
  4. It should probably be possible. I'll have to play around with it and see if I can't work something up.
  5. Totally forgot about manually updating..Thank you.
  6. Currently getting this error when checking for updates. "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." Is this an easy fix or should a support ticket be submitted?
  7. I was thinking with the Current Activity and Stats page, maybe there should be a way for customers to post the graphs or stats of a server on their own website for other to see. Items such as the current activity or the graphs and history stats. Obviously there are other programs that do this such as Gametracker and others but, was just an idea.
  8. Here is a more detailed table of most of the items that can be queried. <?php $con=mysqli_connect('HOST', 'DB_USER', 'DB_PASS', 'tcadmin'); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $result = mysqli_query($con,"SELECT * from tc_game_service_live_stats") or die(mysqli_error($con)); echo "<table border='1' style='background-color:gray';> <tr> <th>Colored Name</th> <th>Name</th> <th>Memory Used</th> <th>CPU Usage (%)</th> <th>Service ID</th> <th>Process ID</th> <th>Current Map</th> <th>Online?</th> <th>Players Online</th> <th>Game Type</th> <th>Game (Mod)</th> <th>Queried Last</th> </tr>"; while($row = mysqli_fetch_array($result)) { $test = $row['memory'] /1024 /1024; $format = number_format($test,0); echo "<tr>"; echo "<td>" . $row['html_name'] . "</td>"; echo "<td>" . $row['name'] . "</td>"; echo "<td>" . $format . " MB</td>"; echo "<td>" . $row['cpu'] . "</td>"; echo "<td>" . $row['service_id'] . "</td>"; echo "<td>" . $row['pid'] . "</td>"; echo "<td>" . $row['map'] . "</td>"; echo "<td>"; if ($row['online'] == '1') {echo "Online";} else echo "Offline"; echo "</td>"; echo "<td>" . $row['players'] . "/" . $row['max_players'] . "</td>"; echo "<td>" . $row['game_type'] . "</td>"; echo "<td>" . $row['game'] . "</td>"; echo "<td>" . $row['query_time'] . "</td>"; echo "</tr>"; } echo "</table>"; mysqli_close($con); ?>
  9. Here is an edited version from long ago to display total player online out of how many slots and how many servers are online. Database Query File include.php: <?php ini_set('precision', 5); $link = mysql_connect('LOCALHOST', 'DATABASE_USER', 'DATABASE PASSWORD'); if (!$link) { die('Not connected : ' . mysql_error()); } $db_selected = mysql_select_db('DATABASE_NAME', $link); if (!$db_selected) { die ('Can\'t Find DB : ' . mysql_error()); } //Query Stuff $active = mysql_query("SELECT SUM(online) FROM tc_game_service_live_stats"); $act = mysql_result($active, 0); $totalslots = mysql_query("SELECT SUM(slots) FROM tc_game_services"); $tsc = mysql_result($totalslots, 0); $totalplayers = mysql_query("select sum(players) from tc_game_service_live_stats"); $po = mysql_result($totalplayers, 0); ?> Don't forget to include the above file where ever your going to display the info. <?php include 'include.php'; ?> Display Queried Info: <p>Players Online: <?php echo $po; ?>/<?php echo $tsc; ?></p> <p>Servers Online: <?php echo $act; ?></p> There is so much more info that can be queried, per server or as a whole.
  10. Here's the solution for anyone that may need it in the future. The problem is that mono 2.10.8 does support binding to a specific IP. You need 3.0.6 or greater. What you can do is configure the website on port 8880. Then use iptables to only redirect port 80 to 8880 only YOURIP. You can use this command: iptables -A PREROUTING -t nat -p tcp -d YOURIPHERE -m tcp --dport 80 -j REDIRECT --to-ports 8880 service iptables save Then you are free to use port 80 on other IPs without having it redirect to the control panel website. Thank you Luis.
  11. I was able to snatch up an extra IP block and imported it into TCAdmin. I removed one of the IPs that I wanted to reserve for another application and rs'd the monitor. The IP I wanted for the other application is still pointing to the TCA control panel. Anyone know how I can stop that. Thanks in advance.
  12. ringo

    Opera Support?

    I have had no issues with Chrome.
  13. Not to say Windows isnt good for game servers but Linux is less featured, it's simply more efficient as a multi-user OS than Windows. It prioritizes/controls processes better, and has lower CPU/memory overhead freeing resources for apps.
  14. Linux only matters for source if you want to run 1000fps servers. Personally I run all of my servers on linux. Mainly for its easy of use.
  15. I may set it up to where i can use one set of files per say 3-4 servers which means im saving anywhere between 1-5 gigs per server. It also means that I would be able to start using my 15k SAS drives or even my SSDs. I'll record any positive or negative results I may have for others, just in case anyone else wants to venture down this road.
  16. Thanks LFA. And @ Raizio this would be for like strictly game files. For example there is no reason why a client would need to edit any of the pak#.pk3 files for call of duty.
  17. Has anyone ever thought, instead of each server having its own set of files, that maybe some of the specific file can be hardlinked, inturn saving so much diskspace. This was just a thought I was having, and Im not sure if its even possible.
  18. Looking to see if anyone has made a config for StarMade yet. It's almost like minecraft but in space. I see it blowing up in sales soon.
  19. I was running 2012 for quite a while until I decided to go back to CentOS. Instead of using scripts just change the main exe for compatibility with 2008 or R2 because when TCAdmin copies the files it will as well copy the settings.
  20. ringo

    MySQL

    Getting and error from tcadmin when trying to convert the sqlite database to mysql. Error - The mysql script is from a different version. SQLite Version: 70 MySQL Version: 69 It inserts most if not all table data from what I can see. Any help is appriciated. Running CentOS 6.x and Tcadmin 2.0.70.0
  21. Solved for me, had to edit the registry for server 2012. For anyone else this is on the system requirements page, i just missed it. On Windows 8/2012 execute regedit.exe, find the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows and change NoInteractiveServices from 1 to 0.
×
×
  • 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