Raised This Month: $7 Target: $400
 1% 

Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)


Post New Thread Reply   
 
Thread Tools Display Modes
Caught off Guard
Senior Member
Join Date: Jan 2008
Old 03-25-2008 , 17:29   Re: Dynamic Map Rotations
Reply With Quote #11

Hi thanks for the quick response. ive uploaded it and now testing it.

thanks for spotting the other bug and putting it on your list - that would be excellent!


thanks again
Caught off Guard is offline
Caught off Guard
Senior Member
Join Date: Jan 2008
Old 03-25-2008 , 18:03   Re: Dynamic Map Rotations
Reply With Quote #12

hi ive just tested it and with 9 people on the server the map changed from baghdad to haditha whereas it should have moved to sinjar.

sorry

let me know what i can do to help and thanks for looking into this

cheers

CoG
Caught off Guard is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 03-26-2008 , 08:59   Re: Dynamic Map Rotations
Reply With Quote #13

I'm sorry for the late reply. Would you be willing to send me a copy of your server config (please delete any passwords stored within)?
FLOOR_MASTER is offline
Caught off Guard
Senior Member
Join Date: Jan 2008
Old 03-26-2008 , 13:04   Re: Dynamic Map Rotations
Reply With Quote #14

wanted to send it via pm but unfortunately it was too long so here it is:

hostname "The.O.C Insurgency | 2.0e | *recruiting*"

sv_lan "0" // Server is a lan server ( no heartbeat, no authentication, no non-class C addresses
sv_region "3" // The region of the world to report this server in.
sv_alltalk "0" // If 0, players from team one cannot talk to players in team two over voice
sv_password "" // Server password for entry into multiplayer games
rcon_password "" // Remote Console Password.
sv_rcon_banpenalty "30" // Number of minutes to ban users who fail rcon authentication
sv_rcon_log "1" // Enable/disable rcon logging.
sv_rcon_maxfailures "5" // Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures "5" // Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime "30" // Number of seconds to track failed rcon authentications
sv_rcon_banpenalty "30" // Number of minutes to ban users who fail rcon authentication
sv_rcon_log "1" // Enable/disable rcon logging.
sv_rcon_maxfailures "5" // Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures "5" // Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime "30" // Number of seconds to track failed rcon authentications

// Specific settings
ins_forceautoassign 0 // Forces a Player to Auto-Assign when Joining
ins_forcesquadopen 0 // Forces all Squads to be Open
ins_gamecount 3 // How many rounds pr map
ins_roundtimer 300 // Maximum length of a round in seconds
ins_tkdetect "0" // Auto Kick TKs
ins_tkremove "0" // How Many TKs before Kicking
mp_chattime "8" // Length of Time (in Seconds) for Players to Commune When the Game is Over (min. 2.000000 max. 10.000000)
mp_friendlyfire "1" // Defines Friendly-Fire Status (min. 0.000000 max. 1.000000)
//mp_timelimit "25" // Time on one map
mp_limitteams "2" // Maximum Difference between Team Sizes
mp_winlimit "5" // Defines how Many Rounds Played by One Team before Map Rotates
mp_respawnlimit "10"
sv_pausable "0" // Is the server pausable.
sv_cheats "0" // Allow cheats on server
sv_voiceenable "1" // Enables Ingame Voices
sv_contact "" // Contact email for server sysop
sv_downloadurl "" // Location from which clients can download missing files
sv_allowdownload "1" // Allow clients to download files (Enable= 1 Disable= 0)
sv_allowupload "1" // Allow clients to upload files like spraylogo's (Enable= 1 Disable= 0)
sv_timeout "30" // After this many seconds without a message from a client, the client is dropped
sv_gravity "800" // World gravity settings (Default= 800)
sv_maxvelocity "3500" // Maximum velocity an object can have ingame (Default= 3500)
sv_maxspeed "350" // Maximum speed a player can move (Default= 350) ///////////////manual!
sv_unlag "1" // Enables player lag compensation
sv_maxrate "25000" // Max bandwidth rate allowed on server, 0 == unlimited
sv_minrate "7500" // Min bandwidth rate allowed on server, 0 == unlimited
sv_maxunlag "1" // Maximum lag compensation in seconds
sv_unlag_fixstuck "1" // Disallow backtracking a player for lag compensation if it will cause them to become stuck
net_maxfilesize "32" // Maximum allowed file size for uploading in MB
net_queued_packet_thread "0" // Use a high priority thread to send queued packets out instead of sending them each frame.
fps_max "555" // Frame rate limiter
ins_cachesabotage "1" // When Enabled, Allows a Team to Sabotage their own Caches
ins_deadcam_modes "0" // Restricts Spectator Modes
ins_deadcam_targets "1" // Restricts Spectator Targets
ins_deadchat "0" // Determines whether Dead Players can Chat to Alive Players
ins_deadinfofull "1" // Determines whether or not to use Full Death Information
ins_dmgfactor "1" // Factor Reduction of Damage in FF
ins_endgametime "4" // Change how Long the Winning Players get to Wander Around
ins_firetype "0" // Defines if you can Fire either Always, Never or During Warmup
ins_forceautoassign "1" // Forces a Player to Auto-Assign when Joining
ins_forcesquadopen "0" // Forces all Squads to be Open
ins_locksquads "0" // Lock Squads During a Running Game
ins_maskotherteam "0" // When Enabled the Other Teams Score will not be Updated until the End of the Round
ins_objdisable "0" // Ignore Objective States
ins_randomlayout "1" // Determines wether or not to use Random Layouts
ins_roundtimer "900" // Length of Time (in Seconds) of each Round
ins_scorefrozen "0" // Determines whether or not the Score is Frozen
ins_strictnaming "1" // When Enabled, the Player can only Change his name Once per Round
ins_suppresskillhint "0" // Supress the Kill Hint from being Sent
ins_teamsize "0" // Maximum Team Size
ins_teamswap "0" // When Restarting and Enabled, Teams will Swap
ins_timertype "1" // Defines which Timer to Use
ins_tkdetect "0" // Auto Kick TKs
ins_tkremove "4" // How Many TKs before Kicking
ins_warmuptime "12" // Warm-Up Time before a Game (in Seconds)
ins_warmuptype "0" // Defines Warm-Up Type
ins_gamecount "3" // game notifications (min 0, max 30)
ins_clanleaderpass "0" // Defines the Password for Clan Leaders
ins_clanmode "0" // Defines whether Clan Mode is Active
ins_decalfrequency "8" // Decalfrequency

// Execute Ban File
exec banned_user.cfg
// Force Mapcycle File
mapcyclefile "mapcycle.txt"

// Enable bots on this server.
bot_enabled 1

=========================

Now that im looking at my config is the mapcycle "mapcycle.txt" causing the problem?

thanks in advance
Caught off Guard is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 03-26-2008 , 23:53   Re: Dynamic Map Rotations
Reply With Quote #15

I used your config file on my server and the plugin worked properly, skipping the appropriate maps since I was the only one on the server, so unfortunately the particular game settings you're using aren't causing the issue. I have a few more questions to help me reproduce the error you're receiving:

1) Are you running a Windows or Linux server?
2) Did you load the plugin in the middle of some other map that wasn't the first map (which is perfectly fine) or did you restart the server?
3) Could you attach errors_20080323.log to your reply? It should be located in addons/sourcemod/logs in your server's insurgency directory. (Click on "Go Advanced" to attach files)
FLOOR_MASTER is offline
Caught off Guard
Senior Member
Join Date: Jan 2008
Old 03-27-2008 , 03:49   Re: Dynamic Map Rotations
Reply With Quote #16

Quote:
Originally Posted by FLOOR_MASTER View Post
I used your config file on my server and the plugin worked properly, skipping the appropriate maps since I was the only one on the server, so unfortunately the particular game settings you're using aren't causing the issue. I have a few more questions to help me reproduce the error you're receiving:

1) Are you running a Windows or Linux server?
2) Did you load the plugin in the middle of some other map that wasn't the first map (which is perfectly fine) or did you restart the server?
3) Could you attach errors_20080323.log to your reply? It should be located in addons/sourcemod/logs in your server's insurgency directory. (Click on "Go Advanced" to attach files)
oh well at least its not my config to answer your questions:

1) Its a linux server
2) I loaded the plugin whilst a map was playing (i forget which one) and then restarted the server.
3) attached

you will see errors for "deathnotice.smx" which is a plugin for displaying who killed who to admins which is working sporadically so pleas ignore those. (here for reference)

im also using MMS 1.4.3 and soucemod v1 if that helps. my plugins list looks like:
Code:
  
01 "Basic Commands" (1.0.0.1946) by AlliedModders LLC
02 "Basic Info Triggers" (1.0.0.1946) by AlliedModders LLC
03 "Death Notice" (1.0.4) by bl4nk
04 "Basic Comm Control" (1.0.0.1946) by AlliedModders LLC
05 "Server Crontab" (1.0.1.0) by dubbeh
06 "Admin Menu" (1.0.0.1946) by AlliedModders LLC
07 "Anti-Flood" (1.0.0.1946) by AlliedModders LLC
08 "Admin Help" (1.0.0.1946) by AlliedModders LLC
09 "Server Crontab Module" (1.0.1.0) by dubbeh
10 "Basic Chat" (1.0.0.1946) by AlliedModders LLC
11 "Maps and Prefix Maps Configs" (1.2) by graczu
12 "Basic Votes" (1.0.0.1946) by AlliedModders LLC
13 "Basic Ban Commands" (1.0.0.1946) by AlliedModders LLC
14 "Dynamic Map Rotations" (0.2) by Ryan "FLOOR_MASTER" Mannion
15 "Ads" (1.0.4.0) by Shane A. ^BuGs^ Froebel
16 "Admin File Reader" (1.0.0.1946) by AlliedModders LLC
In the logs after the cron job has run at 5am i get:

Code:
L 03/27/2008 - 05:00:48: [dmr.smx] Reset dmr_map_key to "10"
but after that I just get the maps being played in sequence (without missing any out)

appreciate your help on this one.
Attached Files
File Type: rar errors_20080323.rar (4.0 KB, 189 views)
Caught off Guard is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 03-30-2008 , 17:26   Re: Dynamic Map Rotations
Reply With Quote #17

I'm sorry to say that I still can't duplicate the bug you're experiencing. I've reproduced your setup as close as I can and can't find any reason why it wouldn't work.

Anyone out there have any insights? The plugin's been working flawlessly on my servers...
FLOOR_MASTER is offline
Caught off Guard
Senior Member
Join Date: Jan 2008
Old 03-31-2008 , 10:09   Re: Dynamic Map Rotations
Reply With Quote #18

Quote:
Originally Posted by FLOOR_MASTER View Post
I'm sorry to say that I still can't duplicate the bug you're experiencing. I've reproduced your setup as close as I can and can't find any reason why it wouldn't work.

Anyone out there have any insights? The plugin's been working flawlessly on my servers...
how odd. well thanks for trying your help in trying to get this resolved was appreciated. I will maybe try a few things with my set up to see if i can find it!

cheers
Caught off Guard is offline
st0rm_r1der
Member
Join Date: Feb 2008
Location: DE
Old 04-02-2008 , 11:44   Re: Dynamic Map Rotations
Reply With Quote #19

one question before i will start the plugin with my dmr.txt

can i delete/rename the original cycle file to deactivate it?
Attached Files
File Type: txt dmr.txt (4.7 KB, 262 views)
st0rm_r1der is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 04-02-2008 , 21:40   Re: Dynamic Map Rotations
Reply With Quote #20

You can leave mapcycle.txt alone -- what really matters is that you disable nextmap.smx. You can either delete mapcycle.smx or, preferrably, move mapcycle.smx to the disabled folder (addons/sourcemod/plugins/disabled).
FLOOR_MASTER is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode