Skip to content

Synchronization Issue: Dedicated Server fails to recognize/sync items from other mods on startup and admin changes #33

@Matrixma

Description

@Matrixma

Description:
I am experiencing a synchronization issue when using the mod on a Dedicated Server. While the settings work perfectly in Singleplayer/Host mode, they fail to behave correctly in a multiplayer environment, specifically regarding items from other mods.

The Problem:
1. Startup Desync: Every time the server starts, it fails to automatically synchronize or recognize items belonging to other mods (perishables from third-party maps/productions).

2. When logged in as an Admin on a dedicated server:

Action: I change a setting as admin on dedicated server (e.g., difficulty).

Local Result: My client processes the request and I see the log: [Fresh|C] SETTINGS_SYNC_RUN: Applied server settings (6 global, 135 fillTypes, 1 overrides).

The Issue: The server does not seem to force a global rescan or a broadcast sync to clients.

Comparison: In a local/Host game, changing a setting successfully forces a rescan that updates the state immediately for the host.

3.Missing Global Rescan: In a local/Host game, changing a setting forces a global rescan that correctly loads all mod items. However, on a dedicated server, this rescan is not triggered for clients.

Expected Behavior:

The server should perform a full inventory and settings sync for all clients immediately upon startup, including items from other mods.

Any administrative action (like a settings change or a manual fReconcile) should trigger a mandatory global rescan/sync for all connected clients to ensure everyone sees the same modded items and expiration states in real-time.

Metadata

Metadata

Assignees

Labels

MultiplayerAffects multiplayerbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions