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: [bfbc2] Mixed Gametypes Plugin  (Read 12439 times)

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #15 on: November 05, 2010, 08:53:49 PM »
I'll have a look at this issue, thanks for the info.

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #16 on: November 05, 2010, 09:09:47 PM »
Try to update to the latest version of the bot, v1.3.3 is outdated and many bugs where fixed since.

Also make sure you are using the latest version of the plugin as well.

I did test it on latest versions and I cannot reproduce any errors like yours. The plugin is working as designed as far as I can see.

Offline Thommy

  • Newbie
  • *
  • Posts: 7
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #17 on: November 12, 2010, 05:09:26 PM »
I updated the Bot to 1.4 and also downloaded again the latest version of the plugin from your download-area, but it didn't work. Config is the same; just changed the time between maprotations to 5 minutes, so it wouldnt take so much time to test.

Again i started the Bot running Atacama Desert. After 5 minutes the plugin rotated to the 2. round and set the nextmap to valparaiso in rush mode, the first map written in the config. 5 minutes later it changed to valparaiso and i got again the error:
Quote
101112 10:46:18   ERROR   handler Bfbc2MixedgamesPlugin could not handle event Game Round Start: IndexError: list index out of range [('b3\\parser.pyo', 855, 'handleEvents', None), ('b3\\plugin.pyo', 157, 'parseEvent', None), ('C:\\40603\\extplugins\\bfbc2mixedgames.py', 92, 'onEvent', None), ('C:\\40603\\extplugins\\bfbc2mixedgames.py', 140, 'queueMap', None)]
From here on the plugin stopped working.

 :-\

I attached the complete log-file in case i missed something important.

[attachment deleted by maintenance]

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #18 on: November 12, 2010, 06:36:37 PM »
I can you try to reproduce your issue with B3 v1.4.1b you can download on my github repo ? Hopefully your issue is already fixed in that version

Offline Thommy

  • Newbie
  • *
  • Posts: 7
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #19 on: November 19, 2010, 08:44:42 AM »
Ok, i try to get our provider to update it again (because unfortunately i don't have the possibility to do it myself), but it was already last time quiet an act.  ::) Well ... we'll see.

Offline BetterDeadThanZed

  • Beta Testers
  • Hero Member
  • *
  • Posts: 681
    • Killin Zeds
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #20 on: December 07, 2010, 03:27:50 AM »
I tried this plugin on the day the new BC2 maps came out and it didn't work. It ran the first map, then it just kept running the second map over and over and over, so I'm just running a CQ server instead. I removed the plugin.

Offline gazgaz

  • Jr. Member
  • **
  • Posts: 23
    • Brothers In Games
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #21 on: January 04, 2011, 02:04:03 PM »
Dear xlr8or huge request to solve a problem with the plugin. because I think this plugin is very necessary and for which you will say thank you! I hope for your help!

Offline BetterDeadThanZed

  • Beta Testers
  • Hero Member
  • *
  • Posts: 681
    • Killin Zeds
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #22 on: January 09, 2011, 05:47:38 AM »
Gonna bump this up in case anything can be done to fix this plugin.

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #23 on: January 09, 2011, 10:53:12 AM »
Can you provide us a detailed b3.log file showing where it fails?

Offline Merph

  • Beta Testers
  • Jr. Member
  • *
  • Posts: 25
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #24 on: January 09, 2011, 12:05:28 PM »
B3 v1.4.2b
Python 2.6.4
Windows
rotation -
Quote
<set name="rotation">RUSH mp_002 2, CONQUEST mp_001 2, RUSH mp_004 2, CONQUEST mp_003 2, RUSH mp_006 2, CONQUEST mp_005 2, RUSH mp_007gr 2, CONQUEST mp_006cq 2, RUSH mp_008 2, CONQUEST mp_007 2, RUSH mp_009gr 2, CONQUEST mp_008cq 2, RUSH mp_012gr 2, CONQUEST mp_009cq 2, RUSH mp_005gr 2, CONQUEST mp_012cq 2, RUSH bc1_harvest_day_gr 2, CONQUEST bc1_harvest_day_cq 2, RUSH bc1_oasis_gr 2, CONQUEST bc1_oasis_cq 2, RUSH mp_sp_002gr 2, CONQUEST mp_sp_005cq 2</set>
everything works
« Last Edit: January 09, 2011, 05:03:13 PM by Merph »

Offline gazgaz

  • Jr. Member
  • **
  • Posts: 23
    • Brothers In Games
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #25 on: January 09, 2011, 04:53:02 PM »
v1.4.2b
rotation -everything works
Unfortunately does not work on 1.4.2b

Offline gazgaz

  • Jr. Member
  • **
  • Posts: 23
    • Brothers In Games
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #26 on: January 09, 2011, 05:09:22 PM »
python 2.6
Debian Lenny
Quote
.....
110109 15:59:41   BOT       Bfbc2MixedgamesPlugin: Loading config /bot/b3/extplugins/conf/bfbc2mixedgames.xml for Bfbc2MixedgamesPlugin
110109 15:59:41   VERBOSE   Bfbc2MixedgamesPlugin: Loading config
110109 15:59:41   VERBOSE   Bfbc2MixedgamesPlugin: Loaded Rotation: [['RUSH', 'mp_002', '2'], ['CONQUEST', 'mp_001', '2'], ['RUSH', 'mp_004', '2'], ['CONQUEST', 'mp_003', '2'], ['RUSH', 'mp_006', '2'], ['CONQUEST', 'mp_005', '2'], ['RUSH', 'mp_007gr', '2'], ['CONQUEST', 'mp_006cq', '2'], ['RUSH', 'mp_008', '2'], ['CONQUEST', 'mp_007', '2'], ['RUSH', 'mp_009gr', '2'], ['CONQUEST', 'mp_008cq', '2'], ['RUSH', 'mp_012gr', '2'], ['CONQUEST', 'mp_009cq', '2'], ['RUSH', 'mp_005gr', '2'], ['CONQUEST', 'mp_012cq', '2'], ['RUSH', 'bc1_harvest_day_gr', '2'], ['CONQUEST', 'bc1_harvest_day_cq', '2'], ['RUSH', 'bc1_oasis_gr', '2'], ['CONQUEST', 'bc1_oasis_cq', '2'], ['RUSH', 'mp_sp_002gr', '2'], ['CONQUEST', 'mp_sp_005cq', '2']]
110109 15:59:41   VERBOSE   Bfbc2MixedgamesPlugin: Configs Loaded
110109 15:59:41   DEBUG   Register Event: Stop Process: Bfbc2MixedgamesPlugin
110109 15:59:41   DEBUG   Register Event: Program Exit: Bfbc2MixedgamesPlugin
110109 15:59:41   BOT       Plugin bfbc2mixedgames (1.1.2 - xlr8or) loaded
.....

Quote
.....
110109 16:05:28   DEBUG   Bfbc2MixedgamesPlugin: CurRoundNr: 2, MaxRoundNrs: 2
110109 16:05:28   DEBUG   Bfbc2MixedgamesPlugin: Next Map: GameType: RUSH, Map: Levels/mp_002, Rounds: 2
.....

Quote
.....
Bfbc2MixedgamesPlugin: CurRoundNr: 1, MaxRoundNrs: 2
110109 15:59:45   DEBUG   Bfbc2MixedgamesPlugin: Not setting next map, rounds not completed.
110109 15:59:45   VERBOSE   Bfbc2MixedgamesPlugin: Starting Empty Timer...
110109 15:59:45   DEBUG   Bfbc2MixedgamesPlugin: Started
........
« Last Edit: January 09, 2011, 05:11:28 PM by gazgaz »

Offline bull

  • Newbie
  • *
  • Posts: 1
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #27 on: January 29, 2011, 12:53:29 PM »
I'm trying to get a B3 to run this on the Vietnam expansion... this is what my bfbc2mixedgames.xml looks like.....

Code: [Select]
<configuration plugin="bfbc2mixedgames">
   <settings name="settings">

      <!-- GameType mapname rounds, GameType mapname rounds (don't add 'Levels/'' in fromt of the name!)-->
        <set name="rotation">CONQUEST NAM_MP_005CQ 1, RUSH LEVELS/NAM_MP_003R 1, CONQUEST LEVELS/NAM_MP_007CQ 1, RUSH NAM_MP_002R 1, CONQUEST NAM_MP_006CQ 1, RUSH NAM_MP_005R 1, CONQUEST NAM_MP_005R 1, RUSH NAM_MP_007R 1</set>

      <!-- On an empty server the plugin rotates to the next level after this many minutes, 0 disables -->
      <set name="emptytime">10</set>

      <!-- Should we also rotate if 1 player is online? -->
      <set name="rotate1">True</set>

   </settings>
</configuration>

This however does not work using 1.4.1 source code. Any idea why it fails? When I run !nextmap nothing appears and it's stuck on a single game (not even the first level chosen).

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #28 on: February 05, 2011, 08:40:41 PM »
Do you have a b3.log that shows what happens if you do !nextmap?

Offline Kiste_Becks

  • Newbie
  • *
  • Posts: 8
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #29 on: February 21, 2011, 06:21:45 PM »
b3-1.4.1 and the bfbc2 mixed mode plugin 1.1.2

heres a b3.log showing !nextmap and !maps:

http://paste.pound-python.org/show/3190/



Code: [Select]
<configuration plugin="bfbc2mixedgames">
    <settings name="settings">


        <set name="rotation">SQDM mp_008sdm 1, CONQUEST mp_006cq 1, RUSH mp_002 1</set>


        <set name="emptytime">10</set>


        <set name="rotate1">True</set>

    </settings>
</configuration>
« Last Edit: February 21, 2011, 06:40:52 PM by Kiste_Becks »

 


Rate this page +1 at Google Search

anything