Quote:
Originally Posted by GoRiLliAz
Hello
Me again ^^.
The empty_cycle.txt replaces the mapcycle.txt when the server is empty?
If yes the empty_cycle.txt account players in spectator and alive or only players alive?
|
Yes. This is the purpose of the empty_cycle. See the cvar for details:
Code:
////////////////////////////////////////////////////////////////////////
// You may have a lot of maps but only a few are sure to attract a //
// lot of players. When the server is empty, you may want the server //
// to change to those maps. //
////////////////////////////////////////////////////////////////////////
// The cvar 'gal_emptyserver_wait', specifies how many minutes to wait,
// when the server is empty, before changing to an alternate empty-server
// mapcycle.
//
// * The empty-server system waits the 'gal_emptyserver_wait' cvar
// specified minutes before to change to an empty-server mapcycle.
//
// * If some player connect to the server while the system is waiting
// the 'gal_emptyserver_wait' cvar specified minutes, the system is
// stopped. If that player which just connected, to disconnect, the
// empty-server system to restart.
//
// * After to change to an empty-server map, the system to stop changing
// the map every 'gal_emptyserver_wait' specified minutes, because it
// is already on an popular map. The system lets the timelimit, maxrounds
// or winlimit expiration to change the map normally.
//
// * If the server keeps empty, while using the empty-server mapcycle this
// feature keep the server using the empty-server mapcycle.
//
// * If you not do like this time approach, set the cvar 'gal_emptyserver_wait'
// to 0 and to use the cvar 'gal_emptyserver_change' instead of this one.
//
// 0 - the value 0 disables this feature.
// minutes - how many minutes to wait before start the empty-cycle mode.
//
// Default: 0
gal_emptyserver_wait 0
// When the server is empty, only change to an alternate empty-server mapcycle
// after timelimit, maxrounds or winlimit expiration.
// This feature only works if the cvar 'gal_emptyserver_wait' is set to 0.
//
// 0 - disabled this feature.
// 1 - enable this feature.
//
// Default: 0
gal_emptyserver_change 0
// Specifies the file which contains a listing of maps, one per line,
// to be used as the mapcycle when the server is empty. You can specify
// a relative path before the filename, relative from your gamemod folder
// (i.e. "addons/amxmodx/configs/mymapcycle.txt").
//
// To disabled this feature, set the cvar `gal_emptyserver_wait` to 0
//
// Default: ""
gal_emptyserver_mapfile "addons/amxmodx/configs/galileo/emptycycle_maplist.txt"
Quote:
Originally Posted by GoRiLliAz
|
If you are on the server as spectator, you can also vote for next map.
Also, the empty cycle will not work when there are spectators on the server.
Quote:
Originally Posted by GoRiLliAz
The best would be to count only players alive if 0 or 1 use empty_cycle.txt should be a cvar to set it to be same.
And for the End votemap you will see that it does not work it has the min_players and mapcycle and only 2 maps while he is set to 5 in galileo.cfg
Another log : https://up2sha.re/file?f=6GuI5OGxbkPu Server is totaly empty.
But he uses the mapcycle and the emptymapcycle
|
There is no vote on your last log. And the first two links are not galileo.log files.
On the log, it is showed the map changing continually due the empty cycle.
Quote:
Originally Posted by kiarfuzzy
Can you make a mini version containing just the rtv funcion?
I have a server where i just use nextmap and follow the mapcycle in order. I just need the ability for people to say rtv and chance the map directly to nextmap without a vote...
|
You can already do that, just download the `
Minimal_Configuration_File_(Opcional_Little-Options).zip`:
- Change the cvar `gal_endofmapvote` on the file, you can set it to 0, instead of 1.
- Enable the RTV adding this cvar to the end of file `galileo.cfg`:
Code:
// Indicates which say commands can be used to rock the vote.
// The flags are additive. A value of 0 will disable this feature.
//
// 1 - Standard "rockthevote" command
//
// 2 - Shorthand "rtv" command
//
// 4 - Dynamic "rockthe<anything>vote" command (allows a player to type
// any one word (i.e. no spaces) that starts with "rockthe" and ends
// with "vote". Some examples might be: "rockthedamnvote",
// "rockthesillylittlevote", or "rockthefreakingvote". The total
// length of the word can not be longer than 31 characters. That
// leaves 20 characters for creativeness once you factor in the
// lengths of "rockthe" and "vote")
//
// 8 - Disable the RTV when there is only a single player on the server.
//
// 16 - Do not wait the `gal_rtv_wait` again after the map extension.
//
// For example, if you want to use the options 1 and 2, use 1 + 2:
// gal_rtv_commands 3
//
// Instead of:
// gal_rtv_commands 0
//
// Default: 0
gal_rtv_commands 7
__________________