Why did you want to know if this work on win 7 i cant see any thing what seems like a box
I can't see where he stated that he is drawing anything.
@xoraxax
Which OS architecture do you use? You might want to change your DWORD datatype to something platform independent that guarantees the size of a pointer. This is important since pointers got different sizes on different architectures. On x86, a pointer is usually 4 bytes long while a pointer on x64 is 8 bytes long. You should be aware of that when addressing memory.
I can't see where he stated that he is drawing anything.
@xoraxax
Which OS architecture do you use? You might want to change your DWORD datatype to something platform independent that guarantees the size of a pointer. This is important since pointers got different sizes on different architectures. On x86, a pointer is usually 4 bytes long while a pointer on x64 is 8 bytes long. You should be aware of that when addressing memory.
uintptr_t may be a good solution.
That is right but if he dont draw anything why the hack he know that this works
That is right but if he dont draw anything why the hack he know that this works
You know that he is hooking the EndScene function, do you? Meaning, he's writing the address of his own function into memory so everytime the game (or whatever he's addressing) calls the EndScene function, it get's redirected to the hooked one. Since he's backing up the address of the original function before writing, he may call the original one when returning.
Drawing things is optional, he doesn't have to draw anything. And it's crashing, because the hook can't be placed. (due to the size of the pointers)
Well, it does work on win 7 x64/x32 (so pointers don't seem to fail). I can draw something - all drawing is omitted in that example. But exactly same code crashes on win 8. And i can not understand why. Is there any significant difference between win7 and win8 which i do not know?
Are d3d9.dll in win7 and d3d9.dll in win8 different?
BTW: Please start to get used to a betther coding style wit some comments and a style that is the same over the whole document. Its really hard to read your code.
Please start to get used to a betther coding style wit some comments and a style that is the same over the whole document. Its really hard to read your code.
Sorry for that - I am not a coder, so don't have good coding habits.
And ty all for your tips, i'll try to find out what happens again as soon as i get my hands on win8 pc.
[Release]S4League Vortex [Win7, Win8, Win8.1][Pack][With bypass] 10/05/2014 - S4 League Hacks, Bots, Cheats & Exploits - 25 Replies S4League Vortex
S4League Vortex is a pack with all of you need for hack in S4 League
Video tutorial:
https://www.youtube.com/watch?v=qXmvYldPXyw
Credits:
@lkInGx (Cydrex)