Commit Graph

67 Commits

Author SHA1 Message Date
Paul Chote
c30b18a9d6 Introduce MapCache and MapPreview for improved UI map previews. 2014-03-16 21:45:59 +13:00
Matthew Uzzell
c6b0e37f7e updated the AllowSpectate variable to be AllowSpectators
added KickSpectatorsLogic for a confimation of kicking spectators & changed the toggle buttons to be a checkbox
2014-02-22 21:55:35 +00:00
Matthew Uzzell
88121b272d edited the LobbyLogic to include a spectator toggle in the server admin dropdown. 2014-02-22 21:55:34 +00:00
Igor Popov
88ee768bc7 more reasonable message when map was not found on server 2013-12-24 22:30:08 +04:00
Matthias Mailänder
bc133d199e StyleCop cleanup 2013-11-10 07:34:52 +01:00
Paul Chote
271ce5275c Add starting cash option. 2013-08-17 14:43:52 +12:00
Paul Chote
ce41eb2361 Add "Build off Ally ConYards" option. Fixes #2464. 2013-08-17 14:42:40 +12:00
Paul Chote
059c88ca1b Reorganize map options panel. 2013-08-17 14:41:44 +12:00
Paul Chote
d76a8c2950 Allow maps to override options. Closes #3646.
Also set sensible defaults for most of the maps and mini games.
2013-08-17 14:41:40 +12:00
Paul Chote
9a9494c01b Remove starting-units validation. Fixes #3641. 2013-08-12 21:53:16 +12:00
Paul Chote
c08f602661 Add lobby options for Shroud and Fog. 2013-08-04 13:04:09 +12:00
Paul Chote
55653c3f1f Add lobby support for configuring starting units. 2013-07-13 19:18:27 +12:00
Paul Chote
a49bf40413 Replace add bots / assign with a combined slot options dropdown. 2013-06-30 14:29:49 +12:00
ScottNZ
a6e5a0b53f Add temp banning to servers 2013-06-29 10:58:37 +12:00
Paul Chote
1fce900801 Set spectator color to white & remove selector. 2013-06-26 22:32:27 +12:00
Paul Chote
6e4cf37e44 Fixes #3336. 2013-06-26 21:42:56 +12:00
Andy Perkins
23d9d611c1 Lobby, Add Bots button 2013-06-22 07:56:06 +10:00
Chris Forbes
4d85605cca fix validation of startgame order 2013-05-18 15:58:16 +12:00
Matthias Mailänder
90ac648ff1 Merge pull request #3244 from pchote/bot-surrender
Improvements to player drop behavior
2013-05-10 01:44:55 -07:00
Paul Chote
4a1698804f Rework server orders.
- Server messages now show as from "Server".
- Fixes #3224.
2013-05-10 20:31:19 +12:00
Paul Chote
656476991f Replace ColorRamp with HSLColor everywhere.
Fixes:
* Nuclear-purple color exploit.
* #3247.
* Removes a bunch of unnecessary color conversions every frame.

Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Paul Chote
9069d98365 Reimplement pinging via the orders channel. 2013-04-23 21:35:57 +12:00
Scott_NZ
493811c0d0 Add Required slot checking in lobby logic. Set up needed player slots as Required for missions 2013-04-19 00:16:13 +12:00
Matthias Mailänder
819e48334e fixed #2540 AI orders misinterpreted as an exploit on dedicated 2013-04-05 18:49:15 +02:00
Igor Popov
41d0860db4 option to disable bots on server + disable bots on any dedicated server due to #2540 2013-03-24 19:35:44 +04:00
Matthias Mailänder
15324b1f1a bring the Diplomacy menu back to life, but
- rename LockTeams to FragileAlliances to avoid confusion
- only allow it in Free-For-All, not Team games or Missions
- grey out non-functional buttons and disabled checkboxes
2013-03-22 18:34:52 +01:00
Scott_NZ
bd292b56cf Ignore spectators when counting clients for the assignteams command 2013-03-11 01:20:08 +13:00
Scott_NZ
7af91f1747 Disable the button/order when there aren't enough clients to assign 2013-03-11 00:29:23 +13:00
Scott_NZ
8c46b421de Add "Assign Teams" lobby drop down button 2013-03-10 20:46:29 +13:00
Scott_NZ
63467cd000 Revert client colours to their preferred colours after the map is changed to a map which doesn't lock colours. 2013-03-02 16:18:09 +13:00
Scott_NZ
026a86ba75 Add 'Crates' lobby checkbox and setting for enabling/disabling crate drops 2013-02-25 21:24:17 +13:00
Sam Hegarty
0c104cfc3a Add a 'Shutting down' state to the gameserver.
Tell the masterserver about it, so it can quickly remove games
from the list when they are finished, rather than waiting for the
5 minute TTL to expire.
2013-01-08 23:02:28 +13:00
Scott_NZ
799a2ea541 Fixed difficulty code indentation 2013-01-08 22:43:57 +13:00
Scott_NZ
4b2e45bbae Refactor default difficulty setting into its own method 2013-01-08 22:43:57 +13:00
Scott_NZ
3ff3ed39fb Fix slight logic error with difficulty 2013-01-08 22:43:55 +13:00
Scott_NZ
a8dbedd486 Fix default difficulty not being serialised 2013-01-08 22:43:55 +13:00
Scott_NZ
bfb07e9948 Add support for mission difficulties 2013-01-08 22:43:54 +13:00
Igor Popov
1d62329969 fix #2425; Bots should be removed when switching to a map which doesn't allow them 2012-10-15 08:17:04 +13:00
Igor Popov
2798f0d841 dedicated: handle non-existing map 2012-09-23 17:20:45 +12:00
Chris Forbes
f8427fa242 refuse to start the game unless required slots are full. 2012-09-16 11:05:00 +12:00
Chris Forbes
eb9b6a3842 propagate Required flag to Slot 2012-09-16 10:58:48 +12:00
Chris Forbes
fb58840cea ignore spectators for readiness check 2012-09-04 11:24:59 +12:00
Nikita Tsukanov
ad29926391 Removed Connection.PlayerIndex == 0 checks if favor of Session.Player.IsAdmin 2012-01-09 15:37:55 +04:00
Chris Forbes
c169bc3c51 fix #1320 bogus use of Game.CosmeticRandom from server thread 2012-01-07 20:33:56 +13:00
Chris Forbes
f83c9fd4d7 add IEnum<T>.JoinWith, use it to clean up a bunch of things 2011-11-01 21:57:58 +13:00
Chris Forbes
59fdceb4fd convert Map.SpawnPoints to int2[]; tidy 2011-10-18 20:34:00 +13:00
Chris Forbes
55036cd58c fix trailing whitespace everywhere 2011-09-26 08:40:39 +13:00
Chris Forbes
ea190fcf86 combine LobbyCommands and PlayerCommands 2011-09-11 17:49:53 +12:00
Chris Forbes
608bdc8fcd pull some validation out of individual lobby/player commands 2011-07-14 20:29:11 +12:00
Paul Chote
43aae99dd0 Fix #888 2011-06-20 22:50:32 +12:00