DayZCommunityOfflineMode icon indicating copy to clipboard operation
DayZCommunityOfflineMode copied to clipboard

compile error when launching in diag mode

Open aussielimes opened this issue 1 year ago • 5 comments

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

aussielimes avatar Nov 07 '23 14:11 aussielimes

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

DCFrog avatar Nov 09 '23 17:11 DCFrog

My man! thank you.

aussielimes avatar Nov 09 '23 21:11 aussielimes

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.

TheRealT-Dog avatar Nov 10 '23 16:11 TheRealT-Dog

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?

DCFrog avatar Nov 10 '23 21:11 DCFrog

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.

TheRealT-Dog avatar Nov 18 '23 11:11 TheRealT-Dog