New stat tracking website

Announcements can be found in here. This includes forum rules, server rules and other important information. Be sure to read all the posts and to check back regularly to stay up to date!
Post Reply
User avatar
Fireant
Revengeance Engineer
Posts: 143
Joined: Thu Mar 13, 2014 3:01 pm

New stat tracking website

Post by Fireant » Sat Mar 14, 2015 9:20 am

Wanted to test some new tech and nothing but good old tribes came to my mind so..
http://stats.tribesrevengeance.com/
If you have any suggestions, im all ears.

Source code: https://github.com/fireantik/Tribes-Revengeance-stats

Server hosts read:
To enable full stat tracking on your server (player discovery, stats like highest speed) you need to install server side mod.
Instructions: https://github.com/fireantik/TribesVeng ... rverStatus
Download: https://github.com/fireantik/TribesVeng ... atus_v6.7z

virus
Posts: 34
Joined: Tue Mar 18, 2014 3:50 am

Re: New stat tracking website

Post by virus » Tue May 26, 2015 5:39 pm

How do I go from this...
Image
to this?
Image

HighDive
Revengeance Engineer
Posts: 567
Joined: Thu Mar 13, 2014 2:57 pm

Re: New stat tracking website

Post by HighDive » Tue May 26, 2015 5:53 pm

Did you install the ServerStatus server mod correctly?

HighDive

User avatar
Fireant
Revengeance Engineer
Posts: 143
Joined: Thu Mar 13, 2014 3:01 pm

Re: New stat tracking website

Post by Fireant » Tue May 26, 2015 8:44 pm

Full report is initiated by server side mod on each match end. So you need to have server side mod installed..

virus
Posts: 34
Joined: Tue Mar 18, 2014 3:50 am

Re: New stat tracking website

Post by virus » Tue May 26, 2015 10:19 pm

So I added the lines at the way bottom of the Server.ini
Still though. I don't think I added the parameter in the right location.
Image

I didn't have this file so I just created one.
The other lines at the bottom were included in the original 7z file. So I just added the updated lines above it and commented it out.
Image

Back to the mutator parameter...

HighDive
Revengeance Engineer
Posts: 567
Joined: Thu Mar 13, 2014 2:57 pm

Re: New stat tracking website

Post by HighDive » Thu May 28, 2015 1:50 am

The ServerStatus.ini may only read:

Code: Select all

[ServerStatus_v6.SSLink]
TargetHost="obscure-bastion-3104.herokuapp.com"
TargetPort=80
Headers[0]="POST /upload HTTP/1.1"
Headers[1]="Host: obscure-bastion-3104.herokuapp.com"
Headers[2]="Connection: close"
The only thing that needs to be added to the Beta_Dedicated_Server.ini file is the ServerPackages=:

Code: Select all

ServerPackages=ServerStatus_v6
Obviously, you will need the "ServerStatus_v6.u" to be in the Bin folder as well. Delete all other ServerStatus-related files, lines and versions other than the ones described earlier in my post. Reboot the server as well.

Please let me know if it worked out. :)

HighDive

virus
Posts: 34
Joined: Tue Mar 18, 2014 3:50 am

Re: New stat tracking website

Post by virus » Thu May 28, 2015 1:55 am

I believe the ServerStatus_v6 is older than the ServerStatus_v6b2 according to this
Image

This is where I'm actually stuck at. Specifically, the second part.
Image

Where do add the parameter for the mutator? In the older Tribes games, T1/T2, mod parameters were added to the actual shortcut..
(C:/Dynamix/Starseige Tribes/Tribes.exe -mod ModName +exec NameofServerConfigFile -dedicated)

HighDive
Revengeance Engineer
Posts: 567
Joined: Thu Mar 13, 2014 2:57 pm

Re: New stat tracking website

Post by HighDive » Thu May 28, 2015 2:07 am

The stats.tribesrevengeance.com webpage simply displays what can be seen on "obscure-bastion-3104.herokuapp.com". This, because the data processing is happening on that website, rather than on stats.tribesrevengeance.com. For technical explanations and information I kindly refer you to Fireant, as he is the expert on the subject. :)

What that b2 thing is doing, is sending the information directly towards stats.tribesrevengeance.com, where there is no code at all to handle the incoming information...

I really suggest you try the way I described, since that is the way it is happening on the EU servers and it seems to be working alright.

HighDive

virus
Posts: 34
Joined: Tue Mar 18, 2014 3:50 am

Re: New stat tracking website

Post by virus » Thu May 28, 2015 3:39 am

So the

mutator parameter is unnecessary?

Thanks for the assistance HighDive.

User avatar
Fireant
Revengeance Engineer
Posts: 143
Joined: Thu Mar 13, 2014 3:01 pm

Re: New stat tracking website

Post by Fireant » Thu May 28, 2015 3:01 pm

It should not matter if you point the mod to obscure-bastion-3104.herokuapp.com or stats.tribesrevengeance.com as the latter is just dns shortcut to the former. But i would suggest pointing to stats.tribesrevengeance.com as it might be more futureproof (or not :) ).

For the installation refer to https://github.com/fireantik/TribesVeng ... /README.md
Create 'serverstatus.ini' file in your bin directory and fill it.
Add ServerPackages=ServerStatus_v6b2 to your server.ini (below other ServerPackages= records).
Then run server with mutator=ServerStatus_v6b2.ServerStatus argument.
Like 'TV_CD_DVD.exe mp-emerald?mutator=ServerStatus_v6b2.ServerStatus'
IIRC, if the mod is installed correctly, you should see '[ServerStatus] init. Host:' in the server console after the game starts.

HighDive
Revengeance Engineer
Posts: 567
Joined: Thu Mar 13, 2014 2:57 pm

Re: New stat tracking website

Post by HighDive » Thu May 28, 2015 3:08 pm

ah lol...

Seems I was wrong as well then. :D

Yeah, of course you will also need to use the mutator statement when starting the server.

The mutator statement is indeed the following: mutator=ServerStatus_v6b2.ServerStatus
To add multiple mutators to the statement, add a ",".

Extra information: A mutator statement consists out of two parts. The first part (before the "."), is the .u file you want to use and the second part (after the "."), is the .ini configuration file in which you specified the variables to use in the .u file.

HighDive

virus
Posts: 34
Joined: Tue Mar 18, 2014 3:50 am

Re: New stat tracking website

Post by virus » Fri May 29, 2015 2:22 am

IT WORKS!
Okay, here are the things I have found.

1. The ServerStatus_v6.7z only includes the ServerStatus_v6.u file... This means that based on the mutator parameter,
mutator=ServerStatus_v6.ServerStatus WORKS
mutator=ServerStatus_v6b2.ServerStatus CRASHES
adding *b2 causes it to crash which confirms HighDives statement that the statement before the "." is the .u file name.

2. Adding the mutator parameter only works with the initial map added,
*.exe MP-Emerald?mutator=ServerStatus_v6.ServerStatus WORKS
*.exe mutator=ServerStatus_v6.ServerStatus CRASHES

Code: Select all

Log: Server Package: ServerStatus_v6
Log: Stats connection failed
Log: Resolving obscure-bastion-3104.herokuapp.com...
Log: Resolved obscure-bastion-3104.herokuapp.com (23.21.168.107)
Thank you HighDive and Fireant for your patience.

HighDive
Revengeance Engineer
Posts: 567
Joined: Thu Mar 13, 2014 2:57 pm

Re: New stat tracking website

Post by HighDive » Fri May 29, 2015 3:01 am

Happy to hear it is working now.

About the server command line argument: yes, you will most definitely need to add a map for the server to boot correctly. mutator= is just one of many arguments you are giving.

I hope you also have Antics_v5 installed on your server and have taken it in account when setting your server's command line arguments. If not, I strongly advise you to do so immediately.

For reference, the EU promod server's command line arguments read:

Code: Select all

MP-Tropics?Game=GameClasses.ModeCTF?maxplayer=24?mutator=antics_v5.antics,promod_v1rc6.promod,ServerStatus_v6.ServerStatus -ini=Beta_Dedicated_Server.ini -server
As you can see, every argument is separated either by a ? or a -. Beat me what the exact difference is.

HighDive

Xenophon
Posts: 20
Joined: Sat Nov 21, 2015 6:04 pm

Re: New stat tracking website

Post by Xenophon » Mon Nov 23, 2015 3:37 pm

Fireant wrote:Wanted to test some new tech and nothing but good old tribes came to my mind so..
http://stats.tribesrevengeance.com/
If you have any suggestions, im all ears.

Source code: https://github.com/fireantik/Tribes-Revengeance-stats

Server hosts read:
To enable full stat tracking on your server (player discovery, stats like highest speed) you need to install server side mod.
Instructions: https://github.com/fireantik/TribesVeng ... rverStatus
Download: https://github.com/fireantik/TribesVeng ... atus_v6.7z
I love that most addicted chart XD

Post Reply