MasterGH Опубликовано 31 октября, 2016 Поделиться Опубликовано 31 октября, 2016 Теперь можно не писать метки типа label(returnHere) в AA скриптах, но иногда, когда меток очень много и нам нужно увидеть, какие метки нами используются, но не назначены, то можно применить директиву {$STRICT} Пример без строго оформления Скрытый текст [ENABLE] //code from here to '[DISABLE]' will be used to enable the cheat alloc(newmem,2048) newmem: //this is allocated memory, you have read,write,execute access //place your code here mov [test.exe+5B5A4], 100 originalcode: inc [test.exe+5B5A4] exit: jmp returnhere "test.exe"+5464A: jmp newmem nop returnhere: [DISABLE] //code from here till the end of the code will be used to disable the cheat dealloc(newmem) "test.exe"+5464A: inc [test.exe+5B5A4] //Alt: db FF 05 A4 B5 45 00 Пример со строгим оформлением Скрытый текст {$STRICT} [ENABLE] //code from here to '[DISABLE]' will be used to enable the cheat alloc(newmem,2048) label(originalcode) label(exit) label(returnhere) newmem: //this is allocated memory, you have read,write,execute access //place your code here mov [test.exe+5B5A4], 100 originalcode: inc [test.exe+5B5A4] exit: jmp returnhere "test.exe"+5464A: jmp newmem nop returnhere: [DISABLE] //code from here till the end of the code will be used to disable the cheat dealloc(newmem) "test.exe"+5464A: inc [test.exe+5B5A4] //Alt: db FF 05 A4 B5 45 00 1 Ссылка на комментарий Поделиться на другие сайты Поделиться
Рекомендуемые сообщения