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: Voting Plugin By Beber888  (Read 9563 times)

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Voting Plugin By Beber888
« on: January 23, 2012, 01:21:08 AM »
I've released my "personal" version of Voting plugin done by Ismael.

Votes available :
- Kick
- Map
- Gametype
- MapRotate
- Map + Gametype
- SniperOnly
- KnifeOnly
- PistolOnly
- Moonmode

You can assign level and time on votes


http://forum.bigbrotherbot.net/downloads/?sa=view;down=177
Python, Php, UrT SourceCode

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Voting Plugin By Beber888
« Reply #1 on: January 23, 2012, 03:42:18 PM »
Does this work with all B3 games or just URT?
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Voting Plugin By Beber888
« Reply #2 on: January 23, 2012, 08:39:47 PM »
Normaly just for Urban terror because for gametype vote, in UrT you have to send "gametype 7" for CTF.
In other game you can send "gametype ctf" to the server, so this plugin has been modified to work for UrT.
Python, Php, UrT SourceCode

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Voting Plugin By Beber888
« Reply #3 on: February 02, 2012, 10:54:15 PM »
New release ! Now you can cancel a mode before the end of the timer with command !modecancel.

This command apply to sniperonly, knifeonly, pistolonly and moonmode.
Python, Php, UrT SourceCode

Offline BlumentopfErde

  • Jr. Member
  • **
  • Posts: 12
    • Bleilust
Re: Voting Plugin By Beber888
« Reply #4 on: March 03, 2012, 02:28:38 PM »
Hi!

If this is a Urt only version, please change it back to the possibility to enter parts of a mapname instead of the whole name.

I've done this on our server 10 months ago without any problems.

To do this, change the line 610

Code: [Select]
if s == map:

to

Code: [Select]
if s in map:

Thanks

BlumentopfErde

PS: Did you thought about publicing your plugins on github?
« Last Edit: March 03, 2012, 02:31:42 PM by BlumentopfErde »

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Voting Plugin By Beber888
« Reply #5 on: March 10, 2012, 10:43:43 PM »
Thank's I will update this.

And sorry but I'm not interrested by github. Thank's
Python, Php, UrT SourceCode

Offline Fragmeister

  • Full Member
  • ***
  • Posts: 78
    • Serveur FRAG on Urban terror
Re: Voting Plugin By Beber888
« Reply #6 on: July 20, 2012, 09:06:54 PM »
Website of my urt server : www.frag-urt.com/

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Voting Plugin By Beber888
« Reply #7 on: July 21, 2012, 11:12:58 AM »
Can you past b3.log ? Post ton log B3 STP!
Python, Php, UrT SourceCode

Offline Fragmeister

  • Full Member
  • ***
  • Posts: 78
    • Serveur FRAG on Urban terror
Re: Voting Plugin By Beber888
« Reply #8 on: July 21, 2012, 12:46:41 PM »
Website of my urt server : www.frag-urt.com/

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Voting Plugin By Beber888
« Reply #9 on: July 21, 2012, 09:03:52 PM »
En effet dans ton dossier /conf tu dois avoir le fichier maplist.txt et gametypelist.txt
Dans le maplist.txt tu dois avoir toute les map que tu veux rendre possible de voter.
(Nom complet ex:ut4_turnpike et une map par ligne)
Python, Php, UrT SourceCode

Offline Fragmeister

  • Full Member
  • ***
  • Posts: 78
    • Serveur FRAG on Urban terror
Re: Voting Plugin By Beber888
« Reply #10 on: July 22, 2012, 02:28:06 PM »
Website of my urt server : www.frag-urt.com/

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Voting Plugin By Beber888
« Reply #11 on: July 22, 2012, 02:50:17 PM »
ffa
tdm
ctf
ts
bomb

Un gametype par ligne
Python, Php, UrT SourceCode

Offline Fragmeister

  • Full Member
  • ***
  • Posts: 78
    • Serveur FRAG on Urban terror
Re: Voting Plugin By Beber888
« Reply #12 on: July 22, 2012, 11:57:50 PM »
Website of my urt server : www.frag-urt.com/

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: Voting Plugin By Beber888
« Reply #13 on: July 23, 2012, 01:35:56 AM »
Python, Php, UrT SourceCode

Offline Fragmeister

  • Full Member
  • ***
  • Posts: 78
    • Serveur FRAG on Urban terror
Re: Voting Plugin By Beber888
« Reply #14 on: July 24, 2012, 11:10:58 PM »
Website of my urt server : www.frag-urt.com/

 


Rate this page +1 at Google Search

anything