Raised This Month: $66 Target: $400
 16% 

TS vote blocker


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   The Specialists        Category:   General Purpose        Approver:   twistedeuphoria (82)
Maddo
Member
Join Date: Dec 2004
Old 11-02-2005 , 11:44   TS vote blocker
Reply With Quote #1

Quick little plugin to block the built-in map voting feature of TS. Players typing in "vote map..." or "votemap..." into chat will receive a message indicating that voting is blocked on the server. I wrote this plugin since amxx screws up this voting anyway (no matter what you vote for, it will just go to the map in amx_nextmap if it is successful) and amxmodx has better voting facilities anyway.

Requirements: AMXX (no extra modules)
Tested with 1.0 and 1.60
Attached Files
File Type: sma Get Plugin or Get Source (novoting.sma - 1074 views - 887 Bytes)
Maddo is offline
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 11-04-2005 , 20:44  
Reply With Quote #2

This isnt very good plugin cant u just disable voting anyways ?
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
Maddo
Member
Join Date: Dec 2004
Old 11-04-2005 , 21:35  
Reply With Quote #3

If there's a way to turn off the *built in* TS voting, I'd love to hear it.

Incase you didn't read or understand what I wrote above, this map voting feature is built directly into the TS mod, and has absolutely nothing to do with metamod or amxx.
Maddo is offline
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 11-04-2005 , 22:44  
Reply With Quote #4

oh didnt think of that but there wasnt no reason to lower my karma for a simple question.
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
Maddo
Member
Join Date: Dec 2004
Old 11-04-2005 , 23:08  
Reply With Quote #5

I don't want to get into a big thing here, but that was not a "simple question". You come in here, you say the plugin isn't very good even though you haven't even tried it out, and don't understand what it's supposed to do. I don't mind answering questions about it, if you at least read the first post thoroughly before you ask, and you refrain from criticism before you have adaquete information.
Maddo is offline
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 11-04-2005 , 23:51  
Reply With Quote #6

yes i do know what it does it stops the voting of maps and other votes etc such as a duel server for example you want it on 1 map only in a duel server for a clan etc u use this plugin and make that simpler then disabling it the harder way so u made a plugin to make it easy to disable voting. so the map wont change it will stay on duel_bladefu_final etc.
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
Maddo
Member
Join Date: Dec 2004
Old 11-05-2005 , 00:14  
Reply With Quote #7

What do you mean when you say instead of disabling it the harder way? Is there another way of turning off map voting in TS? I wrote this plugin because I didn't think there was another way.
Maddo is offline
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 11-05-2005 , 00:18  
Reply With Quote #8

yes there is another way but this way is much better good job well ima go for now because i need some sleep
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
colby
Senior Member
Join Date: Jun 2005
Location: NC
Old 11-05-2005 , 19:14  
Reply With Quote #9

Great plugin Maddo, I didn't even know about the built-in votemap feature. Guess I'll be using this to block people from voting for maps not in the cycle.
colby is offline
Send a message via AIM to colby
Maddo
Member
Join Date: Dec 2004
Old 11-05-2005 , 23:25  
Reply With Quote #10

Thanks Colby

Update:
Turns out I missed a few valid voting cases

not only do these work:
vote map <mapname>
votemap <mapname>

but also without the spaces:
vote map<mapname>
votemap<mapname>

and even with extra spaces: (underscore representing spaces)
vote________map________<mapname>
etc.

So the new version takes care of these cases where you could get around the vote-block simply by adding extra spaces between the words
Maddo is offline
Reply


Thread Tools
Display Modes

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 21:23.


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