Anti Spec Hopping
by =|[76AD]|= TatsuSaisei · 2008-01-12
· 12 replies · 10371 views · 155 downloads
Read the thread (13 posts)
From the first post
Well, I have a problem and I need a plug in. Basic function to stop spec hopping.n n n nThis is what I am aiming for …..n n n nWhen they join spec then join team to avoid spawn tiems, I want to make them wait longer then normal. If possible I want them to wait 45 seconds and while they are in the wait process I would like them to receive a motd still message linking to an adjustable web link to pop up on them. I would also like to gag them and prevent chat while waiting..n n n nOn/off featuren nWeblink featuren n45 second waitn nGag the micn nProvent chat messagesn n n nDo you think this would be possible to build a source code for me? I really have no experience with amxx codes and need some ones help here. This also should be able to be used with earlier release of amxx.n n n nRollin~Death
n
nNot dod specific, although all the cvars lead with dod_
n
n
INSTRUCTIONS:n* Say Commands:nsay /specmode - Command to let others know if plugin is active and how much time to waitn* Cvars:ndod_spec_mode "1" - Enables the plugin (0=off/1=on)ndod_spec_motd "1" - Enables motd display (0=off/1=on)ndod_spec_timer "1" - Enables timer display (0=off/1=on)ndod_spec_motd_url "[url=http://dodplugins.net/]http://dodplugins.net[/url]" - URL for the motd displayndod_spec_motd_title "Anti-Spec Hopping" - motd title (also used in say message output)ndod_spec_free_msg "You are free to choose a team and begin playing again!" - message to display to player once timer runs outndod_spec_timer_top "SPECTATOR" - word displayed over the remaining time leftndod_spec_timer_bottom "TIMER" - word displayed under the remaining time leftndod_spec_timer_r "255" - amount of RED color used in timer displayndod_spec_timer_g "0" - amount of GREEN color used in timer displayndod_spec_timer_b "0" - amount of BLUE color used in timer displayndod_spec_timer_x" -1.0" - position of timer on X axis (-1.0=centered/0.00-0.99=valid positions)ndod_spec_timer_y "0.60" - position of timer on Y axis (-1.0=centered/0.00-0.99=valid positions)ndod_spec_time "30" - number of seconds before being allowed to rejoin a team
n
nonly thing not put in was mic gagging/chat prevention...
The thread
All 13 posts from 9 people on
Anti Spec Hopping, kept as they were written.
=|[76AD]|= TatsuSaisei
started this thread
Posts: 794
Threads: 54
Joined: May 2005
Well, I have a problem and I need a plug in. Basic function to stop spec hopping.n n n nThis is what I am aiming for …..n n n nWhen they join spec then join team to avoid spawn tiems, I want to make them wait longer then normal. If possible I want them to wait 45 seconds and while they are in the wait process I would like them to receive a motd still message linking to an adjustable web link to pop up on them. I would also like to gag them and prevent chat while waiting..n n n nOn/off featuren nWeblink featuren n45 second waitn nGag the micn nProvent chat messagesn n n nDo you think this would be possible to build a source code for me? I really have no experience with amxx codes and need some ones help here. This also should be able to be used with earlier release of amxx.n n n nRollin~Death
n nNot dod specific, although all the cvars lead with dod_n n
nINSTRUCTIONS:n* Say Commands:nsay /specmode - Command to let others know if plugin is active and how much time to waitn* Cvars:ndod_spec_mode "1" - Enables the plugin (0=off/1=on)ndod_spec_motd "1" - Enables motd display (0=off/1=on)ndod_spec_timer "1" - Enables timer display (0=off/1=on)ndod_spec_motd_url "http://dodplugins.net" - URL for the motd displayndod_spec_motd_title "Anti-Spec Hopping" - motd title (also used in say message output)ndod_spec_free_msg "You are free to choose a team and begin playing again!" - message to display to player once timer runs outndod_spec_timer_top "SPECTATOR" - word displayed over the remaining time leftndod_spec_timer_bottom "TIMER" - word displayed under the remaining time leftndod_spec_timer_r "255" - amount of RED color used in timer displayndod_spec_timer_g "0" - amount of GREEN color used in timer displayndod_spec_timer_b "0" - amount of BLUE color used in timer displayndod_spec_timer_x" -1.0" - position of timer on X axis (-1.0=centered/0.00-0.99=valid positions)ndod_spec_timer_y "0.60" - position of timer on Y axis (-1.0=centered/0.00-0.99=valid positions)ndod_spec_time "30" - number of seconds before being allowed to rejoin a teamn
n nonly thing not put in was mic gagging/chat prevention...
Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
Gonna try this out rite away!.rnrn:)
J
jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
it works but if you die at the very end of the round, You cant spec jump in order to spawn again. The cure for lame spec hoppers is plenty of good admins.
{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
thanks tatsu im on this one to good job
S
staticred
posted here
Posts: 6
Threads: 2
Joined: Feb 2008
very cool and works good.. but is there a way to change the motd_url . iv changed it to a simple html page i made saying dont spec jump you must wait 15 seconds to respawn.. iv looked all through the code.. replaced the motd_url with mine.. but it keeps showing the dodpluins.net webpage.....
J
jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
Can you make the plugin have cvar for admin immunity ?
|
|OnEHiTwOnDeR|SoCal
posted here
Posts: 320
Threads: 37
Joined: Mar 2007
lol wtfrnrnyou allow admins to break rules but not players?
Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
Is this message as much help as the one above?
J
jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
I'm not following either of 7 or 8's posts.rnrnWhat are you both trying to convey ?rnrn#7 rules what rules ?rnrn#8 help ?, help about #7's postrnrnI'm lost, Heheh.
S
staticred
posted here
Posts: 6
Threads: 2
Joined: Feb 2008
never mind my post. i got it fixed :P for some reason it made a temp html motd in my dod folder and it was the default one you added to the code ( this website address) and it kept showing that when people went to spec.. but all fixed now.. great plugin. thanks :)
=|[76AD]|= TatsuSaisei
started this thread
Posts: 794
Threads: 54
Joined: May 2005
very cool and works good.. but is there a way to change the motd_url . iv changed it to a simple html page i made saying dont spec jump you must wait 15 seconds to respawn.. iv looked all through the code.. replaced the motd_url with mine.. but it keeps showing the dodpluins.net webpage.....
n nthe secret to changing any CVAR is to not only change it in the plugin/config file, but unless you plan on rebooting your server you WILL have to manually change the cvar in the console as well.. since it will "remember" the original until the server is restarted and rereads the config file or someone manually changes it...
RollinDeath
posted here
Posts: 39
Threads: 6
Joined: Nov 2007
I just wanted to say that the plug in was great and work like a charm on 1.76d amxx. The only problem I ever noticed was when the map loaded and you joined spectator immediately, you would then have to wait out the timer before you could join any other team. I have never had any other known problems and the fact that people would rather spec hop than wait out the time limits really disturbs me now more than ever since there are plug in's which actually reduce spawn times for servers who wish to decrease a players waiting time.
L
Legend Born
posted here
Posts: 18
Threads: 2
Joined: Feb 2009
you allow admins to break rules but not players?
rnrnJust to say, as an admin (who's not running--yet--the ESP plugin) who relies on occasionally jumping into spec to briefly watch someone or take a demo, yeah I can see wanting to be immune to this.