Closed fred0r closed 6 years ago
Why 'Severity: minor' ? There are a lot of Servers which have a HLTV-Proxy recording all played Maps. This unfortunately breaks the whole 'emptymapcycle'-Feature :(
Minor because should not be much hard to fix. I am not sure why it is counting the HLTV
as a server player.
I think you can fix this just by setting the cvar gal_server_players_count
from 0 to 1:
// If enabled, it will ignore players on the spectator team. This will
// have effect when the plugin need counting the server players. Only
// works for Counter-Strike/CZ mod.
//
// If you also enabled the cvar `gal_emptyserver_change`, it will cause
// the empty-cycle feature to work when there are spectators on server.
//
// 0 - disabled this feature.
// 1 - enable this feature.
//
// Default: 0
gal_server_players_count 0
Can you try this setting?
This seems to be a bug on the AMXX 5147
, because when I am counting players, I am using:
get_players( players, playersCount, "ch" );
Where the ch
flags mean:
i've gal_server_players_count 0
set.
Well - at least i think the hltv is counted as a regular player, because i've never seen any of the 'emptymapcycle-maps' when the server is 'empty'.
i'll ask the amxmodx guys.
It could be that the empty cycle feature is just not working. Can you record a log while letting the server running some time when it is empty and then post here the _galileo_log.txt
file?
The server should be able to enter on the empty cycle feature. If it does not enter, the log should help know why it is not entering.
ok - i'll report back.
I have tried it with 1.8.3 build 5177 wth latest Galileo and it does not change to emptycycle if there is a HLTV online (alone).
So I guess it is fixed already.
regener: I have tried it with 1.8.3 build 5177 wth latest Galileo and it does not change to emptycycle if there is a HLTV online (alone).
Perhaps you meant is does change instead of does not. Because it is a bug if it does not change the map when the HLTV is online.
Aww yes, I meant that sorry for confusing.
No problem. Thanks for testing it out!
Summary
HLTV Proxy is counted as regular player and so the emptymapcycle never starts
Expected behavior
Server should switch to the emptymapcycle if there are no real players connected
Actual behavior
Server doesnt start the emptymapcycle when HLTV is connected
Environment
Operating system and version:
AMX Mod X version:
Galileo Version: