Skip to content

fix(frozen,server): ship rule_builder.cached_world and let --admin-password outrank saves - #191

Merged
lallaria merged 2 commits into
mainfrom
fix/missed-updates
Oct 18, 2026
Merged

lallaria merged 2 commits into
mainfrom
fix/missed-updates

Conversation

@lallaria

Copy link
Copy Markdown
Contributor

Scope

Two fixes for frozen builds and local hosting: a module the freeze left out, and an admin password the server discarded.

Description

  • setup.py: rule_builder is in the cx_Freeze packages list again. Upstream's includes: ["rule_builder.cached_world"] was dropped in the no-worlds setup.py rewrite, and only out-of-tree worlds import that module, so frozen builds failed to load worlds such as Hollow Knight: Silksong with No module named 'rule_builder.cached_world'.
  • MultiServer.py: an explicit --admin-password (what the launcher's Start/Host dialog passes) now outranks the admin_password a save restores; host.yaml's default still yields to the save. Re-hosting a seed whose save had no admin password used to leave remote administration disabled. Upstream's --server_password has the same ordering.
  • Not covered by unit tests: the frozen build itself; the setup.py change has not been run through a macOS freeze yet.

setup.py: Add rule_builder to the cx_Freeze packages list so rule_builder.cached_world ships in frozen builds; only externally installed worlds import it.
MultiServer.py: Record whether --admin-password was given and reapply it after init_save; host.yaml's default still yields to the save.
test/programs/test_server_password_alias.py: Drive main() against a save written with another password.
@lallaria
lallaria merged commit dbd872f into main Oct 18, 2026
16 checks passed
@lallaria
lallaria deleted the fix/missed-updates branch October 19, 2026 04:38
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