Welcome!

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

SignUp Now!

Resolved TFS Points Glitch/Bug

Status
Not open for further replies.

Wuffles

Scarcely Lethal
Joined
Oct 19, 2017
Messages
40
So on the TDM_hightower no friendies/carts server, there's the TFS plugin thing, gives points on doing stuff like killing, airshots, doms, etc.

But its Sorta bugged, like, really Buggy, You can get points for 'airshotting' yourself, this includes Boston Basher's self-bleed, Loose cannon jumping, and all sorts of self-harming, apart from fall damage.

Later on, started getting Bigger amounts of points, even going into Quadillions, and then into the Negatives, like -136352 points.

First kill on someone who just entered the server - which started off the huge points thing
hl2_2017-12-06_11-27-48.png


Got a few screenshots of the chat with the points being bugged and such.

Checked points at the end Before re-joining server:
hl2_2017-12-06_11-50-51.png

After re-joining the server the i was basically bottom rank, #6352 or something, with 0 points.
Boston Basher Self-harming Point Farming:
hl2_2017-12-06_10-20-42.png

Big point lose on death
hl2_2017-12-06_11-28-23.png


hl2_2017-12-06_11-35-35.png


hl2_2017-12-06_11-48-19.png


I'm not sure if this is just a one-time thing or just on the hightower server specifically and not too sure if i can repeat it again.
 

Attachments

  • hl2_2017-12-06_11-28-49.png
    hl2_2017-12-06_11-28-49.png
    5.6 KB · Views: 202
  • hl2_2017-12-06_11-37-12.png
    hl2_2017-12-06_11-37-12.png
    16.1 KB · Views: 207
  • hl2_2017-12-06_11-42-42.png
    hl2_2017-12-06_11-42-42.png
    7.1 KB · Views: 169
  • hl2_2017-12-06_11-42-59.png
    hl2_2017-12-06_11-42-59.png
    21.7 KB · Views: 203

Noodl

Something Else
Staff Member
Developer
Admin

Noodl

Offline
Joined
Feb 24, 2016
Messages
437
Something this large takes a lot of work to complete. The plugin was finally updated after being about a month behind my dev version.

As such, I only have myself, my laptop, and bots to test things with, so everything is still very "in progress", and I can't test everything with 2 clients.

That said, I also have a tough degree to work on, so don't expect any fixes for it until at least another week and a half.

If you can provide any more accurate information about what triggers the massive bonus point numbers if you manage to work it out while playing, then do let me know, it'll speed things up a bit.
 

quantumdude

Strange
Joined
Dec 22, 2017
Messages
9
AFAIK, this issue is only triggered by killstreak bonus points.

The reason for the huge bonus points is because of a missing float->int conversion - the bonus points is being calculated and stored as a 32-bit float, but being loaded and added as a 32-bit int. Thus, even a value of 2.0 when reinterpreted as an int becomes 0x40000000, or 1073741824 - just over 1 billion.

The total score is stored as a signed 32-bit int - thus when a player's score reaches about 2 billion (2,147,483,648 to be precise), it overflows and wraps back around to the negatives.

Since I've gotten reasonable bonus points for things other than killstreaks, I suspect the issue is specific to killstreaks.
 

Noodl

Something Else
Staff Member
Developer
Admin

Noodl

Offline
Joined
Feb 24, 2016
Messages
437
this issue is only triggered by killstreak bonus points.

Took one look at this statement and noticed this glaring silly mistake.Thanks for that pointer. hah
A new version with quite a few fixes has been pushed, so it's out of my hands for the time being.
 
Status
Not open for further replies.

Who Read This Thread (Total Members: 1)

User Who Replied This Thread (Total Members: 7)

Top Bottom