Raised This Month: $ Target: $400
 0% 

Plugin Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-06-2010 , 18:58   Re: Plugin Protection
Reply With Quote #1

Quote:
Originally Posted by OvidiuS View Post
neither one of this codes is working on online server
Code:
public function()
    if( find_plugin_byfile("TRalala.amxx") == INVALID_PLUGIN_ID ) 
{ 
    set_fail_state("Trallalalal");
}
Code:
public client_putinserver()
{
    new szIP[33]
 
    get_user_ip(0, szIP, charsmax(szIP), 0) 
    if( !equali(szIP, "127.0.0.1") ) 
    set_fail_state("Trallalalal") 
}
if i set right IP, plugin sends error anyway...
and first one find plugin by file, doesnt show any fail in error log
even if there is no TRalala.amxx, maybe cause i have files like this
TRalalaHP.amxx?
If you server is behind a router then you probably need to use the cvar instead of get_user_id() and make sure your ip cvar is set correctly.
__________________
fysiks is offline
Old 08-06-2010, 19:37
vL.
This message has been deleted by vL.. Reason: nvm
sb123
Senior Member
Join Date: Jan 2007
Old 08-08-2010 , 17:01   Re: Plugin Protection
Reply With Quote #3

I have a MAC address authorization module
If the MAC and IP addresses do not match the plugins will not start
If necessary, please leave your e-mail I will send to you.
I do not want to release here
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 08-08-2010 , 18:22   Re: Plugin Protection
Reply With Quote #4

Anyone half-sane with skill to tamper with natives would just rewrite the plugin he wants, but theoretically it can be done.
__________________

Jack86 is offline
Reply



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 00:09.


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