Skip to content

Port recent DayZ source updates + build fixes - #9

Merged
devin-ai-integration[bot] merged 11 commits into
mainfrom
codex/recent-source-fixes-20261120
Nov 21, 2026
Merged

devin-ai-integration[bot] merged 11 commits into
mainfrom
codex/recent-source-fixes-20261120

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Supersedes #7 (same head-branch content plus build fixes; the original PR's head lives on a fork this repo's maintainers cannot push to). Carries the 24 recently modified DayZ source files and completes the parts of the port that were left incomplete, so the Retail and Retail Server x64 builds compile again.

Build fixes on top of the ported files:

  • Inventory item rotation: adds InventoryItem::_inventoryRotated, GetInventoryWidth/Height, RotateInInventory and the inventoryRotated field in UPDATE_INVENTORY_ITEM_MSG (+ save-game serialization). InventoryStorage::ItemOn/Render/FitsInto now use per-item rotated dimensions, and InventoryRotationPreviewScope::Commit() keeps the previewed orientation after a successful drop.
  • Network plumbing: INetworkManager::AskForMoveItem gains the rotated parameter the ported UI code already passes, and a new AskForRotateInventoryItem message (NMTAskForRotateInventoryItem) is wired through NetworkManager, NetworkClient, the server relay and the apply handlers.
  • HUD status icons: DisplayUnitInfo gets the statusThirst/statusHunger/statusTemperature/statusBlood/statusHealth InitPtr<CStatic> members the ported HUDInfo.cpp binds to.
  • Type fixes: CItemBase::GetTooltipArea returns intptr_t to match the base virtual; dispMissionEditor uses an explicit GameStringType conversion for the GameValue → RString call.
  • Steam: _ENABLE_STEAM_OWNERSHIP, _ENABLE_STEAM, _ENABLE_STEAM_MATCHMAKING and _PROFILE_IN_STEAM_CLOUD are set to 0 — the Steamworks SDK headers are not in this tree, so the ported #if-guarded code is compiled out.
  • Review finding: SteamProfileNSLoader now also restores the profile when the cloud file exists but the local .vars file is missing (cloud-profile loss on new machines).

Link to Devin session: https://app.devin.ai/sessions/0826d643718f4bceb0f739968a18b603
Open in Devin Desktop: https://app.devin.ai/desktop/session/0826d643718f4bceb0f739968a18b603?variant=devin
Requested by: @Personed


🟢 Devin Review found nothing to fix · View findings · Follow Devin's work

Devin Review

Arthurnashh and others added 2 commits November 20, 2026 17:06
- Add InventoryItem::_inventoryRotated with GetInventoryWidth/Height,
  RotateInInventory and network + save-game serialization
- Make InventoryStorage hit-tests use per-item rotated dimensions
- Wire AskForMoveItem 'rotated' param and AskForRotateInventoryItem
  message through INetworkManager, client, server and UI drop paths
- Add DisplayUnitInfo status icon members used by ported HUDInfo code
- Fix CItemBase::GetTooltipArea return type (intptr_t) and ambiguous
  GameValue->RString conversion in dispMissionEditor
- Disable _ENABLE_STEAM*/_PROFILE_IN_STEAM_CLOUD (no Steamworks SDK)
- Restore cloud profile when local profile file is missing

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

Personed and others added 4 commits November 21, 2026 12:39
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

Personed and others added 5 commits November 21, 2026 12:58
…bing, ambiguous cast

- Add PlayerGUIDIsValid + 4-arg DBLoad virtuals to INetworkManager and
  implement them in NetworkManager (forwarding to NetworkServer/_spStorage)
- Add NetworkClient::_initScriptRun/_delayedSpawns plus RunSpawnedCode/
  ProcessDelayedSpawns decls to match the ported client
- Guard BattlEye::PlayerGUIDIsValid body with _ENABLE_STEAM_OWNERSHIP
- Fix ambiguous GameValue->RString cast in dispMissionEditor with an
  explicit conversion-operator call

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- Declare EngineDD9::ApplyMaterialTL and InitDXGIInfo, include <dxgi.h>
- Add Engine::SetMainDepthPrimed virtual + EngineDD9::_mainDepthPrimed
- Remove __asm nop (unsupported on x64)
- GetProcessAffinityMask args use DWORD_PTR

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…ze/CheckType

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot merged commit 7ae6394 into main Nov 21, 2026
3 checks passed
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.

2 participants