The Past Ain't What It Used To Be... The first Command & Conquer received its last official update on the 21st of June, 1996. Since then, the game has been ported to Windows (as "Gold" version), and re-released in the big "The First Decade" collection pack, but has never received any more bug fixes. The C&C Gold Patch 1.06 project aims at bringing this classic into the new millennium, by fixing the old bugs, supporting higher resolutions, and adding new modding and mapping possibilities. It also contains an addon-based language system, allowing anyone to create translation packs for the game.
I just implemented a feature that allows maps to work correctly if they have less than 6 starting points. As you see on the image, all maps have the supported number of players put before them now.
This was done to fix a problem where the game ALWAYS generated 6 start positions and then randomly distributed the players over it, which meant that if there were less than 6 start locations set in the map, the game would use random data left behind in memory as start locations. This obviously caused problems.
With this change, the game's internal support for 6 players is automatically reduced to the amount supported in the map. This change happens at the moment the host selects a map in the list, and the change is propagated to anyone who has joined the game channel at the moment they see the map change. This way, map makers can finally make 4-player or 2-player maps without any problems.
So how does it work? Simple. It just counts the amount of valid start locations (waypoints below #12) in the map's ini file, and sees if it's smaller than 6.
Ingame, if a game channel contains more people than the selected map allows, the host will simply not be able to start it until some people leave the channel. The game will show the message "Too many players! This is a #-player map."