Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lag every time before vote countdown starts #19

Closed
evandrocoan opened this issue Oct 25, 2016 · 3 comments
Closed

Lag every time before vote countdown starts #19

evandrocoan opened this issue Oct 25, 2016 · 3 comments

Comments

@evandrocoan
Copy link
Owner

evandrocoan commented Oct 25, 2016

I have the plugin on 2 servers.

On 1 there are around 10 maps and there is no lag before vote countdown starts or anything

On second i have around 900 maps in vote file and it lags every time before vote countdown starts. I have split the maps in 4 groups of 230 maps and lag reduced a bit (from what I've seen) but it still effects gameplay.

Hope that helps
https://forums.alliedmods.net/showpost.php?p=2464957&postcount=362


Lag issue can be fixed if you read map file at map start and save all maps into a dynamic array. Then when votemap comes you only need to read this array which is most efficient on a middle of a round.
https://forums.alliedmods.net/showpost.php?p=2464967&postcount=363

The lagging should happens when loading maps if you got the debug enabled and printing to the server console or with some very restrict configuration. May you PM your output from the amxx cvars command only within the columns from the Galileo plugin and run it on debug mode until you get one vote start and send the _galileo.log file? You may get more instructions on the Support section.


Actions to be performed:

  1. Create a function which return one valid map to fill the voting list.
  2. Move the map loading to the server start.
  3. Build a primary voting menu on server start, and on the voting start fill the permanent menu with the nominations, then later with the primary voting menu. However, if the primary voting menu maps became invalid, call the function which return one valid map to fish again.
@evandrocoan
Copy link
Owner Author

Added the log file:

_galileo.txt

@evandrocoan
Copy link
Owner Author

evandrocoan commented Nov 13, 2016

It seems to be true it is lagging, as we may see:

607       0} ( cmd_say ) equali(/option, 'nom', 3)? 0, strlen(/option) > 5? 1
607       0}     ( cmd_say ) Just Returning PLUGIN_CONTINUE, as reached the handler end.
867     260} I AM ENTERING ON pendingVoteCountdown(0)
1257    390} I AM ENTERING ON pendingVoteCountdown(0)
1657    400} I AM ENTERING ON pendingVoteCountdown(0)
2047    390} I AM ENTERING ON pendingVoteCountdown(0)
-1887 -3934} I AM ENTERING ON pendingVoteCountdown(0)
-1487   400} I AM ENTERING ON pendingVoteCountdown(0)
-7077    80} I AM ENTERING ON vote_handleDisplay(0)
-3373    70}   ( votedisplay ) player_id: 0, updateTimeRemaining: 1
-337      0}   ( votedisplay ) g_isToRefreshVoteStatus: 1,  g_totalVoteOptions: 4, strlen( g_voteStatusClean ): 0

Each pendingVoteCountdown call happens after 1 second and on the map files loading wee see continue tasks being performed over maximum value of 1 second (the 260, 390, 400, 390 values).
Now I need to understand correctly the values 260, 390, 400, 390, and if the represent correctly something valid as time measurement.

  0} ( loadMapGroupsFeature ) MapsGroups Loaded, mapFilerFilePath: addons/amxmodx/configs/galileo/vote.txt
  0} 
 10} 
  0} I AM ENTERING ON processLoadedMapsFile(5) | groupCount: 5, announcementShowedTimes: 1
  0} I AM ENTERING ON computeNextWhiteListLoadTime(2) | seconds: 1052, isSecondsLeft: 0
  0} I AM EXITING computeNextWhiteListLoadTime(2) | g_whitelistNomBlockTime: 2706, secondsForReload: 1654
  0} I AM ENTERING ON map_populateList(4) | mapFilePath: addons/amxmodx/configs/galileo/0.ini
  0} I AM ENTERING ON TRY_TO_APPLY(2) | objectIndentifation: 0
  0} 
  0}     map_populateList(...) Loading the PASSED FILE! mapFilePath: addons/amxmodx/configs/galileo/0.ini
  0} I AM ENTERING ON loadMapFileList(3) | mapFilePath: addons/amxmodx/configs/galileo/0.ini
  0} ( loadMapFileList ) Error 19, �[KZ] �Could not open '�addons/amxmodx/configs/galileo/0.ini�'.
  0} I AM EXITING map_populateList(4) mapCount: 0
  0} [0] groupCount:5, filersMapCount: 0,  g_totalVoteOptions: 0, g_maxVotingChoices: 6
  0}     fillersFilePaths[0]: addons/amxmodx/configs/galileo/0.ini
  0} 
  0} I AM ENTERING ON map_populateList(4) | mapFilePath: addons/amxmodx/configs/galileo/1.ini
  0} I AM ENTERING ON TRY_TO_APPLY(2) | objectIndentifation: 0
  0} 
  0}     map_populateList(...) Loading the PASSED FILE! mapFilePath: addons/amxmodx/configs/galileo/1.ini
  0} I AM ENTERING ON loadMapFileList(3) | mapFilePath: addons/amxmodx/configs/galileo/1.ini
390} 
 10} I AM EXITING map_populateList(4) mapCount: 129
  0} [1] groupCount:5, filersMapCount: 129,  g_totalVoteOptions: 0, g_maxVotingChoices: 6
  0}     fillersFilePaths[1]: addons/amxmodx/configs/galileo/1.ini
  0} 
  0} [1] allowedFilersCount: 1   maxMapsPerGroupToUse[1]: 1   MaxCount: 6
  0} 
  0} ( in ) [1] choice_index: 0, mapIndex: 56, mapName: ksz_fastmountain2
  0} ( out ) [1] choice_index: 0, mapIndex: 56, mapName: ksz_fastmountain2, unsuccessfulCount: 0, g_totalVoteOptions: 1
  0} 
  0} 
  0} I AM ENTERING ON map_populateList(4) | mapFilePath: addons/amxmodx/configs/galileo/2.ini
  0} I AM ENTERING ON TRY_TO_APPLY(2) | objectIndentifation: 0
  0} 
  0}     map_populateList(...) Loading the PASSED FILE! mapFilePath: addons/amxmodx/configs/galileo/2.ini
  0} I AM ENTERING ON loadMapFileList(3) | mapFilePath: addons/amxmodx/configs/galileo/2.ini
230} 
 10} I AM EXITING map_populateList(4) mapCount: 146
  0} [2] groupCount:5, filersMapCount: 146,  g_totalVoteOptions: 1, g_maxVotingChoices: 6
  0}     fillersFilePaths[2]: addons/amxmodx/configs/galileo/2.ini
  0} 
  0} [2] allowedFilersCount: 1   maxMapsPerGroupToUse[2]: 1   MaxCount: 5
  0} 
  0} ( in ) [2] choice_index: 0, mapIndex: 29, mapName: kzse_bhopblock
  0} ( out ) [2] choice_index: 0, mapIndex: 29, mapName: kzse_bhopblock, unsuccessfulCount: 0, g_totalVoteOptions: 2
  0} 
  0} 
  0} I AM ENTERING ON map_populateList(4) | mapFilePath: addons/amxmodx/configs/galileo/3.ini
  0} I AM ENTERING ON TRY_TO_APPLY(2) | objectIndentifation: 0
  0} 
  0}     map_populateList(...) Loading the PASSED FILE! mapFilePath: addons/amxmodx/configs/galileo/3.ini
  0} I AM ENTERING ON loadMapFileList(3) | mapFilePath: addons/amxmodx/configs/galileo/3.ini
240} 
  0} I AM EXITING map_populateList(4) mapCount: 141
 10} [3] groupCount:5, filersMapCount: 141,  g_totalVoteOptions: 2, g_maxVotingChoices: 6
  0}     fillersFilePaths[3]: addons/amxmodx/configs/galileo/3.ini
  0} 
  0} [3] allowedFilersCount: 1   maxMapsPerGroupToUse[3]: 1   MaxCount: 4
  0} 
  0} ( in ) [3] choice_index: 0, mapIndex: 26, mapName: radon_forgotten2
  0} ( out ) [3] choice_index: 0, mapIndex: 26, mapName: radon_forgotten2, unsuccessfulCount: 0, g_totalVoteOptions: 3
  0} 
  0} 
  0} I AM ENTERING ON map_populateList(4) | mapFilePath: addons/amxmodx/configs/galileo/4.ini
  0} I AM ENTERING ON TRY_TO_APPLY(2) | objectIndentifation: 0
  0} 
  0}     map_populateList(...) Loading the PASSED FILE! mapFilePath: addons/amxmodx/configs/galileo/4.ini
  0} I AM ENTERING ON loadMapFileList(3) | mapFilePath: addons/amxmodx/configs/galileo/4.ini
249} 
 10} I AM EXITING map_populateList(4) mapCount: 149
  0} [4] groupCount:5, filersMapCount: 149,  g_totalVoteOptions: 3, g_maxVotingChoices: 6
  0}     fillersFilePaths[4]: addons/amxmodx/configs/galileo/4.ini
  0} 
  0} [4] allowedFilersCount: 1   maxMapsPerGroupToUse[4]: 1   MaxCount: 3
  0} 
  0} ( in ) [4] choice_index: 0, mapIndex: 112, mapName: kz_sandblock2_ez
  0} ( out ) [4] choice_index: 0, mapIndex: 112, mapName: kz_sandblock2_ez, unsuccessfulCount: 0, g_totalVoteOptions: 4
  0} 
  0} 
  0} I AM ENTERING ON TRY_TO_APPLY(2) | objectIndentifation: 230
  0} I AM ENTERING ON flushVoteBlockedMaps(3) | announcementShowedTimes: 1, 
  0} blockedMapsBuffer: 
  0} 
  0} I AM EXITING ON loadNormalVoteChoices(0) | g_totalVoteOptions: 4
  0} I AM ENTERING ON initializeTheVoteDisplay(0)
  0} I AM ENTERING ON nomination_clearAll(0)

@evandrocoan
Copy link
Owner Author

Moved all file loading handlers to the server start.

evandrocoan added a commit that referenced this issue Dec 31, 2016
 * Translated the plugin to Slovak [sk] and Hungarian [hu] languages. See the new LANG file 'galileo.txt'.
 * Replaced to cvar `gal_endonround_countdown`, the buy weapons by a give weapons. Now players without money or out buy zones can win weapons on change level. [URL="#16].
 * Added explicit disabled and enabled values to all cvars on the config file. [URL="#30].
 * Added support to Sven Coop 'mp_nextmap_cycle' cvar and the vote map start by the Ham_Use "game_end". [URL="#13].
 * Added the `page_number` argument to all menus possible. Now you can open any menu at the page you want to. Example `say nomenu 50`.
 * Added the ability to show map information after the map name on the voting menu. [URL="#18].
 * Added the ability for players to close the vote menu, if they want to. [URL="#4].
 * Added an optimum time for the vote starting at map end. [URL="#20].
 * Added the the command `say galmenu`, (admin MAP level required) to choose from the loaded server maps, the maps to create a map voting by a menu, as the one with the `gal_votemap` command. [URL="#48].
 * Added the the command `gal_changelevel`, to immediately change level to the current map at the cvar nextmap. [URL="#48].
 * Added the the command `gal_votemap`, to receive a list of maps and will to perform a map voting as if it was an automatic end of map voting. [URL="#48].
 * Added new cvar `gal_srv_move_cursor` to move the cursor on map series, because they are continuations as to afrikakorps1 and 2, respectively. [URL="#12].
 * Added new cvar `gal_sounds_hud` to indicates if any HUD messages should be hidden during the various events in which they'd normal be showed. [URL="#31].
 * Added new cvar `gal_colored_chat_prefix` to allow always to print a prefix before the Galileo chat messages. [URL="#34].
 * Added new cvar `gal_nom_cleaning` to allow do not clean the map nominations' maps when the map voting started.  [URL="#32].
 * Added new cvar `gal_nextmap_votemap` to not start another map voting when the server admin to starts one. [URL="#22].
 * Added new cvar `gal_runoff_mapchoices` to let the voting take into account all the map options that had the maximum amount of votes. [URL="#33].
 * Added new cvar `gal_runoff_ratio` to specifies the minimum amount of votes the most voted map should have to not start a run off voting. [URL="#33].
 * Added new cvar `gal_endonround_change` to choose whether the map should change current round final seconds, or at next round start first seconds. [URL="#5].
 * Added new cvar `gal_endofmapvote_expiration` to change the map at the round the map voting is finished, without wait to the `mp_timelimit` or `mp_maxrounds`. [URL="#5].
 * Added a new option to the cvar `gal_rtv_commands`, to disable the RTV when there is only a single player on the server. [URL="#24].
 * Added a new option to the cvar `gal_vote_show_none`, to created a new menu showing command the options. [URL="#40].
 * Added new option to the cvar `amx_extendmap_allow_order`, when no one voted for nextmap or extend or "stay here", extend the map. [URL="#11].
 * Added new option to the cvar `gal_endonround_countdown`, allow to set mp_friendlyfire to 1, so players can bombard each other with grenades just before change level. [URL="#15].
 * Added new option to the cvar `amx_extendmap_max`, allowing to disable it setting it to 0.
 * Improved the cvar `gal_endofmapvote_start` detection and added new options to it. [URL="#38].
 * Improved the cvar `gal_endonround_countdown` available options for configuration. [URL="#7].
 * Improved the multi-bit operations to be more clear on the configuration file `galileo.cfg`'s documentation. Issue: [URL="#6].
 * Fixed possible client overflow when show the recent maps list.
 * Fixed the voting menu `None` option not becoming greyed out when the voting is finished.
 * Fixed the recent map feature allowing invalid maps to be added to the recent maps list.
 * Fixed the setting `gal_vote_showstatus` 1 and 2 showing the vote percentage results when it should not.
 * Fixed the cvar `gal_vote_mapchoices` not allowing 9 map votes when the `Stay Here` and `Extend Map` are disabled.
 * Fixed the ban `gal_banrecent_mapcycle` feature using the cvar `gal_vote_mapfile`, instead of the cvar `mapcyclefile`.
 * Fixed limit for the maximum voting time start. [URL="#8].
 * Fixed lag every time before vote countdown starts. [URL="#19].
 * Fixed not adding the nominations from disconnected players. [URL="#27].
 * Fixed some Unit Tests failing when the DEBUG_LEVEL is set to 2. [URL="#28].
 * Fixed Next Map: [not yet voted on] not showing on the welcome message. [URL="#9].
 * Fixed the new nominations menu, increasing server overall performance. [URL="#41].
 * Fixed the map_loadRecentList(0) loading more maps than are available to be banned. [URL="#44].
 * Fixed the clean menu `stay option` is being displayed on the first player language. [URL="#29].
 * Fixed nextmap in chat showing the map that was voted for instead of the map changed to via amx_cvar amx_nextmap. [URL="#10].
 * Implemented the Allow Round Finish feature for the cvar `mp_fraglimit`.
 * Implemented the Maintenance Mode for the cvars `mp_fraglimit`, `mp_maxrounds` and `mp_winlimit`.
 * Removed the extra space between the `Extend` option and the voting menu `None` option.
evandrocoan added a commit that referenced this issue Dec 31, 2016
 * Translated the plugin to Slovak [sk] and Hungarian [hu] languages. See the new LANG file 'galileo.txt'.
 * Replaced to cvar `gal_endonround_countdown`, the buy weapons by a give weapons. Now players without money or out buy zones can win weapons on change level. [URL="#16].
 * Added explicit disabled and enabled values to all cvars on the config file. [URL="#30].
 * Added support to Sven Coop 'mp_nextmap_cycle' cvar and the vote map start by the Ham_Use "game_end". [URL="#13].
 * Added the `page_number` argument to all menus possible. Now you can open any menu at the page you want to. Example `say nomenu 50`.
 * Added the ability to show map information after the map name on the voting menu. [URL="#18].
 * Added the ability for players to close the vote menu, if they want to. [URL="#4].
 * Added an optimum time for the vote starting at map end. [URL="#20].
 * Added the the command `say galmenu`, (admin MAP level required) to choose from the loaded server maps, the maps to create a map voting by a menu, as the one with the `gal_votemap` command. [URL="#48].
 * Added the the command `gal_changelevel`, to immediately change level to the current map at the cvar nextmap. [URL="#48].
 * Added the the command `gal_votemap`, to receive a list of maps and will to perform a map voting as if it was an automatic end of map voting. [URL="#48].
 * Added new cvar `gal_srv_move_cursor` to move the cursor on map series, because they are continuations as to afrikakorps1 and 2, respectively. [URL="#12].
 * Added new cvar `gal_sounds_hud` to indicates if any HUD messages should be hidden during the various events in which they'd normal be showed. [URL="#31].
 * Added new cvar `gal_colored_chat_prefix` to allow always to print a prefix before the Galileo chat messages. [URL="#34].
 * Added new cvar `gal_nom_cleaning` to allow do not clean the map nominations' maps when the map voting started.  [URL="#32].
 * Added new cvar `gal_nextmap_votemap` to not start another map voting when the server admin to starts one. [URL="#22].
 * Added new cvar `gal_runoff_mapchoices` to let the voting take into account all the map options that had the maximum amount of votes. [URL="#33].
 * Added new cvar `gal_runoff_ratio` to specifies the minimum amount of votes the most voted map should have to not start a run off voting. [URL="#33].
 * Added new cvar `gal_endonround_change` to choose whether the map should change current round final seconds, or at next round start first seconds. [URL="#5].
 * Added new cvar `gal_endofmapvote_expiration` to change the map at the round the map voting is finished, without wait to the `mp_timelimit` or `mp_maxrounds`. [URL="#5].
 * Added a new option to the cvar `gal_rtv_commands`, to disable the RTV when there is only a single player on the server. [URL="#24].
 * Added a new option to the cvar `gal_vote_show_none`, to created a new menu showing command the options. [URL="#40].
 * Added new option to the cvar `amx_extendmap_allow_order`, when no one voted for nextmap or extend or "stay here", extend the map. [URL="#11].
 * Added new option to the cvar `gal_endonround_countdown`, allow to set mp_friendlyfire to 1, so players can bombard each other with grenades just before change level. [URL="#15].
 * Added new option to the cvar `amx_extendmap_max`, allowing to disable it setting it to 0.
 * Improved the cvar `gal_endofmapvote_start` detection and added new options to it. [URL="#38].
 * Improved the cvar `gal_endonround_countdown` available options for configuration. [URL="#7].
 * Improved the multi-bit operations to be more clear on the configuration file `galileo.cfg`'s documentation. Issue: [URL="#6].
 * Fixed possible client overflow when show the recent maps list.
 * Fixed the voting menu `None` option not becoming greyed out when the voting is finished.
 * Fixed the recent map feature allowing invalid maps to be added to the recent maps list.
 * Fixed the setting `gal_vote_showstatus` 1 and 2 showing the vote percentage results when it should not.
 * Fixed the cvar `gal_vote_mapchoices` not allowing 9 map votes when the `Stay Here` and `Extend Map` are disabled.
 * Fixed the ban `gal_banrecent_mapcycle` feature using the cvar `gal_vote_mapfile`, instead of the cvar `mapcyclefile`.
 * Fixed limit for the maximum voting time start. [URL="#8].
 * Fixed lag every time before vote countdown starts. [URL="#19].
 * Fixed not adding the nominations from disconnected players. [URL="#27].
 * Fixed some Unit Tests failing when the DEBUG_LEVEL is set to 2. [URL="#28].
 * Fixed Next Map: [not yet voted on] not showing on the welcome message. [URL="#9].
 * Fixed the new nominations menu, increasing server overall performance. [URL="#41].
 * Fixed the map_loadRecentList(0) loading more maps than are available to be banned. [URL="#44].
 * Fixed the clean menu `stay option` is being displayed on the first player language. [URL="#29].
 * Fixed nextmap in chat showing the map that was voted for instead of the map changed to via amx_cvar amx_nextmap. [URL="#10].
 * Implemented the Allow Round Finish feature for the cvar `mp_fraglimit`.
 * Implemented the Maintenance Mode for the cvars `mp_fraglimit`, `mp_maxrounds` and `mp_winlimit`.
 * Removed the extra space between the `Extend` option and the voting menu `None` option.
evandrocoan added a commit that referenced this issue Dec 31, 2016
 * Translated the plugin to Slovak [sk] and Hungarian [hu] languages. See the new LANG file 'galileo.txt'.
 * Replaced to cvar `gal_endonround_countdown`, the buy weapons by a give weapons. Now players without money or out buy zones can win weapons on change level. [URL="#16].
 * Added explicit disabled and enabled values to all cvars on the config file. [URL="#30].
 * Added support to Sven Coop 'mp_nextmap_cycle' cvar and the vote map start by the Ham_Use "game_end". [URL="#13].
 * Added the `page_number` argument to all menus possible. Now you can open any menu at the page you want to. Example `say nomenu 50`.
 * Added the ability to show map information after the map name on the voting menu. [URL="#18].
 * Added the ability for players to close the vote menu, if they want to. [URL="#4].
 * Added an optimum time for the vote starting at map end. [URL="#20].
 * Added the the command `say galmenu`, (admin MAP level required) to choose from the loaded server maps, the maps to create a map voting by a menu, as the one with the `gal_votemap` command. [URL="#48].
 * Added the the command `gal_changelevel`, to immediately change level to the current map at the cvar nextmap. [URL="#48].
 * Added the the command `gal_votemap`, to receive a list of maps and will to perform a map voting as if it was an automatic end of map voting. [URL="#48].
 * Added new cvar `gal_srv_move_cursor` to move the cursor on map series, because they are continuations as to afrikakorps1 and 2, respectively. [URL="#12].
 * Added new cvar `gal_sounds_hud` to indicates if any HUD messages should be hidden during the various events in which they'd normal be showed. [URL="#31].
 * Added new cvar `gal_colored_chat_prefix` to allow always to print a prefix before the Galileo chat messages. [URL="#34].
 * Added new cvar `gal_nom_cleaning` to allow do not clean the map nominations' maps when the map voting started.  [URL="#32].
 * Added new cvar `gal_nextmap_votemap` to not start another map voting when the server admin to starts one. [URL="#22].
 * Added new cvar `gal_runoff_mapchoices` to let the voting take into account all the map options that had the maximum amount of votes. [URL="#33].
 * Added new cvar `gal_runoff_ratio` to specifies the minimum amount of votes the most voted map should have to not start a run off voting. [URL="#33].
 * Added new cvar `gal_endonround_change` to choose whether the map should change current round final seconds, or at next round start first seconds. [URL="#5].
 * Added new cvar `gal_endofmapvote_expiration` to change the map at the round the map voting is finished, without wait to the `mp_timelimit` or `mp_maxrounds`. [URL="#5].
 * Added a new option to the cvar `gal_rtv_commands`, to disable the RTV when there is only a single player on the server. [URL="#24].
 * Added a new option to the cvar `gal_vote_show_none`, to created a new menu showing command the options. [URL="#40].
 * Added new option to the cvar `amx_extendmap_allow_order`, when no one voted for nextmap or extend or "stay here", extend the map. [URL="#11].
 * Added new option to the cvar `gal_endonround_countdown`, allow to set mp_friendlyfire to 1, so players can bombard each other with grenades just before change level. [URL="#15].
 * Added new option to the cvar `amx_extendmap_max`, allowing to disable it setting it to 0.
 * Improved the cvar `gal_endofmapvote_start` detection and added new options to it. [URL="#38].
 * Improved the cvar `gal_endonround_countdown` available options for configuration. [URL="#7].
 * Improved the multi-bit operations to be more clear on the configuration file `galileo.cfg`'s documentation. Issue: [URL="#6].
 * Fixed possible client overflow when show the recent maps list.
 * Fixed the voting menu `None` option not becoming greyed out when the voting is finished.
 * Fixed the recent map feature allowing invalid maps to be added to the recent maps list.
 * Fixed the setting `gal_vote_showstatus` 1 and 2 showing the vote percentage results when it should not.
 * Fixed the cvar `gal_vote_mapchoices` not allowing 9 map votes when the `Stay Here` and `Extend Map` are disabled.
 * Fixed the ban `gal_banrecent_mapcycle` feature using the cvar `gal_vote_mapfile`, instead of the cvar `mapcyclefile`.
 * Fixed limit for the maximum voting time start. [URL="#8].
 * Fixed lag every time before vote countdown starts. [URL="#19].
 * Fixed not adding the nominations from disconnected players. [URL="#27].
 * Fixed some Unit Tests failing when the DEBUG_LEVEL is set to 2. [URL="#28].
 * Fixed Next Map: [not yet voted on] not showing on the welcome message. [URL="#9].
 * Fixed the new nominations menu, increasing server overall performance. [URL="#41].
 * Fixed the map_loadRecentList(0) loading more maps than are available to be banned. [URL="#44].
 * Fixed the clean menu `stay option` is being displayed on the first player language. [URL="#29].
 * Fixed nextmap in chat showing the map that was voted for instead of the map changed to via amx_cvar amx_nextmap. [URL="#10].
 * Implemented the Allow Round Finish feature for the cvar `mp_fraglimit`.
 * Implemented the Maintenance Mode for the cvars `mp_fraglimit`, `mp_maxrounds` and `mp_winlimit`.
 * Removed the extra space between the `Extend` option and the voting menu `None` option.
evandrocoan added a commit that referenced this issue Dec 3, 2018
#19

With this, all file loading handlers should be moved to the server
start.
evandrocoan added a commit that referenced this issue Dec 3, 2018
 * Translated the plugin to Slovak [sk] and Hungarian [hu] languages. See the new LANG file 'galileo.txt'.
 * Replaced to cvar `gal_endonround_countdown`, the buy weapons by a give weapons. Now players without money or out buy zones can win weapons on change level. [URL="#16].
 * Added explicit disabled and enabled values to all cvars on the config file. [URL="#30].
 * Added support to Sven Coop 'mp_nextmap_cycle' cvar and the vote map start by the Ham_Use "game_end". [URL="#13].
 * Added the `page_number` argument to all menus possible. Now you can open any menu at the page you want to. Example `say nomenu 50`.
 * Added the ability to show map information after the map name on the voting menu. [URL="#18].
 * Added the ability for players to close the vote menu, if they want to. [URL="#4].
 * Added an optimum time for the vote starting at map end. [URL="#20].
 * Added the the command `say galmenu`, (admin MAP level required) to choose from the loaded server maps, the maps to create a map voting by a menu, as the one with the `gal_votemap` command. [URL="#48].
 * Added the the command `gal_changelevel`, to immediately change level to the current map at the cvar nextmap. [URL="#48].
 * Added the the command `gal_votemap`, to receive a list of maps and will to perform a map voting as if it was an automatic end of map voting. [URL="#48].
 * Added new cvar `gal_srv_move_cursor` to move the cursor on map series, because they are continuations as to afrikakorps1 and 2, respectively. [URL="#12].
 * Added new cvar `gal_sounds_hud` to indicates if any HUD messages should be hidden during the various events in which they'd normal be showed. [URL="#31].
 * Added new cvar `gal_colored_chat_prefix` to allow always to print a prefix before the Galileo chat messages. [URL="#34].
 * Added new cvar `gal_nom_cleaning` to allow do not clean the map nominations' maps when the map voting started.  [URL="#32].
 * Added new cvar `gal_nextmap_votemap` to not start another map voting when the server admin to starts one. [URL="#22].
 * Added new cvar `gal_runoff_mapchoices` to let the voting take into account all the map options that had the maximum amount of votes. [URL="#33].
 * Added new cvar `gal_runoff_ratio` to specifies the minimum amount of votes the most voted map should have to not start a run off voting. [URL="#33].
 * Added new cvar `gal_endonround_change` to choose whether the map should change current round final seconds, or at next round start first seconds. [URL="#5].
 * Added new cvar `gal_endofmapvote_expiration` to change the map at the round the map voting is finished, without wait to the `mp_timelimit` or `mp_maxrounds`. [URL="#5].
 * Added a new option to the cvar `gal_rtv_commands`, to disable the RTV when there is only a single player on the server. [URL="#24].
 * Added a new option to the cvar `gal_vote_show_none`, to created a new menu showing command the options. [URL="#40].
 * Added new option to the cvar `amx_extendmap_allow_order`, when no one voted for nextmap or extend or "stay here", extend the map. [URL="#11].
 * Added new option to the cvar `gal_endonround_countdown`, allow to set mp_friendlyfire to 1, so players can bombard each other with grenades just before change level. [URL="#15].
 * Added new option to the cvar `amx_extendmap_max`, allowing to disable it setting it to 0.
 * Improved the cvar `gal_endofmapvote_start` detection and added new options to it. [URL="#38].
 * Improved the cvar `gal_endonround_countdown` available options for configuration. [URL="#7].
 * Improved the multi-bit operations to be more clear on the configuration file `galileo.cfg`'s documentation. Issue: [URL="#6].
 * Fixed possible client overflow when show the recent maps list.
 * Fixed the voting menu `None` option not becoming greyed out when the voting is finished.
 * Fixed the recent map feature allowing invalid maps to be added to the recent maps list.
 * Fixed the setting `gal_vote_showstatus` 1 and 2 showing the vote percentage results when it should not.
 * Fixed the cvar `gal_vote_mapchoices` not allowing 9 map votes when the `Stay Here` and `Extend Map` are disabled.
 * Fixed the ban `gal_banrecent_mapcycle` feature using the cvar `gal_vote_mapfile`, instead of the cvar `mapcyclefile`.
 * Fixed limit for the maximum voting time start. [URL="#8].
 * Fixed lag every time before vote countdown starts. [URL="#19].
 * Fixed not adding the nominations from disconnected players. [URL="#27].
 * Fixed some Unit Tests failing when the DEBUG_LEVEL is set to 2. [URL="#28].
 * Fixed Next Map: [not yet voted on] not showing on the welcome message. [URL="#9].
 * Fixed the new nominations menu, increasing server overall performance. [URL="#41].
 * Fixed the map_loadRecentList(0) loading more maps than are available to be banned. [URL="#44].
 * Fixed the clean menu `stay option` is being displayed on the first player language. [URL="#29].
 * Fixed nextmap in chat showing the map that was voted for instead of the map changed to via amx_cvar amx_nextmap. [URL="#10].
 * Implemented the Allow Round Finish feature for the cvar `mp_fraglimit`.
 * Implemented the Maintenance Mode for the cvars `mp_fraglimit`, `mp_maxrounds` and `mp_winlimit`.
 * Removed the extra space between the `Extend` option and the voting menu `None` option.
evandrocoan added a commit that referenced this issue Dec 3, 2018
 * Translated the plugin to Slovak [sk] and Hungarian [hu] languages. See the new LANG file 'galileo.txt'.
 * Replaced to cvar `gal_endonround_countdown`, the buy weapons by a give weapons. Now players without money or out buy zones can win weapons on change level. [URL="#16].
 * Added explicit disabled and enabled values to all cvars on the config file. [URL="#30].
 * Added support to Sven Coop 'mp_nextmap_cycle' cvar and the vote map start by the Ham_Use "game_end". [URL="#13].
 * Added the `page_number` argument to all menus possible. Now you can open any menu at the page you want to. Example `say nomenu 50`.
 * Added the ability to show map information after the map name on the voting menu. [URL="#18].
 * Added the ability for players to close the vote menu, if they want to. [URL="#4].
 * Added an optimum time for the vote starting at map end. [URL="#20].
 * Added the the command `say galmenu`, (admin MAP level required) to choose from the loaded server maps, the maps to create a map voting by a menu, as the one with the `gal_votemap` command. [URL="#48].
 * Added the the command `gal_changelevel`, to immediately change level to the current map at the cvar nextmap. [URL="#48].
 * Added the the command `gal_votemap`, to receive a list of maps and will to perform a map voting as if it was an automatic end of map voting. [URL="#48].
 * Added new cvar `gal_srv_move_cursor` to move the cursor on map series, because they are continuations as to afrikakorps1 and 2, respectively. [URL="#12].
 * Added new cvar `gal_sounds_hud` to indicates if any HUD messages should be hidden during the various events in which they'd normal be showed. [URL="#31].
 * Added new cvar `gal_colored_chat_prefix` to allow always to print a prefix before the Galileo chat messages. [URL="#34].
 * Added new cvar `gal_nom_cleaning` to allow do not clean the map nominations' maps when the map voting started.  [URL="#32].
 * Added new cvar `gal_nextmap_votemap` to not start another map voting when the server admin to starts one. [URL="#22].
 * Added new cvar `gal_runoff_mapchoices` to let the voting take into account all the map options that had the maximum amount of votes. [URL="#33].
 * Added new cvar `gal_runoff_ratio` to specifies the minimum amount of votes the most voted map should have to not start a run off voting. [URL="#33].
 * Added new cvar `gal_endonround_change` to choose whether the map should change current round final seconds, or at next round start first seconds. [URL="#5].
 * Added new cvar `gal_endofmapvote_expiration` to change the map at the round the map voting is finished, without wait to the `mp_timelimit` or `mp_maxrounds`. [URL="#5].
 * Added a new option to the cvar `gal_rtv_commands`, to disable the RTV when there is only a single player on the server. [URL="#24].
 * Added a new option to the cvar `gal_vote_show_none`, to created a new menu showing command the options. [URL="#40].
 * Added new option to the cvar `amx_extendmap_allow_order`, when no one voted for nextmap or extend or "stay here", extend the map. [URL="#11].
 * Added new option to the cvar `gal_endonround_countdown`, allow to set mp_friendlyfire to 1, so players can bombard each other with grenades just before change level. [URL="#15].
 * Added new option to the cvar `amx_extendmap_max`, allowing to disable it setting it to 0.
 * Improved the cvar `gal_endofmapvote_start` detection and added new options to it. [URL="#38].
 * Improved the cvar `gal_endonround_countdown` available options for configuration. [URL="#7].
 * Improved the multi-bit operations to be more clear on the configuration file `galileo.cfg`'s documentation. Issue: [URL="#6].
 * Fixed possible client overflow when show the recent maps list.
 * Fixed the voting menu `None` option not becoming greyed out when the voting is finished.
 * Fixed the recent map feature allowing invalid maps to be added to the recent maps list.
 * Fixed the setting `gal_vote_showstatus` 1 and 2 showing the vote percentage results when it should not.
 * Fixed the cvar `gal_vote_mapchoices` not allowing 9 map votes when the `Stay Here` and `Extend Map` are disabled.
 * Fixed the ban `gal_banrecent_mapcycle` feature using the cvar `gal_vote_mapfile`, instead of the cvar `mapcyclefile`.
 * Fixed limit for the maximum voting time start. [URL="#8].
 * Fixed lag every time before vote countdown starts. [URL="#19].
 * Fixed not adding the nominations from disconnected players. [URL="#27].
 * Fixed some Unit Tests failing when the DEBUG_LEVEL is set to 2. [URL="#28].
 * Fixed Next Map: [not yet voted on] not showing on the welcome message. [URL="#9].
 * Fixed the new nominations menu, increasing server overall performance. [URL="#41].
 * Fixed the map_loadRecentList(0) loading more maps than are available to be banned. [URL="#44].
 * Fixed the clean menu `stay option` is being displayed on the first player language. [URL="#29].
 * Fixed nextmap in chat showing the map that was voted for instead of the map changed to via amx_cvar amx_nextmap. [URL="#10].
 * Implemented the Allow Round Finish feature for the cvar `mp_fraglimit`.
 * Implemented the Maintenance Mode for the cvars `mp_fraglimit`, `mp_maxrounds` and `mp_winlimit`.
 * Removed the extra space between the `Extend` option and the voting menu `None` option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant