I need a cleo script to send enter and left mouse click each 00:04:09 first send enter than wait let s say 2 seconds and then send left mouse click key. I tried something but it failed because of my lack of arrangement of the code.
Also a script if I loose the trailer from the truck to auto press left click if it s possible
Ok so, I need to enter a biz for the fish job and press yes to sell the fish that’s why I need the key enter to be pressed every 4 minutes. Is it possible to show the dialogue with the “Do you want to sell the fish” from outside the biz?
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 36
0AB0: key_pressed 35
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 36
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 35
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
Ok so, I need to enter a biz for the fish job and press yes to sell the fish that’s why I need the key enter to be pressed every 4 minutes. Is it possible to show the dialogue with the “Do you want to sell the fish” from outside the biz?
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 36
0AB0: key_pressed 35
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 36
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 35
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
do you know the dialog id?
well if the server is using easyDialogs, it wont work then because dialog was never shown to you.
to see if it uses easyDialogs just check if all dialog id's are same e.g. buy dialog, help dialog etc..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.