"i couldnt hook this function" is not a very detailed error description, neither is your code. All I can see is that your `HookCallModuleFunc` is not `__stdcall`, which I assume is the function you hook the game function to.
"i couldnt hook this function" is not a very detailed error description, neither is your code. All I can see is that your `HookCallModuleFunc` is not `__stdcall`, which I assume is the function you hook the game function to.
Yes its game function. Its not "detailed error description" because its not an error. If you read the title of thread "How to hook this fuction properly?" you can see that im just asking "What is the right way to do this?".
Yes its game function. Its not "detailed error description" because its not an error. If you read the title of thread "How to hook this fuction properly?" you can see that im just asking "What is the right way to do this?".
(I think the code is totally fine btw)
well yes, but what is the original function, we just see your pseudo code - the already mentioned asm hasn't been added. Even a simple "im trying to hook CPythonNetworkStream::SendOnClickPacket" or "im trying to hook function 0x123456 on gf metin2 turkish servers which is used for xyz *here* is the disassembly which i used to get the address and the calltype from" would help helping you
There are tons of resources online on how to hook (stdcall) functions, there is no need for us to spoonfeed you. You can look them up in your favorite search engine. If you then have any problem applying the methods you learned there you can come back with a specific question, detailing what you tried and what problems you encountered.
std::function of a function returning an std::function 11/11/2013 - C/C++ - 19 Replies Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann.
Ich verzweifle an Folgendem Vorhaben:
#include <Windows.h>
#include <string>
#include <iostream>
using namespace std;
1 way to make the bot function properly 04/03/2009 - Rohan - 7 Replies sometimes when using the bot, the "start" button won't activate..,
there are two reasons,
Patched up GG, or
you missed to bypass GG...,
1 way to prevent this, is using the start game (auto-log in).
to use this,
go to the folder where you extracted the bot,
then look for the configuration file named "Rohan" on a notepad