Remove C-Bug text

Status
Not open for further replies.

DavidRO99

Well-Known Member
Joined
Nov 5, 2017
Messages
56
Likes
0
Points
6
#1
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

Well-Known Member
Joined
Jan 2, 2017
Messages
677
Likes
2
Points
18
Location
Lithuania
Website
ugbase.eu
#2
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

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
677
Likes
2
Points
18
Location
Lithuania
Website
ugbase.eu
#4
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
[email protected] = 0
[email protected] = 0

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



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

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
677
Likes
2
Points
18
Location
Lithuania
Website
ugbase.eu
#6
DavidRO99 said:
@monday
@springfield
Just try.. , NOT TESTED...

PHP:
{$CLEO .cs}
{$INCLUDE SF}
 
0000: NOP
 
0BE3: raknet setup_incoming_rpc_hook @IncomingRPC
[email protected] = 0
[email protected] = 0

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

DavidRO99

Well-Known Member
Joined
Nov 5, 2017
Messages
56
Likes
0
Points
6
#7
Parazitas said:
DavidRO99 said:
@monday
@springfield
Just try.. , NOT TESTED...

PHP:
{$CLEO .cs}
{$INCLUDE SF}
 
0000: NOP
 
0BE3: raknet setup_incoming_rpc_hook @IncomingRPC
[email protected] = 0
[email protected] = 0

:main
wait 0
if and
key_down 49 // 1
key_down 74 // J
then
    if
    [email protected] == 0
    then
        [email protected] = 1
        0AF8: "{FFFFFF}GameText Detect: {00FF33}Enabled" 1
    else
        [email protected] = 0
        0AF8: "{FFFFFF}GameText Detect: {FF0000}Disabled" 1
    end
    wait 1000
end
if
[email protected] == 1
then
    if
    [email protected] == 1
    then
        [email protected] = 0
    else
        [email protected] = 0
    end
end
jump @main
 
 
 
:IncomingRPC
0BE5: raknet [email protected] = get_hook_param PARAM_PACKETID
if and
[email protected] == RPC_SCRDISPLAYGAMETEXT // GameText
[email protected] == 1
then
    0BE5: raknet [email protected] = get_hook_param PARAM_BITSTREAM
    //ignore gamtext style and time (8bytes = 64bits)
    0BEB: raknet bit_stream [email protected] ignore_bits 64
    //read text length                                    
    0BE7: raknet [email protected] = bit_stream_read [email protected] type BS_TYPE_INT 
    //allocate text length + 1 for null terminating char   
    0A8E: [email protected] = [email protected] + 1 
    alloc [email protected] = [email protected] 
    //clear buffer, make sure last char is 0
    0C11: memset [email protected] value 0 size [email protected] 
    //read to buffer with size
    0BE8: raknet bit_stream [email protected] read_array [email protected] size [email protected] 
    //chatmsg "GameText: %s" -1 [email protected]
    if
    0C14: strcmp string1 [email protected] string2 "~y~C-Bug este ~r~interzis~y~!"
    then
        [email protected] = 1
        0B3E: raknet delete_bit_stream [email protected]
    end  */
    free [email protected]
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
239
Likes
0
Points
16
Website
ww
#9
Code:
{$CLEO .cs}
{$INCLUDE SF}

0000: NOP

0BE3: raknet setup_incoming_rpc_hook @IncomingRPC
[email protected] = 0
[email protected] = 0

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



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

shanker

Well-Known Member
Joined
Sep 18, 2016
Messages
221
Likes
0
Points
16
Location
Romania
#10
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
 
OP
OP
D

DavidRO99

Well-Known Member
Joined
Nov 5, 2017
Messages
56
Likes
0
Points
6
#11
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
221
Likes
0
Points
16
Location
Romania
#12
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.
 
OP
OP
D

DavidRO99

Well-Known Member
Joined
Nov 5, 2017
Messages
56
Likes
0
Points
6
#13
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
221
Likes
0
Points
16
Location
Romania
#14
#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.
 
OP
OP
D

DavidRO99

Well-Known Member
Joined
Nov 5, 2017
Messages
56
Likes
0
Points
6
#15
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.
 
OP
OP
D

DavidRO99

Well-Known Member
Joined
Nov 5, 2017
Messages
56
Likes
0
Points
6
#17
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
221
Likes
0
Points
16
Location
Romania
#18
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?
 
OP
OP
D

DavidRO99

Well-Known Member
Joined
Nov 5, 2017
Messages
56
Likes
0
Points
6
#19
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
221
Likes
0
Points
16
Location
Romania
#20
@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