D
Deleted member 50567
Guest
Off
Last edited:
{$CLEO .cs}
0000:
repeat
wait 0
until 0afa:
while true
wait 0
if
0B4C: samp is_dialog_active -1
then
0AC8: 0@ = allocate_memory_size 260
0BD8: samp get_dialog_caption 0@
if
0C29: $NOT_USED = stristr string1 0@ string2 "Insira a soma do Captcha"
then
0AC8: 1@ = allocate_memory_size 260
0BD7: samp get_dialog_text 1@
0AB1: @GetDigitsFromString 1 stringPointer 1@ _returnedDigits 2@ 3@
0A8E: 4@ = 2@ + 3@ // int
0B4B: samp set_current_dialog_editbox_text 4@
0B47: samp close_current_dialog_with_button 1
end
end
end
:GetDigitsFromString
0AC7: 20@ = var 21@ offset
18@ = 0
0C17: 31@ = strlen 0@
31@ -= 1
for 30@ = 0 to 31@
0A8D: 29@ = read_memory 0@ size 1 virtual_protect 1
if and
0029: 29@ >= 48
002B: 57 >= 29@
then
29@ -= 48
0A8C: write_memory 20@ size 4 value 29@ virtual_protect 1
20@ += 4
if 18@ > 3
then
0AB2: ret 2 21@ 22@
end
end
0@++
end
0AB2: ret 2 21@ 22@
This code is not ready, it's just a base.I can't compile cleo on because of the error
I can't compile cleo on because of the error
PossibleCan you make it too? , It use samp 0.3DL
i need <#Possible
Take dialog pici need <#