Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Read Me Introducing: TFStats

Noodl

Something Else
Staff Member
Developer
Admin

Noodl

Online
Joined
Feb 24, 2016
Messages
437
You've probably all seen it by now, blipping around in chat, doing weird things, but with the most recent plugin pushes, I believe I've fixed all the big, obvious bugs, and it ought to function as it should.

TFStats:
1.1.0
TFStats is the replacement for the old HLStatsX point program, written in 2009, and barely functions now. I've been writing it from the ground up since late summer~
It's been a lot of work, but I think it's ready for the introduction thread now.
Goodbye 13252514472 points bug.​

This thread is for detailing a few FAQs and reporting smaller bugs as and when they are found.
Some of you will not care about points, which is fine, but some will. It's a nice addition to competition and getting players to stay, in my opinion. Plus, I can do a lot more with it once rankings begin building up. I intend to make some form of lottery/reward for most points gained monthly, or something.
  • Standard stuff: you gain points for kills, lose for dying. Calculations based on point totals.
  • Points are gained for plenty of other events, such as airblasting, and airshotting, headshots, ubers, etc etc.
  • The format for each message is [TFS] Got/Lost X points for Y (Z) - Z is your updated point total, not the other person, if you killed/died to someone or something. X is the action that happened.
  • The top 3 of each server are awarded a special colour, and rank colour in their join message - if you don't want your title displayed, a new menu item will appear for you to toggle it
  • Global leaderboards, server leaderboards, and the next 10 players ahead of you are visible from the menu. These are recalculated at regular intervals.
  • Chat is actively recorded, time, author, map, etc etc.
  • "Where is the website, Noodl?" Well, there isn't one. My job was the plugin, and backend, @Benedevil has the responsibility of the website, as I don't really want to do it. Web code is eeeh. Not into graphics. More on graphics later.
  • All values are adjustable per server, default values for point modifiers were just random values I thought were suitable. When the website is a thing, this can be adjusted more, and values can be suggested on a per-server basis. Ben was meant to do this, but hasn't.
Commands:
  • TFStats main menu can be found by typing /tfs, /stats, or /rank
  • Points: /points: directly tells you your point total, and number gained during your session
  • Rank: can be shown off in the chat with /rank
  • TFStats website: /tfstats: (requires cl_disablehtmlmotd 0) - takes you to the website

Bugs:
There may well be (and probably are) still bugs in the code.
If you experience any bugs, please report them here, in detail. Before you do, make sure to type sm_tfs_version, if the version isn't 1.0.6, don't report the bug until the version number is up to date.
I may start documenting changelogs here so people know what has been fixed, but maybe not pushed to servers.


Requests:
Want something adding in?
Post it here. I've most likely missed conditions for points, or just not thought of everything. If you want me to code points/handlers for other TF2 events - Kill a medic during an uber (world damage), blah blah etc, you get the point.

List your ideas for features, and I'll consider them. Onwards and upwards, and since I barely play the game anymore, you'll have a better imagination than I will.


Graphics:
I am still looking for a logo for TFStats. Currently, I want one to use on my portfolio - so if you want to be a babe and help me out, a 600x340 panel image that has a logo on, would be fantastic. (Since resolved, but still looking for an official logo).

Changelog:
(Can't guarantee I'll remember to update this for everything)
  • Bug fix: altered global leaderboards to compensate for people joining more servers, therefore cumulating 1000 extra points per server.
  • Bug fix: suiciding counts as killing yourself - being inside a func_spawnroom won't be penalised.
  • Bug fix: You can no longer gain points by destroying your own buildings
  • Bug fix: Killstreak points weren't being awarded if you were killed by invalid clients, or yourself. They also end, and are rewarded upon round win.
  • Bug fix: You can no longer airshot teammates for point abuse.
  • Bug fix: You can no longer heal/extinguish friendly pyros who self-ignite for points.
  • Minor change: Bonus messages are now hidden by default, and can be toggled on with sm_tfs_togglebonuses. This is to reduce chat spam, since I've accepted that per-server config is never actually going to happen here.

-N
 
Last edited:
D

Deleted member 2049

Guest
Credit to @Doctor Hexmask for the screenshots while he was in game
Reporting a bug I found when I killed myself. Apparently, you lose points when you die but gain more when you die as well. It says gained points for dying to yourself, which sounds wrong. This is the right tfstats version too.
pointsgainedafterdying.png

tfstats version.png
 

Noodl

Something Else
Staff Member
Developer
Admin

Noodl

Online
Joined
Feb 24, 2016
Messages
437

Daddy Puddin'

Truly Feared
Joined
Dec 10, 2017
Messages
155
Suggestions for bonus points:

"X Headshots in a row" (slightly racist towards other classes but I main Sniper therefore)
"X Kills without dying"
"Killstreak Ended" (not yours, obviously)

I had more but, uhh, short memory loss strikes again.
I'll edit this post if I remember.
 

Who Read This Thread (Total Members: 10)

User Who Replied This Thread (Total Members: 4)

Top Bottom