Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
Paul Chote
2a26ddc622
Replace server Select loop with individual client threads.
...
This guarantees that any unexpected blocking calls due to network
issues cannot stall the main server thread.
2021-05-30 14:37:25 +02:00
Paul Chote
7c02b4d264
Add Connection.EndPoint property.
2021-05-30 14:37:25 +02:00
Paul Chote
7b58f03f1c
Move ColorValidator logic into a new ColorPickerManager trait.
2021-05-15 15:29:46 +02:00
Paul Chote
d89f14dcbc
Limit resource center queries to 50 maps at a time.
2021-05-09 15:37:30 +02:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
Paul Chote
0bbb32e8ac
Rework MapPreview custom rule handling.
...
The previous asynchronous approach did not work particularly well,
leading to large janks when switching to custom maps or opening the
mission browser.
This commit introduces two key changes:
* Rule loading for WorldActorInfo and PlayerActorInfo is made
synchronous, in preparation for the next commit which will
significantly optimize this path.
* The full ruleset loading, which is required for map validation,
is moved to the server-side and managed by a new ServerMapStatusCache.
The previous syntax check is expanded to include the ability to run
lint tests.
2021-04-21 18:57:44 +02:00
Paul Chote
abee274f88
Remove direct access to MapPreview.Rules.
2021-04-21 18:57:44 +02:00
Matthias Mailänder
5a0bcc01a6
Add a lint check for trait placement on hardcoded actor names.
2021-04-11 20:20:00 +02:00
reaperrr
1a9dfc0893
Refactor GameSpeed setting
...
*Remove internal GameSpeed defaults
Enforce setting values explicitly all the time
Require definition of a DefaultSpeed
*Remove Global.Timestep default
*Remove the hacky Timestep/OrderLatency setting via LobbyInfo
*Fix shellmaps ignoring mod-defined gamespeeds
*Make DateTimeGlobal use the MapOptions gamespeed
2021-04-09 22:58:14 +01:00
Paul Chote
87790069e9
Add ITerrainInfo interface.
2021-01-11 21:57:55 +01:00
Paul Chote
02a2624bcc
Add a per-player handicap option to the lobby.
...
Handicaps reduce unit health, firepower, and build speed.
2021-01-10 22:23:52 +01:00
abcdefg30
8840a690c6
Fix maps without spawn points no longer working
2020-11-15 09:38:02 +01:00
Trevor Nichols
d66e0bb22e
Right click lobby spawns to disable or remove players.
2020-11-07 19:33:28 +01:00
Paul Chote
0672553a07
Lock Server.LobbyInfo to prevent races with callback threads.
2020-10-04 20:31:07 +02:00
Matthias Mailänder
930f8ab207
Reset lobby ready state when options change server side.
2020-09-27 15:06:48 +02:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Paul Chote
3efac3287e
Fix Session.Deserialize error handling.
2020-08-16 14:17:45 +02:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
abcdefg30
534b09ae4a
Fix bots not working after adminship was transferred
2020-06-03 18:30:18 +02:00
Paul Chote
33f3038316
Fix map-specific factions remaining selected when changing map.
2020-04-16 16:49:00 +02:00
Paul Chote
41657dd291
Allow spectators to be kicked after the game starts.
2020-02-28 00:04:49 +01:00
Paul Chote
d6436858a9
Fix IPAddress capitalization.
2020-01-15 12:12:54 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
c00b13a18e
Fix player color when a client is bumped to a spectator slot.
2019-07-24 23:07:12 +02:00
Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
abcdefg30
3039b1d710
Reset the client state when being moved to spectator
2019-01-22 22:47:39 +00:00
teinarss
1c0aa24640
Added a player action dropdown.
...
Adds options for:
- handling kick
- transferring admin
- move to spectator
2018-07-05 23:22:09 +01:00
teinarss
23155c039d
Extract LobbyCommand command logic to their own methods.
2018-07-05 23:22:09 +01:00
David Wilson
9bc9ce4577
Color picker update with team color presets. Bots added will use available team color presets by default
2018-03-18 23:29:47 -03:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
ae394f937b
Fix the color validator overriding spectator colors.
2018-01-01 11:25:08 +01:00
Paul Chote
3f67feab0e
Rename boolean LobbyOption fields.
2017-12-12 22:43:11 +01:00
rob-v
315cc966f4
Clear team in lobby for spectators
2017-10-21 14:12:11 +01:00
Paul Chote
b0906e1836
Add a bot type identifier.
2017-07-07 21:31:45 +01:00
rob-v
78bedb0513
Fix IsSinglePlayer
2017-06-27 22:43:15 +01:00
Paul Chote
1722f42f83
Move web urls from user config to mod config.
2017-04-17 12:00:41 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
1153cd2f7c
Reset slot configuration when all players leave a dedicated server.
2016-12-08 21:06:24 +00:00
Paul Chote
3d8cee3110
Fix player joins resetting the server timestep.
2016-10-18 23:50:46 +01:00
Paul Chote
923cde7d21
Report mission briefings in the mp lobby.
2016-09-23 19:51:07 +01:00
RoosterDragon
9f1c872340
Improve some exception types.
2016-09-11 15:14:44 +01:00
Matthias Mailänder
880d848a66
Avoid duplication in server messages and fix a typo.
2016-08-21 18:27:23 +02:00
abcdefg30
b1e8108a44
Merge pull request #11559 from MUzzell/feature-10416
...
Added ready checkbox for spectating admins
2016-07-15 15:47:05 +02:00
Matthew Uzzell
6110357460
#10416 Added ready checkbox for spectating admins
2016-07-14 23:42:32 +01:00
Paul Chote
7caf636222
Port game speed selection to new lobby backend.
2016-07-03 15:46:08 +01:00
abcdefg30
34c6edbbe7
Merge pull request #11456 from obrakmann/disable-singleplayer-by-default-for-dedicateds
...
Disable single-player games by default on dedicated servers
2016-06-22 22:28:37 +02:00
Oliver Brakmann
8e2adc7627
Disable singleplayer games by default on dedicated servers
2016-06-22 20:37:31 +02:00
Paul Chote
6570e1b22e
Avoid crash when parsing an order with duplicate IDs.
2016-06-19 22:15:27 +01:00