Skip to content

Hotfix 2.0.3.6: fix MP seeder sync and SowMission crop recovery - #19

Draft
SimGamerJen wants to merge 4 commits into
mainfrom
hotfix/2.0.3.6
Draft

Hotfix 2.0.3.6: fix MP seeder sync and SowMission crop recovery#19
SimGamerJen wants to merge 4 commits into
mainfrom
hotfix/2.0.3.6

Conversation

@SimGamerJen

Copy link
Copy Markdown
Owner

Summary

Stable-line hotfix for the ModHub submission, based directly on main / 2.0.3.5. This deliberately does not pull in any 2.1.0.0 Alpha 17 features.

Fixes

Multiplayer seeder selection

  • Prevents a joining dedicated-server client from changing the selected crop on already-loaded seeders, commonly back to Wheat.
  • Treats unchanged CCO seed-list refreshes as no-ops so the live selector is not rewritten unnecessarily.
  • Preserves the authoritative network seed slot while a remote client applies the server CCO snapshot.
  • Suppresses native seed-selection events for CCO-internal refreshes on remote clients so they cannot write an incidental selection change back to the server.
  • Preserves the selected crop for normal authoritative rule changes whenever that crop remains permitted.

SowMission invalid-fruit recovery

  • Prevents the NPC fruit-selection hook from returning nil when no permitted replacement crop can be found; the engine fruit index is retained so mission data remains structurally valid.
  • Makes SowMission crop-name resolution defensive across fruit descriptor/index representations.
  • Adds guarded recovery for legacy invalid sow contracts that hit the repeated getIsPlantableInPeriod nil error, marking the bad mission for deletion and allowing mission generation to recover.

ModHub metadata

  • Revision increased from 2.0.3.5 to 2.0.3.6.
  • The multilingual description keeps only the latest changelog entry, retaining the previous ModHub review correction.

Scope

Only these production files differ from main:

  • scripts/CropControlOverride.lua
  • modDesc.xml

The branch copies those files exactly from the prepared FS25_CropControlOverride_2.0.3.6_MODHUB_HOTFIX.zip package.

Validation performed

  • Git blob hashes for both changed branch files match the packaged 2.0.3.6 files exactly.
  • modDesc.xml parses successfully as XML.
  • ZIP integrity test passes for the prepared ModHub package.
  • Branch comparison confirms there are no Alpha 17 or unrelated source changes.

Runtime tests still required

  • Dedicated server: park several seeders on non-Wheat crops and have another player join; selections must remain unchanged.
  • Repeat with an attached/inactive seeder and an actively operating seeder.
  • Load/reproduce the save that previously generated the SowMission getIsPlantableInPeriod error and confirm the error does not recur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant