Исходник Dialog Hider 0.3z

Тема в разделе "CLEO", создана пользователем Владислав, 7 июл 2014.

  1. Владислав

    Владислав Member Основатель

    Регистрация:
    29 май 2014
    Сообщения:
    109
    Симпатии:
    0
    Код:
    {$CLEO}
    
    const
         KEY_SHOW = 36
         KEY_HIDE = 35
    end 
    
    wait 0
    wait 1000 
    0aa7: call_function 0x081E406 num_params 1 pop 0 "samp.dll" to 0@ 
    
    0085: 1@ = 0@
    1@ += 0x212A40
    0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0 
    
    while true
         wait 0 
         if or 
             0AB0: key KEY_SHOW
             0AB0: key KEY_HIDE
         then
             0085: 2@ = 1@
             2@ += 40
             0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0
             
             if and
                 3@ == 1 // Showed
                 0ab0: key KEY_HIDE
             then 
                 0A8C: write_memory 2@ size 4 value 0 virtual_protect 1
                 0AD1: show_formatted_text_highpriority "Dialog Hided" time 2000 
                 call @hide_cursor 1 sbase 0@
             else
                 if and
                     3@ == 0 // hided
                     0ab0: key KEY_SHOW
                 then
                     0AD1: show_formatted_text_highpriority "Dialog Show" time 2000
                     0A8C: write_memory 2@ size 4 value 1 virtual_protect 1 
                 end
             end
             
             while true
                 wait 0
                 if or 
                     0AB0: key KEY_SHOW
                     0AB0: key KEY_HIDE
                 jf break
             end
         end
    end 
    
    :hide_cursor
    0085: 1@ = 0@
    0085: 2@ = 0@
    
    1@ += 0x212A94 
    0A8D: 1@ = read_memory 1@ size 4 virtual_protect 1
    
    2@ += 0x63E20 
    0AA6: call_method 2@ struct 1@ num_params 3 pop 0 0 0 0 
    ret 0
     
    #1

Поделиться этой страницей