You are here: Big Brother Bot ForumAdd-OnsPluginsReleases!Mapcycle plugin [Urt4.1]
Pages: [1]   Go Down
  Print  
Author Topic: Mapcycle plugin [Urt4.1]  (Read 2363 times)
B3 Contributor
Sr. Member
****
Posts: 239
Offline Offline
« on: February 01, 2009, 06:14:59 AM »

Description:

This plugin- provides a solution for mapcycle management for Urban Terror.
We found it pretty annoying that after a mapvote the cycle would return to the first map in the mapcycle.txt file.
This plugin will continue where the mapcycle left off before the vote. It comes with a part for the B3 bot, which
can managae mapcycle and gametype. And a part which you can implement in your echelon. It will need to create 3
new tables in total for full functionality. 2 tables for basic functionality.

Changelog :
24-01-2009 v 0.0.2 - Webfront created revamp of the whole code and posibility to use different server identifiers - Flinkaflenkaflrsk
01-02-2009 v 0.0.3 - First plugin status for tryout - Flinkaflenkaflrsk
02-02-2009 v 0.0.4 - Changed the stop minutes and webfront "server" naming - Flinkaflenkaflrsk
28-02-2009 v 0.0.5 - made timer obsolete it is not needed in this context - Flinkaflenkaflrsk

Download : v0.0.5

Note : this plugin does not work if you are using B3 in remote FTP mode
« Last Edit: March 10, 2010, 02:40:09 AM by Courgette » Logged

Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1165
Offline Offline
WWW
« Reply #1 on: February 01, 2009, 07:55:59 AM »

It is a nice idea Smiley Trying it right now.

I'm confused with the tabs called 'server1' to 7 on the echelon page 'mapselection.php'.... what are those ? If there are to match the 'mapcyclenumber' of the plugin config, wouldn't it make more sense to call those tabs mapcycle1..7 ?

Also, when using that plugin, do we have to disable the classic macycle option in ioUrTded config ?

Why stopminutes ? Wouldn't it be better to set the nextmap let say 30 sec after the begining of the round, instead of 'stopminutes' before the end of the round. Because if your round timelimit is 20 minutes, and stopminutes is 2, and someone call a nextmap vote at 5 min, this vote would be overridden by the plugin, am I right ?
« Last Edit: February 01, 2009, 08:24:00 AM by Courgette » Logged


Dev. Team
Hero Member
*****
Posts: 1039
Offline Offline
Don't contact me on Xfire! I will just reject you!
« Reply #2 on: February 01, 2009, 10:50:50 AM »

i'm thinking that this is like the maprotation plugin, so yes, you do have to have this instead of your stock. But I haven't seen it, so I can't tell you with any certainty.
Logged

B3 Contributor
Sr. Member
****
Posts: 239
Offline Offline
« Reply #3 on: February 01, 2009, 12:56:59 PM »

It is a nice idea Smiley Trying it right now.

I'm confused with the tabs called 'server1' to 7 on the echelon page 'mapselection.php'.... what are those ? If there are to match the 'mapcyclenumber' of the plugin config, wouldn't it make more sense to call those tabs mapcycle1..7 ?
Yes, it is because the basic idea was 1 mapcycle per server so that can be changed Smiley

Also, when using that plugin, do we have to disable the classic macycle option in ioUrTded config ?

It does not interfere with the classic server side configuration. If you turn off this mapcycle by using the command it will fall back on to the server one.

Why stopminutes ? Wouldn't it be better to set the nextmap let say 30 sec after the begining of the round, instead of 'stopminutes' before the end of the round. Because if your round timelimit is 20 minutes, and stopminutes is 2, and someone call a nextmap vote at 5 min, this vote would be overridden by the plugin, am I right ?
the stop minutes should at least be longer then the warmup time in front of each map, since B3 does not seem to differentiate and both sees them as a  game round start. If it is not longer then that it will mean that it will increase the counter by +2 every new map and therefore would skip one in the mapcyle.
The reason i have named them stop minutes (althought I think I will change it now) is because we run a more extended version of this plugin on our servers which require calculations from the end of the map Smiley

Thanks for your feedback!
Logged

B3 Contributor
Sr. Member
****
Posts: 239
Offline Offline
« Reply #4 on: March 01, 2009, 02:37:31 AM »

Version 0.0.5 released

Cleaned up some of the redundant code and took out a small bug
Logged

Newbie
*
Posts: 6
Offline Offline
« Reply #5 on: April 12, 2009, 09:36:55 PM »

Having an issue with Mapcycle, i have it installed and it lists my maps but when i hit "add to cycle" the browser goes white screen and nothing ever happens to the database.

Note:  When selecting the mapcycle tab i have the following message and top of browser screen, only for mapcycle tab:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/username/domains/myserver.com/public_html/echelon/mapselection.php:4) in /home/username/domains/myserver.com/public_html/echelon/login/inc_authorize.php on line 3

Please help   =)
« Last Edit: April 13, 2009, 07:04:05 AM by ripp » Logged
Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1165
Offline Offline
WWW
« Reply #6 on: April 13, 2009, 01:17:51 PM »

that is symptomatic of a php error, can you check your webserver/php log to extract the matching error message ?
Logged


Newbie
*
Posts: 6
Offline Offline
« Reply #7 on: April 13, 2009, 01:28:54 PM »

If i can find it you bet...  checking now
Logged
Newbie
*
Posts: 6
Offline Offline
« Reply #8 on: April 13, 2009, 03:49:47 PM »

I have the server hosted on solidgameservers.com, i have a ticket in for them to figure out if i can get to the php.log because i see it no where.  Is this error being display on the screen have something to do why when adding maps to the queue it goes to a white screen and stops, never inserting the data into the database?  Maybe something else i might check out in the meantime?
Logged
Jr. Member
**
Posts: 20
Offline Offline
« Reply #9 on: March 10, 2010, 12:04:29 AM »

is this works on remote running b3?

i cant setup on remote
Logged
Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1165
Offline Offline
WWW
« Reply #10 on: March 10, 2010, 02:40:52 AM »

No, B3 has to run on game server for this plugin to work
Logged


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