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 


scan methond... need some help :D

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
itapi
How do I cheat?
Reputation: 0

Joined: 15 Feb 2015
Posts: 9

PostPosted: Tue Feb 24, 2015 1:47 pm    Post subject: scan methond... need some help :D Reply with quote

hi everybody!
Very Happy

so i play a single-player game(the org) and in this game there is a monster which respawn every 5 mins upon getting killed.

i just wanted to make somehing like a countdown clock to know when it respawned...i mean to read the seconds from the process

so i thought somthing lke this:to read the monster heatlth-and when it's get 0-to start the timer the problem is that i can't find actually the pointer... i'll explain later but than i though that if it respawns every 5 mins why not to read direcrtly the clock adress? and not to start the timer everytime by myself.. so i tried killing the monster than scanning for decreased value every sec(cuz the second value decrease every sec if it's a timer i guess Very Happy)
but didnt really work... b.t.w i scanned 4bytes...

can anyone help me please? do u have any other ideas? Razz
Back to top
View user's profile Send private message
itapi
How do I cheat?
Reputation: 0

Joined: 15 Feb 2015
Posts: 9

PostPosted: Wed Feb 25, 2015 12:51 pm    Post subject: Reply with quote

hey? anybody?
Back to top
View user's profile Send private message
SteveAndrew
Master Cheater
Reputation: 30

Joined: 02 Sep 2012
Posts: 323

PostPosted: Wed Feb 25, 2015 2:15 pm    Post subject: Reply with quote

It's likely that the timer isn't actually a timer at all. What I mean by that is there probably isn't a variable that's constantly being updated and increasing as time goes forward (if it counts up) or decreasing as time goes forward (if it counts down).

Imagine this scenario:
Instead each time your monster gets killed, it grabs the current time then adds 5 minutes to it and stores that as the "next monster spawn time".

This time and next spawn time could be stored in microseconds, milliseconds, seconds, etc...

You don't really know how its stored until you find it, but you take some educated guesses which help you to find it.

So you're saying you don't actually want to shorten it, but just make a way for it to be visible to you?

What game is this again? 'the-org'? Be a little bit more specific and perhaps post it under single player cheat requests and someone should help you! Very Happy

_________________
Back to top
View user's profile Send private message
itapi
How do I cheat?
Reputation: 0

Joined: 15 Feb 2015
Posts: 9

PostPosted: Wed Feb 25, 2015 5:12 pm    Post subject: Reply with quote

SteveAndrew wrote:
It's likely that the timer isn't actually a timer at all. What I mean by that is there probably isn't a variable that's constantly being updated and increasing as time goes forward (if it counts up) or decreasing as time goes forward (if it counts down).

Imagine this scenario:
Instead each time your monster gets killed, it grabs the current time then adds 5 minutes to it and stores that as the "next monster spawn time".

This time and next spawn time could be stored in microseconds, milliseconds, seconds, etc...

You don't really know how its stored until you find it, but you take some educated guesses which help you to find it.

So you're saying you don't actually want to shorten it, but just make a way for it to be visible to you?

What game is this again? 'the-org'? Be a little bit more specific and perhaps post it under single player cheat requests and someone should help you! Very Happy


yeah bro.. i just want to read the countdown timer Very Happy

i posted it there once but no really answerd.. Sad

yeah i guess its a timer and its not a variable keep increasing...

so what do u suggest to do? Shocked
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Wed Feb 25, 2015 6:05 pm    Post subject: Reply with quote

Do you know the instruction that accesses the monster health address?
You could just read the address value and when the value isnt 0, the monster is alive.

_________________
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Feb 25, 2015 7:57 pm    Post subject: Reply with quote

As SteveAndrew suggested,

Do an initial search for unknown value. I would use type float.
After the monster spawns and is killed, rescan for increased value.
Repeat only after you have killed the monster.
Yes, that means you will be waiting awhile between scans.

An alternative is to do an unknown initial value, still of type float.
Go in game for 1 second, then rescan for increased value.
Repeat that over and over until you can find the elapsed game time variable.
Find out what code accesses this value and search for something that is comparing it.
That value it compares against could very well be the "Spawn At X Time" value SteveAndrew mentions.
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