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

ResetDevice crash when resizing window #36

Closed
brainiac opened this issue Dec 16, 2018 · 2 comments
Closed

ResetDevice crash when resizing window #36

brainiac opened this issue Dec 16, 2018 · 2 comments
Assignees
Labels
bug plugin Issue pertains to the MQ2Nav plugin

Comments

@brainiac
Copy link
Owner

No description provided.

@brainiac brainiac added the bug label Dec 16, 2018
@brainiac
Copy link
Owner Author

brainiac commented Dec 16, 2018

@brainiac
Copy link
Owner Author

It looks like the trigger for this is an App compat layer in the registry. It can be found under one of these keys:

  • HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
  • HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

if you find one for eqgame.exe, remove it. Will see if there is something I can do to detect and mitigate whatever issue this is creating.

brainiac added a commit that referenced this issue Dec 18, 2018
If an AppCompat layer is active, it can mutate the D3D9 device in a way
that can render the hook inert. Every frame, check the address of Reset
and update the hook if it has changed.
brainiac added a commit that referenced this issue Dec 18, 2018
@brainiac brainiac self-assigned this Dec 18, 2018
@brainiac brainiac added the plugin Issue pertains to the MQ2Nav plugin label Dec 18, 2018
@brainiac brainiac added this to the MQ2Nav 1.3.0 milestone Dec 18, 2018
@brainiac brainiac added this to the MQ2Nav 1.3.0 Beta milestone Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug plugin Issue pertains to the MQ2Nav plugin
Projects
None yet
Development

No branches or pull requests

1 participant