Mistrick / MapManagerModular

29 stars 23 forks source link

mapm_default_map and mapm_second_vote #35

Closed fred0r closed 1 year ago

fred0r commented 2 years ago

using latest git with 1.10:

mapm_second_vote "1"
mapm_timeleft_to_vote "1"
mapm_extend_map_if_no_votes "0"
mapm_default_map "de_dust2"
mapm_change_to_default_map "8"
mp_timelimit 20

'enhanced' the logging in _map_managerscheduler.sma:

L 03/28/2022 - 05:38:40: [map_manager_scheduler.amxx] setting task SUCCESS, change time=8.000000 | get_players=0
L 03/28/2022 - 05:38:48: [map_manager_scheduler.amxx] [checktime]: start vote, timeleft 8
L 03/28/2022 - 05:38:48: [map_manager_scheduler.amxx] [planning_vote]: vote in new round.
L 03/28/2022 - 05:39:05: [map_manager_scheduler.amxx] setting task SUCCESS, change time=8.000000 | get_players=0
L 03/28/2022 - 05:39:10: [map_manager_scheduler.amxx] [newround]: start vote, timeleft 0, new round
L 03/28/2022 - 05:39:24: [map_manager_scheduler.amxx] [analysis]: second vote started. (de_dust2, fy_spongebob)
L 03/28/2022 - 05:39:38: [map_manager_scheduler.amxx] [vote_finished]: map extended[1].

by this it often happens, that some other maps are starting after the first correct switch, other than _mapm_defaultmap if server stays empty. in my setup there's a hltv connected to the server the whole time.

[EDiT] but also with _mapm_change_to_defaultmap and _mapm_defaultmap the server only stays on the confed map for about ~2x _mapm_change_to_defaultmap and then randomly switches to maps, which shouldn't be allowed according to their [min/max] player settings from 'online-sorter'.

fred0r commented 2 years ago

thx for https://github.com/Mistrick/MapManagerModular/commit/64101ccc26b031ad90c00c30f4bbd18aeadacb09