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

Offline gazgaz

  • Jr. Member
  • **
  • Posts: 23
    • Brothers In Games
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #30 on: May 24, 2011, 04:30:37 PM »
how to get rid of this:

Code: [Select]
110524 17:14:25	DEBUG	Bfbc2MixedgamesPlugin: CurRoundNr: 1, MaxRoundNrs: 2
110524 17:14:25 DEBUG Bfbc2MixedgamesPlugin: Not setting next map, rounds not completed.

my bfbc2mixedgames.xml
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">RUSH MP_004 2, RUSH MP_SP_002GR 2, CONQUEST BC1_Harvest_Day_CQ 1, RUSH MP_006 2, RUSH MP_002 2, CONQUEST MP_012CQ 1, RUSH MP_005GR 2, RUSH BC1_Harvest_Day_GR 2, CONQUEST MP_003 1, RUSH BC1_Oasis_GR 2, RUSH MP_007GR 1, CONQUEST MP_005 1, RUSH MP_012GR 2, RUSH MP_009GR 2, CONQUEST MP_001 1, CONQUEST MP_SP_005CQ 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>




Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #31 on: May 24, 2011, 04:40:09 PM »
Could be more specific in what does not work according to you ?

Offline gazgaz

  • Jr. Member
  • **
  • Posts: 23
    • Brothers In Games
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #32 on: May 24, 2011, 04:47:06 PM »
Code: [Select]
Not setting next map, rounds not completed.

is a loop on one map

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #33 on: May 24, 2011, 04:49:29 PM »
this just says that the plugin waits for the 2nd round to be played before switching to next map as anyone would expect.


Offline gazgaz

  • Jr. Member
  • **
  • Posts: 23
    • Brothers In Games
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #34 on: May 24, 2011, 04:54:52 PM »
Sorry, but no. there is a loop on one card. One card in my case was a 6 rounds

Offline gazgaz

  • Jr. Member
  • **
  • Posts: 23
    • Brothers In Games
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #35 on: May 24, 2011, 04:55:48 PM »
and players have complained about this very rapidly :(

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #36 on: May 24, 2011, 05:15:22 PM »
in that case provide a bigger b3 log file showing the loop

Offline gazgaz

  • Jr. Member
  • **
  • Posts: 23
    • Brothers In Games
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #37 on: May 24, 2011, 05:48:06 PM »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #38 on: May 24, 2011, 08:30:38 PM »
None of your log files show a loop in the loading maps.

Offline LethalLegolas

  • Jr. Member
  • **
  • Posts: 15
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #39 on: July 10, 2011, 04:47:32 PM »
This doesn't seem to be working.

Bot version 1.6.1

Do I have errors in the .xml file?

Code: xml [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">RUSH mp_012gr 2, CONQUEST mp_009cq 1, Rush MP_SP_002GR 2, CONQUEST mp_001 1, RUSH mp_004 2, CONQUEST BC1_Oasis_CQ 1, CONQUEST mp_003 1, RUSH mp_008 2,
RUSH mp_006 2, CONQUEST MP_007 1, CONQUEST BC1_Harvest_Day_CQ 1, RUSH mp_004 2, RUSH BC1_Oasis_GR 2, CONQUEST MP_SP_005CQ 1, CONQUEST mp_005 1, RUSH BC1_Harvest_Day_GR 2</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>
« Last Edit: July 17, 2011, 12:59:35 PM by xlr8or »

Offline LethalLegolas

  • Jr. Member
  • **
  • Posts: 15
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #40 on: July 14, 2011, 03:47:44 AM »
Can someone please look at this, It doesn't seem to want to switch modes.
It seems to do it for a few but then for some reason it will stay on either Rush or Conquest.

I am not above mistakes, but if it is on my end, I can't find it.

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #41 on: July 17, 2011, 01:05:30 PM »
I can't see anything strange in your config.

What you could try is to be consistent in the Case sensitivity in the mapnames.  I don't know how critical bfbc2 is about that.

Also put the rotation on one line and check it for typo's.

When done all that, restart the bot and post the b3.log here.

Offline MistaObvious

  • Jr. Member
  • **
  • Posts: 16
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #42 on: July 23, 2011, 07:05:19 AM »
Same problem as above, but after editing the config I can't restart B3.

Log here: http://www.pastie.org/2257780

Thing that sucks is that with a practically full server my best bet is to manually change the maps every time I get back to the first in my rotation.

Does anyone have this plugin working and can I get a copy of it and the config?

EDIT:  Got B3 working again (not sure what was keeping it from running before), but mixed gametypes plugin still isn't working.  It sets up the first map and then doesn't set up any additional maps.  With one player on it'll rotate maps after 10 minutes, but it's the same map.  Using the maplist command I only see one map as well.
« Last Edit: July 23, 2011, 05:15:04 PM by MistaObvious »

Offline Cpt-Needa

  • Jr. Member
  • **
  • Posts: 21
Re: [bfbc2] Mixed Gametypes Plugin
« Reply #43 on: August 09, 2011, 02:16:28 AM »
So does this plugin work?


 


Rate this page +1 at Google Search

anything