CLEO Help save server dialog ?

CLEO related
Status
Not open for further replies.

kool

Active member
Joined
Jun 4, 2016
Messages
89
Reaction score
0
Is it possible to make script that saves specific server dialog and can be saved somewhere in CLEO and can be used everytime when joining the server?
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,126
Solutions
1
Reaction score
158
idk who made it but I found it somewhere, btw I'd watch out, there was a malware-version of it in few places

Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 
wait 0 
if 
0AA2: 1@ = load_library "kernel32.dll" // IF and SET 
else_jump @Noname_334 
if 
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET 
else_jump @Noname_334 
0AA7: call_function 30@ num_params 1 pop 0 "samp.dll" 0@  
if 
  0@ > 0 
else_jump @Noname_334 
0085: 2@ = 0@ // (int) 
2@ += 2203832 

:Noname_132
wait 0 
if or
0AB0:   key_pressed 109 //numpad -
0AB0:   key_pressed 107 //numpad +
else_jump @Noname_132 
0A8D: 5@ = read_memory 2@ size 4 virtual_protect 1 
if 
  5@ > 10000 
else_jump @Noname_132 
0085: 30@ = 5@ // (int) 
30@ += 40 
0A8D: 31@ = read_memory 30@ size 4 virtual_protect 1 
if and
  31@ == 1 
0AB0:   key_pressed 109 //numpad -
else_jump @Noname_273 
0A8C: write_memory 30@ size 4 value 0 virtual_protect 1 
gosub @Noname_336 
0AD1: show_formatted_text_highpriority "Dialog Hided" time 2000  

:Noname_273
if and
  31@ == 0 
0AB0:   key_pressed 107 //numpad +
else_jump @Noname_327 
0A8C: write_memory 30@ size 4 value 1 virtual_protect 1 
0AD1: show_formatted_text_highpriority "Dialog Showed" time 2000  

:Noname_327
jump @Noname_132 

:Noname_334
0A93: end_custom_thread 

:Noname_336
0085: 30@ = 0@ // (int) 
30@ += 2203916 
0A8D: 31@ = read_memory 30@ size 4 virtual_protect 1 
0085: 30@ = 0@ // (int) 
30@ += 638256 
0AA6: call_method 30@ struct 31@ num_params 3 pop 0 0 0 0  
return

p.s.
the controls are:
numpad - key for hiding
numpad + key for showing the dialog again
 

kool

Active member
Joined
Jun 4, 2016
Messages
89
Reaction score
0
monday said:
idk who made it but I found it somewhere, btw I'd watch out, there was a malware-version of it in few places

Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 
wait 0 
if 
0AA2: 1@ = load_library "kernel32.dll" // IF and SET 
else_jump @Noname_334 
if 
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET 
else_jump @Noname_334 
0AA7: call_function 30@ num_params 1 pop 0 "samp.dll" 0@  
if 
  0@ > 0 
else_jump @Noname_334 
0085: 2@ = 0@ // (int) 
2@ += 2203832 

:Noname_132
wait 0 
if or
0AB0:   key_pressed 109 //numpad -
0AB0:   key_pressed 107 //numpad +
else_jump @Noname_132 
0A8D: 5@ = read_memory 2@ size 4 virtual_protect 1 
if 
  5@ > 10000 
else_jump @Noname_132 
0085: 30@ = 5@ // (int) 
30@ += 40 
0A8D: 31@ = read_memory 30@ size 4 virtual_protect 1 
if and
  31@ == 1 
0AB0:   key_pressed 109 //numpad -
else_jump @Noname_273 
0A8C: write_memory 30@ size 4 value 0 virtual_protect 1 
gosub @Noname_336 
0AD1: show_formatted_text_highpriority "Dialog Hided" time 2000  

:Noname_273
if and
  31@ == 0 
0AB0:   key_pressed 107 //numpad +
else_jump @Noname_327 
0A8C: write_memory 30@ size 4 value 1 virtual_protect 1 
0AD1: show_formatted_text_highpriority "Dialog Showed" time 2000  

:Noname_327
jump @Noname_132 

:Noname_334
0A93: end_custom_thread 

:Noname_336
0085: 30@ = 0@ // (int) 
30@ += 2203916 
0A8D: 31@ = read_memory 30@ size 4 virtual_protect 1 
0085: 30@ = 0@ // (int) 
30@ += 638256 
0AA6: call_method 30@ struct 31@ num_params 3 pop 0 0 0 0  
return

p.s.
the controls are:
numpad - key for hiding
numpad + key for showing the dialog again
I know about dialog hider I don't want that,I want like script similar to Dialog Hider which SAVES dialog for you when going off the server and back on,dialog show is only for one session,If u understand me.
 
Status
Not open for further replies.
Top