View previous topic :: View next topic |
Author |
Message |
Black Widow Newbie cheater
Reputation: 0
Joined: 21 May 2010 Posts: 18 Location: Portugal
|
Posted: Fri May 21, 2010 7:16 pm Post subject: How to copy the content from one addres to another? |
|
|
Hi! I'm new in this but i've made some discovers , but now I'm aging arround with this situation...
I need to copy the value from one address, in this case it's 8 bit, and saave it to another address.
How can I do this in automatic mode. cause manualy I can do it.
Can anyone help me?
|
|
Back to top |
|
 |
Black Widow Newbie cheater
Reputation: 0
Joined: 21 May 2010 Posts: 18 Location: Portugal
|
Posted: Tue May 25, 2010 5:10 am Post subject: Help pleeeeeeeeeease!!!!!!!!!!! |
|
|
Well, Hello again
What I realy need is...
I'm hacking on Carrier Command, it's an oldie Dos game but a very good one.
I manage to find every thing that is to find even the coordinates that the game uses to place the enemy Carrier on the map but we can't see it.
What I need to do is to Copy value of two addresses to another two addresses witch are the corsor's on the map, that way I can see were It is.
So if anyone knows how to do this automaticaly by just pressing one key I wold apreciate.
Because what I can do is just copy and paste values from one position to another and it takes lots of time.
Help please!
Thanks
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Tue May 25, 2010 5:18 am Post subject: |
|
|
The following script will read the bytes from 00400550 and 00400600 and write them to 00400500 and 00400501 respectively
Code: |
00400500:
readmem(00400550,1)
00400501:
readmem(00400600,1)
[enable]
[disable]
|
So, just adjust the addresses and amount of addresses you want.
Also, this script can be added to the cheat table, and you can assign a hotkey to it so it's triggers when you press a key
_________________
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
Last edited by Dark Byte on Tue May 25, 2010 5:46 am; edited 3 times in total |
|
Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Tue May 25, 2010 5:36 am Post subject: |
|
|
Dark Byte wrote: | The following script will read the bytes from 00400550 and 00400600 and write them to 00400500 and 00400501 respectively | Since you aren't answer on IRC, I'll post here. 400501? The label says 400504. I think it's better to fix that, so someone trying to learn won't get confused.
|
|
Back to top |
|
 |
Black Widow Newbie cheater
Reputation: 0
Joined: 21 May 2010 Posts: 18 Location: Portugal
|
Posted: Tue May 25, 2010 5:39 am Post subject: Add a script table |
|
|
Thanks for the quik reply Dark Byte
But I'm just using this amasig prog for less than one week and that advanced stuf I don't know how to do (yet) So far I manage to find values and pointers but thats all. I know that Ce has an enormous potencial to explore but I need some more time.
until I discover Ce I was a Hex Editor Freak.
So how can I add a script to a cheat table?
Thanks
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Tue May 25, 2010 5:43 am Post subject: |
|
|
fixed the script
In the main ce window press ctrl+alt+a (in memory view it's ctrl+a or tools->auto assemble)
paste in the code
click file->assign to cheat table
done
you can then rightclick the entry in the cheat table and assign a hotkey
also, fill in your own addresses in the script yourself (don't just blindly copy/paste this script)
_________________
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 |
|
 |
Black Widow Newbie cheater
Reputation: 0
Joined: 21 May 2010 Posts: 18 Location: Portugal
|
Posted: Tue May 25, 2010 5:45 am Post subject: |
|
|
Seams to be easy!
Thanks
I'm going to try....
In fact this prog is amasing when you know what to do!!!
It works perfect!!!
Thank you very mutch
|
|
Back to top |
|
 |
Black Widow Newbie cheater
Reputation: 0
Joined: 21 May 2010 Posts: 18 Location: Portugal
|
Posted: Tue May 25, 2010 3:35 pm Post subject: |
|
|
Sorry ! Here I am again
The code works perfect, but when i leave the game and reenter the position have changed.
How do I put the poiter in this code?
The poiter is eax+ebx
______________________________________________
06B33BF6:
readmem(06B1E758,4)
06B33BFE:
readmem(06B1E75c,4)
06B340F6:
readmem(06B1E758,4)
06B340FE:
readmem(06B1E75c,4)
[enable]
[disable]
-----------------------------------------------------------------
Sorry once again but i'm completly new in the kind of code.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Tue May 25, 2010 3:44 pm Post subject: |
|
|
Quote: | The poiter is eax+ebx |
that's not a pointer that's code
either use code injection at the routine that accesses the addresses and from there save the address to a known location or find the full pointer path yourself
Code: |
[enable]
alloc(newmem,2048) //..(codeinjection template)
alloc(addressofaddressx1,4)
alloc(addressofaddressx2,4)
alloc(addressofaddressy1,4)
alloc(addressofaddressy2,4)
alloc(addressofcursorx,4)
alloc(addressofcursory,4)
registersymbol(addressofaddressx1)
registersymbol(addressofaddressx2)
registersymbol(addressofaddressy1)
registersymbol(addressofaddressy2)
registersymbol(addressofcursorx)
registersymbol(addressofcursory)
...do hook, see template code injection...
inhook:
...
mov [addressofaddressx1],eax
...
mov [addressofaddressx2],eax
...
...
[disable]
...undo hook...
|
then:
Code: |
[addressofaddressx1]+optionaloffset:
readmem([addressofcursorx]+optionaloffset,4)
[addressofaddressy1]+optionaloffset:
readmem([addressofcursory]+optionaloffset,4)
[addressofaddressx2]+optionaloffset:
readmem([addressofcursorx]+optionaloffset,4)
[addressofaddressy2]+optionaloffset:
readmem([addressofcursory]+optionaloffset,4)
[enable]
[disable]
|
_________________
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 |
|
 |
|