Dialog hider for 0.3DL

McAwesome

Well-Known Member
Joined
Apr 7, 2014
Messages
199
Likes
0
Points
66
#1
 Name of the mod (if the mod doesn't exist, you don't have to tell one): Dialoghider
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): it was present on slono boyko and as a cleo, on 0.3.7 but I can't seem to find anything about it on 0.3DL
* What do you want (the most important part, explain this carefully): It's a script that allows you to hide or show a closed dialog, so you can replicate it.
* Details (add more details to your request):  it's self explainatory
* On/off key (specify it):
 
Joined
Jul 14, 2018
Messages
6
Likes
1
Points
3
#2
http://rgho.st/7TMhklwns
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: [email protected] = load_library "kernel32.dll" // IF and SET 
else_jump @Noname_334 
if 
0AA4: [email protected] = get_proc_address "GetModuleHandleA" library [email protected] // IF and SET 
else_jump @Noname_334 
0AA7: call_function [email protected] num_params 1 pop 0 "samp.dll" [email protected]  
if 
  [email protected] > 0 
else_jump @Noname_334 
0085: [email protected] = [email protected] // (int) 
[email protected] += 2804192 

:Noname_132
wait 0 
if or
0AB0:   key_pressed 36 
0AB0:   key_pressed 35 
else_jump @Noname_132 
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 1 
if 
  [email protected] > 10000 
else_jump @Noname_132 
0085: [email protected] = [email protected] // (int) 
[email protected] += 40 
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 1 
if and
  [email protected] == 1 
0AB0:   key_pressed 36 
else_jump @Noname_273 
0A8C: write_memory [email protected] size 4 value 0 virtual_protect 1 
gosub @Noname_336 
0AD1: show_formatted_text_highpriority "Dialog Hided" time 2000  

:Noname_273
if and
  [email protected] == 0 
0AB0:   key_pressed 35 
else_jump @Noname_327 
0A8C: write_memory [email protected] 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: [email protected] = [email protected] // (int) 
[email protected] += 2804284 
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 1 
0085: [email protected] = [email protected] // (int) 
[email protected] += 656688 
0AA6: call_method [email protected] struct [email protected] num_params 3 pop 0 0 0 0  
return
 
OP
OP
M

McAwesome

Well-Known Member
Joined
Apr 7, 2014
Messages
199
Likes
0
Points
66
#3
Thanks a lot bro
imring said:
http://rgho.st/7TMhklwns
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: [email protected] = load_library "kernel32.dll" // IF and SET 
else_jump @Noname_334 
if 
0AA4: [email protected] = get_proc_address "GetModuleHandleA" library [email protected] // IF and SET 
else_jump @Noname_334 
0AA7: call_function [email protected] num_params 1 pop 0 "samp.dll" [email protected]  
if 
  [email protected] > 0 
else_jump @Noname_334 
0085: [email protected] = [email protected] // (int) 
[email protected] += 2804192 

:Noname_132
wait 0 
if or
0AB0:   key_pressed 36 
0AB0:   key_pressed 35 
else_jump @Noname_132 
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 1 
if 
  [email protected] > 10000 
else_jump @Noname_132 
0085: [email protected] = [email protected] // (int) 
[email protected] += 40 
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 1 
if and
  [email protected] == 1 
0AB0:   key_pressed 36 
else_jump @Noname_273 
0A8C: write_memory [email protected] size 4 value 0 virtual_protect 1 
gosub @Noname_336 
0AD1: show_formatted_text_highpriority "Dialog Hided" time 2000  

:Noname_273
if and
  [email protected] == 0 
0AB0:   key_pressed 35 
else_jump @Noname_327 
0A8C: write_memory [email protected] 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: [email protected] = [email protected] // (int) 
[email protected] += 2804284 
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 1 
0085: [email protected] = [email protected] // (int) 
[email protected] += 656688 
0AA6: call_method [email protected] struct [email protected] num_params 3 pop 0 0 0 0  
return
Thanks a lot man.
 

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
1,161
Likes
106
Points
78
Location
Lithuania
Website
ugbase.eu
15
#5
PHP:
:ShowDialog
0AA2: [email protected] = "samp.dll"
[email protected] += 0x2AC9E0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28
0A8C: write_memory [email protected] size 4 value 1 virtual_protect 0
0AB2: ret 0

:HideDialog
0AA2: [email protected] = "samp.dll"
[email protected] += 0x2AC9E0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28
0A8C: write_memory [email protected] size 4 value 0 virtual_protect 0
0AB2: ret 0
 

Kikindic

New Member
Joined
Apr 21, 2019
Messages
2
Likes
0
Points
1
1
#8
this dialog hider isnt work.. why you sent this code here ? I need this code maybe put in somewhere ?
 
Top