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 map direction arrow in a map
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Michaelc
Cheater
Reputation: 0

Joined: 15 May 2016
Posts: 47

PostPosted: Sun May 15, 2016 12:31 pm    Post subject: Game map direction arrow in a map Reply with quote

My game show my direction in the world with an arrow that points in a direction. I tried unknown initial values and by turning either clockwise or counterclock-wise along with increased value and decreased value, it didn't find the direction variable for me.

What do I do now?

Thx
(I don't know if it's ok to have 2 posts, sorry if i made a mistake)
Back to top
View user's profile Send private message
JohannesJoestar
Advanced Cheater
Reputation: 0

Joined: 01 Nov 2015
Posts: 79

PostPosted: Sun May 15, 2016 12:39 pm    Post subject: Re: Game map direction arrow in a map Reply with quote

Michaelc wrote:
My game show my direction in the world with an arrow that points in a direction. I tried unknown initial values and by turning either clockwise or counterclock-wise along with increased value and decreased value, it didn't find the direction variable for me.

What do I do now?

Thx
(I don't know if it's ok to have 2 posts, sorry if i made a mistake)


Try doing changed/unchanged value rather than increased/decreased.

They don't have to increase or decrease when you make a change. For example

Direction 1 could be represented with 10
and Direction 2 could be represented with 99.
Back to top
View user's profile Send private message
Michaelc
Cheater
Reputation: 0

Joined: 15 May 2016
Posts: 47

PostPosted: Sun May 15, 2016 12:48 pm    Post subject: Reply with quote

i ended up with 219 results O_O
what do i do? I ll try again in the mean time
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun May 15, 2016 1:28 pm    Post subject: Reply with quote

219 results is not a lot. Also, increased/decreased may or may not work, depending on what you're doing and how the game is handling that information.

Whenever batch-editing values, it is sometimes better to freeze the values that you have in lieu of changing them to something else.
Back to top
View user's profile Send private message
Michaelc
Cheater
Reputation: 0

Joined: 15 May 2016
Posts: 47

PostPosted: Mon May 16, 2016 11:51 am    Post subject: Reply with quote

how do i scan for the direction of my character is point at?
would it use a float, double, or something else to store that value?

thx
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon May 16, 2016 1:25 pm    Post subject: Reply with quote

It really depends on the game and how that data is handled. If it's an old, 2D game, I might say byte or 2 byte data type. If it's a newer, 3D game, probably float or double. If you're having difficulties, perhaps try searching for changed/unchanged value. I wouldn't recommend using unchanged value unless you are able to find a reliable constant or you can do something like this:

1. rotate your character while in the game.
2. enter the pause menu or some other screen where your character cannot move at all.
3. scan for changed value.
4. wait, navigate the menus, focus your mouse on another process etc. then scan for unchanged value.
5. Repeat step 4, then start back at step 1.

You're probably going to have a lot of values that constantly change, no matter what, so you can remove those from your list by observing which ones are changing, even though they shouldn't be.

If you are somehow able to find a way to keep the rotation value constant without minor fluctuations while you are in-game (e.g. attaching your character to a ladder, sitting/laying on/in something, standing still at a counter or some other engagement with AI etc.), then that might help a great deal with narrowing in on the value that you're looking for. Just standing still in the game will probably not work, as the value may fluctuate a tiny amount, without you even realizing it.

Also, if the game has online components and these values are being handled on the sever (for whatever reason), then you may be out of luck.
Back to top
View user's profile Send private message
Michaelc
Cheater
Reputation: 0

Joined: 15 May 2016
Posts: 47

PostPosted: Mon May 16, 2016 6:03 pm    Post subject: Reply with quote

ok i found about this, I know how to do this now!

Next: How do make Cheat engine always know these addresses?

thx!
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon May 16, 2016 7:27 pm    Post subject: Reply with quote

Complete the CE tutorial and learn about pointers, the pointer scanner and/or injection.
Back to top
View user's profile Send private message
Michaelc
Cheater
Reputation: 0

Joined: 15 May 2016
Posts: 47

PostPosted: Mon May 16, 2016 7:41 pm    Post subject: Reply with quote

got cha

is there a way to see something called "module" in the ram?

I was told the data i want is just at module+offset
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon May 16, 2016 8:00 pm    Post subject: Reply with quote

Not all targets will have module addressing available. If CE can use it, it will. Make sure you have 'show module addresses' checked in the memory viewer.

If you find a static address, it may be written in your cheat table as game.exe+offset when you double-click it.

Don't rely on that, though. Chances are, especially if you're dealing with a newer game or one of the many smaller games on steam etc., then you're going to have to do more work.
Back to top
View user's profile Send private message
Michaelc
Cheater
Reputation: 0

Joined: 15 May 2016
Posts: 47

PostPosted: Mon May 16, 2016 8:08 pm    Post subject: Reply with quote

So for my game I did this, first, search for the address the values i want and i found them alright


and then I found what access this address


there is only one that does

and then I found that address that's potential pointer to me, as suggusted by the window



So i searched that address, hoping to find the next pointer or something,
but it always returns nothing!

it's all here in the picture



how can this be? The tutorial would have shown that this search returned some useful stuff.



Screenshot (6).png
 Description:
 Filesize:  4.26 KB
 Viewed:  7918 Time(s)

Screenshot (6).png


Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon May 16, 2016 8:20 pm    Post subject: Reply with quote

Forget about manual pointer work. Use the pointer scanner, if you must. Better yet, learn how to use injection. That is my advice.
Back to top
View user's profile Send private message
Cake-san
Grandmaster Cheater
Reputation: 8

Joined: 18 Dec 2014
Posts: 541
Location: Semenanjung

PostPosted: Mon May 16, 2016 8:35 pm    Post subject: Reply with quote

Sometimes,on newer game,you have to use scan between option to scan the pointer,like this:
let say the instruction is fstp dword ptr [esi+04]
ESI = 05E04964

Select Scan Type: Value Between
Then,just input on the scan bar something like this:05E04900 and 05E04960
Start scanning.
If the scan doesn't produce any result, decrease the first value like this: 05E04700 and 05E04960.

You can also try to backtrace that instruction but it required some knowledge of asm. Rolling Eyes

_________________
...
Back to top
View user's profile Send private message
Michaelc
Cheater
Reputation: 0

Joined: 15 May 2016
Posts: 47

PostPosted: Mon May 16, 2016 8:37 pm    Post subject: Reply with quote

I have encountered layers of layers of pointers, hundreds of them! Yes I know what you mean.

What I don't get is how to compare searches. I have a .ptr but when I rescan the game after restarting them, the result is always 0.

Where could be my mistake?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon May 16, 2016 8:48 pm    Post subject: Reply with quote

There are many variables to consider. Without knowing more, it's difficult to say. It could be something that you're doing wrong or not at all. It could have something to do with the target itself.

If you're insistent on using the pointer scanner, watch videos on youtube and/or follow tutorials on this forum to show you how to do it properly. If you're still not getting results, provide all of the information you can regarding the target and the steps that you've taken, and post your question(s) for help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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