View previous topic :: View next topic |
Author |
Message |
SpeedhackGuest Guest
|
Posted: Mon Oct 28, 2013 4:07 pm Post subject: Speedhack |
|
|
Heyo. I got small problem. I have created internal speedhack (dll which gets loaded by injector) which does exactly same thing as CE SH. I hook GTC, QPC and tGT. I have tested every hook and indeed it returns multipled time (so its working fine in games such warcraft 3,dota2,MUonline and minesweeper xD), but strangely there are some games where CE SH works perfectly, and mine SH doesnt. Any idea? The alghorytm for every function is simply add multipled time which passed since last function call (same as in CE)
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Mon Oct 28, 2013 4:27 pm Post subject: |
|
|
Perhaps your hook fails?
E.g a common hook method is the IAT hook, but that method is really crappy as calls to getProcAddress will not be affected when the game gets those API's
a better hook is editing the entrypoints of those api's and jump to your code from there (and write stubs to call the unmodified versions of the original API)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
SpeedhackGuest Guest
|
Posted: Mon Oct 28, 2013 4:32 pm Post subject: |
|
|
this is the way im doing it. I copy starting bytes and place jump here. It works in many games so its OK. But still there are some games unaffected ;o
Btw can you activate my acc Sniffsniff plz?
|
|
Back to top |
|
|
Sniffsniff How do I cheat? Reputation: 0
Joined: 28 Oct 2013 Posts: 0
|
Posted: Mon Oct 28, 2013 4:41 pm Post subject: |
|
|
i checked it once again and every call to any of those APIs results in a jump to hook function
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Mon Oct 28, 2013 4:59 pm Post subject: |
|
|
What do you mean when you say the speedhack doesn't work properly in your version? Do you mean it won't speed up/slow down, or do you mean the game crashes/freezes ?
If freezes, perhaps the initialization is wrong (e.g not protected by a mutex, or the hook is done before the time is initialized)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Guest
|
Posted: Mon Oct 28, 2013 5:01 pm Post subject: |
|
|
it doesnt speed up
|
|
Back to top |
|
|
Sniffsniff How do I cheat? Reputation: 0
Joined: 28 Oct 2013 Posts: 0
|
Posted: Mon Oct 28, 2013 5:18 pm Post subject: |
|
|
Or maybe CE speedhack is doin smth else than changing those 3 functions?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Mon Oct 28, 2013 5:26 pm Post subject: |
|
|
Nope, just those 3
Perhaps the addresses you're hooking are just wrong ?
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Sniffsniff How do I cheat? Reputation: 0
Joined: 28 Oct 2013 Posts: 0
|
Posted: Mon Oct 28, 2013 5:39 pm Post subject: |
|
|
GetProcAddress(GetModuleHandleA("KERNELBASE.dll"),"GetTickCount");
GetProcAddress(GetModuleHandleA("ntdll.dll"),"RtlQueryPerformanceCounter");
GetProcAddress(GetModuleHandleA("winmm.dll"),"timeGetTime");
QPC jumps to his Rtl equivalent so i decided to hook rtl
|
|
Back to top |
|
|
Guest
|
Posted: Tue Oct 29, 2013 9:16 am Post subject: |
|
|
it seems like my DLL doesnt have privigeles? I scanned for hooks after injecting my dll and it doesnt hook the functions. CE does ;o
|
|
Back to top |
|
|
Guest
|
Posted: Wed Oct 30, 2013 5:49 pm Post subject: |
|
|
Reversed and fixed like a boss
Topic can be closed
|
|
Back to top |
|
|
|