View previous topic :: View next topic |
Author |
Message |
andonrui Cheater Reputation: 0
Joined: 22 Apr 2008 Posts: 33
|
Posted: Sun Nov 02, 2008 7:33 am Post subject: |
|
|
rapion124 wrote: | remove "return 0." |
removed and compiled but trying to dllcall the functions none work any idea why?
DllCall("dllop.dll\SCP", int, 350, int, 258)
DllCall("dllop.dll\SetCurPos", int, 350, int, 258)
DllCall("dllop.dll\SetCursorPos", int, 350, int, 258)
anything to do with the return 0; ?
|
|
Back to top |
|
|
Anden100 Grandmaster Cheater Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Sun Nov 02, 2008 7:39 am Post subject: |
|
|
Modified version of 4ng3licDew's getpixel bypass, should work:
Code: | HINSTANCE hgInst; // Instance of GDI32 DLL
DWORD gpDLLFunc;
// Load gdi32 DLL
hgInst = LoadLibrary("user32.dll");
gpDLLFunc = NULL;
if (hgInst != NULL) {
// Get function pointer of GetPixel
gpDLLFunc = (DWORD)GetProcAddress(hgInst, "SetCursorPos");
if (gpDLLFunc != NULL) gpDLLFunc += 5;
}
__declspec(naked) BOOL WINAPI SCP(int x, int y)
{
__asm
{
mov edi, edi
push ebp
mov ebp, esp
jmp dword ptr ds:[gpDLLFunc]
}
} |
(dont look at the comments, they arent right, since they are written for GetPixel bypass...[/code]
|
|
Back to top |
|
|
Snootae Grandmaster Cheater Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Sun Nov 02, 2008 7:45 am Post subject: |
|
|
Quote: | I modified it, check it now please, at my friends comp, no compiler... |
what?
_________________
|
|
Back to top |
|
|
Anden100 Grandmaster Cheater Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Sun Nov 02, 2008 7:47 am Post subject: |
|
|
Snootae wrote: | Quote: | I modified it, check it now please, at my friends comp, no compiler... |
what? |
I edited my post from before..., try this: made it from 4ng3licDew's GetPixel bypass...
Code: | HINSTANCE hgInst; // Instance of GDI32 DLL
DWORD gpDLLFunc;
// Load gdi32 DLL
hgInst = LoadLibrary("user32.dll");
gpDLLFunc = NULL;
if (hgInst != NULL) {
// Get function pointer of GetPixel
gpDLLFunc = (DWORD)GetProcAddress(hgInst, "SetCursorPos");
if (gpDLLFunc != NULL) gpDLLFunc += 5;
}
__declspec(naked) BOOL WINAPI SCP( int x, int y)
{
__asm
{
mov edi, edi
push ebp
mov ebp, esp
jmp dword ptr ds:[gpDLLFunc]
}
} |
|
|
Back to top |
|
|
andonrui Cheater Reputation: 0
Joined: 22 Apr 2008 Posts: 33
|
Posted: Tue Nov 04, 2008 3:35 am Post subject: |
|
|
Hi,
i need to export the functions so i need to add this?
exports SetCursorPos;
begin
end.
|
|
Back to top |
|
|
Snootae Grandmaster Cheater Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Tue Nov 04, 2008 6:31 am Post subject: |
|
|
Quote: | I edited my post from before..., try this: made it from 4ng3licDew's GetPixel bypass... |
1. I dont need it
2. His way is stupid
3. The way I posted works
_________________
|
|
Back to top |
|
|
andonrui Cheater Reputation: 0
Joined: 22 Apr 2008 Posts: 33
|
Posted: Thu Nov 06, 2008 10:31 am Post subject: |
|
|
how do i export before compiling the dll?
thanks
|
|
Back to top |
|
|
Nalik How do I cheat? Reputation: 0
Joined: 09 Oct 2019 Posts: 6
|
Posted: Wed Oct 09, 2019 4:38 am Post subject: |
|
|
Unfortunately, this stopped working in the latest Windows 10 update. The program crashes.
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
|
Back to top |
|
|
|