The reason why i don't like C++ is because you need to install .NET framework in that particular computer just to use the program,
unlike Delphi.
So i would like to start learning Delphi by making a nudge hack in Delphi 7. Let's say i have some AA script for Nudge Hack, how do i convert it into Delphi 7?
Edit : so some might want the AA script then show us how to convert it to Delphi
Script 1:
Code: Select all
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
003789E1:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
mov [esi+0000035c],1
exit:
jmp returnhere
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
003789E1:
mov [esi+0000035c],eax
//Alt: db 89 86 5C 03 00 00
Code: Select all
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
00378BF9:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
mov [esi+00000360],1
exit:
jmp returnhere
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
00378BF9:
mov [esi+00000360],eax
//Alt: db 89 86 60 03 00 00