dmriley / left4deadrcon

Automatically exported from code.google.com/p/left4deadrcon
0 stars 0 forks source link

Only Left 4 Dead 1 maps are available, even if the server is running L4D2 #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, the list of maps is hard-coded to the default Left 4 Dead 1 maps, 
which obviously breaks map-changing functionality in L4D2 (and doesn't allow 
custom maps). A better solution would be to use the output of `maps *` to 
generate a definitive list of maps installed and available on the server.

Obviously this would entail an extra RCON request (which would slow page load), 
and it's not clear how often this should be refreshed - presumably, changing 
the set of *available* maps can only be done on a server restart, so it 
certainly doesn't need to be updates as often as the player list etc.

Original issue reported on code.google.com by carl%sup...@gtempaccount.com on 21 Jan 2011 at 6:09

GoogleCodeExporter commented 8 years ago
Obviously parsing the output of `maps *` requires support for long command 
output to be added first...

Original comment by carl%sup...@gtempaccount.com on 21 Jan 2011 at 6:12