SinisterGaming Sled...
 
Notifications
Clear all

SinisterGaming Sledbuild – Fixed, Integrated, and Live

1 Posts
1 Users
0 Reactions
12 Views
(@sinistergaming)
Member Admin
Joined: 2 months ago
Posts: 1
Topic starter  

This is the original sledbuild, fixed up and tailored for our server.
Below is what was broken, what we fixed, and what we added on top.


What was broken in the base version

Teleports

  • Some teleports weren’t landing players where the map intended.

  • Fixed so teleports send you to the proper destination.

Spawn death

  • Players could die right at spawn on some loads.

  • Fixed spawn so you come in alive and stay put.

Race placement

  • 1st / 2nd / 3rd wasn’t actually getting set.

  • Fixed the placement logic so finishes are recorded in the right order.

Speedometer and stopwatch

  • HUD speed and race timer didn’t line up with the actual run.

  • Fixed to read from the correct values so the numbers shown match what happened.

Random gamemode errors

  • The original dropped some Lua errors during normal play.

  • Cleaned those up so the console isn’t screaming on load or race start.

HUD on empty map

  • It would show the “top 3” style HUD before any race happened.

  • Now it waits until there’s real race data.


What we added (stats side)

We already had HLstatsX running. We didn’t add a new game to HLstatsX — we used the existing gmodsledbuild entry.

What we wired up:

  • Sled actions that are already in hlstats_Actions (race_win, race_place_1/2/3, race_loss, race_total, top_speed, etc.) are used as-is.

  • When a sled action is written to hlstats_Events_PlayerActions, a trigger bumps the matching award in hlstats_Players_Awards for that player.

  • When an award for gmodsledbuild is bumped, another trigger gives the player the matching ribbon from hlstats_Ribbons.

  • The game sends a small heartbeat to hlstats_Events_Latency so players don’t disappear from the stats page just because sledbuild isn’t as chatty as a combat gamemode.

  • A PHP block was added to the player page to show sled info: total races, placements, and speed numbers.

No extra tables, no renaming HLstatsX games. Everything stayed on the existing schema.



   
ReplyQuote
Share:

Join Us!

Online Members

 No online members at the moment