1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Online website that tracks TR player activity

Discussion in 'Suggestions & Ideas' started by king-george, Jun 13, 2016.

?

What do you think?

  1. Good idea, lets implement it!

    6 vote(s)
    85.7%
  2. No, there are better things that need to be done.

    1 vote(s)
    14.3%
Mods: 101i, Mazey
  1. king-george

    king-george Haxor Staff Alumni Tester

    Messages:
    284
    Why not implement a special website for Trench Run?
    Basically, it will be able to see if there are players in certain servers, and what players are on these servers. This has been done in other games, so implementing it here would be great.

    Pros:
    * People get to see when their friends are online (they have Steam for that, but what if you are on a public computer?)
    * You never have to play against bots ever again, because you can easily know when someone is online so you can join them.

    Cons:
    * Perhaps hard to do?
     
    Sytoplasma, bunnie and an_obamanation like this.
  2. an_obamanation

    an_obamanation The boss Donator

    Messages:
    392
    http://steamcharts.com/app/262100

    This website shows statistics for steam players. You can see the steam users that play kag here.

    I'd add "it costs money" to cons too. I don't think this'd happen because the devs of trench run are losing money keeping the official servers up as is, as they don't have people playing on them or buying the game, so having another thing that they have to pay for would kinda clench their limited time by a significant amount.

    Maybe someone in the community would be willing to upkeep a website like that? Besides, i'd rather them focus on better advertising and encouraging players to stay. Finding players won't be a problem if we actually GET players. I think this'd be a pretty cool thing though :D
     
  3. Mazey

    Mazey Haxor Global Moderator Forum Moderator Staff Alumni Donator Official Server Admin

    Messages:
    1,914
    Started on something ages ago, it's pretty easy to make.
    http://mazey.xyz/THD/tr-status/
    Doesn't show players etc, but it's really easy:
    Main site source http://mazey.xyz/THD/tr-status/source.php
    country_to_continent source: http://mazey.xyz/THD/tr-status/source_ctc.php (credits: http://snipplr.com/view/36870/)
    css source: http://mazey.xyz/THD/tr-status/main.css

    Right now it only shows online servers, and the api file is only updated when you go to the main site (this all could've been done with just the TR api but I wanted to simplify it and make it harder), you can make it so it updates every once in a while, but I couldn't since I don't have full control over my website.
    If you want it to show players as well change line 65 from
    PHP:
    echo "<div class=\"server\">Server \"".$api['servers'][$i]['serverName']."\"</div>"
    to
    PHP:
    echo "<div class=\"server\">Server \"".$api['servers'][$i]['serverName']."\" - Current players online: ".$api['servers'][$i]['currentPlayers]."</div>"; 
    If you know html/css which is pretty easy you can easily make a nice looking website with my api
     
    king-george and an_obamanation like this.
Mods: 101i, Mazey