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 


[Help] Need help with offset. (Pointer + offset)

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

Joined: 04 Jan 2010
Posts: 79
Location: Russia, Moscow

PostPosted: Wed Aug 26, 2015 9:17 am    Post subject: [Help] Need help with offset. (Pointer + offset) Reply with quote

So i decided to hack Rampage Knights. AOB method without any success, its impossible.
But after 1 hour and 2 pc i scanned and found finally 1 poniter to HP (health points). (i scanned deep to 7 lvl pointers and got 999millions results (13GB) xD) (before I failed with 5 lvl pointers, cas 0 pointers at the end of rescaning)

So
I know THAT (by structure):
pointer hp + 288 (offset in hex) = lifes
pointer hp + 188 = mana
pointer hp + 160 = money

How can I add adreses in my table list to point on lifes\mana\money based on my pointer Hp?
Or maybe i need to write script, but i don't know, what I must write.

Or this is impossible and i need to.... find UNIQ pointer on EVERY address (mana, lifes, money)? Evil or Very Mad If it so i just don't want to belive in it... Cas 13 GB X 3 + lots of time (fist pointers scan will take about 1200 seconds on i7 4770 wih 4.2, lol. + about 20-30 mins to first rescan) = gonna be so baaad....

Please help Embarassed

P.S. Sry for my English.


I tried something like



bandicam 2015-08-26 18-00-19-403.png
 Description:
 Filesize:  285.45 KB
 Viewed:  10178 Time(s)

bandicam 2015-08-26 18-00-19-403.png



bandicam 2015-08-26 18-00-48-250.png
 Description:
 Filesize:  26.86 KB
 Viewed:  10180 Time(s)

bandicam 2015-08-26 18-00-48-250.png



_________________
Sry for my english, Hitler.


Last edited by Bl00dWolf on Wed Aug 26, 2015 6:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
deama1234
Master Cheater
Reputation: 3

Joined: 20 Dec 2014
Posts: 328

PostPosted: Wed Aug 26, 2015 11:37 am    Post subject: Reply with quote

I'd say go make a script.

There are some good tutorials here, could try youtube too.
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 30

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Wed Aug 26, 2015 11:58 am    Post subject: This post has 1 review(s) Reply with quote

If you just want cheats, make scripts.
http://forum.cheatengine.org/viewtopic.php?t=570083

Otherwise if you really want to pull up the stats, then an injection script to copy the base address of the structure can save a ton of time.
http://forum.cheatengine.org/viewtopic.php?t=572465

And if the stats are in the same structure, just copy-paste and change the last offset.

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

Joined: 04 Jan 2010
Posts: 79
Location: Russia, Moscow

PostPosted: Wed Aug 26, 2015 12:27 pm    Post subject: Reply with quote

Thx, Rydian. I already watched your videos on youtube.
So I'm gonna try ALL your tutorials Very Happy

But, unfortunatly, I have some problem.
Look at this:


Is this is normal? Cas I see this first time... Almost all addresses to one function. My HP, mana, money, enemy hp, coordinates, time... just all xD
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 30

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Wed Aug 26, 2015 12:42 pm    Post subject: Reply with quote

The text tutorials cover far, far more than the videos. The videos were generally made for impatient Terraria people that wouldn't make it through a single sentence without getting distracted by something shiny. I plan to go make a proper video tutorial series (from initial scanning to making a trainer with scripts in it), but that'll take time since I'll have people bugging me if I don't cover all the bases.

Anyways that might be some code that iterates over a bunch of stats for something. What other codes write/read?

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

Joined: 04 Jan 2010
Posts: 79
Location: Russia, Moscow

PostPosted: Wed Aug 26, 2015 1:07 pm    Post subject: Reply with quote

Rydian wrote:
The text tutorials cover far, far more than the videos. The videos were generally made for impatient Terraria people that wouldn't make it through a single sentence without getting distracted by something shiny. I plan to go make a proper video tutorial series (from initial scanning to making a trainer with scripts in it), but that'll take time since I'll have people bugging me if I don't cover all the bases.

Anyways that might be some code that iterates over a bunch of stats for something. What other codes write/read?


Rydian wrote:
The text tutorials cover far, far more than the videos. The videos were generally made for impatient Terraria people that wouldn't make it through a single sentence without getting distracted by something shiny. I plan to go make a proper video tutorial series (from initial scanning to making a trainer with scripts in it), but that'll take time since I'll have people bugging me if I don't cover all the bases.

Anyways that might be some code that iterates over a bunch of stats for something. What other codes write/read?


Okay.
I've read you tutorial http://forum.cheatengine.org/viewtopic.php?t=572465 And I can't get it work, beacause of fact, that I showed on screenshot.

Yep, there 2 other codes. But look, it almost same as first:

Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 30

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Wed Aug 26, 2015 1:21 pm    Post subject: Reply with quote

Does it do that for writes as well when you get hit?
_________________
Back to top
View user's profile Send private message
Bl00dWolf
Advanced Cheater
Reputation: 0

Joined: 04 Jan 2010
Posts: 79
Location: Russia, Moscow

PostPosted: Wed Aug 26, 2015 1:57 pm    Post subject: Reply with quote

Rydian wrote:
Does it do that for writes as well when you get hit?


Nope. For writes (not accesses) it shows only mov [eax+04],edx
For writes\accesses it shows 3, as above.

so.. I tried Injection - it's not possible in this game.

Than I tried AOB To Data
FOUR SIGNATURES FROM 2 PC.
And i failed again.
It's finding something, like base address, but it isn't (just same value and wrong address ='( ). Look:


Singature
Code:


FROM FIRST PC
02 00 00 05 3E 00 00 00 02 00 00 05 5A 00 00 00 01 00 00 01 00 00 00 00 40 00 00 08 50 3D F7 09 02 00 00 05 00 00 00 00 08 00 00 01 01 00 00 00 08 00 00 01 00 00 00 00 02 00 00 05 00 00 00 00 02 00 00 05 64 00 00 00 02 00 00 05 04 00 00 00 02 00 00 05 00 00 01 00 02 00 00 05 00 00 01 00 08 00 00 01 00 00 00 00 10 00 00 08 18 A0 27 07 01 00 00 01 00 00 00 00 01 00 00 01 00 00 00 00 01 00 00 01 00 00 00 00 01 00 00 01 00 00 00 00 02 00 00 05 00 00 00 00 02 00 00 05 00 00 00 00 20 00 00 0A 68 A9 3C 0B

FROM FIRST PC
02 00 00 05 4F 00 00 00 02 00 00 05 5A 00 00 00 01 00 00 01 00 00 00 00 40 00 00 08 50 3D D5 09 02 00 00 05 00 00 00 00 08 00 00 01 01 00 00 00 08 00 00 01 00 00 00 00 02 00 00 05 00 00 00 00 02 00 00 05 64 00 00 00 02 00 00 05 04 00 00 00 02 00 00 05 00 00 01 00 02 00 00 05 00 00 01 00 08 00 00 01 00 00 00 00 10 00 00 08 18 A0 16 07 01 00 00 01 00 00 00 00 01 00 00 01 00 00 00 00 01 00 00 01 00 00 00 00 40 00 00 08 20 6C D9 0A 02 00 00 05 00 00 00 00 02 00 00 05 00 00 00 00 20 00 00 0A 28 A2 03 0B

FROM SECOND PC (YEP, FAILED, IT IS SHORT, BUT OKAY)
02 00 00 05 45 00 00 00 02 00 00 05 50 00 00 00 01 00 00 01 00 00 00 00 40 00 00 08 10 43 0C 12 02 00 00 05 00 00 00 00 08 00 00 01 01 00 00 00 08 00 00 01 00 00 00 00 02 00 00 05 00 00 00 00 02 00 00 05 64 00 00 00 02 00 00 05 04 00 00 00 02 00 00 05 00 00 01 00 02 00 00 05 00 00 01 00 08 00 00 01 00 00 00 00 10 00 00 08 18 D3 6F 07

FROM SECOND PC
02 00 00 05 47 00 00 00 02 00 00 05 50 00 00 00 01 00 00 01 00 00 00 00 40 00 00 08 48 7A 39 28 02 00 00 05 00 00 00 00 08 00 00 01 01 00 00 00 08 00 00 01 00 00 00 00 02 00 00 05 00 00 00 00 02 00 00 05 64 00 00 00 02 00 00 05 04 00 00 00 02 00 00 05 00 00 01 00 02 00 00 05 00 00 01 00 08 00 00 01 00 00 00 00 10 00 00 08 08 CB 95 07 01 00 00 01 00 00 00 00 01 00 00 01 00 00 00 00 01 00 00 01 00 00 00 00 40 00 00 08 F0 43 94 28 02 00 00 05 00 00 00 00 02 00 00 05 00 00 00 00 20 00 00 0A F0 06 7B 28

AFTER COMPARSION
02 00 00 05 ?? 00 00 00 02 00 00 05 5? 00 00 00 01 00 00 01 00 00 00 00 40 00 00 08 ?? ?? ?? ?? 02 00 00 05 00 00 00 00 08 00 00 01 01 00 00 00 08 00 00 01 00 00 00 00 02 00 00 05 00 00 00 00 02 00 00 05 64 00 00 00 02 00 00 05 04 00 00 00 02 00 00 05 00 00 01 00 02 00 00 05 00 00 01 00 08 00 00 01 00 00 00 00 10 00 00 08 ?? ?? ?? 07 01 00 00 01 00 00 00 00 01 00 00 01 00 00 00 00 01 00 00 01 00 00 00 00 ?? 00 00 ?? ?? ?? ?? ?? 02 00 00 05 00 00 00 00 02 00 00 05 00 00 00 00 20 00 00 0A


I just want ot say: what the hell with this game? dislike Or what the hell with my hands? xD

Rydian, your tutorials awesome by the way. Thx!

Finally:


Tested this on pc, notebook. All is okay.. at least for now.

_________________
Sry for my english, Hitler.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 123

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Aug 26, 2015 7:55 pm    Post subject: This post has 1 review(s) Reply with quote

Did I just misunderstand the original post?

You said you found a working pointer for Health.
From that health address, you know where all the other addresses are.

Just add hex 160 to the value already at the top of the offset list.
The pointer should now point to your money address.
Repeat for the other addresses.

You removed all the offsets so I can't give you the exact value.
However, if the value at the top was '100', change it to '260' instead.
Back to top
View user's profile Send private message
Bl00dWolf
Advanced Cheater
Reputation: 0

Joined: 04 Jan 2010
Posts: 79
Location: Russia, Moscow

PostPosted: Wed Aug 26, 2015 8:09 pm    Post subject: Reply with quote

Zanzer wrote:
Did I just misunderstand the original post?

You said you found a working pointer for Health.
From that health address, you know where all the other addresses are.

Just add hex 160 to the value already at the top of the offset list.
The pointer should now point to your money address.
Repeat for the other addresses.

You removed all the offsets so I can't give you the exact value.
However, if the value at the top was '100', change it to '260' instead.


Nope, you're right, but I have changed my mind. All is very simple:
After 10-15 rescans from pc to pc (2 of them) i have only 1 lvl 7 pointer. And I think it can just... point to wrong address after some time for some reasons.

So I decided to learn more about gamehacking and try
Injection Copies by Rydian - i already used this methed before. No luck with my current game. It's impossible.

AOB To Data by Rydian - used before, but not like in dat tutorial Very Happy
And you know...
Finaly I think, I have found good signature
Code:

02 00 00 05 ?? 00 00 00 02 00 00 05 5? 00 00 00 01 00 00 01 00 00 00 00 40 00 00 08 ?? ?? ?? ?? 02 00 00 05 0? 00 00 00 08 00 00 01 0? 00 00 00 08 00 00 01 00 00 00 00 02 00 00 05 00 00 00 00 02 00 00 05 64 00 00 00 02 00 00 05 0? 00 00 00 02 00 00 05 00 00 01 00 02 00 00 05 00 00 01 00 08 00 00 01 00 00 00 00 10 00 00 08


Ep, not big, like previous, but more effective. 100% good resulst for now. So no problems.

And I've saved my old table with pointer. Gonna try your advice, thanks!

Zanzer wrote:

Just add hex 160 to the value already at the top of the offset list.
The pointer should now point to your money address.
Repeat for the other addresses.


Ahahaha, oh god..... It is SOOOO simple. EXACLY WHAT i MEAN in my first post. Lol. Thx for help
I'll rep you +, like Rydian, just need to wait "cooldown" time Very Happy

All is perfect now: Very Happy


But can anyone tell me ONE thing:
For my pointer
Code:

pointer hp - 4 = base
pointer hp + 288 = lives
pointer hp + 188 = mana 
pointer hp + 160 = money


For my script
Code:

base + 4 = hp (as for pointer, ok)
base + 164 = money (why 160+4?)
base + 18c = mana (why 188+4?)
base + 28c = lives (same... why +4? xD)


Why for my script offset not just +4, as for pointer, why +8?

_________________
Sry for my english, Hitler.
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 Aug 27, 2015 8:17 am    Post subject: Reply with quote

well, pointer scan use any possible route to find pointer.While your script used intruction that write/accesed the address... -_-
that's the difference

but still, your pointer will have the same length from the others -_-
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 123

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Aug 27, 2015 10:50 am    Post subject: Reply with quote

The numbers you posted look like they match each other.

Code:
pointer hp + 160 = money

Is the same as saying
Code:
(pointer hp - 4) + 164 = money


Since
Code:
(pointer - 4) = base

Your pointer basically says the same as your script
Code:
base + 164 = money
Back to top
View user's profile Send private message
Bl00dWolf
Advanced Cheater
Reputation: 0

Joined: 04 Jan 2010
Posts: 79
Location: Russia, Moscow

PostPosted: Thu Aug 27, 2015 10:57 am    Post subject: Reply with quote

Zanzer wrote:
The numbers you posted look like they match each other.

Code:
pointer hp + 160 = money

Is the same as saying
Code:
(pointer hp - 4) + 164 = money


Since
Code:
(pointer - 4) = base

Your pointer basically says the same as your script
Code:
base + 164 = money


Youre daaaaaaaamn right! I totally forgot, that for my pointers base address wasn't base.. It ws address of HP. Lol. Embarassed

Thx you!

_________________
Sry for my english, Hitler.
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