frifox / gw2dps

GW2DPS
31 stars 13 forks source link

Unhandled C++ exception #40

Closed 4hsc closed 8 years ago

4hsc commented 8 years ago

Hello, When I try to inject the .dll, a "Unhandled C++ exception: One or more patterns not found" error comes up.

Windows 10, 64 bit gw2.exe

Thank you

frifox commented 8 years ago

Using the latest build, 2016-02-10 one?

4hsc commented 8 years ago

Yes

hairys commented 8 years ago

Is that Gw2-64.exe?

4hsc commented 8 years ago

Exactly

hairys commented 8 years ago

How often does it do this to you? Try closing the game and re-opening it. Then try injecting again. Do this a few times. Does it show the error every time? What build of the game do you have? (hit F11, bottom left corner of options panel).

4hsc commented 8 years ago

Build: 57,918

I tried a few times, closing the game and re-opening it, downloaded it a couple times just to be sure I was using the latest version of gw2dps, etc... Yes it shows the error every time...

Forgot to mention that it still says that the .dll was injected successfully, just before the error, as it shows in this print screen:

http://imgur.com/oKAcRmI

Thank you

hairys commented 8 years ago

I don't have Win10, but try running both the game and injector as admin. Works fine for me, Win7, Gw2-64.exe

frifox commented 8 years ago

I do have Win10 and have no issues with both x86 and x64.

hairys commented 8 years ago

The only thing I can recommend is the generic stuff frifox stated in another issue:

https://www.microsoft.com/en-us/download/details.aspx?id=40784

4hsc commented 8 years ago

Still the same error :/

Well, thank you anyway

4hsc commented 8 years ago

Ive google that exception and I cant find anything mentioning that specific error. Do yiu have any idea what could be causing this so i can try debugging this, if I manage to fix this ill make a push request.

frifox commented 8 years ago

The error gets thrown from /src/hacklib/include/hacklib/PatternScanner.h, line 154: https://bitbucket.org/rafzi/hacklib/src/06499783a8a9ca11fdf966a4d4380c30bd08f04a/src/hacklib/src/PatternScanner.cpp?at=master&fileviewer=file-view-default#PatternScanner.cpp-153

Start there and walk backwards to trace the cause.

hairys commented 8 years ago

Some other questions that I'm curious about:

snakelayer commented 8 years ago

To add to hairys' comment, the error message suggests your local gw2 executable is not normal or has been modified. I haven't seen this suggested, but try deleting and downloading a fresh Gw2.exe.

Another (unlikely) possibility: you have a computer virus and it has modified the gw2 executable.

4hsc commented 8 years ago

Some other questions that I'm curious about:

Are you running any other client other than NA (eg. EU client, chinese client)?
Are you running any other mods/overlays? That includes things like ShadowPlay and OBS.

No and No for both questions. First I tried restarting my computer in safe mode just in case, and tried to inject. Same error. Then I reinstalled the game. Same thing. I tried on my other laptop too, same error.