• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

[Mutator] KFStatsX

Can't wait for the new version to get whitelisted! I didn't realize that it wasn't able to track the brutes for example. 2 of my servers are running the Brute mutator, could that be what has skewed the stats up or would it just not record actions from the zeds it doesn't recognize at all?

Again appreciate the time and effort!

The only things it would not track are damage, back stabs, and decapitations because these stats required custom specimens to implement. Brutes would not have had the stats code so they would not report these things. However, since TWI has enabled calling NetDamage, I can now track these 3 stats w/o using custom specimens.
 
Upvote 0
how i have to setup the comunication with the trackingserver?

Remote Server Address : 127.0.0.1 or localhost or external ip?
Remote Server Password : it think the password i setup in the server.properties file
Remote Server Port : 6000 or not?

Remote Server Address: Address of the machine the tracking server is running on
Remote Server Password: Whatever the "password" property is in server.properties
Remote Server Port: The value for "udp.port" in server.properties
 
Upvote 0
I'm doing something wrong. It seems to kinda work but it doesn't show anything on the web: http://134.255.226.83:8080/index.xml
Ingame the command ingamestats works and I can see my stats for the current game only.
Ingame stats is only for the current game.

on your tracking server do you see connections coming to it from the server? if you dont, either your firewall/router may be blocking the port or you havent specified the correct ip/port in the cfg for the mutator.
 
Upvote 0
I'm doing something wrong. It seems to kinda work but it doesn't show anything on the web: [url]http://134.255.226.83:8080/index.xml[/URL]
Ingame the command ingamestats works and I can see my stats for the current game only.

What EpharGy said. Also, make sure you have the "Broadcast Statistics" box checked in the mutator config page.
 
Upvote 0
http://www.imagebanana.com/view/qatovrm3/Killingfloor.jpg

Only TCP connections incoming. This ip is my when I entered the web part.

http://www.imagebanana.com/view/yc5cah88/Killingfloor1.jpg

I'm running the webserver and gameserver on the same machine. The box is checked and the ip is from the gameserver. So I have to probably check the thing with the firewall/router.

EDIT: In the config of the web server the udp.port is 6000. Do I have to change that maybe? I've already tried: 7707, 7708, 7717 and 8075 but it doesn't receive udp packets.
I didn't try to port forward something. I'm new to Linux and it looks difficult.
 
Last edited:
Upvote 0
[url]http://www.imagebanana.com/view/qatovrm3/Killingfloor.jpg[/URL]

Only TCP connections incoming. This ip is my when I entered the web part.

[url]http://www.imagebanana.com/view/yc5cah88/Killingfloor1.jpg[/URL]

I'm running the webserver and gameserver on the same machine. The box is checked and the ip is from the gameserver. So I have to probably check the thing with the firewall/router.

EDIT: In the config of the web server the udp.port is 6000. Do I have to change that maybe? I've already tried: 7707, 7708, 7717 and 8075 but it doesn't receive udp packets.
I didn't try to port forward something. I'm new to Linux and it looks difficult.

If the servers are running on the same machine, try using 127.0.0.1 for the address. The "Remote Server Port" field needs to match the value of "udp.port" in server.properties, so set it 6000. I am planning on releasing another version of the java server tonight so you should hold off on using it until Version 2.0 is out.
 
Upvote 0
*EDIT*
Version 2.0 had a bugged sqlite db and a bugged profile page. Please download version 2.0.3 instead.
------

Alrighty, version 2.0 of KFStatsX is whitelisted, so everyone go out and celebrate. Check the first post for download info.

Also, version 2.0 of the tracking server is out. Please read the README if you are updating from the previous version. There have been changes to the SQLite database as well as the properties file so it will not be as straightforward as copying and pasting your old data. The sample scripts to convert data and start the server are in the "share/bin" folder. The database and properties file are in the "share/etc" folder.

Version 2.0 has a revamped SQLite database and better utilizes it to store data. As a result, very little data is stored in memory, significantly reducing the memory usage. It also has a table to store match history for each player, keeping track of individual match results/info. The sessions page can be reached from the player's profile page.


Download
https://github.com/downloads/scaryghost/KFSXTrackingServer/KFSXTrackingServer-2.0.3.tar.gz
 
Last edited:
Upvote 0
*IMPORTANT*
Sorry about this but version 2.0.0 had a bugged database and a bugged profile page. This has all been patched in 2.0.3. If you have downloaded version 2.0.0 or 2.0.1, download v2.0.3 and replace the .jar and .sqlite files. Sorry about the inconvenience ><.

https://github.com/downloads/scaryghost/KFSXTrackingServer/KFSXTrackingServer-2.0.3.tar.gz

Looks like V1 is no longer whitelisted :( would of been good to have both whitelisted to help with migrating.

Yeah, it's because the package name is the same.
 
Last edited:
Upvote 0
Thank you very much! It works now! Another question: Is it possible to bind the button for the ingamestats and send this binding to the clients?

If you have KFStatsX.int in your system folder, a keybind will appear in the Controls menu, like so:

[url]http://i50.tinypic.com/2dt4xno.jpg[/URL]

Unfortunately, clients who d/l the mod through the redirect won't be able to see it. They'll have to either download the mod themselves or subscribe to the workshop page.

Down to using about 50 megs of memory, very nice!

Nice, about the same decrease in memory usage (~6x) I was seeing as well.
 
Upvote 0
Only thing I'm noticing now is that it takes an extremely long time to load the player records. E.G. going to the records page, and then selecting 250 and updating is taking multiple minutes (over 5 to load 100 records...and it's been close to 10 now on trying to load 250) whereas in version 1 this was borderline instantaneous.

Not sure if this is because I converted the db or the size of the db itself now. CPU and memory are not spiking on the server when the request to load the page is given so I'm not sure where the bottleneck is at the moment.

Also, when loading records it seems to sometimes just not load them and upon a refresh it will load them...or most of them.

e.g.

JZp0Z.jpg


vs

lzHiE.jpg


Happy to provide any data or logs that may be helpful. Again appreciate all of the hard work and time!
 
Upvote 0