Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Game Mouse Coordinates (Not Windows)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
SLaYaH
Master Cheater
Reputation: 0

Joined: 02 Jul 2006
Posts: 356

PostPosted: Sun Jun 01, 2008 11:00 am    Post subject: Game Mouse Coordinates (Not Windows) Reply with quote

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
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sun Jun 01, 2008 11:04 am    Post subject: Reply with quote

You should be able to find them doing those steps.
Other method may be hooking api to see the coords.
Back to top
View user's profile Send private message
SLaYaH
Master Cheater
Reputation: 0

Joined: 02 Jul 2006
Posts: 356

PostPosted: Sun Jun 01, 2008 7:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon Jun 02, 2008 5:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
SLaYaH
Master Cheater
Reputation: 0

Joined: 02 Jul 2006
Posts: 356

PostPosted: Mon Jun 02, 2008 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Mon Jun 02, 2008 9:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
SLaYaH
Master Cheater
Reputation: 0

Joined: 02 Jul 2006
Posts: 356

PostPosted: Tue Jun 03, 2008 4:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Tue Jun 03, 2008 5:02 am    Post subject: Reply with quote

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
View user's profile Send private message
SLaYaH
Master Cheater
Reputation: 0

Joined: 02 Jul 2006
Posts: 356

PostPosted: Tue Jun 03, 2008 2:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Tue Jun 03, 2008 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
SLaYaH
Master Cheater
Reputation: 0

Joined: 02 Jul 2006
Posts: 356

PostPosted: Wed Jun 04, 2008 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Wed Jun 04, 2008 5:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
SLaYaH
Master Cheater
Reputation: 0

Joined: 02 Jul 2006
Posts: 356

PostPosted: Wed Jun 04, 2008 8:57 pm    Post subject: Reply with quote

Yeah I completely understood that but I'm just wondering if for ALL games is it like that?
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Wed Jun 04, 2008 10:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
SLaYaH
Master Cheater
Reputation: 0

Joined: 02 Jul 2006
Posts: 356

PostPosted: Thu Jun 05, 2008 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites