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 with base address and changing offset

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Fri Apr 05, 2013 6:19 pm    Post subject: Help with base address and changing offset Reply with quote

i tried to find some static addresses in starcraft broodwar, im familiar using the pointer scan method (its easier?). so i went and found the address for minerals and pointer scanned it, i got exactly 42 base addresses with only one offset each that point to it. i restarted game and rescanned the list for the new address... 0 results. so i pointer scanned the new address again and saved it into a new list that again resulted in 42 addresses with one offset each. when i compared the two lists, i saw that all 42 base addresses were EXACTLY the same, but the offset changed, any ideas on how to find the static address?


lists.JPG
 Description:
min1 was the first list and min2 was the second list
 Filesize:  105.77 KB
 Viewed:  12997 Time(s)

lists.JPG


Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Fri Apr 05, 2013 7:16 pm    Post subject: Reply with quote

I don't know how the pointer scanner feature in ce works but broodwar is a very old game and possibly easy to hack. Why can't you hack it normally through code injection instead of using pointers ?.

Simply put a bp on minerals address and debug it. I don't think it would be hard to differentiate mineral types (probably id stored in registers) or it might be each mineral type is accessed by different code location which makes it way easier.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Fri Apr 05, 2013 7:35 pm    Post subject: Reply with quote

I'm very new to this stuff, I saw a couple videos of code injection but I never actually understood it, or wrote a program matter fact. And I'm clueless on the debugging part.
Back to top
View user's profile Send private message
iroku
Advanced Cheater
Reputation: 0

Joined: 18 Oct 2012
Posts: 54

PostPosted: Fri Apr 05, 2013 8:12 pm    Post subject: Reply with quote

Smile

1: find the adress you want
2: right mouse click > find what acesses this adress
3: a window should pop out run the game a bit untill something shows up(an assembly line like mov [eax],[edi] or sum
4: click on more info and maybe take a printscreen of that
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Fri Apr 05, 2013 9:22 pm    Post subject: Reply with quote

assuming that "find what writes to this address" finds what writes to an address, wouldn't it also show up in the access too? whats the difference between the two?
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Fri Apr 05, 2013 9:27 pm    Post subject: Reply with quote

vng21092 wrote:
assuming that "find what writes to this address" finds what writes to an address, wouldn't it also show up in the access too? whats the difference between the two?



-"find what writes to this address" gets you ONLY the instructions that modified the address contents

-"find what accesses this address" get you the instruction that READS from and WRITES to the address
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sat Apr 06, 2013 7:46 am    Post subject: Reply with quote

So when should I know when to use which?
Back to top
View user's profile Send private message
iroku
Advanced Cheater
Reputation: 0

Joined: 18 Oct 2012
Posts: 54

PostPosted: Sun Apr 07, 2013 11:57 am    Post subject: Reply with quote

vng21092 wrote:
So when should I know when to use which?


It depends on what you are after. A lot of ways to cheat i guess. In this case you would want to know what writes to the adress

[quote="TsTg"]
vng21092 wrote:


-"find what writes to this address" gets you ONLY the instructions that modified the address contents


-"find what accesses this address" get you the instruction that READS from and WRITES to the address
Back to top
View user's profile Send private message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Sun Apr 07, 2013 3:16 pm    Post subject: Reply with quote

in starcraft you can't find any pointers because there are none, code injection is the way to go, also you could try to find out what the console code showmethemoney does and call that algo to just add the minerals and gas.
_________________
... Fresco
Back to top
View user's profile Send private message
iroku
Advanced Cheater
Reputation: 0

Joined: 18 Oct 2012
Posts: 54

PostPosted: Sun Apr 07, 2013 4:02 pm    Post subject: Reply with quote

not sure if possible. If starcraft doesnt really really use static adresses but take a look at:

h ttp://forum.cheatengine.org/viewtopic.php?p=5467645#5467645

should be helpfull
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Wed Apr 10, 2013 1:51 pm    Post subject: Reply with quote

yea I was suspecting that, thanks guys. Any pointers to some good code injection tutorials?
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