Giter Club home page Giter Club logo

Comments (9)

reduf avatar reduf commented on July 17, 2024

Did you called GW::Scanner::Initialize before calling GW::Initialize ?

It should be called from within GW::Initialize, but it's not right now, so that might be the reason.

from gwca.

gwmai avatar gwmai commented on July 17, 2024

@reduf I tried your suggestion but I still receive the same access violation. GW:Scanner:Initialize executes correctly and GW::Initialize throws the exception.

from gwca.

reduf avatar reduf commented on July 17, 2024

When the access violation is thrown, can you check the value of g_base and g_size ?
Also, if you go up in the call stack, can you check on which pattern it happens ?

from gwca.

gwmai avatar gwmai commented on July 17, 2024

Sure,
right when the exception is thrown these are the values for pattern, g_base and g_size.

pattern | 0x003fafac "Vā€¹Ć±;Ć°r\x4" | const char *
g_base | 4198400 | unsigned int
g_size | 4825088 | unsigned int

from gwca.

reduf avatar reduf commented on July 17, 2024

g_base and g_size are correct, but for the pattern can you post the code at the calling site. That is the FindPattern that cause that. You can easily access it through your call stack.

from gwca.

gwmai avatar gwmai commented on July 17, 2024

Sorry to touble you, I'm not really well versed in debugging with visual studio code so I might not be following you correctly.

In my call stack I see :

image

It seems the function executed before this exception is thrown is GW::MemoryMgr::Scan

In that one, it's this line that's throwing the error but there's no pattern variable here. It's a fixed string.

image

PS: I couldn't find any string in the code called FindPattern.

from gwca.

reduf avatar reduf commented on July 17, 2024

I think that the problem is that GWCA only make sense if it's inside Gw.exe. Right now, it seems that you use it in an other process.

from gwca.

gwmai avatar gwmai commented on July 17, 2024

I was under the impression that I can build my application including GWCA as a library and the initialize function would let it hook itself to the gw.exe instance.

from gwca.

reduf avatar reduf commented on July 17, 2024

You can build a dll including GWCA and load this dll into the game process.

from gwca.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.