CLEO Help Remove C-Bug text

CLEO related
Status
Not open for further replies.

DavidRO99

Active member
Joined
Nov 5, 2017
Messages
60
Reaction score
8
Anyone have an idea on how to remove this?
https://imgur.com/a/6sIyk

It's not a textdraw, because when I scan all the textdraws on screen I dont find it
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,115
Solutions
5
Reaction score
879
Location
Lithuania
1. Put this in cleo ....
2. Press keys J and 1
3. Get c - bug text 
4. Exit Game
5. Goto C:\...\Documents\GTA San Andreas User Files\SAMP and open  chatlog.txt
6. Find GameText: " "   linecopy and give here...
 

Attachments

  • GameText.cs
    19.2 KB · Views: 34

Parazitas

God
Joined
Jan 2, 2017
Messages
3,115
Solutions
5
Reaction score
879
Location
Lithuania
DavidRO99 said:
~y~C-Bug este ~r~interzis~y~!

I don't remember how delete it , but...
@monday   - Maybe you know how remove it? 

PHP:
{$CLEO .cs}
{$INCLUDE SF}
 
0000: NOP
 
0BE3: raknet setup_incoming_rpc_hook @IncomingRPC
30@ = 0
31@ = 0

:main
wait 0
if and
key_down 49 // 1
key_down 74 // J
then
    if
    31@ == 0
    then
        31@ = 1
        0AF8: "{FFFFFF}GameText Detect: {00FF33}Enabled" 1
    else
        31@ = 0
        0AF8: "{FFFFFF}GameText Detect: {FF0000}Disabled" 1
    end
    wait 1000
end
if
30@ == 1
then
    if
    31@ == 1
    then
        wait 2000
        // do something
        30@ = 0
    else
        31@ = 0
    end
end
jump @main
 
 
 
:IncomingRPC
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if and
0@ == RPC_SCRDISPLAYGAMETEXT // GameText
31@ == 1
then
    0BE5: raknet 1@ = get_hook_param PARAM_BITSTREAM
    //ignore gamtext style and time (8bytes = 64bits)
    0BEB: raknet bit_stream 1@ ignore_bits 64
    //read text length                                    
    0BE7: raknet 2@ = bit_stream_read 1@ type BS_TYPE_INT 
    //allocate text length + 1 for null terminating char   
    0A8E: 3@ = 2@ + 1 
    alloc 4@ = 3@ 
    //clear buffer, make sure last char is 0
    0C11: memset 4@ value 0 size 3@ 
    //read to buffer with size
    0BE8: raknet bit_stream 1@ read_array 4@ size 2@ 
    //chatmsg "GameText: %s" -1 4@
    if
    0C14: strcmp string1 4@ string2 "~y~C-Bug este ~r~interzis~y~!"
    then
        30@ = 1
    end  */
    free 4@
end
0BE0: raknet hook_ret true



:FAKE_KEYPRESS
1@ = 0xB73458 
005A: 1@ += 0@  // (int)
0A8C: write_memory 1@ size 1 value 255 virtual_protect 0
0AB2: ret 0
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,115
Solutions
5
Reaction score
879
Location
Lithuania
DavidRO99 said:
@monday
@springfield

Just try.. , NOT TESTED...

PHP:
{$CLEO .cs}
{$INCLUDE SF}
 
0000: NOP
 
0BE3: raknet setup_incoming_rpc_hook @IncomingRPC
30@ = 0
31@ = 0

:main
wait 0
if and
key_down 49 // 1
key_down 74 // J
then
    if
    31@ == 0
    then
        31@ = 1
        0AF8: "{FFFFFF}GameText Detect: {00FF33}Enabled" 1
    else
        31@ = 0
        0AF8: "{FFFFFF}GameText Detect: {FF0000}Disabled" 1
    end
    wait 1000
end
if
30@ == 1
then
    if
    31@ == 1
    then
        30@ = 0
    else
        31@ = 0
    end
end
jump @main
 
 
 
:IncomingRPC
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if and
0@ == RPC_SCRDISPLAYGAMETEXT // GameText
31@ == 1
then
    0BE5: raknet 1@ = get_hook_param PARAM_BITSTREAM
    //ignore gamtext style and time (8bytes = 64bits)
    0BEB: raknet bit_stream 1@ ignore_bits 64
    //read text length                                    
    0BE7: raknet 2@ = bit_stream_read 1@ type BS_TYPE_INT 
    //allocate text length + 1 for null terminating char   
    0A8E: 3@ = 2@ + 1 
    alloc 4@ = 3@ 
    //clear buffer, make sure last char is 0
    0C11: memset 4@ value 0 size 3@ 
    //read to buffer with size
    0BE8: raknet bit_stream 1@ read_array 4@ size 2@ 
    //chatmsg "GameText: %s" -1 4@
    if
    0C14: strcmp string1 4@ string2 "~y~C-Bug este ~r~interzis~y~!"
    then
        30@ = 1
        0B3E: raknet delete_bit_stream 4@
    end  */
    free 4@
end
0BE0: raknet hook_ret true
 

DavidRO99

Active member
Joined
Nov 5, 2017
Messages
60
Reaction score
8
Parazitas said:
DavidRO99 said:
@monday
@springfield

Just try.. , NOT TESTED...

PHP:
{$CLEO .cs}
{$INCLUDE SF}
 
0000: NOP
 
0BE3: raknet setup_incoming_rpc_hook @IncomingRPC
30@ = 0
31@ = 0

:main
wait 0
if and
key_down 49 // 1
key_down 74 // J
then
    if
    31@ == 0
    then
        31@ = 1
        0AF8: "{FFFFFF}GameText Detect: {00FF33}Enabled" 1
    else
        31@ = 0
        0AF8: "{FFFFFF}GameText Detect: {FF0000}Disabled" 1
    end
    wait 1000
end
if
30@ == 1
then
    if
    31@ == 1
    then
        30@ = 0
    else
        31@ = 0
    end
end
jump @main
 
 
 
:IncomingRPC
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if and
0@ == RPC_SCRDISPLAYGAMETEXT // GameText
31@ == 1
then
    0BE5: raknet 1@ = get_hook_param PARAM_BITSTREAM
    //ignore gamtext style and time (8bytes = 64bits)
    0BEB: raknet bit_stream 1@ ignore_bits 64
    //read text length                                    
    0BE7: raknet 2@ = bit_stream_read 1@ type BS_TYPE_INT 
    //allocate text length + 1 for null terminating char   
    0A8E: 3@ = 2@ + 1 
    alloc 4@ = 3@ 
    //clear buffer, make sure last char is 0
    0C11: memset 4@ value 0 size 3@ 
    //read to buffer with size
    0BE8: raknet bit_stream 1@ read_array 4@ size 2@ 
    //chatmsg "GameText: %s" -1 4@
    if
    0C14: strcmp string1 4@ string2 "~y~C-Bug este ~r~interzis~y~!"
    then
        30@ = 1
        0B3E: raknet delete_bit_stream 4@
    end  */
    free 4@
end
0BE0: raknet hook_ret true
The detection part seems to work fine because it crashes when I should get the message, now the deletion part is the problem  :sadpepe:
 

WaTTi

Well-known member
Joined
Jan 4, 2015
Messages
260
Reaction score
8
Code:
{$CLEO .cs}
{$INCLUDE SF}

0000: NOP

0BE3: raknet setup_incoming_rpc_hook @IncomingRPC
30@ = 0
31@ = 0

:main
wait 0
if and
key_down 49 // 1
key_down 74 // J
then
   if
   31@ == 0
   then
       31@ = 1
       0AF8: "{FFFFFF}GameText Detect: {00FF33}Enabled" 1
   else
       31@ = 0
       0AF8: "{FFFFFF}GameText Detect: {FF0000}Disabled" 1
   end
   wait 1000
end
if
30@ == 1
then
   if
   31@ == 1
   then
       30@ = 0
   else
       31@ = 0
   end
end
jump @main



:IncomingRPC
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if and
0@ == RPC_SCRDISPLAYGAMETEXT // GameText
31@ == 1
then
   0BE5: raknet 1@ = get_hook_param PARAM_BITSTREAM
   //ignore gamtext style and time (8bytes = 64bits)
   0BEB: raknet bit_stream 1@ ignore_bits 64
   //read text length                                    
   0BE7: raknet 2@ = bit_stream_read 1@ type BS_TYPE_INT 
   //allocate text length + 1 for null terminating char   
   0A8E: 3@ = 2@ + 1 
   alloc 4@ = 3@ 
   //clear buffer, make sure last char is 0
   0C11: memset 4@ value 0 size 3@ 
   //read to buffer with size
   0BE8: raknet bit_stream 1@ read_array 4@ size 2@ 
   //chatmsg "GameText: %s" -1 4@
   if
   0C14: strcmp string1 4@ string2 "~y~C-Bug este ~r~interzis~y~!"
   then
       30@ = 1
       0BE0: raknet hook_ret false
   end  */
   free 4@
end
0BE0: raknet hook_ret true
 

shanker

Well-known member
Joined
Sep 18, 2016
Messages
291
Reaction score
16
Location
Romania
DavidRO99 said:
Anyone have an idea on how to remove this?
https://imgur.com/a/6sIyk

It's not a textdraw, because when I scan all the textdraws on screen I dont find it

u r enough smart to share links w/ u r main acc when u r trying to nop game func
 

DavidRO99

Active member
Joined
Nov 5, 2017
Messages
60
Reaction score
8
doroftel said:
DavidRO99 said:
Anyone have an idea on how to remove this?
https://imgur.com/a/6sIyk

It's not a textdraw, because when I scan all the textdraws on screen I dont find it

u r enough smart to share links w/ u r main acc when u r trying to nop game func
A game func that if blocked doesnt offer me any advantage... also, enough smart, pEnglish
 

shanker

Well-known member
Joined
Sep 18, 2016
Messages
291
Reaction score
16
Location
Romania
DavidRO99 said:
doroftel said:
DavidRO99 said:
Anyone have an idea on how to remove this?
https://imgur.com/a/6sIyk

It's not a textdraw, because when I scan all the textdraws on screen I dont find it

u r enough smart to share links w/ u r main acc when u r trying to nop game func
A game func that if blocked doesnt offer me any advantage... also, enough smart, pEnglish

you dont even have any idea what are you talking about, aren't you?

you should just shut up if you still didn't get what i mean. Anyway, it's not allowed to nop server-side functions, specially on b-zone. #KELTON RULES.
 

DavidRO99

Active member
Joined
Nov 5, 2017
Messages
60
Reaction score
8
doroftel said:
DavidRO99 said:
doroftel said:
DavidRO99 said:
Anyone have an idea on how to remove this?
https://imgur.com/a/6sIyk

It's not a textdraw, because when I scan all the textdraws on screen I dont find it

u r enough smart to share links w/ u r main acc when u r trying to nop game func
A game func that if blocked doesnt offer me any advantage... also, enough smart, pEnglish

you dont even have any idea what are you talking about, aren't you?

you should just shut up if you still didn't get what i mean. Anyway, it's not allowed to nop server-side functions, specially on b-zone. #KELTON RULES.
Says the guy that released a copy-chat script that he made with the help of UGBase for 600k$ in-game and then said that it's legal unless you get caught with it lul

But we should stop this flaming, seriously.
 

shanker

Well-known member
Joined
Sep 18, 2016
Messages
291
Reaction score
16
Location
Romania
#cause of that i love my haters

https://imgur.com/a/nJaK0 , all that vehicles, from my copychat

is not your problem what mods i make ok? anyway i still wait that threads where i needed help of ugb to make that shit.
 

DavidRO99

Active member
Joined
Nov 5, 2017
Messages
60
Reaction score
8
doroftel said:
#cause of that i love my haters

https://imgur.com/a/nJaK0 , all that vehicles, from my copychat

is not your problem what mods i make ok? anyway i still wait that threads where i needed help of ugb to make that shit.
Well, it was your problem that I was noping A MESSAGE, sooo ye.
Anyways... http://ugbase.eu/Thread-a-little-question--18756
http://ugbase.eu/Thread-remove-space-after-strpbrk

Now, lets stop this.
 

DavidRO99

Active member
Joined
Nov 5, 2017
Messages
60
Reaction score
8
doroftel said:
There was a question how to optimize script.

Mi-am dat seama cine esti, Finee de pe RPG 1.

Se vede in poza numele :))))), ejti bon ma baiete.
Apropo, copy-chatul tau care il dai cu 600k l-am facut si eu in seara de revelion, ca nu am avut csf, numa textdraw-uri n-are ca mi se par inutile, daca nu ma crezi intreaba-l pe Ceausescu, ala care l-am batut cu copy-chat si a zis ca mi-ai dat scriptu fara criptare :))))))))

Acuma gata, sa ne oprim ca suntem ca niste copii.
 

shanker

Well-known member
Joined
Sep 18, 2016
Messages
291
Reaction score
16
Location
Romania
DavidRO99 said:
doroftel said:
There was a question how to optimize script.

Mi-am dat seama cine esti, Finee de pe RPG 1.

Se vede in poza numele :))))), ejti bon ma baiete.
Apropo, copy-chatul tau care il dai cu 600k l-am facut si eu in seara de revelion, ca nu am avut csf, numa textdraw-uri n-are ca mi se par inutile, daca nu ma crezi intreaba-l pe Ceausescu, ala care l-am batut cu copy-chat si a zis ca mi-ai dat scriptu fara criptare :))))))))

Acuma gata, sa ne oprim ca suntem ca niste copii.

Daca l-ai facut sa copieze exact cum copiaza al meu, ci nu toata linia, bravo, esti de-al meu  :D

Anyway, inca mai crezi ca este permis sa dai NOP la functii? Te sparge @Kelton

Btw,imi arati sursa in PM?
 

DavidRO99

Active member
Joined
Nov 5, 2017
Messages
60
Reaction score
8
doroftel said:
DavidRO99 said:
doroftel said:
There was a question how to optimize script.

Mi-am dat seama cine esti, Finee de pe RPG 1.

Se vede in poza numele :))))), ejti bon ma baiete.
Apropo, copy-chatul tau care il dai cu 600k l-am facut si eu in seara de revelion, ca nu am avut csf, numa textdraw-uri n-are ca mi se par inutile, daca nu ma crezi intreaba-l pe Ceausescu, ala care l-am batut cu copy-chat si a zis ca mi-ai dat scriptu fara criptare :))))))))

Acuma gata, sa ne oprim ca suntem ca niste copii.

Daca l-ai facut sa copieze exact cum copiaza al meu, ci nu toata linia, bravo, esti de-al meu  :D

Anyway, inca mai crezi ca este permis sa dai NOP la functii? Te sparge @Kelton

Btw,imi arati sursa in PM?
Logic ca am facut sa copie numai textul lol... strpbrk + strchr si done am luat textu :)))
Daca faci post ma sparge, si daca iau ban ca scot un text ma las de b-zone
Ce sursa?
 

shanker

Well-known member
Joined
Sep 18, 2016
Messages
291
Reaction score
16
Location
Romania
@DavidRO99,

daca stii modul lui rasta pentru Hitmen, ce-l care nu-ti permitea sa omori tinta daca esti prea aproape de ea, era ilegal. Ghici de ce? Impiedica script-ul sa-ti dea FW. #KELTON RULES

Sursa modului sa ma conving eu ca nu vorbesti aiurea doar sa te dai mare, cum fac majoritatea :)
 
Status
Not open for further replies.
Top