Wait for authoritative stop before gathering or looting

This commit is contained in:
dingo
2026-09-12 23:24:27 -04:00
parent 9ca58b3101
commit d664e594af
3 changed files with 38 additions and 4 deletions
+7
View File
@@ -83,6 +83,13 @@ interpolation step. An open WebSocket shows "Synchronizing world" until a valid
world snapshot has been processed; reconnect clears the previous input snapshot.
No rigid-body physics is claimed: this is heightfield movement in open terrain.
Gather/loot approach sends a zero-movement intent and waits for a snapshot that
acknowledges it before attempting the action. That stopped server position is
checked again for range; stale pre-stop snapshots cannot trigger the action or
reverse the approach. Out-of-range confirmation resumes movement. This leaves
server range, cooldown, depletion, and loot ownership checks unchanged. The desktop
E2E check covers this with delayed snapshots and sparse input ticks.
Milestone 3 adds authoritative vertical jump velocity and gravity over that
heightfield. Generator 2 increases terrain depth and chooses weighted biomes;
generator 1 remains supported with unchanged heights/resource identities.