What's new

Welcome!

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

Register Now!

Read Me Introducing: TFStats

Noodl

Something Else
Staff member
Developer
Joined
Feb 24, 2016
Messages
385
Likes
195
Steam
76561198058005787
#1
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:
0.3.6
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. I changed some myself manually, like on dodgeball, but cba to do that for lots.
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 (requires cl_disablehtmlmotd 0) - takes you to the website - unwritten, as of yet.

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 0.3.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.

-N
 

Jim

Edgy American Kid
Staff member
Joined
Dec 3, 2016
Messages
1,635
Likes
533
Steam
76561198181925323
#2
Lord Noobl has brought us a gift ^_^
 

hey ya

Dark Elf
Joined
Aug 26, 2017
Messages
644
Likes
283
Steam
76561198076403312
#3
>release version is 0.3.1 not 1.0
:eek:
 
Joined
Mar 21, 2017
Messages
832
Likes
347
Steam
76561198346861852
#4
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
Joined
Feb 24, 2016
Messages
385
Likes
195
Steam
76561198058005787
#5
Joined
Dec 10, 2017
Messages
155
Likes
41
#6
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.
 
Top