CLEO Help Need help with cleo file

CLEO related
Status
Not open for further replies.

erniuxas2018

New member
Joined
Jun 13, 2019
Messages
3
Reaction score
0
{$CLEO}
0000:
wait 5000

0AC8: 1@ = allocate_memory_size 260
0AC8: 2@ = allocate_memory_size 260
0AC8: 7@ = allocate_memory_size 260
0AC8: 15@ = allocate_memory_size 260
0AC8: 16@ = allocate_memory_size 260
0AC8: 17@ = allocate_memory_size 260

// LAUKIMO LAIKAS
15@ = 1400

:LAUKIMAS
wait 0
if
0AB0: 113
jf @LAUKIMAS
wait 500
jump @MAIN

:MAIN
wait 0
0AB1: call @getChatEntryText 1 ID 99 to 1@
printf "~B~LAUKIAME ISKVIETIMO..." 500
if or
0AD4: $NOT_USED = 1@ format "** %s kvie%s" 2@v $NOT_USED // MECHANIKU ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija]: %s kvie%s" 2@v $NOT_USED // PAPRASTAS ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija]: %s y%s" 2@v $NOT_USED // NALOGO IR PASLAUGU ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija] Operator?: %s kvie%s" 2@v $NOT_USED // MEDIKU ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija] %s atsijung?, perimk jo u?sakym? /vaziuoju %s" $NOT_USED 2@v // ISKVIETIMO PERIMIMAS
jf @SCREENSHOT
jump @RASYMAS_CALL

:SCREENSHOT
wait 0
if
0AB0: 119
jf @ISJUNGIMAS
printf " " 5000
wait 500
jump @MAIN

:ISJUNGIMAS
wait 0
if
0AB0: 113
jf @MAIN
printf " " 5000
wait 500
jump @LAUKIMAS

:RASYMAS_CALL
wait 0
[shcode=cpp]
0AD4: $NOT_USED = 2@v "%[^_]_%4[^_]" 10@v 20@v //10@v = first name, 20@v = last name
0AD3: string_format 7@ format "/vaziuoju %s" 20@v
0C28: strlwr in 7@ out 7@
[/shcode]

wait 15@
0AB1: @RASYMAS 1 7@
jump @LAUKIMAS

:RASYMAS
wait 0
IF 0AA2: 7@ = "samp.dll"
THEN
7@ += 0x65C60
0AA5: call 7@ num_param 1 pop 0 0@
END
0AB2: 0

{:RASYMAS
wait 15@
0AF9: "/vaziuoju %s" 2@v
wait 500
jump @LAUKIMAS}

:getChatEntryText
0AB1: call @GetSampBase 0 1@
1@ += 0x21A0E4
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252
005A: 1@ += 0@
1@ += 28
0AB2: ret 1 1@

:GetSampBase
0AA2: 31@ = load_library "kernel32.dll"
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@
0AA7: call_function 30@ num_params 1 pop 0 "samp.dll" 0@
0ab2: ret 1 0@

what i did wrong here? my name in game is Ernis_Gangsta can you help me please?
 

Attachments

  • test.cs.rar
    922 bytes · Views: 3

san11

Active member
Joined
Aug 13, 2015
Messages
51
Reaction score
3
it appears that you added [shcode=cpp][shcode] thats why it did not want to compile

here try this:

PHP:
{$CLEO}
0000:
wait 5000

0AC8: 1@ = allocate_memory_size 260
0AC8: 2@ = allocate_memory_size 260
0AC8: 7@ = allocate_memory_size 260
0AC8: 15@ = allocate_memory_size 260
0AC8: 16@ = allocate_memory_size 260
0AC8: 17@ = allocate_memory_size 260

// LAUKIMO LAIKAS
15@ = 1400

:LAUKIMAS
wait 0
if
0AB0: 113
jf @LAUKIMAS
wait 500
jump @MAIN

:MAIN
wait 0
0AB1: call @getChatEntryText 1 ID 99 to 1@
printf "~B~LAUKIAME ISKVIETIMO..." 500
if or
0AD4: $NOT_USED = 1@ format "** %s kvie%s" 2@v $NOT_USED // MECHANIKU ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija]: %s kvie%s" 2@v $NOT_USED // PAPRASTAS ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija]: %s y%s" 2@v $NOT_USED // NALOGO IR PASLAUGU ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija] Operator?: %s kvie%s" 2@v $NOT_USED // MEDIKU ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija] %s atsijung?, perimk jo u?sakym? /vaziuoju %s" $NOT_USED 2@v // ISKVIETIMO PERIMIMAS
jf @SCREENSHOT
jump @RASYMAS_CALL

:SCREENSHOT
wait 0
if
0AB0: 119
jf @ISJUNGIMAS
printf " " 5000
wait 500
jump @MAIN

:ISJUNGIMAS
wait 0
if
0AB0: 113
jf @MAIN
printf " " 5000
wait 500
jump @LAUKIMAS

:RASYMAS_CALL
wait 0

0AD4: $NOT_USED = 2@v "%[^_]_%4[^_]" 10@v 20@v  //10@v = first name, 20@v = last name
0AD3: string_format 7@ format "/vaziuoju %s" 20@v
0C28: strlwr in 7@ out 7@


wait 15@
0AB1: @RASYMAS 1 7@
jump @LAUKIMAS

:RASYMAS
wait 0
IF 0AA2: 7@ = "samp.dll"
THEN
    7@ += 0x65C60
    0AA5: call 7@ num_param 1 pop 0 0@
END
0AB2: 0

{:RASYMAS
wait 15@
0AF9: "/vaziuoju %s" 2@v
wait 500     
jump @LAUKIMAS}

:getChatEntryText
0AB1: call @GetSampBase 0 1@
1@ += 0x21A0E4
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252
005A: 1@ += 0@
1@ += 28
0AB2: ret 1 1@

:GetSampBase
0AA2: 31@ = load_library "kernel32.dll"
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@
0AA7: call_function 30@ num_params 1 pop 0 "samp.dll" 0@
0ab2: ret 1 0@

BTW i have no idea what your cleo does
 

Attachments

  • test.cs
    19.9 KB · Views: 3

erniuxas2018

New member
Joined
Jun 13, 2019
Messages
3
Reaction score
0
it appears that you added [shcode=cpp][shcode] thats why it did not want to compile

here try this:

PHP:
{$CLEO}
0000:
wait 5000

0AC8: 1@ = allocate_memory_size 260
0AC8: 2@ = allocate_memory_size 260
0AC8: 7@ = allocate_memory_size 260
0AC8: 15@ = allocate_memory_size 260
0AC8: 16@ = allocate_memory_size 260
0AC8: 17@ = allocate_memory_size 260

// LAUKIMO LAIKAS
15@ = 1400

:LAUKIMAS
wait 0
if
0AB0: 113
jf @LAUKIMAS
wait 500
jump @MAIN

:MAIN
wait 0
0AB1: call @getChatEntryText 1 ID 99 to 1@
printf "~B~LAUKIAME ISKVIETIMO..." 500
if or
0AD4: $NOT_USED = 1@ format "** %s kvie%s" 2@v $NOT_USED // MECHANIKU ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija]: %s kvie%s" 2@v $NOT_USED // PAPRASTAS ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija]: %s y%s" 2@v $NOT_USED // NALOGO IR PASLAUGU ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija] Operator?: %s kvie%s" 2@v $NOT_USED // MEDIKU ISKVIETIMAS
0AD4: $NOT_USED = 1@ format "[racija] %s atsijung?, perimk jo u?sakym? /vaziuoju %s" $NOT_USED 2@v // ISKVIETIMO PERIMIMAS
jf @SCREENSHOT
jump @RASYMAS_CALL

:SCREENSHOT
wait 0
if
0AB0: 119
jf @ISJUNGIMAS
printf " " 5000
wait 500
jump @MAIN

:ISJUNGIMAS
wait 0
if
0AB0: 113
jf @MAIN
printf " " 5000
wait 500
jump @LAUKIMAS

:RASYMAS_CALL
wait 0

0AD4: $NOT_USED = 2@v "%[^_]_%4[^_]" 10@v 20@v  //10@v = first name, 20@v = last name
0AD3: string_format 7@ format "/vaziuoju %s" 20@v
0C28: strlwr in 7@ out 7@


wait 15@
0AB1: @RASYMAS 1 7@
jump @LAUKIMAS

:RASYMAS
wait 0
IF 0AA2: 7@ = "samp.dll"
THEN
    7@ += 0x65C60
    0AA5: call 7@ num_param 1 pop 0 0@
END
0AB2: 0

{:RASYMAS
wait 15@
0AF9: "/vaziuoju %s" 2@v
wait 500  
jump @LAUKIMAS}

:getChatEntryText
0AB1: call @GetSampBase 0 1@
1@ += 0x21A0E4
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252
005A: 1@ += 0@
1@ += 28
0AB2: ret 1 1@

:GetSampBase
0AA2: 31@ = load_library "kernel32.dll"
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@
0AA7: call_function 30@ num_params 1 pop 0 "samp.dll" 0@
0ab2: ret 1 0@

BTW i have no idea what your cleo does

thanks for help but that doesnt help me here maybe are other samp nick name i dont know where and how to type Ernis_Gangsta to numbers this is bot for samp that auto takes a invitation sorry for bad eng i still cant compile this

maybe you can unlock a cleo file? another this is a locked and good code
 

Attachments

  • Iskvietimas.cs
    53.1 KB · Views: 8
Last edited:

Parazitas

God
Joined
Jan 2, 2017
Messages
3,116
Solutions
5
Reaction score
882
Location
Lithuania
what i did wrong here? my name in game is Ernis_Gangsta can you help me please?

First of all, this is not your code.
Second, you can't understand anything what was written here...
And third, if you can't understand anything that mean you just waiting to get full ready code or just completely compiled cleo for your damn server for personal use...

So the results is..., chance that you get code is like 10%, good luck mate.
 
  • Like
Reactions: Krc
Status
Not open for further replies.
Top