Raised This Month: $73 Target: $400
 18% 

NvM


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Culverton smith
Junior Member
Join Date: Apr 2021
Old 04-02-2021 , 11:10   NvM
Reply With Quote #1

nvm

Last edited by Culverton smith; 04-22-2021 at 05:08.
Culverton smith is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-02-2021 , 17:10   Re: client_print()
Reply With Quote #2

it would be much easier if you recreated the plugin trust me.

well you need to hook client_print and check if the 3rd parameter matches the string, if so block the function call, thats it.
__________________
@Jailbreak Main Mod v2.6.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 04-02-2021 at 17:44.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-02-2021 , 17:39   Re: client_print()
Reply With Quote #3

Use an existing advertisement plugin or request a new one with the features that you need. You should never run a plugin to which you do not have the source code because someone could have easily added a backdoor into the plugin (meaning that someone could hack your server).
__________________
fysiks is offline
Culverton smith
Junior Member
Join Date: Apr 2021
Old 04-02-2021 , 19:40   Re: client_print()
Reply With Quote #4

//

Last edited by Culverton smith; 04-22-2021 at 05:09.
Culverton smith is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-02-2021 , 20:17   Re: client_print()
Reply With Quote #5

It is completely unnecessary to try and hook the plugin's functions for something with such simple functionality. In addition to the risk of running a plugin to which you don't have the source code. Simply explain all the features of this plugin so that someone can either suggest an existing option or write a new one just for you.
__________________
fysiks is offline
Culverton smith
Junior Member
Join Date: Apr 2021
Old 04-03-2021 , 02:33   Re: client_print()
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
It is completely unnecessary to try and hook the plugin's functions for something with such simple functionality. In addition to the risk of running a plugin to which you don't have the source code. Simply explain all the features of this plugin so that someone can either suggest an existing option or write a new one just for you.
Thanks for your advice. But the point is that rewriting this plugin is very time consuming and no one will do it.
Culverton smith is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-03-2021 , 04:25   Re: client_print()
Reply With Quote #7

Quote:
Originally Posted by Culverton smith View Post
But the point is that rewriting this plugin is very time consuming and no one will do it.
How do you know? I haven't seen you describe the plugin more than just "it sends advertisements periodically" so I can't tell if that is true or not.
__________________
fysiks is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-03-2021 , 17:10   Re: client_print()
Reply With Quote #8

From what you said so far, the plugin can be written in less than 30 seconds with no more than 10 lines of code.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
KrazyKat
Junior Member
Join Date: Mar 2021
Old 04-03-2021 , 18:30   Re: client_print()
Reply With Quote #9

Quote:
Originally Posted by fysiks View Post
Use an existing advertisement plugin or request a new one with the features that you need. You should never run a plugin to which you do not have the source code because someone could have easily added a backdoor into the plugin (meaning that someone could hack your server).
What sorts of backdoors are generally possible to implement in a plugin that could harm a server? I have a similar issue and was genuinely interested in knowing what a developer can do to servers by releasing an amxx file that looks appealing to people but does shady stuff behind your back.

I also believe he's talking about a necessary plugin that has an advertisement function in set_task printing a message every minute or so, and he wants to prevent that message from showing up on the server.
KrazyKat is offline
Culverton smith
Junior Member
Join Date: Apr 2021
Old 04-03-2021 , 19:08   Re: client_print()
Reply With Quote #10

Quote:
Originally Posted by OciXCrom View Post
From what you said so far, the plugin can be written in less than 30 seconds with no more than 10 lines of code.
The plugin I am talking about is a complete mode and rewriting it is very time consuming

Quote:
Originally Posted by KrazyKat View Post
I also believe he's talking about a necessary plugin that has an advertisement function in set_task printing a message every minute or so, and he wants to prevent that message from showing up on the server.
It is true. This is exactly what I want to do.

Please write me an example so I can solve the problem.
Culverton smith is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:56.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode