AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Auto change map (https://forums.alliedmods.net/showthread.php?t=120696)

Aizek 03-07-2010 09:31

Auto change map
 
1 Attachment(s)
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

cybersquare420 03-12-2010 11:13

Re: Auto change map
 
does this count bots? and if so, could you maybe include a cvar to disable counting of bots?
thanx in advance

Aizek 03-13-2010 01:48

Re: Auto change map
 
bots not count. only real players

cybersquare420 03-13-2010 08:45

Re: Auto change map
 
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.

Aizek 03-14-2010 06:09

Re: Auto change map
 
u are mistake.
write sm_acm_time 1 in console and mp_timelimit 10, wait 11 min and map is changed

Aizek 03-14-2010 06:10

Re: Auto change map
 
plz show me your acm.cfg

cybersquare420 03-14-2010 08:32

Re: Auto change map
 
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...

Aizek 03-15-2010 04:02

Re: Auto change map
 
updated

rodregis 03-17-2010 04:48

Re: Auto change map
 
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.

Aizek 03-17-2010 06:26

Re: Auto change map
 
no, map changed only if mp_timelimit is not 0.


All times are GMT -4. The time now is 22:50.

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