Skip to content

Complete DayZ Workshop updates without Minecraft version detection - #293

Open
deadpool311 wants to merge 5 commits into
Osiris-Team:masterfrom
deadpool311:fix/dayz-workshop
Open

Complete DayZ Workshop updates without Minecraft version detection#293
deadpool311 wants to merge 5 commits into
Osiris-Team:masterfrom
deadpool311:fix/dayz-workshop

Conversation

@deadpool311

Copy link
Copy Markdown

Resolves #215 by building on #291's Steam Workshop updater and removing the Minecraft-version prerequisite for dedicated servers such as DayZ.

This preserves meta.cpp discovery, Steam consumer app-ID lookup, SteamCMD downloads, update profiles, and cached Steam versions from #291. Additional changes defer Minecraft version detection until a Modrinth/CurseForge lookup needs it, correctly assign the server-version fallback, and reject unknown Workshop profiles before downloading or installing.

The tests use a non-JAR dedicated-server fixture without Minecraft overrides, cover invalid/MANUAL/NOTIFY profiles, and close the fixture logger for Windows cleanup.

Validation: JDK 17.0.20.1, Maven 3.9.11, mvn -B -Dtest=SteamWorkshopModTest,SteamCMDTest#buildsWorkshopItemCommand test: 8 tests, 0 failures, 0 errors. The same tests against unchanged #291 production code produce 1 failure and 2 errors, including the Minecraft-version failure. git diff --check passes. Full suite and live DayZ/Steam downloads have not been tested; Steam interactions are mocked. Background YAML watcher callbacks still log Stream closed during test cleanup without failing the focused suite.

Attribution: this derives from SemHiel2003's #291 (commit 3d2041c), itself based on #290 and #280. The Minecraft-version blocker was previously reported by matiascamaran in #215 with https://gist.github.com/matiascamaran/19bcbc3669675956d25c73c6716de777; I do not claim original discovery of that blocker.

AI disclosure: the additional code and tests were generated with Codex assistance. I reviewed the prepared contribution and results and approved submission. The automated tests were run by Codex; I am not claiming a human-operated live DayZ test. I understand this is a derived bounty submission subject to maintainer acceptance and the original-contributor grace period.

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.

Auto-Update DayZ mods

2 participants