Wenn ich onmapclick hook, muss ich die args(2-4) noch dividieren/multiplizieren?
arg1 ist ja 0 oder die PID/MID?
arg2 = X
arg3 = Y
arg4 = Z
arg5 = 0(was ist das)?
Wäre jetzt beim pserver client
BYTE pOnMapClick[] = {0x55,0x8B,0xEC,0x83,0xEC,0x0C,0x89,0x4D,0xF4,0xA1 ,0x00,0x00,0x00,0x00,0x3B,0x45,0xF4,0x75,0x7A};
char * mOnMapClick = "xxxxxxxxxx????xxxxx";
first of all i want to thank you syntex for releasing this useful stuff. it showed me a lot and i begin to gain some knowledge of the function.
Nevertheless, I have never manged to hook a dll to KalOnline. I was using your code and combined it with the hook tutorial of Thiesius. Building was successful. I used the supposed d3dx9_29.dll to hook. But everytime I am trying to start KalOnline with the infected dll it tells me
'
Cannot find import; Dll may be missing, corrupt or wrong version
"File "d3dx9_29.dll"m function D3DXQuaternionRotationAxis" (error 0)
'
Do anyone of you have an idea what i am doing wrong?
Btw. After some time the cmd window is appearing and showing, that your code is working. Please be fair, cause i am just starting to learn the injecting stuff.