Best plugin protection
How can i protect my plugin for my use only? I thaught maybe the plugin can check if server ip is cs.domain.lv, else plugin crashes. How can i do that?
|
Re: Best plugin protection
Use THE FREAKING SHEARCH!!!!!!
|
Re: Best plugin protection
|
Re: Best plugin protection
|
Re: Best plugin protection
1) This code isnt working.
2) I need to check domain, not ip. (if server domain is cs.domain.lv) 3) And how to check servername? new ip[16], port[8] new komplet[30] get_cvar_string("ip", ip, charsmax ) get_cvar_string("port", port, charsmax(port)) format(komplet,charsmax(komplet), "%s:%s", ip, port)...... .................... .......................... { if (equal ( komplet, "213.213.213:27015")) return PLUGIN_CONTINUE { else { set_fail_state ( "Illegal USE") } |
Re: Best plugin protection
Code:
|
Re: Best plugin protection
But if YOUR_IP = cs.domain.com, will it work? And getting user 0 ip = server, right?
|
Re: Best plugin protection
Your IP isn't actually cs.domain.com...
To get the server ip go into your server and type Code:
status |
Re: Best plugin protection
I know how to get ip. :P Start -> Run.. -> cmd -> ping cs.mydomain.com
But thanks for the help. :) |
Re: Best plugin protection
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 |
| All times are GMT -4. The time now is 00:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.