Raised This Month: $51 Target: $400
 12% 

[REQ] Next Map Chooser (24x7 Server Edition)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 11-18-2010 , 10:35   [REQ] Next Map Chooser (24x7 Server Edition)
Reply With Quote #1

Need NMC-plugin with special functionality.

In case, if server host only one map (single map 24x7 server), plugin must every N hours or at the end of timelimit (defined by config) start an automatic vote process for CHANGE current map to another.

IT IS IMPORTANT: if change map vote is NOT PASSED, default (already loaded) map must stay.
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-18-2010 , 11:05   Re: [REQ] Next Map Chooser (24x7 Server Edition)
Reply With Quote #2

And when different map have voted and changed... same process ?
Play as long as that different map 24x7 until vote another map and so on ?
__________________
Do not Private Message @me
Bacardi is offline
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 11-19-2010 , 04:09   Re: [REQ] Next Map Chooser (24x7 Server Edition)
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
And when different map have voted and changed... same process ?
Play as long as that different map 24x7 until vote another map and so on ?
You FULLY right =)

pre-requirements: server rotate only ONE map (only one map in mapcycle.txt), but we have a few maps at maplist.txt.

(m.b. need use self plugin's config for store maps?)

if server changed map after succesfull automatic mapvote (timelimit reached ), server must STAY at new map. and show new mapvote only after timelimit reached again.

mapvote must look like as

Do you want to change a current map?
* * *
1. I want to keep current map!
2. First map
3. Second map
4. Third map

(i think, 3 maps - a good, actual number for maps; use standard percentages calculation from original sm votemap)

if no votes reached (empty server?) or noone map win a vote (no consolidate opinions?), server MUST STAY a current map.
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-24-2010 , 06:39   Re: [REQ] Next Map Chooser (24x7 Server Edition)
Reply With Quote #4

I am lazy and I edit SM mapchooser...
Don't know would this satisfy you.

You can add more maps in mapcycle.txt to get them in vote.
(or you can change from ...configs/maplists.cfg "mapchooser", ether way)

- Move original SM stock plugin mapchooser.smx in disabled folder
- Find and edit ...cfg/sourcemod/mapchooser.cfg
Quote:
sm_mapvote_endvote "1"
sm_mapvote_exclude "5" //Not bring previous maps until after x map change
sm_mapvote_include "3" //How many maps in vote
sm_mapvote_novote "1" //This will now select current map if no vote receive
sm_mapvote_start "3.0"
- In first vote "item" added 1. I want to keep current map!
Have tested quickly in Cs:s...

*edit
Ofcource if server reboot, it select first map from mapcycle.txt. Plugin not remember last map and change to that.
Attached Files
File Type: sp Get Plugin or Get Source (mapchooser247.sp - 390 views - 28.5 KB)
__________________
Do not Private Message @me

Last edited by Bacardi; 11-24-2010 at 06:44.
Bacardi 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 20:09.


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