| View previous topic :: View next topic |
| Author |
Message |
SLaYaH Master Cheater
Reputation: 0
Joined: 02 Jul 2006 Posts: 356
|
Posted: Sun Jun 01, 2008 11:00 am Post subject: Game Mouse Coordinates (Not Windows) |
|
|
Is there a better way to find the mouse coords?
I have tried Lab's method but I couldn't get anything since there were too many addresses which had changes so the list stayed at 208 mill addresses
This is for Grand Chase
Quote:
You can use hotkeys for CE. Doing unknown then has changed, until you get your coords for the mouse pointer in the game itself.
Same as if you was looking for player coords.
1. Unknown scan using a hotkey
2. move mouse
3. Scan has changed using hotkey
4. move mouse
5. Scan has changed.
6 move mouse
7. has changed
* Keep going till you find it.
http://forum.cheatengine.org/viewtopic.php?t=244241
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Sun Jun 01, 2008 11:04 am Post subject: |
|
|
You should be able to find them doing those steps.
Other method may be hooking api to see the coords.
|
|
| Back to top |
|
 |
SLaYaH Master Cheater
Reputation: 0
Joined: 02 Jul 2006 Posts: 356
|
Posted: Sun Jun 01, 2008 7:38 pm Post subject: |
|
|
I took another try at this but I threw it unchanged value turned out a bit better I got left with 94 addresses.
(By the way my game is windowed mode)
When I move my mouse cursor within the game, ALL the values change
BUT when I move my mouse outside (on windows) only half the values.
Can I get some help towards where I should head now?
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Mon Jun 02, 2008 5:42 pm Post subject: |
|
|
All the ones that make a change outside the window of the game are not what you need.
Any that change in the window are what you want to weed through.
|
|
| Back to top |
|
 |
SLaYaH Master Cheater
Reputation: 0
Joined: 02 Jul 2006 Posts: 356
|
Posted: Mon Jun 02, 2008 9:06 pm Post subject: |
|
|
I now have around 23 addresses.
Two questions, since I saved the number of addresses when I reloaded the game a bunch of addresses there stayed static or changed to 0.
Would the mouse address change everytime the game started?
Now I have 18 addresses
Ranging from:00CDD3FD - 00CDD670
the top half of them MIRROR the bottom half
Any suggestions?
Then any suggestions on weeding them out?
Also sometimes 2 addresses go negative.
|
|
| Back to top |
|
 |
HalfPrime Grandmaster Cheater
Reputation: 0
Joined: 12 Mar 2008 Posts: 532 Location: Right there...On your monitor
|
Posted: Mon Jun 02, 2008 9:28 pm Post subject: |
|
|
static vs dynamic would depend on how the game handles it.
Try doing increase/decrease instead of changed/unchanged. and only try finding one coord at a time
_________________
|
|
| Back to top |
|
 |
SLaYaH Master Cheater
Reputation: 0
Joined: 02 Jul 2006 Posts: 356
|
Posted: Tue Jun 03, 2008 4:47 am Post subject: |
|
|
| Bruce Lee wrote: | Some games usually have them in 2byte or float.
Secondly, It's easier with inc/dec.
Up/left = dec
Down/Right = inc |
Wouldn't it be
Down/Left = Dec
Up / Right = Inc?
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Jun 03, 2008 5:02 am Post subject: |
|
|
| No, top is a lower value than bottom. As you go down, the coordinates go up. You could always find the initial mouse coordinates with something like GetCursorPos then hooking DirectInput will get you the relative movement and you can combine for absolute coords.
|
|
| Back to top |
|
 |
SLaYaH Master Cheater
Reputation: 0
Joined: 02 Jul 2006 Posts: 356
|
Posted: Tue Jun 03, 2008 2:45 pm Post subject: |
|
|
| Well I don't know much about using those kinds of methods which is why I'm trying to do it this way.
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Jun 03, 2008 5:57 pm Post subject: |
|
|
It not a method it is how the screen coords work when a game or application is written.
Example rectangle representing screen or window.
x = 200
y = 100
Top left corner = x,0 and y,0
Bottom left corner = x,0 y,100
Top right corner = x,200 y,0
Bottom right corner = x,200 y,100
|
|
| Back to top |
|
 |
SLaYaH Master Cheater
Reputation: 0
Joined: 02 Jul 2006 Posts: 356
|
Posted: Wed Jun 04, 2008 12:04 am Post subject: |
|
|
Do games always use the bottom right of the grid?
Ack it didn't come out right I just noticed but basically an
X / Y grid and it being the bottom right of it
+
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Wed Jun 04, 2008 5:55 pm Post subject: |
|
|
Do you understand what was said?
The coords are anywheres within the screen starting from top left corner with x = 0 & y = 0
As you move down the Y axis increases as you move right the x value increases.
And reverse of this when moving up and left they decrease.
|
|
| Back to top |
|
 |
SLaYaH Master Cheater
Reputation: 0
Joined: 02 Jul 2006 Posts: 356
|
Posted: Wed Jun 04, 2008 8:57 pm Post subject: |
|
|
| Yeah I completely understood that but I'm just wondering if for ALL games is it like that?
|
|
| Back to top |
|
 |
HalfPrime Grandmaster Cheater
Reputation: 0
Joined: 12 Mar 2008 Posts: 532 Location: Right there...On your monitor
|
Posted: Wed Jun 04, 2008 10:11 pm Post subject: |
|
|
Yes. That's what windows uses -> That's what everything else uses. Unless they do some strange proprietary thing, you will see the coords like that.
_________________
|
|
| Back to top |
|
 |
SLaYaH Master Cheater
Reputation: 0
Joined: 02 Jul 2006 Posts: 356
|
Posted: Thu Jun 05, 2008 6:20 pm Post subject: |
|
|
Thank you guys for all your help but I have one small question left ...
I have found the Mouse X / Y address(s)
The problem is I am left with 4 addresses
The numbers are the ending Addresses
Mouse X - 400
Mouse Y - 404
Mouse X - 66C
Mouse Y - 670
The two mouse x and y addresses mirror EXACTLY
Any suggestions on where I should head now?
|
|
| Back to top |
|
 |
|