CLEO Help help with autologin

CLEO related

florezyatina

Member
Joined
Nov 3, 2021
Messages
17
Reaction score
0
Location
123
where is wrong?
Code:
{$CLEO}   
{$INCLUDE SF}
{$USE INI}   
{$NOSOURCE}
0000:
thread 'autolog'
while not SAMP.Available()
wait 0
end

:Noname_917
0001: wait 350 ms
if
0AAB:   file_exists "CLEO\autolog.ini"
004D: jump_if_false @Noname_900
0AF4: 5@v = read_string_from_ini_file "cleo\autolog.ini" section "password" key "pass"
jump @1

:Noname_900
0AF5: write_string 10@ to_ini_file "cleo\autolog.ini" section "password" key "pass"
0006: 10@ = "pass"
0AF8: samp add_message_to_chat "[autulog] ini not founded." color -1

:1
if
0B4C:  samp is_dialog_active 32700
jf @1
0BC9: samp send_dialog_response dialog 32700 button 1 listitem 3@ input 5@v
jump @1
 

0x73616D

Active member
Joined
Apr 18, 2021
Messages
138
Solutions
1
Reaction score
68
Location
0x73616D
where is wrong?
Code:
{$CLEO} 
{$INCLUDE SF}
{$USE INI} 
{$NOSOURCE}
0000:
thread 'autolog'
while not SAMP.Available()
wait 0
end

:Noname_917
0001: wait 350 ms
if
0AAB:   file_exists "CLEO\autolog.ini"
004D: jump_if_false @Noname_900
0AF4: 5@v = read_string_from_ini_file "cleo\autolog.ini" section "password" key "pass"
jump @1

:Noname_900
0AF5: write_string 10@ to_ini_file "cleo\autolog.ini" section "password" key "pass"
0006: 10@ = "pass"
0AF8: samp add_message_to_chat "[autulog] ini not founded." color -1

:1
if
0B4C:  samp is_dialog_active 32700
jf @1
0BC9: samp send_dialog_response dialog 32700 button 1 listitem 3@ input 5@v
jump @1

Do not use 0BC9.

Try using:
Code:
0B4B: samp set_current_dialog_editbox_text 5@v
wait 0
0B47: samp close_current_dialog_with_button 1
 
Top