Jump to content

Map Vote Plugin V1.0.2.0 - 1 August 2010


ImportBot

Recommended Posts

Originally Posted by f0xy0k*:

 

Razor]

mine still not listing for some reason arrr, i've even deleted procon from system re-downloaded procon and votemap and still not listing ht emaps. The list option.txt doesn't list level/mp012cq or level/mp_005gr maps either.

any ideas.

Edit the maps in on the source code, then when you reload the plugin it will show by default.
excellent they now show thanks.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 115
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    116

Originally Posted by LAB-HeliMagnet*:

 

*Shrugs shoulders*

 

I just downloaded 0.5.4.5 (clean install), downloaded the plugin on the first page, and it worked for me :? I can add and remove them from the list and they show up in game.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LAB-HeliMagnet*:

 

Razor]Hi, first of all thanks for a great tool. However map names still don't display for me so I edited the code and replaced this

The text in-game when it displays the vote options is going to have redundant information (you are voting on squad deathmatch maps and the options will all say "Squad Deathmatch - "
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by IRF-Razor*:

 

That it does, but at least now I can see what I'm voting. Before the edit all I saw was 1.2.3.4.5.6. I know it does not make sense but maybe it's my other plugins or even Win7-64 that buggers me around.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LAB-HeliMagnet*:

 

Razor]That it does, but at least now I can see what I'm voting. Before the edit all I saw was 1.2.3.4.5.6. I know it does not make sense but maybe it's my other plugins or even Win7-64 that buggers me around.

I have the same setup
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by VAM*:

 

i dont know:

how players must vote for other mode and maps?

my server has 32 slots. help me to set up map vote. 50 percent of all players must vote the same! is this possible?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by RadicalMode*:

 

Hey,

 

I have a Rush only server.

 

I don't want to have gametype voting, or leave rush as the only option.

 

Is it possible to implement a DEFAULT gametype to bypass gametype voting?

 

if there's only one option in gametype, then the plugin should bypass the gametype voting and go to the map voting.

 

Thanks!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by killerin*:

 

works really great, but Nelson Bay and (part of mappack 5) and White Pass doesn't appears even if i changed the code to

Code:

if(newEntries[i].Equals("levels/mp_001") == false && newEntries[i].Equals("levels/mp_003") == false && newEntries[i].Equals("levels/mp_005") == false && newEntries[i].Equals("levels/mp_006cq") == false && newEntries[i].Equals("levels/mp_007") == false && newEntries[i].Equals("levels/mp_008cq") == false && newEntries[i].Equals("levels/mp_009cq") == false && newEntries[i].Equals("levels/mp_012cq") == false) {
            			MessageBox.Show(@"You entered an incorrect map name.
Available names:	""levels/mp_001"" 
		""levels/mp_003""
		""levels/mp_005""
		""levels/mp_006cq""
		""levels/mp_007""
		""levels/mp_008cq""
		""levels/mp_009cq""
		""levels/mp_012cq""", "Input Error", MessageBoxButtons.OK);
            			if(newEntries.Count == oldEntries.Count) {		// Edited an existing entry
            				newEntries[i] = oldEntries[i];
            			}
            			else {												// Added to the list, just add a default gametype
            				newEntries.RemoveAt(i);
            			}
            		}
            	}
            	this.m_conquestList = removeDuplicates(newEntries);
            }
            else if (strVariable.CompareTo("Rush Voting Possibilities") == 0) {
            	string[] temp = CPluginVariable.DecodeStringArray(strValue.ToLower());
            	oldEntries = this.m_rushList;
            	if(temp.Length == 0 || temp[0].Equals("")) {
            		newEntries.Add("levels/mp_002");
            	}
            	else {
            		for(int i=0; i<temp.Length; i++) {
            			newEntries.Add(temp[i]);
            		}
            	}
and

Code:

for(int i=0; i<newEntries.Count; i++) {
            		if(newEntries[i].Equals("levels/mp_002") == false && newEntries[i].Equals("levels/mp_004") == false && newEntries[i].Equals("levels/mp_005gr") == false && newEntries[i].Equals("levels/mp_006") == false && newEntries[i].Equals("levels/mp_007gr") == false && newEntries[i].Equals("levels/mp_008") == false && newEntries[i].Equals("levels/mp_009gr") == false && newEntries[i].Equals("levels/mp_012gr") == false) {
            			MessageBox.Show(@"You entered an incorrect map name.
Available names:	""levels/mp_002"" 
		""levels/mp_004""
		""levels/mp_005gr""
		""levels/mp_006""
		""levels/mp_007gr""
		""levels/mp_008""
		""levels/mp_009gr""
		""levels/mp_012gr""", "Input Error", MessageBoxButtons.OK);
            			if(newEntries.Count == oldEntries.Count) {		// Edited an existing entry
            				newEntries[i] = oldEntries[i];
            			}
            			else {												// Added to the list, just add a default gametype
            				newEntries.RemoveAt(i);
            			}
            		}
            	}
            	this.m_rushList = removeDuplicates(newEntries);
            }
            else if (strVariable.CompareTo("Squad Deathmatch Voting Possibilities") == 0) {
            	string[] temp = CPluginVariable.DecodeStringArray(strValue.ToLower());
            	oldEntries = this.m_sqdmList;
            	if(temp.Length == 0 || temp[0].Equals("")) {
            		newEntries.Add("levels/mp_007sdm");
            	}
            	else {
            		for(int i=0; i<temp.Length; i++) {
            			newEntries.Add(temp[i]);
            		}
            	}
even change the option list to

Code:

// Gametype List:
cq
rush
sqdm
sqrush

// Conquest List:
levels/mp_001
levels/mp_003
levels/mp_005
levels/mp_006cq
levels/mp_007
levels/mp_008cq
levels/mp_009cq
levels/mp_012cq 

// Rush List:
levels/mp_002
levels/mp_004
levels/mp_005gr
levels/mp_006
levels/mp_008
levels/mp_009gr
levels/mp_012gr
Would be great to have the new maps in!!!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by killerin*:

 

works really great, but Nelson Bay and (part of mappack 5) and White Pass doesn't appears even if i changed the code to

Code:

if(newEntries[i].Equals("levels/mp_001") == false && newEntries[i].Equals("levels/mp_003") == false && newEntries[i].Equals("levels/mp_005") == false && newEntries[i].Equals("levels/mp_006cq") == false && newEntries[i].Equals("levels/mp_007") == false && newEntries[i].Equals("levels/mp_008cq") == false && newEntries[i].Equals("levels/mp_009cq") == false && newEntries[i].Equals("levels/mp_012cq") == false) {
            			MessageBox.Show(@"You entered an incorrect map name.
Available names:	""levels/mp_001"" 
		""levels/mp_003""
		""levels/mp_005""
		""levels/mp_006cq""
		""levels/mp_007""
		""levels/mp_008cq""
		""levels/mp_009cq""
		""levels/mp_012cq""", "Input Error", MessageBoxButtons.OK);
            			if(newEntries.Count == oldEntries.Count) {		// Edited an existing entry
            				newEntries[i] = oldEntries[i];
            			}
            			else {												// Added to the list, just add a default gametype
            				newEntries.RemoveAt(i);
            			}
            		}
            	}
            	this.m_conquestList = removeDuplicates(newEntries);
            }
            else if (strVariable.CompareTo("Rush Voting Possibilities") == 0) {
            	string[] temp = CPluginVariable.DecodeStringArray(strValue.ToLower());
            	oldEntries = this.m_rushList;
            	if(temp.Length == 0 || temp[0].Equals("")) {
            		newEntries.Add("levels/mp_002");
            	}
            	else {
            		for(int i=0; i<temp.Length; i++) {
            			newEntries.Add(temp[i]);
            		}
            	}
and

Code:

for(int i=0; i<newEntries.Count; i++) {
            		if(newEntries[i].Equals("levels/mp_002") == false && newEntries[i].Equals("levels/mp_004") == false && newEntries[i].Equals("levels/mp_005gr") == false && newEntries[i].Equals("levels/mp_006") == false && newEntries[i].Equals("levels/mp_007gr") == false && newEntries[i].Equals("levels/mp_008") == false && newEntries[i].Equals("levels/mp_009gr") == false && newEntries[i].Equals("levels/mp_012gr") == false) {
            			MessageBox.Show(@"You entered an incorrect map name.
Available names:	""levels/mp_002"" 
		""levels/mp_004""
		""levels/mp_005gr""
		""levels/mp_006""
		""levels/mp_007gr""
		""levels/mp_008""
		""levels/mp_009gr""
		""levels/mp_012gr""", "Input Error", MessageBoxButtons.OK);
            			if(newEntries.Count == oldEntries.Count) {		// Edited an existing entry
            				newEntries[i] = oldEntries[i];
            			}
            			else {												// Added to the list, just add a default gametype
            				newEntries.RemoveAt(i);
            			}
            		}
            	}
            	this.m_rushList = removeDuplicates(newEntries);
            }
            else if (strVariable.CompareTo("Squad Deathmatch Voting Possibilities") == 0) {
            	string[] temp = CPluginVariable.DecodeStringArray(strValue.ToLower());
            	oldEntries = this.m_sqdmList;
            	if(temp.Length == 0 || temp[0].Equals("")) {
            		newEntries.Add("levels/mp_007sdm");
            	}
            	else {
            		for(int i=0; i<temp.Length; i++) {
            			newEntries.Add(temp[i]);
            		}
            	}
even change the option list to

Code:

// Gametype List:
cq
rush
sqdm
sqrush

// Conquest List:
levels/mp_001
levels/mp_003
levels/mp_005
levels/mp_006cq
levels/mp_007
levels/mp_008cq
levels/mp_009cq
levels/mp_012cq 

// Rush List:
levels/mp_002
levels/mp_004
levels/mp_005gr
levels/mp_006
levels/mp_008
levels/mp_009gr
levels/mp_012gr
the only maps available for rush are:

levels/mp_002

levels/mp_004

levels/mp_006

levels/mp_008

levels/mp_009gr

levels/mp_012gr

 

Would be great to have the new maps in!!!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LAB-HeliMagnet*:

 

Bump for new version. Should be able to see Map Pack 5 maps. The map list drop down doesn't include them, so you'll have to manually add them. Still working on the other stuff mentioned.

* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by Sibul*:

 

Hi!

 

Is it possible for the Plugin to listen to votes not in the form of "/@{voteword} N" ?

Like listen to "/@{voteword} N" , "@{voteword} N" , "{voteword} N" and simply "N" alltogether?

 

Reason: My Serverpopularity is to stupid to read, understand and write what they have to do! *facepalm*

Today Example: (while 10 Players on Server and me in Console) 5 People tried, but not succeded, to vote (Writing @vote without the / infront AND following by just plain numbers in chat) even after explaining it to them again they had to put a / infront of the @ only one guy actualy voted for rush, everyone else was for conquest, so I lost 8 people after Mapchange to Rush befor I could even change the map to conquest again.

 

Yeah, I know, their fault for being incompetent, but hey, when we could help them, we should try, right?

 

BTW: I read in the thread you are working on a RockTheVote implementation, I realy like it! ;-)

I bet you don't like ETA - like every developer - so please let me ask: Got a rough (!) timeframe on that? When you find time to work on this, please consider a "StopTheVote" command for Admins. Thanks!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pssparkman*:

 

- A percentage of players voting required to pass vote

- Control gametype votes based on current gametype

Any update on the few changes that were still to be made?

 

 

- Option for rock the vote by a player or every map where it is the last round to be played

What do you mean by this, can't figure it out, lol?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Sibul*:

 

Option for rock the vote by a player or every map where it is the last round to be played ->

What do you mean by this, can't figure it out, lol?

I bet he's asking for (at least one of) two similar Options:

First, a option to let a player start a "RockTheVote" anytime.

Second, a option where a player can only start a "RockTheVote" if the last of N rounds on a map is played.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Sibul*:

 

Did 0.5.4.9 break this Plugin?

 

Thats in Plugin Console when Server comes up:

Code:

CMapVote.EnablePlugin(): Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Funky things happen too:

I edit the Votelist, after everything was added (all CQ and RUSH maps, everything else removed), i close procon for saving the settings in .cfg. The settings ARE saved in serverip.cfg. After turning Procon on again, settings are revoked and turned back to vote for cq only, one map in each cartegory listed. Woot?

 

Edit: Even when i insert every map and every mode i get a serverip.cfg entry (after CLOSING procon!) like this:

Code:

procon.protected.plugins.enable "CMapVote" True
procon.protected.plugins.setVariable "CMapVote" "Vote Command" "vote"
procon.protected.plugins.setVariable "CMapVote" "Cancel Vote Command" "cancelvote"
procon.protected.plugins.setVariable "CMapVote" "Full Map List" "Squad Deathmatch - Nelson Bay"
procon.protected.plugins.setVariable "CMapVote" "Add or Remove Map in List" ""
procon.protected.plugins.setVariable "CMapVote" "Gametype List" "cq|rush|sqrush|sqdm"
procon.protected.plugins.setVariable "CMapVote" "Conquest Voting Possibilities" "levels/mp_001|levels/mp_003|levels/mp_005|levels/mp_006cq|levels/mp_007|levels/mp_008cq|levels/mp_009cq|levels/mp_012cq"
procon.protected.plugins.setVariable "CMapVote" "Rush Voting Possibilities" "levels/mp_002|levels/mp_004|levels/mp_006|levels/mp_007gr|levels/mp_008|levels/mp_009gr|levels/mp_012gr|levels/mp_005gr"
procon.protected.plugins.setVariable "CMapVote" "Squad Deathmatch Voting Possibilities" "levels/mp_004sdm|levels/mp_001sdm|levels/mp_006sdm|levels/mp_007sdm|levels/mp_009sdm|levels/mp_008sdm"
procon.protected.plugins.setVariable "CMapVote" "Squad Rush Voting Possibilities" "levels/mp_005sr|levels/mp_001sr|levels/mp_002sr|levels/mp_009sr|levels/mp_012sr|levels/mp_003sr"
procon.protected.plugins.setVariable "CMapVote" "Vote Duration" "12"
procon.protected.plugins.setVariable "CMapVote" "Number of Vote Prompts" "3"
procon.protected.plugins.setVariable "CMapVote" "Yell For Votes" "Every Prompt"
procon.protected.plugins.setVariable "CMapVote" "Number of Conquest Rounds" "2"
procon.protected.plugins.setVariable "CMapVote" "Number of Rush Rounds" "2"
procon.protected.plugins.setVariable "CMapVote" "Number of Squad Deathmatch Rounds" "2"
procon.protected.plugins.setVariable "CMapVote" "Number of Squad Rush Rounds" "4"
After just starting Procon again:

Code:

procon.protected.plugins.enable "CMapVote" True
procon.protected.plugins.setVariable "CMapVote" "Vote Command" "vote"
procon.protected.plugins.setVariable "CMapVote" "Cancel Vote Command" "cancelvote"
procon.protected.plugins.setVariable "CMapVote" "Full Map List" "Squad Deathmatch - Nelson Bay"
procon.protected.plugins.setVariable "CMapVote" "Add or Remove Map in List" ""
procon.protected.plugins.setVariable "CMapVote" "Gametype List" "cq"
procon.protected.plugins.setVariable "CMapVote" "Conquest Voting Possibilities" "levels/mp_001"
procon.protected.plugins.setVariable "CMapVote" "Rush Voting Possibilities" "levels/mp_002"
procon.protected.plugins.setVariable "CMapVote" "Squad Deathmatch Voting Possibilities" "levels/mp_004sdm"
procon.protected.plugins.setVariable "CMapVote" "Squad Rush Voting Possibilities" "levels/mp_005sr"
procon.protected.plugins.setVariable "CMapVote" "Vote Duration" "12"
procon.protected.plugins.setVariable "CMapVote" "Number of Vote Prompts" "3"
procon.protected.plugins.setVariable "CMapVote" "Yell For Votes" "Every Prompt"
procon.protected.plugins.setVariable "CMapVote" "Number of Conquest Rounds" "2"
procon.protected.plugins.setVariable "CMapVote" "Number of Rush Rounds" "2"
procon.protected.plugins.setVariable "CMapVote" "Number of Squad Deathmatch Rounds" "2"
procon.protected.plugins.setVariable "CMapVote" "Number of Squad Rush Rounds" "4"
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by just_carl*:

 

i have edited mine it's working fine,

only problem i'm having is when it's been on a while, all the maps for voting start to disappear until there's only 1 left on both conquest and rush maps this happened before editing the file as well.. not sure where the problem lies

 

do you have any idea's helimagnet?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ChocolateMilkman*:

 

I'm having some difficulty setting this thing up. I cant seem to remove game types or add maps

 

How exactly step by step from the beginning would I set it up so that the players would receive a vote option to vote for squad dm maps only at the end of each map?

* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by PeStilence*:

 

I can´t get the pulgin working on our Server, too. :mad:ops:

Our layer server is hosted by phogue - it doesn´t matter, what I do, the changes seem to be overwritten immediatly.

It seems like I have no write permissions or something like that.

 

If i klick "Add", nothing happens at all, if I klick Remove, the Button switches back to "Add" and nothing happens...

 

Ideas :_:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DaBIGfisH*:

 

Thanks for that plugin!

 

I use it with MixedModev3 and EmptyMapOption. The problem is that MapVote loses its Maplists, when the Layer restarts. Did i somthing wrong?

 

And often changing parameters is after a while impossible.

 

When iam playing alone on my server to test it on a Rush map i can set the gametype and after a while my mode wins, then i set the map, but no confirmation comes up that my map wins. somtimes no confoirmation that my preferred gametype won. I don't know what it that means ...

 

 

Regards, DaBIGfisH

* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by AngelFireDK*:

 

I get this error when enabling the plugin

 

[13:52:38 42] Map Voting Enabled!

[13:52:38 42] CMapVote.EnablePlugin(): Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

* Restored post. It could be that the author is no longer active.
Link to comment
  • 3 weeks later...

Originally Posted by DaBIGfisH*:

 

Well i gave that plugin a 2nd chance, but it fails again.

 

Iam running a rush server, so i setted my procon layer mapvote plugin with procon client/ layer 6.2 to the needed parameters.

 

then enabled the plugin and after short time the client lost connection to the layer. several restarts of the clients didnt change anything, the layer is unreachable.

 

so restarted the layer => all settings are lost, aaarrrgh, again and again ...

 

this plugin does not work and all errors are described above by other users are reproduceable

 

the plugin should be removed from the community plugins list

 

Regards, DaBIGfisH

* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.