| View previous topic :: View next topic |
| Author |
Message |
Sohail__Saha Advanced Cheater
Reputation: 0
Joined: 21 May 2014 Posts: 82 Location: India
|
Posted: Tue Jun 03, 2014 4:14 am Post subject: How to change the value using auto assembler immediately?? |
|
|
While making a cheat table for the game "Avatar-The Game", I made an auto assembler script to increase the value of XP by 9999. But, the value of XP increases by 9999 only when I do something in game to earn XP (for example, kill an enemy). I want to increase the XP by 9999 whenever the designated hotkey is pressed. Any ideas???
Below is the script which I used to increase XP -->
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(exit)
newmem:
add [ebp+00004FD4],#9999
exit:
jmp returnhere
"Dunia.dll"+4DD2CE:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
"Dunia.dll"+4DD2CE:
add [ebp+00004FD4],ebx
//Alt: db 01 9D D4 4F 00 00
_________________
Don't underestimate the power of a common code.
 |
|
| Back to top |
|
 |
NanoByte Expert Cheater
Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Tue Jun 03, 2014 8:36 am Post subject: |
|
|
add adress manually with pointer, offset should be 0
then add hotkey to that value so when u press it, it should increase your value with the desired amount
| Code: | [ENABLE]
alloc(newmem,2048)
alloo(_chv,8)
registersymbol(_chv)
label(returnhere)
label(exit)
label(originalcode)
newmem:
cmp [_chv],0
jne originalcode
push eax
lea eax,[ebp+00004FD4]
mov [_chv],eax
pop eax
originalcode:
add [ebp+00004FD4],ebx
exit:
jmp returnhere
"Dunia.dll"+4DD2CE:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
dealloc(_chv)
"Dunia.dll"+4DD2CE:
add [ebp+00004FD4],ebx
unregistersymbol(_chv)
//Alt: db 01 9D D4 4F 00 00 |
_________________
| Description: |
|
| Filesize: |
3.76 KB |
| Viewed: |
6649 Time(s) |

|
|
|
| Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 893
|
Posted: Tue Jun 03, 2014 10:29 am Post subject: |
|
|
createthread works, too.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
| Back to top |
|
 |
Sohail__Saha Advanced Cheater
Reputation: 0
Joined: 21 May 2014 Posts: 82 Location: India
|
|
| Back to top |
|
 |
NanoByte Expert Cheater
Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Tue Jun 03, 2014 12:53 pm Post subject: |
|
|
you didnt do it right i can see your address is [] = nothing
yeah alloo ahhahah its a human thing to make errors
make sure code is activated before you add the address
thats the reason that it didnt work probly,
|
|
| Back to top |
|
 |
Sohail__Saha Advanced Cheater
Reputation: 0
Joined: 21 May 2014 Posts: 82 Location: India
|
|
| Back to top |
|
 |
NanoByte Expert Cheater
Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Wed Jun 04, 2014 9:09 am Post subject: |
|
|
| Sorry man i dont know, i never made a trainer myself, i usually upload tables
|
|
| Back to top |
|
 |
Sohail__Saha Advanced Cheater
Reputation: 0
Joined: 21 May 2014 Posts: 82 Location: India
|
Posted: Wed Jun 04, 2014 12:49 pm Post subject: |
|
|
Well, thanks for helping.
_________________
Don't underestimate the power of a common code.
 |
|
| Back to top |
|
 |
NanoByte Expert Cheater
Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Wed Jun 04, 2014 2:23 pm Post subject: |
|
|
No problem Mate
|
|
| Back to top |
|
 |
|