| View previous topic :: View next topic |
| Author |
Message |
nymuz How do I cheat?
Reputation: 0
Joined: 30 Dec 2011 Posts: 2
|
Posted: Fri Jan 06, 2012 11:44 am Post subject: auto assembler halp (syntax) |
|
|
Is there a syntax error in the aa code below?
thx
===============================================
| Code: |
//Game: Rise of Legends
assert(legends.exe+19D53E,81 f1 21 82 00 00 89 08)//script only runs if //assert returns true
[ENABLE]
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
cmp edx,edi
jne exit
cmp [eax],#99999
jge exit
mov [eax],#99999
exit:
jmp returnhere
"legends.exe"+19D53E:
jmp newmem
returnhere:
[DISABLE]
legends.exe+19D53E:
81 f1 218200008908 //instruction in byte sequence
dealloc newmem
|
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25827 Location: The netherlands
|
Posted: Fri Jan 06, 2012 12:12 pm Post subject: |
|
|
replace
with
| Code: |
db 81 f1 21 82 00 00 89 08
|
_________________
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 |
|
 |
nymuz How do I cheat?
Reputation: 0
Joined: 30 Dec 2011 Posts: 2
|
Posted: Fri Jan 06, 2012 12:47 pm Post subject: the man himself :D |
|
|
thx again
[
i found this:
...the directives DB, DW, and DD can be used to declare one, two, and four byte data locations, respectively...
]
|
|
| Back to top |
|
 |
|