| View previous topic :: View next topic |
| Author |
Message |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Sun Jun 15, 2008 9:18 am Post subject: [C++]setCursorPos |
|
|
Does it need to be bypassed? if im using windowed mode, i'll do like...
setCursorPos(xofdxwnd, yofdxwnd); _________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
b6ooy Grandmaster Cheater
Reputation: 0
Joined: 21 Sep 2006 Posts: 653
|
Posted: Sun Jun 15, 2008 9:21 am Post subject: |
|
|
| its not hooked by the gg . |
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Sun Jun 15, 2008 9:27 am Post subject: |
|
|
| b6ooy wrote: | | its not hooked by the gg . |
Uhhh what? _________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sun Jun 15, 2008 9:38 am Post subject: |
|
|
I coulda swore SetCursorPos was hooked by GameGuard...
Anyways, if it is; to bypass it, its the same exact method as PostMessageA, only difference is that your loading SetCursorPos's address using GetProcAddress instead of PostMessageA
Edit
Actually it makes sense that it woudn't be hooked... How would GameGuard check if your setting the position of the mouse on a certain point on there game when there is only 2 parameters... X and Y.. no information about the Window at all...
btw its SetCursorPos not setCursorPos.
C++ is Case Sensitive _________________
Last edited by lurc on Sun Jun 15, 2008 9:41 am; edited 1 time in total |
|
| Back to top |
|
 |
b6ooy Grandmaster Cheater
Reputation: 0
Joined: 21 Sep 2006 Posts: 653
|
Posted: Sun Jun 15, 2008 9:41 am Post subject: |
|
|
| lurc wrote: | I coulda swore SetCursorPos was hooked by GameGuard...
Anyways, if it is; to bypass it, its the same exact method as PostMessageA, only difference is that your loading SetCursorPos's address using GetProcAddress instead of PostMessageA
Edit
Actually it makes sense that it woudn't be hooked... How would GameGuard check if your setting the position of the mouse on a certain point on there game when there is only 2 parameters... X and Y.. no information about the Window at all... |
not hooked I am using it and the gameguard is rev 1203 |
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Sun Jun 15, 2008 10:45 am Post subject: |
|
|
I was also wondering about a % autopotter. like this
if(hp = 40%){
sendKey(vk_end)
}
if(mp = 20%){
sendKey(vk_home)
} _________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Jun 15, 2008 10:50 am Post subject: |
|
|
Here's what I would do. I would divide the bar into percents of 10. So it would be like: 10, 20, 30, 40, 50, 60, 70, 80, 90, 100. Then I would check if there is a gray pixel at the next 10 percent. So if someone wanted to use a mana pot when they got down to 10%, I would check to see if the 20% was gone. And in the case of 100%, I wouldn't supply 100% anyway, because there's no point  _________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Sun Jun 15, 2008 10:54 am Post subject: |
|
|
How would I bypass getPixel.
And would this work like..
getPixel(X,Y,R,G,B)? _________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
GMZorita Grandmaster Cheater Supreme
Reputation: 0
Joined: 21 Mar 2007 Posts: 1361
|
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Sun Jun 15, 2008 11:43 am Post subject: |
|
|
His example use is in delphi. got one for C++? _________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sun Jun 15, 2008 12:21 pm Post subject: |
|
|
Omg. GetPixel is bypassed the EXACT same way as PostMessageA!
All you have to do is get a Disassembler such as OLLYDBG and throw the dll that contains that export, then check to see if it has the 5 byte prologue
mov edi, edi
push ebp
mov ebp,esp
If it does you can bypass it the EXACT same way as any other User-mode API that contains that prologue, just load up a different address and jump to it.
Next it's GetPixel. Like I said before, C++ is Case Sensitive. Same goes for VK_HOME and VK_END
And GetPixel only has 3 god damn parameters. It's like you havnt looked up any of this and you just want us to spoon feed you constantly.
If you looked GetPixel up you would see that it returns a COLORREF/RGB which is an just a DWORD value. You can get the Red/Blue/Green value from the macro's (located in WinGDI.h)
| Code: | #define GetRValue(rgb) (LOBYTE(rgb))
#define GetGValue(rgb) (LOBYTE(((WORD)(rgb)) >> 8))
#define GetBValue(rgb) (LOBYTE((rgb)>>16)) |
Finally a % Auto-Potter checks certain points where the little grey tick is on MapleStory's window to check if it is indeed that grey value, if it is, pot, else continue checking. _________________
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Sun Jun 15, 2008 3:59 pm Post subject: |
|
|
| SetCursorPos is not bloacked by GameGuard....I could use it fine without PostMessageA bypass or anything like that. |
|
| Back to top |
|
 |
Cx Master Cheater
Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Sun Jun 15, 2008 5:16 pm Post subject: |
|
|
lurc, all of GameGuard's usermode API protection are the same thing... _________________
armed with this small butterfly net
i will face the world alone
& never be lonely. |
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sun Jun 15, 2008 6:06 pm Post subject: |
|
|
| Cx wrote: | | lurc, all of GameGuard's usermode API protection are the same thing... |
I know that. I'm saying EXACT as in the same 5 byte prologue, as in
mov edi, edi
push ebp
mov ebp, esp
I was just pointing out the fact that its EXACT (just changing the address to jump to)
I don't know every single API that is hooked so i dont know if some of them don't have the 5 byte prologue.
I told him to check the 5 byte prologue because if he tries to do the same exact bypass as the ones with the 5 byte prologue as above for every API (that may not have it) he'll get screwed over. _________________
|
|
| Back to top |
|
 |
|