Raised This Month: $ Target: $400
 0% 

mapvote


Post New Thread Reply   
 
Thread Tools Display Modes
|GsX| GrimReaper
Senior Member
Join Date: Sep 2008
Old 09-22-2008 , 23:40   Re: mapvote
Reply With Quote #341

..\cstrike\addons\sourcemod\configs\maplists. cfg
|GsX| GrimReaper is offline
chikencarnage
Senior Member
Join Date: Jan 2008
Old 09-23-2008 , 14:24   Re: mapvote
Reply With Quote #342

yeah i thought so, but I took out all the maps that I didn't want listed in there but it still listed everything in nominate. I'm guessing a server restart would fix it?
__________________
chikencarnage is offline
ShellShock
Member
Join Date: Jul 2008
Old 09-23-2008 , 22:43   Re: mapvote
Reply With Quote #343

I dont know but after i updated sourcemod to the new version it comes up as <Error> and it doesnt function correctly in game.

Last edited by ShellShock; 09-23-2008 at 22:51.
ShellShock is offline
zerak
Senior Member
Join Date: Feb 2008
Old 09-24-2008 , 02:31   Re: mapvote
Reply With Quote #344

You mean 1.04 try this
sry for the previous error.
zerak is offline
ThatGuy
Senior Member
Join Date: Nov 2007
Old 09-25-2008 , 23:26   Re: mapvote
Reply With Quote #345

Quote:
Originally Posted by zerak View Post
the logs should contains the line that it halted on but easiest way is probably to write
ex. if you run that with your config on a CS:S server is

Code:
CModelLoader::Map_IsValid:  No such map 'cp_dustbowl'
L 09/09/2008 - 08:27:36: [mapvote.smx] Error on line 3, map "cp_dustbowl" could not be found.
(and similiar entry for each map) what a suprise....

Also check in mapvote.cfg if random is elected and which file it should parse.

I just tried doing this and all it says is

Quote:
L 09/25/2008 - 20:05:05: [mapvote.smx] Tried to parse addons\sourcemod\configs\mapvote.ini but encountered errors.
L 09/25/2008 - 19:50:55: [mapvote.smx] A property was declared outside of a section
However, when i do sm plugins info mapvote, it pops up with

Quote:
Error: Failed to parse mapfile.
Here's my mapvote config. Can you help me out?

Quote:

"Custom"
{
"slots" "2"
"pl_dbheights"
{
"min" "15"
}
"cp_toy_fort"
{
"min" "10"
}
"cp_aqua"
{
"min" "15"
}
"cp_corporation_b3" {}
"pl_hoodoo_b2"
{
"min" "20"
}
"ctf_convoy_v2"
{
"min" "20"
}
"cp_yeehaw_beta"
{
"min" "20"
}
"cp_donner"
{
"min" "15"
}
"cp_roswell"
{
"min" "10"
}
"arena_lumberyard"
{
"max" "10"
}
"balls_volleyball"
{
"max" "10"
}
"trainyard_brawl_v3_iam"
{
"max" "10"
}
"arena_warpath_b1"
{
"max" "10"
}
"arena_toy_fort"
{
"max" "10"
}
"arena_watchtower_b3"
{
"max" "10"
}
"balls_volleyball"
{
"max" "10"
}
"cp_bestinclass_v2"
{
"max" "10"
}
"heavy_boxing"
{
"max" "10"
}
"zf_industry_rc1"
{
"max" "10"
}
"cp_castle2" {}
"cp_420_orange_zig_zag_final_1" {}
"rock2_b1" {}
"pl_dreadnought" {}
"ctf_dirtwork" {}
"ctf_fishy_b4" {}
"cp_mini_canyon" {}
"ctf_mach4" {}
"cp_labor" {}
"cp_warpath2" {}
"cp_jailbreak_b3" {}

}

"Stock Maps"
{
"slots" "3"

"cp_dustbowl" {}
"ctf_turbine" {}
"pl_goldrush" {}
"pl_badwater" {}
"cp_badlands" {}
"cp_fastlane" {}
"cp_steel" {}
"cp_granary" {}
"cp_well" {}
"cp_gravelpit" {}
}

Last edited by ThatGuy; 09-25-2008 at 23:31.
ThatGuy is offline
zerak
Senior Member
Join Date: Feb 2008
Old 09-26-2008 , 15:09   Re: mapvote
Reply With Quote #346

You have a declaration outside a "group", that error comes from SM inside my plugin.

I cannot spot it visually myself so I would recommend that you remove entries or move entires to another file and reload the plugin and then add back entries.
zerak is offline
ThatGuy
Senior Member
Join Date: Nov 2007
Old 09-26-2008 , 18:49   Re: mapvote
Reply With Quote #347

I tried removing all the "min" and "max". And when i did that, i stopped getting errors. Now it seems everytime I try to add that feature, I get a error.

Edit: then again i just removed all the min and max, reloaded the mapfile in the same game and still get the error, Argh.. i dunno wtf to do.

Last edited by ThatGuy; 09-26-2008 at 19:00.
ThatGuy is offline
rocketteem
SourceMod Donor
Join Date: May 2007
Location: San Diego, Ca
Old 09-28-2008 , 15:31   Re: mapvote
Reply With Quote #348

Hey Zerak:
Feature request/suggestion:
Can you make an option to do voting like AMX had? Where it has 2 vote cycles.

The first is a preliminary vote, where it will have say, 5 or 6.. and it then takes the top 2 voted maps, and has another vote with just those 2?
That is the best way for voting, since votes seem to get spread out.

This would be a great feature
rocketteem is offline
monkie
Senior Member
Join Date: Oct 2006
Location: Shanghai, China
Old 09-30-2008 , 01:56   Re: mapvote
Reply With Quote #349

the order of client choosing options should be randomized instead of sort by the current output sequence, which i think would be better way for the traversal of all groups of maps
__________________

Last edited by monkie; 09-30-2008 at 01:58.
monkie is offline
Send a message via MSN to monkie Send a message via Skype™ to monkie
Thermopyle
Member
Join Date: Jun 2008
Old 10-02-2008 , 10:02   Re: mapvote
Reply With Quote #350

Feature request:

I'd like to be able to specify on a per map basis how many votes/percentage of votes it takes for that map to win.

For example:
Code:
"cp_badlands"    
    {
        "min"    "18"
        "minvotepercent"    ".75"
    }
So, even if that map has the most votes, if it doesn't meet the minimum vote threshold, the map with the second most votes wins. If none of the maps minimum vote threshold is met, then fall back to the map with most votes.
Thermopyle 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 21:39.


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