MantisBT - Zandronum
View Issue Details
0002834Zandronum[All Projects] Suggestionpublic2016-09-13 22:002016-09-13 22:59
Unknown 
 
hightweakalways
newopen 
2.1 
 
0002834: Blockmap Command to specify Disallowed maps
Similar to what addmap does, Blockmap Prevents the Server from changing to specific maps, e.g : Blockmap MAP05 Makes it not possible to access that map (even with secret exit), The reason i'm suggesting this is because addmap only adds maps to rotation list, It doesn't "Disallow" changing to the Specified maps .
No tags attached.
Issue History
2016-09-13 22:00UnknownNew Issue
2016-09-13 22:02UnknownNote Added: 0015632
2016-09-13 22:05UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9501
2016-09-13 22:14UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9502
2016-09-13 22:21UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9503
2016-09-13 22:21UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9504
2016-09-13 22:22UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9505
2016-09-13 22:22UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9506
2016-09-13 22:23UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9507
2016-09-13 22:23UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9508
2016-09-13 22:24UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9509
2016-09-13 22:40UnknownNote Edited: 0015632bug_revision_view_page.php?bugnote_id=15632#r9510
2016-09-13 22:48DuskNote Added: 0015634
2016-09-13 22:59UnknownNote Added: 0015635

Notes
(0015632)
Unknown   
2016-09-13 22:02   
(edited on: 2016-09-13 22:40)
Currently Some maps that aren't added to Rotation list can be still accessed from Secret exits or using ACS Functions Like ChangeLevel & Teleport_NewMap or even ConsoleCommand("changemap MAPXX"), We need this to prevent accessing them, So instead of changing to that level, The server would just ignore it (after checking the blockedmapslist) and go to the Next map in rotation list .

EDIT : There is sv_maprotation which only makes the server use the Maplist to determine maps that server will change to, This doesn't help to add exceptions for some maps Since some mods use different methods to change levels

(0015634)
Dusk   
2016-09-13 22:48   
I guess you want to force the server to follow the map rotation. A CVAR should suffice for that, instead of an per-map blocking command.
(0015635)
Unknown   
2016-09-13 22:59   
No, This would break some mods That require returning to specific maps (Like Hub maps), Blockmap should work better .