eezstreet / SWATEliteForce

A modification for SWAT 4: The Stetchkov Syndicate
GNU General Public License v2.0
213 stars 37 forks source link

Co-op: Server settings forgets Game Type, defaults to PVP #260

Open kevinfoley opened 7 years ago

kevinfoley commented 7 years ago

If you are hosting a local server and you press "Server setup", the game does not remember which Game Type you had selected. Instead it shows nothing in the Game Type box, and if you restart the server with these settings it will go into PVP mode. It's particularly weird because PVP isn't even an option in the dropdown.

Tested with 5.3 release version

eezstreet commented 7 years ago

The simplest solution for this that I can think of at the moment is to strictly enforce CO-OP as the gamemode and simply not have a dropdown box. CO-OP QMM can be removed for the moment until we can come up with a new way of handling it that doesn't suck.

kevinfoley commented 7 years ago

You can't just save the current game type in a variable and select that in the dropdown when the user brings the settings menu back up?

eezstreet commented 7 years ago

It is saved in a variable already, but you have to change the gametype after the list gets constructed, and in doing so, you revert those settings. I'm actually certain that this happens in TSS as well, so I will mark this as a TSS bug.