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 


Method for the pointer address to not update automatically?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
DarkDolphin
Newbie cheater
Reputation: 1

Joined: 30 Jan 2014
Posts: 22

PostPosted: Thu Sep 10, 2015 12:33 am    Post subject: Method for the pointer address to not update automatically? Reply with quote

Hello,

I've been using CE on a game that is very difficult to hack. In order for the
code to point to the HP address reliably, I had to use AoB scan to find a
base address, and from that address, it goes into a 6-level pointer.

Example AoB Code:
Code:

[ENABLE]
aobscan(playerBase,10 89 F0 00 32 00 83 25)
label(_playerBase)
registersymbol(_playerBase)
label(_healthPointer)
registersymbol(_healthPointer)


playerBase:
_playerBase:

playerBase+4:
_healthPointer:



[DISABLE]
unregistersymbol(_playerBase)
unregistersymbol(_healthPointer)



Example Pointer Address:
Code:

Description
[Current Health Address]

Type
 [Double]

< [ 6     ] > address7
< [ 32   ] > address6
< [ C8   ] > address5
< [ 10   ] > address4
< [ B4   ] > address3
< [ 10C ] > address2
[ _healthPointer ] -> address1


That pointer always points to the correct address right after entering a new zone. And as long as I remain in that zone, the address does not
change. However, while I'm playing in that zone, the pointer may update
into another address.

Example:
I enter a new zone and the pointer points to 1216D350, which is the correct health address as long as I stay in that zone, the health address remains as 1216D350.

The pointer address, however, constantly updates the address it points to. And while being in that zone, it updates into an incorrect address, ex. 132E8A30. I do not want this to happen.

I do not know if there is a better pointer (I doubt it), but my HDD ran out
of space to do a more complicated pointer scan.

I wonder if there is a way to:

1. Press any key for a pointer to update the address it points to manually.
So I can stop the pointer from refreshing and pointing to an incorrect address.

2. Write a script so the found address from the pointer is kept somewhere
and not changed, until I decide to allow it to refresh.

3. Anything else you may suggest.

Thanks in advance!


Last edited by DarkDolphin on Thu Sep 10, 2015 3:28 am; edited 3 times in total
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: Thu Sep 10, 2015 1:11 am    Post subject: Reply with quote

I don't understand much of what you're trying to do,
but from my understanding it has the same problem as mine in the past,
you can use my script as a reference
http://forum.cheatengine.org/download.php?id=112488
or you can search more better script created by others senpai. -_-

_________________
...
Back to top
View user's profile Send private message
DarkDolphin
Newbie cheater
Reputation: 1

Joined: 30 Jan 2014
Posts: 22

PostPosted: Thu Sep 10, 2015 3:29 am    Post subject: Reply with quote

Thanks for the reply Cake-san. I added examples to my first post for clarification. I'll look and see what your code does Smile

Last edited by DarkDolphin on Thu Sep 10, 2015 3:29 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Thu Sep 10, 2015 3:29 am    Post subject: Reply with quote

try a different pointer
i know you said you can't do a deeper scan, but it's impossible the pointerscan only returned one address.
Use the current list and set it to automatically rescan till stopped. Then go in the game and play a bit (stay in the zone) it should eventually leave the results that don't change

one if the reazons a pointer can change during the game is that you found the pointer of the last thing you looked at (which is often yourself, but not always)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
DarkDolphin
Newbie cheater
Reputation: 1

Joined: 30 Jan 2014
Posts: 22

PostPosted: Fri Sep 11, 2015 10:14 am    Post subject: Reply with quote

Thanks Dark Byte,

Following your suggestion, I'm redoing the pointer scan. With "Only find paths with a static address" checked, it doesn't take that much time and HDD space.

I started with 7 max level and 1024 structure. I got it down to around 12 addresses, but none of them are green. All of the 12 share the same beginning address though. After playing in a zone for a while and re-scanned, the addresses disappeared. I also tried using the previous pointer list (probably 7 max level - 512 structure and without "Only find paths...", still no green/reliable results)

Now I'm leaving my computer re-scanning an 8 max level with 1024 structure. Gotta wait maybe 12 more hours for this round. Will see if I can find anything!
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Fri Sep 11, 2015 11:36 am    Post subject: Reply with quote

What about finding code that reads/writes something in the target structure itself and hooking that to copy the base address out?

http://forum.cheatengine.org/viewtopic.php?t=572465

Method 2 there.

_________________
Back to top
View user's profile Send private message
DarkDolphin
Newbie cheater
Reputation: 1

Joined: 30 Jan 2014
Posts: 22

PostPosted: Fri Sep 11, 2015 8:12 pm    Post subject: Reply with quote

Thanks, I just realized you updated that awesome guide that taught me how to do AoB scan years ago.

One image in that section has no link to a larger image, and I can't see the code: (42k19i26n/image.png). Can you update that one please?

I'll try using this method once the pointer-scan finishes!
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Sat Sep 12, 2015 1:23 am    Post subject: Reply with quote

http://s9.postimg.org/42k19i26n/image.png

Try that direct link and see if it redirects?

Might be your ad blocker, they might sometimes randomly block images that contain certain strings in the URL.

_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sat Sep 12, 2015 2:57 am    Post subject: Reply with quote

I just noticed you did a structsize of 512 and 1024.
The reason it defaults to 2048 is because lower tends to be very rare

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
DarkDolphin
Newbie cheater
Reputation: 1

Joined: 30 Jan 2014
Posts: 22

PostPosted: Sat Sep 12, 2015 3:16 am    Post subject: Reply with quote

@Rydian:

Nope it still shows up as a small image.

Every other image loads up properly. Even this image: postimg.org/image/m6qrmrx3z/ on the thread it showed a thumbnail version, but I could click on it to get to the enlarged one.

I tried on different computers with Chrome / Firefox / IE, still got the thumbnail version. Can anyone else confirm this please?

@Dark Byte:

Thanks for telling me that. We probably need a very good system and a lot of space to do an 7-8 max level pointer scan with 2048 structure.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sat Sep 12, 2015 3:43 am    Post subject: Reply with quote

is this a browser game ? If so, yeah, pointers won't work (Your internet speed and history will mess it up)

Best go with an aobscan then

(If it wasn't an browser game I could have given you a beta of 6.5 and then let you send me 2 or more snapshots which I could then run loose on a bunch of pretty fast systems)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
DarkDolphin
Newbie cheater
Reputation: 1

Joined: 30 Jan 2014
Posts: 22

PostPosted: Sat Sep 12, 2015 4:46 am    Post subject: Reply with quote

Important Update!!

I finally got the HP address nailed down using 8 max level with 1024 structure!! Got around 100 working pointers. None of them are green though.

Using AoB scan on the very first address (as shown on my first thread) and then the pointer jumps 8 more offsets, the HP address is pointed to accurately in all situations. Even tested on an earlier version of the game and it still works. Thanks a lot everyone. You guys really helped me improve my hacking skills. I appreciate it Very Happy


@Dark Byte:
It's not a Flash game, just a very well protected game hehe. AoB was the first method I used, but none of the nearby aobs remained constant.

All the other stat addresses are not sharing the same structure as the HP. I'll try using Rydian's method to track them down instead of waiting 2 more days for another 8 level scan XD
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sat Sep 12, 2015 4:57 am    Post subject: Reply with quote

Just wondering what you mean with "none of them are green" do you expect the pointerscan to show them as green? (It won't) or is the base address without a modulename?

As for aob's , jump and call distances will differ, so use wildcards for those byte

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
DarkDolphin
Newbie cheater
Reputation: 1

Joined: 30 Jan 2014
Posts: 22

PostPosted: Sat Sep 12, 2015 5:56 am    Post subject: Reply with quote

Ah, maybe my memory jumbled up with something else... about the green stuff on the pointers.


As for the AoB method right on the hp address (since there is no base address), even when I used wildcards (?? ??) on some portions, it was impossible to find a reliable array. I tried going up and down so many lines (even until the code reaches the 00 00 00 00 portion), but still no hope. I really like aob and always used that first when I hacked other games... I believe I have done everything possible for aob and it does not work on this game.
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