Arkensor / DayZCommunityOfflineMode

A community made offline mod for DayZ Standalone
Other
352 stars 194 forks source link

compile error when launching in diag mode #379

Open aussielimes opened 8 months ago

aussielimes commented 8 months ago

In 1.23 I get this compile error when launching in diag mode (DayZDiag_x64)

Diag mode is helpful for testing stuff and worked in previous versions of the game so if there's an easy fix I would appreciate it DayZDiag_x64_NQXafTm2LX

DCFrog commented 8 months ago

Looks like they moved GetMousePos method out of game object, now it's available as global method: image

To quickly fix this locally, replace all g_Game.GetMousePos occurrences with GetMousePos in mission files (using Visual Studio Code or other editor), like so:

image

aussielimes commented 8 months ago

My man! thank you.

TheRealT-Dog commented 8 months ago

Looks like they moved GetMousePos method out of game object, now it's available as global method: image

To quickly fix this locally, replace all g_Game.GetMousePos occurrences with GetMousePos in mission files (using Visual Studio Code or other editor), like so:

image

DId this and DayzDiag Still wont work.

DCFrog commented 8 months ago

Looks like they moved GetMousePos method out of game object, now it's available as global method: image To quickly fix this locally, replace all g_Game.GetMousePos occurrences with GetMousePos in mission files (using Visual Studio Code or other editor), like so: image

DId this and DayzDiag Still wont work.

Hmm.. Do you have the same error telling about undefined function?

TheRealT-Dog commented 8 months ago

Looks like they moved GetMousePos method out of game object, now it's available as global method: image To quickly fix this locally, replace all g_Game.GetMousePos occurrences with GetMousePos in mission files (using Visual Studio Code or other editor), like so: image

DId this and DayzDiag Still wont work.

Hmm.. Do you have the same error telling about undefined function?

Sorry forgot to reply but this works now. However, a certain file in missions doesn't work now but it used to in 1.22.