thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Vote for NextMap  (Read 6335 times)

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Vote for NextMap
« on: June 04, 2012, 02:46:17 PM »
To invite players to vote to the next map.
Wait a settable time after map change. And provide a vote (if bots aren't enabled).
The plugin choose 4 differents maps in a config file. When vote is over if the vote limit
is exceded, the next map is changed with the map who have the most votes. (if you have equal votes
between maps it's allways the first).
Normaly it allow to keep the order of nextmaps from cycle map.
(Else when custom map is finsh you allways return in first map of cyclemap file)


Commands:
!vote1   (!1)      Vote for map number 1
!vote2   (!2)      Vote for map number 2
!vote3   (!3)      Vote for map number 3
!vote4   (!4)      Vote for map number 4

Settings:
- Level to vote
- Path and file name
- Time of start vote
- Time between vote recall
- Minimum votes

Download:
http://forum.bigbrotherbot.net/downloads/?sa=view;down=201

Remark: The command !1 works only since V1.12 of plugin admin, else use !vote1
Patch : https://github.com/courgette/big-brother-bot/commit/cccd6fb3630c4fc113ebe81d126f5eff91c8424f
« Last Edit: June 06, 2012, 11:31:30 AM by Beber888 »
Python, Php, UrT SourceCode

Offline Max][mu$

  • Jr. Member
  • **
  • Posts: 44
Re: Vote for NextMap
« Reply #1 on: June 09, 2012, 12:01:52 PM »
Hi Beber888 thanks for the plugin man! I was wondering though. Would you be willing to make a version of this in which if the server population drops down late at night to lets say 12 or under your plugin will give people a list of small maps that they could vote on?

I am having a problem of course late at night when I myself, or other admins are not on in which there is 12 or less players and they all end up playing a map that is made for 40+ people.

Thanks again for your plugin, and I hope you will consider my idea. :)

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Vote for NextMap
« Reply #2 on: June 09, 2012, 07:05:42 PM »
For the moment I'm developping and testing the V1.1.0 because in V1.0.0 we have little problem with cyclemap. In fact the server return often on the 1rst map au cyclemap.

I will add your suggest when V1.1.0 will be ok (in a few days)
Python, Php, UrT SourceCode

Offline Max][mu$

  • Jr. Member
  • **
  • Posts: 44
Re: Vote for NextMap
« Reply #3 on: June 13, 2012, 01:08:04 PM »
Ok np. Thanks for considering my suggestion. :)

Offline Max][mu$

  • Jr. Member
  • **
  • Posts: 44
Re: Vote for NextMap
« Reply #4 on: June 25, 2012, 12:49:08 PM »
Any update on this?

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Vote for NextMap
« Reply #5 on: June 25, 2012, 11:16:23 PM »
Sorry I don't modify plugins if Iam the Once to use It !!

http://master.bigbrotherbot.net/?plugin=votemap
Python, Php, UrT SourceCode

Offline Halloween80

  • Newbie
  • *
  • Posts: 8
Re: Vote for NextMap
« Reply #6 on: July 04, 2012, 03:04:53 PM »
Hello Beber.

I'm looking for such a plugin since a long time.

I will use it for sure as soon as the bug is fixed.

My servers are here www.dust-train.com

Regards.

[email protected]

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Vote for NextMap
« Reply #7 on: July 04, 2012, 03:11:46 PM »
Which bug?

- The bug of allways return at the top of cyclemap file after playing a map not in cyclemap file ?
or
- Ajust choise of map depending of the number of players ???
Python, Php, UrT SourceCode

Offline Halloween80

  • Newbie
  • *
  • Posts: 8
Re: Vote for NextMap
« Reply #8 on: July 04, 2012, 04:03:22 PM »
For the moment I'm developping and testing the V1.1.0 because in V1.0.0 we have little problem with cyclemap. In fact the server return often on the 1rst map au cyclemap.


I was speaking about this bug.

Sorry i did not anderstand it was just a little problem.

I will add your plug in in my servers this evening or this night and I will
let you know if I have problem.

Regards.

[email protected]

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Vote for NextMap
« Reply #9 on: July 04, 2012, 04:43:16 PM »
Wait I will release version 1.1.0 tonight...
Python, Php, UrT SourceCode

Offline Halloween80

  • Newbie
  • *
  • Posts: 8
Re: Vote for NextMap
« Reply #10 on: July 04, 2012, 06:10:22 PM »
Ok, I wait, thx.

One of my B3 is still 1.4.1 , any chance it works ?

[email protected]

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Vote for NextMap
« Reply #11 on: July 04, 2012, 10:07:57 PM »
I use Map_change event, if you don't have it I don't think it works...
Edit events.py and watch if this event exist...
Python, Php, UrT SourceCode

Offline RiKiN

  • Newbie
  • *
  • Posts: 1
Re: Vote for NextMap
« Reply #12 on: August 11, 2012, 09:29:55 PM »
Hey i just installed this on my CODMW2 server.

Basically the voting shows up ingame and works like it should, however when going to the next map, it just carries on with the cycle.

I dont know how to fix this but in my server.cfg file i have:

Code: [Select]
    // --- AUTOMATED ROTATION -------------------------------
        set sv_mapRotation "gametype dm map mp_afghan gametype dm map mp_rust gametype dm map mp_terminal gametype dm map mp_highrise gametype dm map mp_favela gametype dm map mp_estate gametype dm map mp_boneyard gametype dm map mp_subbase gametype dm map mp_rundown gametype dm map mp_brecourt gametype dm map mp_invasion gametype dm map mp_quarry gametype dm map mp_underpass gametype dm map mp_nightshift"

Now its just following this list even when the voting picks a different map from the maplist file in the b3 folder.

I dont know if this is fixable etc. but has anyone got it working on a MW2 server? If so please say how!

Offline borund

  • Jr. Member
  • **
  • Posts: 48
Re: Vote for NextMap
« Reply #13 on: March 09, 2013, 02:29:41 AM »
Hey i just installed this on my CODMW2 server.

Basically the voting shows up ingame and works like it should, however when going to the next map, it just carries on with the cycle.

I dont know how to fix this but in my server.cfg file i have:

Code: [Select]
    // --- AUTOMATED ROTATION -------------------------------
        set sv_mapRotation "gametype dm map mp_afghan gametype dm map mp_rust gametype dm map mp_terminal gametype dm map mp_highrise gametype dm map mp_favela gametype dm map mp_estate gametype dm map mp_boneyard gametype dm map mp_subbase gametype dm map mp_rundown gametype dm map mp_brecourt gametype dm map mp_invasion gametype dm map mp_quarry gametype dm map mp_underpass gametype dm map mp_nightshift"

Now its just following this list even when the voting picks a different map from the maplist file in the b3 folder.

I dont know if this is fixable etc. but has anyone got it working on a MW2 server? If so please say how!

I have the EXACT same problem. Somebody please help.

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Vote for NextMap
« Reply #14 on: March 09, 2013, 09:38:59 AM »
I've no idea about this problem i've no verser cod for testing my plugin.

Have you a file this the maplist to votes and if you want the cyclemap file ?
Python, Php, UrT SourceCode

 


Rate this page +1 at Google Search

anything