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 


need help with pointers

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
angelman200
Newbie cheater
Reputation: 0

Joined: 30 Jun 2007
Posts: 13

PostPosted: Wed Aug 20, 2008 4:28 am    Post subject: need help with pointers Reply with quote

i'am trying to hack a old game (KaM TPR) i got stuck

i did succeded hacking it but i got a prob:

when i build a building and want to chage the stuff inside of it i cant find
the first pointer, it gives me 0 address this what it usally gives me:

0040c354 - and ecx,000000ff
0040c35a - edx,[ebp-08]
>>0040c35d - mov [edx+ecx+29],al
0040c361 - eax,00000001
0040c366 - mov esp,ebp
the value of the pointer needed to find this address is probably
0198764C

EAX=00000002 EDX=0198764C ESP=0012FE40
EBX=7FFDD000 ESI=00000000 EBP=0012FE48
ECX=0000000A EDI=80000001 EIP=0040C361


I just dont know what to do... plz i really need help

HELPPP!!!!!!!!!!!!!!!!!!!!!!!!! MMEEEEEE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
what do i need to do!?!?!?!?!?!?!?!? HELPPP!!!!!!!!!!!!11


Last edited by angelman200 on Wed Aug 20, 2008 9:37 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Aug 20, 2008 9:37 am    Post subject: Reply with quote

base value to scan for would be 0198764c
offset=ecx+29=0a+29=33

_________________
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
angelman200
Newbie cheater
Reputation: 0

Joined: 30 Jun 2007
Posts: 13

PostPosted: Wed Aug 20, 2008 9:39 am    Post subject: Reply with quote

Dark Byte wrote:
base value to scan for would be 0198764c
offset=ecx+29=0a+29=33


no shit?

this is not my prob, i'am not an idiot, my prob is:
when i search for 0198764c it gives me 0 address....
i asked what to do so i get the address i need?!?!?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Aug 20, 2008 9:57 am    Post subject: Reply with quote

you could try scanning for 01987640 or even 01987600 (and in worst case 01987000, but I don't recommend going that far) and then apply that changed offset to it

Or you could try the pointerscanner and wait a few days, then restart the game, find the address again, and let it take of the wrong addresses.

Or alternatively go with code injection at 0040c35d (and 0040c361) and in your code do a check to see if it is what you want and then modify it each time it's called. (If possible, find a code that's only accessed when you select an object. E.g a display address. That makes it a lot easier so no need to filter the enemy)


Also, if it's a strategy game (which it looks like) then pointers will not work well. Objects are created on the fly and then placed in an array. The pointer you find is dependent on the order the objects are made and put in the objects array.
Only thing that does work for pointers in a strategy game is finding the address of the currently selected object if the game stores that separately (and doesn't go through the whole array each time to see is 'selected' is 1)

_________________
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
angelman200
Newbie cheater
Reputation: 0

Joined: 30 Jun 2007
Posts: 13

PostPosted: Wed Aug 20, 2008 10:07 am    Post subject: Reply with quote

It is a strategic game, about injection I dont know how to.. (I'am newbie)
you have suggestions for me? I will try what u said at top of your post
but I dont think it will work. I really appricate your help.
and I really want to get it right.

*EDIT:
I tried what you said and it didn't work.
pointer scanner is useless or it takes lots of time finding millions of matches
and then when you try to see if it got the pointer and rescan it shows 0 pointers or it finds 0 pointers in the first place.

i really like to know how to make pointers myself even if it hard.
and I want help cuz I dont see any tut for my case so I ask:
can some one give me a hand?

*EDIT 2:
I think I got on somthing. I saw that every time item is insreaced or decreased it goes to: [edx+ecx+29]
it is after all mov [edx+ecx+29],al
so 'al' is the ammount that increasing and decreasing my stuff in the building.
now I want to knwo how do I find pointer for the [edx+ecx+29]
and for the 'al'. cuz when i search for the stuff it gives me always:
0198764c and the ecx is increasing by 1 for each the item menu in the building in an order from left to right.
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
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