2
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: RotationManager [CoD|CoD:UO|CoD2|CoD4]  (Read 36590 times)

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #30 on: September 26, 2010, 11:02:00 AM »
The rotation in your server.cfg is only used at server startup. Once the rotation manager takes over, it doesn't that rotation anymore, unless it needs to fallback to a default rotation when needed.

I suggest you take a good look at your rotation manager config file, it's most likely that the error originates in there. You can also attach the xml file here if you can't find it, we'll then have a look as well.

Offline AHTuBuPyC

  • Newbie
  • *
  • Posts: 2
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #31 on: October 03, 2010, 08:01:30 PM »
The problem with the rotation of maps. When the game ends, the server hangs and can not start the next map.

As I understand the problem in the code of the plugin or am I wrong to set up the plugin?

Sorry for my English, I use a translator.

rotationmanager.xml
Code: [Select]
<configuration plugin="rotationmanager">
<settings name="settings">

<set name="switchcount1">99</set>

<set name="switchcount2">99</set>

    <set name="hysteresis">0</set>

    <set name="randomizerotation">true</set>

<set name="maphistory">8</set>

    <set name="immediate">true</set>

    <set name="version">4</set>

    <set name="mapdelay">0</set>
</settings>


<settings name="rotation_small">
  <set name="war">mp_dust2_classic mp_sbase mp_oldschool mp_swamp mp_beta mp_fav mp_inv mp_karachi mp_docks_n mp_highrise mp_karrak mp_spbase mp_backlot mp_bloc mp_citystreets mp_convoy mp_crash mp_overgrown mp_pipeline mp_strike</set>
  <set name="sab">mp_dust2_classic mp_sbase mp_swamp mp_beta mp_fav mp_inv mp_karachi mp_docks_n  mp_highrise mp_karrak mp_spbase mp_backlot mp_bloc mp_citystreets mp_convoy mp_crash mp_overgrown mp_pipeline mp_strike</set>
  <set name="koth">mp_dust2_classic mp_sbase mp_oldschool mp_beta mp_fav mp_inv mp_karachi mp_highrise mp_spbase mp_backlot mp_bloc mp_citystreets mp_convoy mp_crash mp_overgrown mp_pipeline mp_strike</set>
  <set name="dom">mp_dust2_classic mp_sbase mp_oldschool mp_beta mp_fav mp_inv mp_karachi mp_highrise mp_karrak mp_backlot mp_bloc mp_citystreets mp_convoy mp_crash mp_overgrown mp_pipeline mp_strike</set>
  <set name="ctf">mp_dust2_classic mp_sbase mp_swamp mp_beta mp_fav mp_inv mp_karachi mp_docks_n mp_highrise mp_karrak mp_spbase mp_backlot mp_bloc mp_citystreets mp_convoy mp_crash mp_overgrown mp_pipeline mp_strike</set>
  <set name="sd">mp_dust2_classic mp_sbase mp_oldschool mp_fav mp_inv mp_karachi mp_backlot mp_bloc mp_citystreets mp_convoy mp_crash mp_overgrown mp_pipeline mp_strike</set>
  <set name="ass">mp_dust2_classic mp_sbase mp_oldschool mp_beta mp_spbase mp_backlot mp_bloc mp_citystreets mp_convoy mp_crash mp_overgrown mp_pipeline mp_strike</set>
</settings>

<settings name="rotation_medium">
  </settings>

<settings name="rotation_large">
</settings>

</configuration>

In rotationmanager.py only change:
Code: [Select]
  _hmm = 8 

Cutting from the log server:
Code: [Select]
map_rotate...

"sv_mapRotation" is:"gametype war map mp_karachi gametype dom map mp_fav gametype dom map mp_backlot gametype ctf map mp_crash gametype ctf map mp_bloc gametype war map mp_highrise gametype ass map mp_beta gametype ctf map mp_karrak gametype sab map mp_citystreets gametype war map mp_spbase gametype war map mp_swamp gametype dom map mp_dust2_classic gametype sab map mp_overgrown gametype sd map mp_karachi gametype sd map mp_oldschool gametype war map mp_sbase gametype ass map mp_crash gametype ass map mp_convoy gametype sd map mp_bloc gametype dom map mp_pipeline gametype sab map mp_docks_n gametype war map mp_karrak gametype ass map mp_citystreets gametype sab map  gametype koth map mp_dust2_classic gametype sab map mp_karachi gametype war map mp_inv gametype sab map mp_highrise gametype koth map mp_beta gametype ctf map mp_convoy gametype war map mp_strike gametype ass map mp_overgrown gametype sd map mp_fav gametype war map mp_dust2_classic gametype ctf map mp_pipeline"

"sv_mapRotationCurrent" is:" gametype sab map  gametype koth map mp_dust2_classic gametype sab map mp_karachi gametype war map mp_inv gametype sab map mp_highrise gametype koth map mp_beta gametype ctf map mp_convoy gametype war map mp_strike gametype ass map mp_overgrown gametype sd map mp_fav gametype war map mp_dust2_classic gametype ctf map mp_pipeline"

      dvar set sv_mapRotationCurrent  sab map  gametype koth map mp_dust2_classic gametype sab map mp_karachi gametype war map mp_inv gametype sab map mp_highrise gametype koth map mp_beta gametype ctf map mp_convoy gametype war map mp_strike gametype ass map mp_overgrown gametype sd map mp_fav gametype war map mp_dust2_classic gametype ctf map mp_pipeline
      dvar set sv_mapRotationCurrent  map  gametype koth map mp_dust2_classic gametype sab map mp_karachi gametype war map mp_inv gametype sab map mp_highrise gametype koth map mp_beta gametype ctf map mp_convoy gametype war map mp_strike gametype ass map mp_overgrown gametype sd map mp_fav gametype war map mp_dust2_classic gametype ctf map mp_pipeline
Setting g_gametype: sab.
      dvar set g_gametype sab
      dvar set sv_mapRotationCurrent   gametype koth map mp_dust2_classic gametype sab map mp_karachi gametype war map mp_inv gametype sab map mp_highrise gametype koth map mp_beta gametype ctf map mp_convoy gametype war map mp_strike gametype ass map mp_overgrown gametype sd map mp_fav gametype war map mp_dust2_classic gametype ctf map mp_pipeline
      dvar set sv_mapRotationCurrent  koth map mp_dust2_classic gametype sab map mp_karachi gametype war map mp_inv gametype sab map mp_highrise gametype koth map mp_beta gametype ctf map mp_convoy gametype war map mp_strike gametype ass map mp_overgrown gametype sd map mp_fav gametype war map mp_dust2_classic gametype ctf map mp_pipeline
Setting map: gametype.
Unknown command "selectStringTableEntryInDvar"
Error: Can't find map "gametype".
A mod is required for custom maps

Offline adam

  • Jr. Member
  • **
  • Posts: 26
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #32 on: November 17, 2010, 11:25:50 AM »
Hello all
just a little question about the plugin..
Does this count active players or total players?
exemple 20 players play and 15 in spec or pinged at 999 in spec...

Thanks..

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #33 on: November 19, 2010, 01:47:24 PM »
It counts total number of online players.

Offline adam

  • Jr. Member
  • **
  • Posts: 26
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #34 on: November 21, 2010, 10:16:25 AM »
It counts total number of online players.
Thanks.

Offline moosedrool

  • Newbie
  • *
  • Posts: 7
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #35 on: November 29, 2010, 10:23:41 AM »
I have a server with bots in it with possible names bot0 - bot99.  Will it detect those bots and count them as regular players?

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #36 on: November 29, 2010, 09:36:44 PM »
Not sure. I've never seen bots on CoD, therefor the parser is not equipped to handle bots on CoD. You must have a mod that adds them... Have you tried what happens?

Offline +CGO+SenseiC

  • Jr. Member
  • **
  • Posts: 17
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #37 on: January 26, 2011, 09:26:47 PM »
Continue to have an issue with the RotationManager intermittently (you didn't want an EASY problem, did you?) plug-in "hanging" the server on rotation.  Initially I thought it was because I had fewer that 4 maps defined for some of the "small" rotations, but the problem persists even after changing that.

I have attached some screen captures showing the condition.  This most recent time I got on the server (only player on), the round ended (enemy forfeiture), the countdown timer got to 0 and then "hang".  Restarting B3 has no effect (though B3 continues to cycle messages, go figure).  Disconnecting and reconnecting to the server and now your ping shows as "-1".  The only way to "get the server back" is by restarting it.

From the most recent instance:
Quote
110126 13:21:00   VERBOSE   StatusPlugin: Building XML status
110126 13:21:00   ERROR   Error executing crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x00BD7E18>>: unsupported operand type(s) for -: 'int' and 'NoneType'
[('b3\\cron.pyo', 270, 'run', None), ('b3\\cron.pyo', 208, 'run', None), ('b3\\cron.pyo', 64, 'run', None), ('b3\\plugins\\status.pyo', 132, 'update', None), ('b3\\game.pyo', 52, 'mapTime', None)]

110126 13:21:25   VERBOSE   RCON sending (74.63.215.114:28960) sv_mapRotation
110126 13:21:25   DEBUG   Get cvar sv_mapRotation = ["sv_mapRotation" is: "gametype koth map mp_vacant gametype war map mp_bloc gametype war map convoy gametype koth map mp_crossfire gametype war map mp_backlot gametype dm map mp_vacant gametype dm map mp_bloc gametype dm map mp_convoy gametype dm map mp_crossfire gametype koth map mp_killhouse gametype war map mp_vacant gametype dm map mp_bog gametype war map mp_bloc gametype war map mp_crossfire gametype dm map mp_backlot gametype dm map mp_countdown gametype koth map mp_shipment^7" default: "^7"
  Domain is any text]
110126 13:21:25   VERBOSE   RCON sending (74.63.215.114:28960) say ^3 ^2Next map: ^3Convoy

SenseiC

The first attached image shows the condition at the end of the round (so the timer has counted to 0:00).  The second image shows what it looks like if you connect to the server after its gotten into this "condition".  The third image simply shows what the first image shows, only with multiple people connected.  Actually at the point I captured the third image several players had already dropped off because the server had stopped responding.  Last, but not least, I attached the rotationmanager.xml file.

[attachment deleted by maintenance]
« Last Edit: January 26, 2011, 09:28:46 PM by +CGO+SenseiC »

Offline Just a baka

  • Full Member
  • ***
  • Posts: 134
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #38 on: January 31, 2011, 11:33:55 PM »
I have seen this on my cod4 servers (happens under some weird and rare conditions), but it's a bug in cod4, not b3. The only way to get your server back operational is restarting it (I'm not sure but the map change command should also help). How often do you experience this problem?

Offline +CGO+SenseiC

  • Jr. Member
  • **
  • Posts: 17
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #39 on: February 01, 2011, 06:07:33 PM »
I have seen this on my cod4 servers (happens under some weird and rare conditions), but it's a bug in cod4, not b3. The only way to get your server back operational is restarting it (I'm not sure but the map change command should also help). How often do you experience this problem?
I'm not saying it's DEFINITELY an issue with the RotationManager, but it happens WAY too often and ONLY with the RotationManager plug-in.  We used to use ManuAdminMod to do stuff like weapons management/restrictions and map rotations and NEVER had this problem.

SenseiC

Offline Just a baka

  • Full Member
  • ***
  • Posts: 134
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #40 on: February 01, 2011, 06:51:46 PM »
I'm not saying it's DEFINITELY an issue with the RotationManager, but it happens WAY too often and ONLY with the RotationManager plug-in.  We used to use ManuAdminMod to do stuff like weapons management/restrictions and map rotations and NEVER had this problem.
I'll need:
  • rotationmanager.xml (if it was not changed since you've uploaded it)
  • the latest part of b3.log where sv_maprotation was set
  • a sv_maprotationcurrent contents from a hanged server

Offline gabarram

  • Sr. Member
  • ****
  • Posts: 186
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #41 on: February 02, 2011, 02:40:12 AM »

Offline Just a baka

  • Full Member
  • ***
  • Posts: 134
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #42 on: February 02, 2011, 03:11:27 AM »

Offline gabarram

  • Sr. Member
  • ****
  • Posts: 186
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #43 on: February 02, 2011, 04:06:02 AM »

Offline +CGO+SenseiC

  • Jr. Member
  • **
  • Posts: 17
Re: RotationManager [CoD|CoD:UO|CoD2|CoD4]
« Reply #44 on: February 04, 2011, 09:25:24 PM »
I'll need:
  • rotationmanager.xml (if it was not changed since you've uploaded it) See Attachment
  • the latest part of b3.log where sv_maprotation was set See Below
  • a sv_maprotationcurrent contents from a hanged server See Attachment
how exactly do you want me to get the sv_maprotationcurrent?  The "best" I could think of at the moment was to attach a screen shot.

I cycled the B3 server anyway so here's the last "relevant" section from the b3_SVR1.log.1 file:
Quote
110204 13:53:00   VERBOSE   RCON sending (74.63.215.114:28960) sv_mapRotation
110204 13:53:01   DEBUG   Get cvar sv_mapRotation = ["sv_mapRotation" is: "gametype dm map mp_backlot gametype dm map mp_countdown gametype koth map mp_shipment gametype koth map mp_vacant gametype koth map mp_killhouse gametype war map mp_backlot gametype war map convoy gametype dm map mp_bog gametype dm map mp_bloc gametype war map mp_crossfire gametype war map mp_vacant gametype dm map mp_convoy^7" default: "^7"
  Domain is any text]
110204 13:53:01   VERBOSE   RCON sending (74.63.215.114:28960) status
110204 13:53:02   VERBOSE   RCON sending (74.63.215.114:28960) say ^3 ^2Next map: ^3Countdown
110204 13:53:02   VERBOSE   StatusPlugin: Building XML status
110204 13:53:02   ERROR   Error executing crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x00BD7E18>>: unsupported operand type(s) for -: 'int' and 'NoneType'
[('b3\\cron.pyo', 270, 'run', None), ('b3\\cron.pyo', 208, 'run', None), ('b3\\cron.pyo', 64, 'run', None), ('b3\\plugins\\status.pyo', 132, 'update', None), ('b3\\game.pyo', 52, 'mapTime', None)]
110204 13:53:25   VERBOSE   RCON sending (74.63.215.114:28960) say ^3 ^2Big Brother Bot is watching you...
110204 13:53:30   VERBOSE   RCON sending (74.63.215.114:28960) status
110204 13:53:50   DEBUG   formatting time with timezone [CST], tzOffset : -21600
110204 13:53:50   VERBOSE   RCON sending (74.63.215.114:28960) say ^3 ^2Time: ^301:53PM CST 02/04/11
110204 13:54:00   VERBOSE   RCON sending (74.63.215.114:28960) status
110204 13:54:00   VERBOSE   RCON sending (74.63.215.114:28960) status

I would note that EVERY instance of "VERBOSE   RCON sending (74.63.215.114:28960) sv_mapRotation" in the log file gets immediately followed by the same "110204 13:53:02   ERROR   Error executing crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x00BD7E18>>: unsupported operand type(s) for -: 'int' and 'NoneType'" text.  Initially I thought it was because I noticed two of the "rotation" definitions had fewer maps than the corresponding maphistory_small value (4), so I amended them to be longer... but I JUST noticed a possible issue with my XML file:
Quote
<settings name="rotation_small">
     <set name="dm">mp_backlot mp_bloc mp_bog mp_convoy mp_countdown mp_crossfire mp_vacant</set>
     <set name="war">mp_backlot mp_bloc convoy mp_crossfire mp_vacant mp_bloc</set>
   <set name="koth">mp_shipment mp_killhouse mp_crossfire mp_vacant mp_bloc</set>
</settings>

Not sure if that's the issue (or contributory to it), but I'll change that and restart to see if we hang sometime this weekend.

SenseiC



[attachment deleted by maintenance]
« Last Edit: February 04, 2011, 09:31:35 PM by +CGO+SenseiC »

 


Rate this page +1 at Google Search