Raised This Month: $32 Target: $400
 8% 

[ REQ] Server Name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 01-28-2010 , 08:47   [ REQ] Server Name
Reply With Quote #1

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
__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave is offline
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 01-28-2010 , 10:10   Re: [ REQ] Server Name
Reply With Quote #2

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

Jack86 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-28-2010 , 10:15   Re: [ REQ] Server Name
Reply With Quote #3

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...
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 01-28-2010 , 10:41   Re: [ REQ] Server Name
Reply With Quote #4

Explain the purpose of this.
__________________
hleV is offline
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 01-28-2010 , 15:44   Re: [ REQ] Server Name
Reply With Quote #5

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.
vL. is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-28-2010 , 16:51   Re: [ REQ] Server Name
Reply With Quote #6

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.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 01-28-2010 , 17:00   Re: [ REQ] Server Name
Reply With Quote #7

Why isnt it supported? And mby some hacker hacks into ur ftp and steals the plugin, it happened to a friend of mine once.
vL. is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 01-28-2010 , 17:17   Re: [ REQ] Server Name
Reply With Quote #8

Quote:
Originally Posted by vL. View Post
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.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 01-28-2010 , 17:25   Re: [ REQ] Server Name
Reply With Quote #9

Well still, I would like to add this feature to my plugin .
Better be safe than sorry.
vL. is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-28-2010 , 18:20   Re: [ REQ] Server Name
Reply With Quote #10

Quote:
Originally Posted by YamiKaitou View Post
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. View Post
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?
__________________
fysiks 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 09:44.


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