auto assembler help

Need Help With an Existing Feature in Memory Hacking Software? Ask Here

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

auto assembler help

Postby mynameisjack » Mon Nov 30, 2009 6:06 am

I have a code:
mov [esi+00000928],eax

If I "find out what addresses this code writes to"

I always get 2 addresses
The addresses for these values are ALWAYS different.

The values I get are always the same:
286123456
286654321

I need them to be:
286000000
286000000

I'm sure you get the picture.

Yes I can do it manually very easy but I have to do it over and over so I'm trying to set up an automatic script. Macroing the manual keyboard/mouse actions works but is too messy and not efficient for fullscreen games. Window mode messes up my in-game scripts so I'm looking for something inside CE autoassembler or something to do this.

The two numbers in the addresses the code writes to are always the same (286123456 and 286654321)

I always need to make them both 286000000.

The addresses themselves for the two codes change Before I can find a pointer for them, and because of this I cant just save the addresses and freeze them. This is the problem. So I need a way to make all values that this code "mov [esi+00000928],eax" writes to always 286000000 or find a way to change them afterwards no matter how the addresses themselves shift. Or find a way to get a static address for the values.


---UPDATE

now I need to be able to poke 286000000 into the mov [esi+00000928],eax in autoassembler how to do that?
mynameisjack
I Ask A Lot Of Questions
 
Posts: 11
Joined: Tue May 19, 2009 3:37 am

Re: auto assembler help

Postby L. Spiro » Mon Nov 30, 2009 7:31 am

I do not really get the picture.

You already found an instruction: mov [esi+00000928],eax

Find to what addresses this instruction writes?
This gives you 286123456 and 286654321?
Are these addresses? Do you mean 0x110DE5C0 and 0x1115FF71?

So you are saying [esi+00000928] == 0x110DE5C0 or 0x1115FF71?

And you want to do what?
Make [esi+00000928] == 0x110C0380 and 0x110C0380?

If your goal is to make the instruction write to address 0x110C0380, why don’t you just make it do so?

Code: Select all
push ebx
mov ebx, 0x110C0380
mov [ebx], eax
pop ebx




If your goal is to write 286000000 to the address instead of EAX:
Code: Select all
mov [esi+00000928], 286000000



L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: auto assembler help

Postby mynameisjack » Mon Nov 30, 2009 1:15 pm

Find to what addresses this instruction writes? yes
This gives you 286123456 and 286654321? these are the values of the two addresses
Are these addresses? no
And you want to do what? make 286123456 and 286654321 both 286000000 as values on the two DMA addresses that the opcode writes to

Yes you can do it manually by double clicking the two values/addresses in the writes to thing, and then forcing it to change, every single time, but I plan to make a program auto-do-it about 500 times a day, and I dont want to do a keyboard/mouse macro so I can stay fullscreen and use part of another macro programs script to help in the process which only works in fullscreen, and minimizing the screen crashes the game.

Game crashes when I try the mov[esi+00000928], 28600000 thing
mynameisjack
I Ask A Lot Of Questions
 
Posts: 11
Joined: Tue May 19, 2009 3:37 am

Re: auto assembler help

Postby L. Spiro » Mon Nov 30, 2009 2:38 pm

What exactly are you doing manually?

Adding a value to the main list, double-clicking it, and setting its value?


Let me ask this clearly:

Do you want to:
#1: Change the address where your mov writes?
#2: Change the value to be written (but to the same addresses).


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: auto assembler help

Postby mynameisjack » Tue Dec 01, 2009 6:30 am

Change the values to be written

The opcode is shared with player and AI location

want them all to be the same value (start at exactly same spot)
mynameisjack
I Ask A Lot Of Questions
 
Posts: 11
Joined: Tue May 19, 2009 3:37 am

Re: auto assembler help

Postby L. Spiro » Tue Dec 01, 2009 7:31 am

Then use the code I gave you (mov [esi+00000928], 286000000) with a check to make sure the address is one of the addresses to which you want to write.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: auto assembler help

Postby mynameisjack » Tue Dec 01, 2009 7:47 am

when i try that it usually writes something stupid like

mov [esi+00000928], 00286000

however i finally got it to say the right thing,

then instant game crash.

tried different values,

effs the game up...

so is there a way to just write to the values that the opcode writes to in normal values without messing up the registers
mynameisjack
I Ask A Lot Of Questions
 
Posts: 11
Joined: Tue May 19, 2009 3:37 am

Re: auto assembler help

Postby L. Spiro » Tue Dec 01, 2009 9:15 am

I told you to check the address (esi+928) for being correct before writing the value. This is what is causing the crash.

If you can not do this, your only other option is to stop messing with ASM, add the two addresses in question to the main address list (press Insert), and lock them.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron