Mitts 0.1.2287
Headlined by a full rebuild of the puck's physics under the hood, a netcode audit that fixed poke-checks and stick-lifts basically not working for non-host players online, a big round of bot defensive-positioning fixes, a stat-tracking accuracy pass, and a set of spectator/presentation upgrades.
⚠️ Puck physics rebuilt from the ground up
The puck no longer runs on the engine's physics body at all — it's now a custom deterministic simulation. Meant to be invisible day-to-day, but it fixes several real bugs and changes online feel:
- Fixed the puck occasionally spinning in place forever on a hard rim-around instead of naturally losing speed and settling.
- Fixed the puck occasionally flying out of the rink entirely on a rim-around through the curved corner boards.
- Fixed the puck occasionally sinking into or getting stuck partway below the ice.
- Fixed a hard, fast shot occasionally tunneling straight through the side of the net instead of being stopped or scoring properly.
- Online: the puck now runs real client-side prediction (each client simulates it locally and reconciles with the host) — should read as noticeably less puck lag/rubber-banding, especially on shots and passes.
- Online: remote players you don't control now render closer to their true real-time position instead of a bit behind, which should make contested hits and puck battles feel fairer.
- Online: fixed a bug where a network hiccup could leave your inputs stuck permanently stale instead of recovering on its own.
- Online: your input responsiveness now adapts automatically to your actual connection quality instead of a fixed setting, which should help on marginal connections.
- Online security: closed a loophole letting a modified client falsely inflate its reported network delay to unfairly win puck-possession or hit contests.
- Fixed clients missing puck-contact sounds (post pings, goalie saves, board thuds, net thumps) that the host always heard — the physics rebuild had accidentally silenced them for everyone except the host. Clients now predict these sounds locally, and cue sounds are sent reliably now so a dropped network packet can no longer permanently mute one.
⚠️ Netcode audit: poke-checks/stick-lifts fixed for clients, fairer contested pickups
A deep audit of the netcode surfaced several real bugs, most significantly one that's been silently hurting non-host players since these mechanics shipped.
- Fixed poke-checks and stick-lifts basically not registering when a non-host player initiated them online. A stale internal check meant a client's poke/stick-lift attempt almost never actually fired as a real claim — those contacts were only ever resolving through the host's own after-the-fact detection. If you've felt like your pokes just don't land as a client, this is why.
- Fixed the host unfairly winning every close 50/50 puck battle against a client. Contested grabs between the host and a client weren't arbitrated by timing the way client-vs-client contests already were — the host simply won by default. Host-vs-client puck races are now judged the same fair way as everyone else's.
- Fixed a client carrying the puck across the blue line occasionally getting incorrectly flagged offside (ghosted) and then being unable to tag back in — caused by the same stale internal check above.
- Faster correction when a puck-grab attempt gets rejected — previously your client would wait out a timeout scaled to your ping before realizing your grab didn't actually register; the host now tells you immediately, so a mispredicted pickup snaps back much sooner instead of lingering.
- Fixed a rare visual glitch where correcting your position mid-shot-wind-up could replay the wrong animation state (aim vs. follow-through vs. skating) for a frame.
- Fixed a rare stutter where a correction near the blue line could re-trigger unnecessary body-check contact against a player who was actually offside and should have been ghosted.
- Shaved a full network tick (~8ms) of extra latency off everyone's view of the game world by moving when the host packages up and sends world state to right after it's simulated, instead of a tick later.
- The host now measures a joining player's ping immediately instead of waiting up to 2 seconds, so lag compensation is accurate from the very start of a game rather than assuming a fallback value early on.
Bots: real defensive pressure
- Fixed defenders almost never challenging the puck carrier on a rush and routinely retreating all the way behind their own goal line — they now hold a proper stand in front of the net instead of collapsing.
- Fixed Normal-difficulty defenders being kept too far away to ever poke-check — they can now actually contest the puck like Hard bots already could.
- A lone defender now tightens up on a slowed-down or stalled attacker instead of always giving the same cushion regardless of how fast the rush is actually coming.
- Fixed bots unable to receive rim passes around the curved boards — the puck used to sail right past them because they were reading it as a straight line instead of the actual curve, and standing too far off the glass to reach it.
- Fixed bots occasionally deflecting the puck into their own net because their stick was parked directly in the shooting lane in front of their own goalie.
- Fixed bots sometimes skating straight through their own net while chasing a loose puck near the crease.
- Fixed several cases of bots just standing and ignoring a loose puck — when the bot who should've gone for it had opted out to stay ready for a one-timer with no backup, when a human teammate standing near (but not playing) the puck froze every bot from going for it, and standoffs where both teams' bots waited for the other side to commit first.
- Bots are less likely to force a risky cross-ice/backdoor one-timer feed into coverage — the AI now weighs how far a goalie can actually slide across in the time the pass takes, instead of assuming he stays put.
- Smoother framerate, especially in 5v5. The AI's most expensive per-tick computation (deciding what the puck carrier should do) is now spread across two ticks instead of landing all at once, and several defensive reads are shared/cached across bots instead of recomputed individually — should meaningfully reduce the periodic frame-rate spikes busy 5v5 stretches were causing.
Stat tracking fixes
- A poke-check that sets up a teammate's goal now correctly earns an assist for the poke, not just a takeaway.
- Takeaways now credit the defender who actually made the play — the one who poked, stick-lifted, or checked the puck loose — instead of whoever happened to scoop up the loose puck afterward.
- Fixed shots on goal under-counting after a save — a rebound shot or a tap-in off a rebound now properly counts as its own shot on goal, instead of the original saved shot blocking any future one from counting.
- Recovering your own team's shot that got saved, missed, or blocked no longer wrongly logs as a turnover.
- Giveaways no longer get charged on plays that were never really a giveaway — a deliberate dump/clear/rim into open ice, and a board battle you fought for and still lost, are both real hockey outcomes distinct from a clean unforced turnover, and are no longer lumped in with them. A puck you poked loose that skitters for a moment before getting picked up still correctly credits the taker instead of charging the victim.
New: spectator & presentation upgrades
- Arena crowd now sits in proper seating sections split by aisles across both decks, with a dedicated visiting-fan section in the upper deck; lower-attendance games scatter empty seats realistically instead of a uniform crowd.
- The jumbotron now shows live score, clock, period, and goal-scorer flashes during replays, instead of sitting on the attract screen for the whole replay.
- New POV spectator camera mode — cycle through Broadcast → Chase → POV → Free; POV reproduces the normal top-down gameplay camera centered on whichever skater you pick.
- Fixed broadcast rail cameras cropping close-range plays near the boards on the camera's own side, and a couple of other spectator-camera smoothness fixes.
Compatibility
- Network protocol updated twice this batch (deterministic puck physics + adaptive input lead, then the new pickup-claim-rejection message) — everyone needs this build to play together.
