Raised This Month: $ Target: $400
 0% 

Auto change map


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Aizek
Member
Join Date: May 2009
Plugin ID:
1510
Plugin Version:
2.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Change the map if there are no players on the server and time limit is reached or if number of players too small
    Unapprover:
    Reason for Unapproving:
    Duplicate. Poorly written code as well.
    Old 03-07-2010 , 09:31   Auto change map
    Reply With Quote #1

    ver 2.0
    sm_acm_idlechange - Change map if server is idle (no clients) and time limit is reached. on/off default off
    sm_acm_minplayers - Minimum players before server will be load the next map. Work only if one player on server or more... default 0 - disabled
    sm_acm_nextmap - Name of the map for change without .bsp, if blank - used nextmap cvar

    on startup plugin reading settings from cfg\sourcemod\acm.cfg
    Attached Files
    File Type: sp Get Plugin or Get Source (acm.sp - 1498 views - 3.7 KB)

    Last edited by Aizek; 05-14-2010 at 12:00.
    Aizek is offline
    cybersquare420
    Veteran Member
    Join Date: Nov 2008
    Old 03-12-2010 , 11:13   Re: Auto change map
    Reply With Quote #2

    does this count bots? and if so, could you maybe include a cvar to disable counting of bots?
    thanx in advance
    __________________
    cybersquare420 is offline
    Aizek
    Member
    Join Date: May 2009
    Old 03-13-2010 , 01:48   Re: Auto change map
    Reply With Quote #3

    bots not count. only real players
    Aizek is offline
    cybersquare420
    Veteran Member
    Join Date: Nov 2008
    Old 03-13-2010 , 08:45   Re: Auto change map
    Reply With Quote #4

    so, near as i can tell... this plugin does nothing at all... it does not change maps with or without bots... i set the delay and the maps in cfg\sourcemod\acm.cfgas per your instructions... i tried in sourcemod,cfg... i tried adding them to console directly... nothing...

    so i looked at your code and i think i see the issue... you open a for/next loop in the counter code and never close it... and i do not think u need a loop there at all... a simple if/else should do the trick... i think... but to say the least, this plugin does nothing at all as it sits now.
    __________________
    cybersquare420 is offline
    Aizek
    Member
    Join Date: May 2009
    Old 03-14-2010 , 06:09   Re: Auto change map
    Reply With Quote #5

    u are mistake.
    write sm_acm_time 1 in console and mp_timelimit 10, wait 11 min and map is changed
    Aizek is offline
    Aizek
    Member
    Join Date: May 2009
    Old 03-14-2010 , 06:10   Re: Auto change map
    Reply With Quote #6

    plz show me your acm.cfg
    Aizek is offline
    cybersquare420
    Veteran Member
    Join Date: Nov 2008
    Old 03-14-2010 , 08:32   Re: Auto change map
    Reply With Quote #7

    wait, so this will only change the map after mp_timelimit reaches zero... hmmmm... well that explains why it didnt work... i am not looking for a plugin that waits for the map timer to reach zero... i would love to run thi if the timelimit didnt have to wait till 0 for the change... i want something to flip my servers back to popular maps when players rtv it to maps that players dont like and they leave... toi fill the server back up rather than sitting empty opn a server killling map waiting for the timer to run down...
    __________________
    cybersquare420 is offline
    Aizek
    Member
    Join Date: May 2009
    Old 03-15-2010 , 04:02   Re: Auto change map
    Reply With Quote #8

    updated

    Last edited by Aizek; 03-16-2010 at 09:48.
    Aizek is offline
    rodregis
    Member
    Join Date: Dec 2007
    Location: AU
    Old 03-17-2010 , 04:48   Re: Auto change map
    Reply With Quote #9

    This seems to be exactly what I'm after. Giving it a run tonight, I have no timelimit set, so it should work when the idle time value hits.
    __________________
    rodregis is offline
    Aizek
    Member
    Join Date: May 2009
    Old 03-17-2010 , 06:26   Re: Auto change map
    Reply With Quote #10

    no, map changed only if mp_timelimit is not 0.
    Aizek is offline
    Reply



    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 16:46.


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