CLEO Help Anti AFK

CLEO related
Status
Not open for further replies.

fahrein

Active member
Joined
Apr 18, 2014
Messages
103
Reaction score
0
Hi

When I afk games, i must send /afk <code> command(Randomize Afk Code).

[15:29:56] {007DFA}[!] {90a3b6}AntiAFK: AFK CODE[{ffffff}TV65{90a3b6}] - /afk <code> write. {ffcb05}Warn: 1/3

How to do this cleo? (Write Red Afk Codes)

[member=111]springfield[/member] [member=8182]0B36[/member]

Thank you
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Code:
{$CLEO}

thread "chat"

const
FUNC_SAY = 0x57F0
end

while true
wait 0
if
    0AB0: 56
then
    alloc 1@ = 260
    0AB1: call @getChatEntryText 1 99
    alloc 2@ = 260
    if
        0AD4: 3@ = 1@ "AntiAFK: AFK CODE %s - /afk <code> write." 2@ 
    then
        call @SAY 1 "/afk %s" 2@
        free 1@
        free 2@
    end
end
end    

:getChatEntryText
0AA2: 1@ = "samp.dll"
1@ += 0x21A0E4
0A8D: 1@ readMem 1@ sz 4 vp 0
1@ += 0x132
0@ *= 0xFC
005A: 1@ += 0@ 
1@ += 0x20
0AA3: 1@
0AB2: ret 1 1@

:SAY
0AA2: 1@ = "samp.dll"
1@ += FUNC_SAY
0AA5: call 1@ num_param 1 pop 0 0@
0AB2: ret 0

[member=15816]fahrein[/member] Try that.
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Read here, and use codez as example.
http://ugbase.eu/help-7/i-just-need-a-little-help/msg67727/#msg67727
http://ugbase.eu/help-7/0ad4-doesn't-seem-to-support-the-''-character/msg76655/#msg76655
 

HayırdırTR

Active member
Joined
Nov 1, 2014
Messages
34
Reaction score
0
{$CLEO}

thread "chat"

const
FUNC_SAY = 0x57F0
end

while true
wait 0
if
    0AB0: 56
then
    alloc 1@ = 260
    0AB1: call @getChatEntryText 1 99
    alloc 2@ = 260
    if
        0AD4: 3@ = 1@ "AntiAFK: AFK CODE %s - /afk <code> write." 2@
    then
        call @SAY 1 "/afk %s" 2@
        free 1@
        free 2@
    end
end
end   

:getChatEntryText
0AA2: 1@ = "samp.dll"
1@ += 0x21A0E4
0A8D: 1@ readMem 1@ sz 4 vp 0
1@ += 0x132
0@ *= 0xFC
005A: 1@ += 0@
1@ += 0x20
0AA3: 1@
0AB2: ret 1 1@

:SAY
0AA2: 1@ = "samp.dll"
1@ += FUNC_SAY
0AA5: call 1@ num_param 1 pop 0 0@
0AB2: ret 0

Cleo convert Please  :yesyes:
 

HayırdırTR

Active member
Joined
Nov 1, 2014
Messages
34
Reaction score
0
mehdi04 Please CLEO editing. Dont Working

[15:18:14] {007DFA}[!] {90a3b6}AntiAFK: AFK Kodu[{ffffff}OV24{90a3b6}] - /afk <afk kodu> yazınız. {5ca028}Uyarı: 1/3

[15:18:14] {007DFA}[!] {90a3b6}AntiAFK: AFK Kodu[{ffffff}OV24{90a3b6}] - /afk <afk kodu> yazınız. {ffcb05}Uyarı: 2/3

[15:18:14] {007DFA}[!] {90a3b6}AntiAFK: AFK Kodu[{ffffff}OV24{90a3b6}] - /afk <afk kodu> yazınız. {cc3333}Uyarı: 3/3

Code:

{$CLEO}

thread "chat"

const
FUNC_SAY = 0x57F0
end

while true
wait 0
if
    0AB0: 56
then
    alloc 1@ = 260
    0AB1: call @getChatEntryText 1 99
    alloc 2@ = 260
    if
        0AD4: 3@ = 1@ "AntiAFK: AFK Kodu %s - /afk <afk kodu> yazınız." 2@
    then
        call @SAY 1 "/afk %s" 2@
        free 1@
        free 2@
    end
end
end   

:getChatEntryText
0AA2: 1@ = "samp.dll"
1@ += 0x21A0E4
0A8D: 1@ readMem 1@ sz 4 vp 0
1@ += 0x132
0@ *= 0xFC
005A: 1@ += 0@
1@ += 0x20
0AA3: 1@
0AB2: ret 1 1@

:SAY
0AA2: 1@ = "samp.dll"
1@ += FUNC_SAY
0AA5: call 1@ num_param 1 pop 0 0@
0AB2: ret 0
 

fahrein

Active member
Joined
Apr 18, 2014
Messages
103
Reaction score
0
you should Change "AntiAFK: AFK Kodu %s - /afk <afk kodu> yazınız" to "{007DFA}[!] {90a3b6}AntiAFK: AFK Kodu[{ffffff}%s{90a3b6}] - /afk <afk kodu> yazınız. {5ca028}Uyarı: 1/3" or "[!] AntiAFK: AFK Kodu[%s] - /afk <afk kodu> yazınız. Uyarı: 1/3"
 

mehdi04

Active member
Joined
Jul 17, 2015
Messages
123
Reaction score
0
Location
Morocco
try this two one of them should work  :imoverit:
 

Attachments

  • AntiAFK.cs
    18.2 KB · Views: 31
  • AntiAFK1.cs
    18.1 KB · Views: 38

ougnou

Member
Joined
Aug 27, 2013
Messages
7
Reaction score
0
By the way I got an old bot it's name is "GTA bot | by platin" It's an anti AFK and autochat if you want it I can upload it
 
Status
Not open for further replies.
Top