DavidRO99 said:~y~C-Bug este ~r~interzis~y~!
{$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
	DavidRO99 said:@monday
@springfield
{$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: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
{$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
	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
A game func that if blocked doesnt offer me any advantage... also, enough smart, pEnglishdoroftel 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
DavidRO99 said:A game func that if blocked doesnt offer me any advantage... also, enough smart, pEnglishdoroftel 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
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 luldoroftel said:DavidRO99 said:A game func that if blocked doesnt offer me any advantage... also, enough smart, pEnglishdoroftel 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
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.
Well, it was your problem that I was noping A MESSAGE, sooo ye.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.
doroftel said:There was a question how to optimize script.
Mi-am dat seama cine esti, Finee de pe RPG 1.
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.
Logic ca am facut sa copie numai textul lol... strpbrk + strchr si done am luat textudoroftel 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![]()
Anyway, inca mai crezi ca este permis sa dai NOP la functii? Te sparge @Kelton
Btw,imi arati sursa in PM?