AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [ REQ] Server Name (https://forums.alliedmods.net/showthread.php?t=117007)

shuttle_wave 01-28-2010 08:47

[ REQ] Server Name
 
Basicly wat the server name does it detects if the server name it Shuttle_Wave | in the front it can be any server name but it has to have Shuttle_Wave | in front mayb like Shuttle_Wave | Zombie. but if the name does not have shuttle_wave display on hud Incorrent Server Name in Red for 5 secs and shutdown the server


Thats All :D

Jack86 01-28-2010 10:10

Re: [ REQ] Server Name
 
PHP Code:

new hostname[64]
get_cvar_string("hostname",hostname,63)
if(
containi(hostname,"Shuttle_Wave")!= -1)   server_cmd("quit"


YamiKaitou 01-28-2010 10:15

Re: [ REQ] Server Name
 
LOL

You still trying to put a "lock" method on your private plugins? The best way to protect your private plugins is to keep them private...

hleV 01-28-2010 10:41

Re: [ REQ] Server Name
 
Explain the purpose of this.

vL. 01-28-2010 15:44

Re: [ REQ] Server Name
 
Dude this is super :) I have looked a way to protect my plugins for such a long time :)
Btw how to compile it, it gives an error and how to protect it by ip and hostname.

YamiKaitou 01-28-2010 16:51

Re: [ REQ] Server Name
 
The best way to protect your plugins is to just not distribute them... Adding these "backdoor" protection systems is stupid and is not supported here.

vL. 01-28-2010 17:00

Re: [ REQ] Server Name
 
Why isnt it supported? And mby some hacker hacks into ur ftp and steals the plugin, it happened to a friend of mine once.

wrecked_ 01-28-2010 17:17

Re: [ REQ] Server Name
 
Quote:

Originally Posted by vL. (Post 1070996)
Why isnt it supported? And mby some hacker hacks into ur ftp and steals the plugin, it happened to a friend of mine once.

If you're not dumb, that usually won't happen. If anyone legitimately wanted that plugin and was able to hack your FTP without you giving them any information, I'm sure they could just hack your computer and get that source code to change the lock. Either way, the chances are extremely slim.

vL. 01-28-2010 17:25

Re: [ REQ] Server Name
 
Well still, I would like to add this feature to my plugin :).
Better be safe than sorry.

fysiks 01-28-2010 18:20

Re: [ REQ] Server Name
 
Quote:

Originally Posted by YamiKaitou (Post 1070616)
LOL

You still trying to put a "lock" method on your private plugins? The best way to protect your private plugins is to keep them private...

lock and advertise apparently.

Quote:

Originally Posted by vL. (Post 1071024)
Well still, I would like to add this feature to my plugin :).
Better be safe than sorry.

You want the name "Shuttle_Wave" in your server name?


All times are GMT -4. The time now is 09:35.

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