Skip to content

fix(Determinism): force single-batch FastTileFinder.Query in MP to prevent quest site tile divergence#893

Merged
notfood merged 1 commit intorwmt:devfrom
Sakura-TA:fix/fast-tile-finder-determinism-clean
Apr 21, 2026
Merged

fix(Determinism): force single-batch FastTileFinder.Query in MP to prevent quest site tile divergence#893
notfood merged 1 commit intorwmt:devfrom
Sakura-TA:fix/fast-tile-finder-determinism-clean

Conversation

@Sakura-TA
Copy link
Copy Markdown
Contributor

Guess no other choice except discard this optimization...
it's racing for first 50 valid tiles, if we allow it run with more than 1 workthread then we'll have to get all valid tiles and sort to get exactly same tile list, would get much more than 50 tiles and pick first 50 to achieve it, which can cost more than working with singlethread.
tested with debug generate 25 quest sites in game working well and seems not laggy for me.

@notfood notfood added fix Fixes for a bug or desync. 1.6 Fixes or bugs relating to 1.6 (Not Odyssey). labels Apr 21, 2026
@notfood notfood moved this to In review in 1.6 and Odyssey Apr 21, 2026
@notfood notfood merged commit 46e717b into rwmt:dev Apr 21, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In review to Done in 1.6 and Odyssey Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6 Fixes or bugs relating to 1.6 (Not Odyssey). fix Fixes for a bug or desync.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants