#2 Re: Вопросы по скриптингу » Заморозка патронов » 18-06-2008 06:46

:Sys
thread 'Sys'
wait 0
if and
0@ = 304492
&0(0@,1i) == 0x00FF0000
0@ = 304524
&0(0@,1i) == 0x00FF0000
jf @Sys
0A8C: write_memory 0x0073FA85 size 1 value 0x90 virtual_protect 1
0A8C: write_memory 0x0073FAAF size 1 value 0x90 virtual_protect 1
0A8C: write_memory 0x0073FAB0 size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x007428AF size 1 value 0x90 virtual_protect 1
0A8C: write_memory 0x007428E6 size 1 value 0x90 virtual_protect 1
0A8C: write_memory 0x007428E7 size 2 value 0x9090 virtual_protect 1

:Sysy         
thread 'Sysy'
wait 0
if and
0@ = 304492
not &0(0@,1i) == 0x00FF0000
0@ = 304524
not &0(0@,1i) == 0x00FF0000
jf @Sysy

:Sysysy
thread 'Sysysy'
wait 0
if and
0@ = 304492
&0(0@,1i) == 0x00FF0000
0@ = 304524
&0(0@,1i) == 0x00FF0000
jf @Sysysy
0A8C: write_memory 0x0073FA85 size 1 value 0x48 virtual_protect 1
0A8C: write_memory 0x0073FAAF size 1 value 0xFF virtual_protect 1
0A8C: write_memory 0x0073FAB0 size 2 value 0x0C4E virtual_protect 1
0A8C: write_memory 0x007428AF size 1 value 0x48 virtual_protect 1
0A8C: write_memory 0x007428E6 size 1 value 0xFF virtual_protect 1
0A8C: write_memory 0x007428E7 size 2 value 0x0C4E virtual_protect 1

:Sysysysy         
thread 'Sysysysy'
wait 0
if and
0@ = 304492
not &0(0@,1i) == 0x00FF0000
0@ = 304524
not &0(0@,1i) == 0x00FF0000
jf @Sysysysy
jump @Sys

Board footer

Powered by FluxBB