Posted: Sun Apr 28, 2013 6:56 pm Post subject: make CE follow my actions at minesweeper?
hi.i am trying to find how to check with CE if my mouse is over a mine..so i thought that i have to find a way that CE will checks what address are executed while i am moving inside the game.so if my mouse if over a mine
the address will be '1' or else '0'...(<---thats just an example)
so i will write a c++ program then for mousemove
I think you should first find where are the mines located.
And then find your cursor X,Y
Then do a compare
if cursor==mines_cord then print'theres mine' end _________________
I'm rusty and getting older, help me re-learn lua.
I think you should first find where are the mines located.
And then find your cursor X,Y
Then do a compare
if cursor==mines_cord then print'theres mine' end
It might be tricky since you will likely first have to find the memory location where the distribution and positions of all the mines are stored. Then map that to the GUI which can change in size. There is no guarantee that some memory location will change to indicate a mine just because the mouse is hovering over a mine. Rather those checks should be handled at a mouse click.
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