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!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by xlr8or (Moderator: Freelander)Error running RotationManager CoD4
Pages: [1] 2 3   Go Down
  Print  
Author Topic: Error running RotationManager CoD4  (Read 8607 times) Bookmark and Share
Full Member
***
Posts: 54
Offline Offline
« on: January 26, 2008, 09:21:22 AM »

 I'm having problems with this thing for COD4.

 I've loaded the plugin with the line in b3.xml and triple checked it. It's correct.

 I've edited the rotationmanager.xml to my liking and saved it in the right place.

 I restart B3 and the rotation just stays the same as what's defined in server.cfg

 In the b3.log i see this...

 
Quote from: B3.log
080126 11:20:19 DEBUG   Get cvar sv_mapRotation = ["sv_mapRotation" is: "gametype war map mp_backlot gametype sd map mp_citystreets gametype war map mp_b$
  Domain is any text]
080126 11:20:19 ERROR   RotationmanagerPlugin: Could not save original rotation... Waiting for next pass
080126 11:20:19 ERROR   RotationmanagerPlugin: Error: Still not able to retrieve initial rotation!

 Can someone tell me what's up with this?

 Is this because it thinks the rotation ends with the $?

 
« Last Edit: January 26, 2008, 09:23:13 AM by highone » Logged

Full Member
***
Posts: 54
Offline Offline
« Reply #1 on: January 26, 2008, 10:20:27 AM »

 so I shortened the rotation in my config to just this

 set sv_mapRotation "gametype war map mp_backlot"

 now it gives me this in the b3.log

 
Quote from: b3.log
080126 12:09:23 DEBUG   Get cvar sv_mapRotation = ["sv_mapRotation" is: "gametype war map mp_backlot^7" default: "^7"
  Domain is any text]
080126 12:09:23 VERBOSE RCON sending (75.126.81.144:28960) sv_mapRotationCurrent
080126 12:09:24 DEBUG   Get cvar sv_mapRotationCurrent = ["sv_mapRotationCurrent" is: "^7" default: "^7"
  Domain is any text]

 Im confused now... it got the rotation... 2 people join... and it doesn't hit the first rotation setting in the rotationmanager.xml. It just stays TDM on Backlot.

 I'm not too sure where to go from here

 
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #2 on: January 26, 2008, 12:34:05 PM »

I need more info form your b3.log. The lines you copied are just fine.
Logged

Full Member
***
Posts: 54
Offline Offline
« Reply #3 on: January 26, 2008, 01:24:49 PM »

 http://www.tehpalace.net/dwnlds/b3.log

 Scroll to the bottom... the last 2 days are when I've tried rotation manager.

 Thanks for any help brother... I've tried what I can think of...

 Hopefully this is cool to link and doesn't give me some security hazard...

 Thanks
« Last Edit: January 26, 2008, 01:42:41 PM by highone » Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #4 on: January 26, 2008, 02:52:53 PM »

I can see where it goes wrong, don't know why it goes wrong, because it is doing okay at my server...

Can you set a normal maprotation (not just the one map you have now) in your serverconfig and restart both the server and the bot? I'd like to see a same piece of log after that...
Logged

Full Member
***
Posts: 54
Offline Offline
« Reply #5 on: January 26, 2008, 03:10:49 PM »


 ok... i did this a few times witht hat log in place.

 I'm goign to rename the b3.log and start a fresh one so you only have exactly what happened after the startup.

 i'll post it in a sec
Logged
Full Member
***
Posts: 54
Offline Offline
« Reply #6 on: January 26, 2008, 03:26:35 PM »


 http://www.tehpalace.net/dwnlds/b3_new.log

 there you go
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #7 on: January 27, 2008, 01:42:52 AM »

I suspect its a timing issue.

Please replace your current rotationmanager.py with this version here: http://xlr8or.snt.utwente.nl/download/rotationmanager.py and post a piece of log after restarting.
Logged

Full Member
***
Posts: 54
Offline Offline
« Reply #8 on: January 27, 2008, 01:01:42 PM »


 ok so that crashed my b3 all together.
 
 http://www.tehpalace.net/dwnlds/b3_3.log

 I'm going to remove that .py file and replace with the old for now.

 I changed nothing since the last posts. I have the rotation in place that was in place for the 2nd log file if you care to check.

 I changed nothing in b3. I changed nothing with the server binaries.

 Thanks for your help man I really appreciate it.
Logged
Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #9 on: January 28, 2008, 06:46:16 AM »

Just a silly off the wall question about this, but it looks like it is unable to write to the log.  Could it be the games_mp.log is not writeable?  Have you checked the permissions on it?  My rotationmanager works fine with CoD4.  But I had to set the log file permissions to 755.
Logged

Deadbone Platoon
B3 Driven CoD Servers
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #10 on: January 28, 2008, 10:05:32 AM »

Fixed the version I've put up for download. Please download it again and try it once more.

Or it could be indeed a non-rotationmanager related issue... like at click's it's working okay at my servers aswell, never seen such a strange error.

Are you running an older gameserver box? What version of python are you using? Just a few questions that trigger my curiosity.
Logged

Full Member
***
Posts: 54
Offline Offline
« Reply #11 on: January 28, 2008, 11:26:06 AM »

 Python Version: (will get this and edit this post with it in a minute)

 Games Log: I have renamed the log to something besides games_mp.log... this might be the problem if your plugin assumes the logfile is named that... Does the plugin look for the logfile via the logfile name that's configured in b3.xml or does it just look for games_mp.log on its own?

 I would think it would use the plugin.

 Log Permissions:  I will chmod the log file and see if that might be a problem as well.

 Server Info: Redhat Dedicated ... it's new. It's a big boy.

 Thanks for the help guys... I'll try these things out...

 But can you tell me if it is actually looking for games_mp.log or if it's using hte configured logfile I pointed B3 too from b3.xml?

 Thanks
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #12 on: January 28, 2008, 11:40:30 AM »

It's not using a logfile directly, it uses the b3 configured settings and events.
Don't worry about it finding the correct logfile.
Logged

Full Member
***
Posts: 54
Offline Offline
« Reply #13 on: January 28, 2008, 01:01:26 PM »


 ok

 http://www.tehpalace.net/dwnlds/b3_4.log

 There you go

 Looks like the only thing negative in this one is the line that says

 "line did not match format"

 Is that normal?

Quote from: b3.log
080128 14:20:38 CONSOLE 25:43 ------------------------------------------------------------
080128 14:20:38 VERBOSE line did not match format: ------------------------------------------------------------
080128 14:20:38 VERBOSE Parsing Event: Game Exit: PingwatchPlugin
080128 14:20:38 VERBOSE Parsing Event: Game Exit: RotationmanagerPlugin
080128 14:20:39 CONSOLE 25:43 ------------------------------------------------------------
080128 14:20:39 VERBOSE line did not match format: ------------------------------------------------------------
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #14 on: January 28, 2008, 01:46:29 PM »

that line is normal... it's when the server is going down to change maps.

The lines that're not normal are:
Code:
080128 14:23:39 ERROR RotationmanagerPlugin: Could not save original rotation... Waiting for next pass
080128 14:23:39 ERROR RotationmanagerPlugin: Error: Still not able to retrieve initial rotation!
That's where the rotationmanager can't store the original server rotation to fallback to when things go wrong.

I'm staring blind on this one, meaning I'm out of options here. Maybe someone else can shed a new light on this error?
Logged

Tags:
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal