View previous topic :: View next topic |
Author |
Message |
Fraternity Newbie cheater
Reputation: 0
Joined: 13 Apr 2009 Posts: 15
|
Posted: Mon Jul 19, 2010 8:48 pm Post subject: Help with Coding |
|
|
Hey Guys I'm not very good at coding I need help from you about this code here[Look at the picture]
That's the adress that i'm trying to do code injection on, it's experience from Diablo II and what I want to do to it is, rewrite the code so that it'll gain more experience each time I kill something for example lets say I get 20 exp from a monster but now I want to get 200 exp from the monster instead can anyone write me a code to show me how that can be done please? Thanks
Description: |
|
Filesize: |
63.31 KB |
Viewed: |
4662 Time(s) |

|
|
|
Back to top |
|
 |
SwaggaJackin' Master Cheater
Reputation: 2
Joined: 06 Nov 2009 Posts: 304
|
Posted: Tue Jul 20, 2010 2:17 am Post subject: |
|
|
If I had magnifiers for eyes, I could probably help. Unfortunately, I don't.
|
|
Back to top |
|
 |
XaLeX Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 226
|
Posted: Tue Jul 20, 2010 3:55 am Post subject: |
|
|
won't work anyway. it's an online game.
|
|
Back to top |
|
 |
SwaggaJackin' Master Cheater
Reputation: 2
Joined: 06 Nov 2009 Posts: 304
|
Posted: Tue Jul 20, 2010 5:30 am Post subject: |
|
|
Not if he is playing offline. But we'll never know until he replies.
|
|
Back to top |
|
 |
XaLeX Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 226
|
Posted: Tue Jul 20, 2010 12:24 pm Post subject: |
|
|
Oh sorry, i didn't know there was single player mode :p
anyway, the code should roughly look like:
Code: |
mov ecx,[experience_to_add] //ecx = gained exp
add [experience_address],ecx //add directly to the address
//OR
mov ecx,[experience_address] //ecx = current exp
add ecx,[experience_to_add] //ecx += gained exp
mov [experience_address],ecx //write to address
|
use the code injection template (ctrl+a, then template->code injection) and:
- in the first case:
add
between the two lines. this multiplies gained exp by ten.
- in the second case:
erase the original code and use this:
Code: |
mov ecx,[experience_to_add]
lea ecx,[ecx*10]
add ecx,[experience_address]
mov [experience_address],ecx
|
if it's not like either of these (which is very likely because these are very simple examples), just post it and we'll try to help
|
|
Back to top |
|
 |
|