Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error when launching in diag mode #379

Open
aussielimes opened this issue Nov 7, 2023 · 5 comments
Open

compile error when launching in diag mode #379

aussielimes opened this issue Nov 7, 2023 · 5 comments
Assignees

Comments

@aussielimes
Copy link

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

@Arkensor Arkensor self-assigned this Nov 9, 2023
@DCFrog
Copy link

DCFrog commented Nov 9, 2023

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
Copy link
Author

My man! thank you.

@TheRealT-Dog
Copy link

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
Copy link

DCFrog commented Nov 10, 2023

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
Copy link

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.

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

No branches or pull requests

4 participants