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 


move [edi+ebx*4+0C], esi (i could use some help pls)

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

Joined: 25 Aug 2006
Posts: 9

PostPosted: Fri Aug 25, 2006 5:22 am    Post subject: move [edi+ebx*4+0C], esi (i could use some help pls) Reply with quote

Okay, so here i am so impressed with myself for accomplishing something ive been trying to do for awhile now. I found a pointer and knew what the heck i was doing while i found it.

So Thanks and props to the tuturial for this program. Its helped me cross the river into an entirely new area ive been trying to get to.


Now while across the river ive ran into a problem with some pointers and offsets. Ill provide all the info i know. Hopefully this will be enough.


First of all I am attempting to change the amount of troops in ready stance. This is done by selecting the arrow next to the unit and pressing up then pressing save. My goal for the time being is to just change the amount im getting ready to load without having to use the arrow. So lets say i create a trainer later with a text box id enter the number of troops to load then press the load. And all done. Instead of having to wait 2 hours while i attempt to load all my troops.

So basically i want to increase a number by changing the amount through the program. Now i can find the adress to change the value just fine. However i dont want to have to keep looking for it everytime because it moves around everytime you reload the troops screen or relog. So obviously i need to find the pointers. Heres where i run into the problems. I find the first pointer no sweat. But the 2nd pointer is in what is my opinion extremly complex.

Here is the example.

Troops : 2000

Hex = 20A192C4 (4 bytes)

Address = 20A19 2C4
So then i proceed to find out what writes to this address (finding the pointer) I then run into this problem..

"The following opcodes changed the selected adress"

00bc32ae -89 74 9F 0C - move [edi+ebx*4+0C], esi

(then i click more info and it reads as follows)




00BC32A5 - cmp ebx, [edi+08]
00BC32A8 - jae 00BC3F30
>>00BC32AE - mov [edi+ebx*4+0C], esi
00BC32B2 - mov esi, [ebp+0C]
00BC32B5 - mov ecx, [esi+0000011C]

"copy memory"
The value of the pointer needed to find this address is probably 20a192b.

eax = 00001103
ebx = 00000002
ecx = 0320F980

edx = 0000000F
esi = 00001103
edi = 20A192B0

esp = 0320F9A8
ebp = 0320FA10
eip = 00BC32B2

Now the problem is with the [calculation of offset] i simply dont have the foggiest how to do that. In the tutorial it gave an example of a very simple one...however this is a bit more complex looking than the one in the tutorial.


Again, wonderful program. Has helped me understand alot. Hopefully you guys/gals/experts/-insert more sucking up words of your preference here please-, can help me out with this.

_________________
dEXEter, boy genious by heart.
Back to top
View user's profile Send private message
XTrinityX
Expert Cheater
Reputation: 0

Joined: 18 May 2006
Posts: 123
Location: Connecticut

PostPosted: Fri Aug 25, 2006 9:57 am    Post subject: Reply with quote

Taking a shot in the dark here...try searching the hex value under 4 bytes 20a192b0. You have to check the 'hex' box next to it. What it looks like to me is, once you get the base address (should be in green once you search the value) the offset will be 0C. This is how I would go about it...but it may not work.
Back to top
View user's profile Send private message AIM Address
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Fri Aug 25, 2006 11:20 am    Post subject: Reply with quote

value the pointer held was 20A192B0
offset is (8+c=)14

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
SadisticRage
How do I cheat?
Reputation: 0

Joined: 25 Aug 2006
Posts: 9

PostPosted: Fri Aug 25, 2006 10:24 pm    Post subject: Reply with quote

Ty Dark Byte as well as xTrinityx. The answer you provided allowed me to determine how to calculate the offset. I can find it everytime now.

However ive ran into some more problems of which i could use some assistance.

I keep running into problems trying to figure out "what writes to this pointer"

Any tips?


Everytime I try to use that on a pointer it never gives me any values...ive tried using the what accesss this pointer feature instead but i resolve 1 pointer further into the solution and then get stuck with about 10 possible accessee's. Most of the time they are all leading to the same address.

_________________
dEXEter, boy genious by heart.
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