Commit Graph

388 Commits

Author SHA1 Message Date
Oliver Brakmann
92ec538208 Merge pull request #12077 from pchote/crashlog-dates
Include dates in crash/sync log filenames.
2016-09-21 17:54:06 +02:00
Paul Chote
bfa0c008eb Restore missing GameUid. 2016-09-21 05:09:16 +01:00
Paul Chote
709bd5b441 Clean up ClientPings when a player drops from the server. 2016-09-20 21:13:07 +01:00
Paul Chote
093053fd93 Read data from *all* connections to the server. 2016-09-20 20:55:52 +01:00
RoosterDragon
2ffea5db54 Change Game.RunTime to a long to prevent overflow. 2016-09-20 19:06:10 +01:00
abcdefg30
57d6f678e1 Remove an outdated TODO comment 2016-08-27 19:24:25 +02:00
Matthias Mailänder
880d848a66 Avoid duplication in server messages and fix a typo. 2016-08-21 18:27:23 +02:00
Paul Chote
bf4867909f Rename Manifest.Mod -> Metadata. 2016-08-08 22:36:07 +01:00
Paul Chote
3df9efb95d Rework mod enumeration / caching.
- Replaced ModMetadata.AllMods with Game.Mods.
- Store / reference mod Manifest instead of ModMetadata.
- Removes engine dependency on ModContent class.
2016-08-08 22:36:07 +01:00
Paul Chote
7caf636222 Port game speed selection to new lobby backend. 2016-07-03 15:46:08 +01:00
reaperrr
7ed792ba88 Merge pull request #11286 from Mailaender/open.nat-2.0.16
Dump Mono.NAT in favor of Open.Nat 2.0.16
2016-06-26 16:16:11 +02:00
Oliver Brakmann
8e2adc7627 Disable singleplayer games by default on dedicated servers 2016-06-22 20:37:31 +02:00
Matthias Mailänder
5245df729d Migrate to Open.Nat version 2.0.16
Move the dependency from all libraries to game engine only.
Initialize after the renderer setup to ensure a visible window.
2016-06-19 08:41:14 +02:00
Paul Chote
eb884ca76f Convert lobby checkboxes to new options backend. 2016-06-04 10:03:06 +01:00
Paul Chote
923883fad7 Fix and improve custom rule detection. 2016-04-09 13:40:44 -04:00
Paul Chote
a79f40bf4b Log all player joins on dedicated servers. 2016-04-02 17:10:00 +01:00
Paul Chote
4b0aa77ce5 Add missing timestamp to dedicated server logs. 2016-04-02 17:09:52 +01:00
Paul Chote
706d3ae52a Move dedicated server code to OpenRA.Server.exe 2016-03-30 19:26:50 +01:00
Paul Chote
fee899f63d Fix unnecessary uses of Game.ModData. 2016-03-29 23:46:12 +01:00
Paul Chote
1ba7a5e59e Use MapPreview on the server. 2016-03-12 20:07:07 +00:00
Paul Chote
20e8bc249d Restore support for inline map rules. 2016-03-10 19:27:50 +00:00
Paul Chote
8017844a15 Remove LobbyDefaults from mod.yaml. 2016-03-07 21:41:13 +00:00
Paul Chote
5e59a9d1c1 Move ServerStarted notifications into the server thread. 2016-03-07 21:41:12 +00:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
Alexandre Oliveira
989bf4f807 Disable 1 human versus bots games
Changed the Server.LockBots setting to Server.DisableSinglePlayer.

If the setting is enabled, and there is only one client in the server,
the game won't start.
2016-02-03 20:32:34 -02:00
Matthias Mailänder
eb9fb75d3c warn players if bots have been disabled 2016-01-21 21:25:23 +01:00
Oliver Brakmann
f89d40ee10 Merge pull request #10131 from pchote/add-join-logging
Add a server log line for player joins.
2015-11-28 15:44:59 +01:00
Paul Chote
92e6efd45c Add a server log line for player joins. 2015-11-28 10:38:47 +00:00
RoosterDragon
bfe1804bf6 Fix some spellings. 2015-11-27 16:19:59 +00:00
Paul Chote
64498b1ea7 Fix singleplayer game latency. 2015-10-31 11:36:32 +00:00
Pavel Penev
5eaf5b5b51 Rename Session.Client.Race 2015-08-05 17:45:56 +03:00
Oliver Brakmann
4ed7a4ce8a Merge pull request #8659 from penev92/bleed_playerReference
Rename PlayerReference.Race to Faction
2015-07-14 20:15:56 +02:00
Matthias Mailänder
d9ac97a967 Merge pull request #8660 from penev92/bleed_fixServer
Fix a bug in Server
2015-07-06 08:53:02 +02:00
penev92
0648b7edaa Fix a bug in Server 2015-07-06 00:59:30 +03:00
Pavel Penev
f221a70e40 Merge pull request #8652 from Mailaender/custom-rule-warning
Added a warning about custom game rules
2015-07-06 00:32:44 +03:00
penev92
1d49c23af0 Rename PlayerReference.Race and LockRace to Faction and LockFaction 2015-07-05 23:08:49 +03:00
penev92
907265a64c Random refactoring and beautifying of Server.cs 2015-07-05 18:39:13 +03:00
penev92
502db0b462 Add logging on exception to Server.ValidateClient() 2015-07-05 18:39:10 +03:00
Matthias Mailänder
e86ff94a20 don't display game join notifications during missions 2015-07-05 17:17:14 +02:00
Matthias Mailänder
8c92839e0b warn about custom rules 2015-07-05 17:16:43 +02:00
Pavel Penev
6ed7e46162 Merge pull request #8398 from Mailaender/ping-order-nre
Fixed NREs in LobbyCommands PingFromClient
2015-06-29 01:55:54 +03:00
Matthias Mailänder
45dc314b23 print server status messages to the console 2015-06-20 16:47:32 +02:00
Matthias Mailänder
e228601a5c fix NullReferenceExceptions during client pings 2015-06-20 15:54:23 +02:00
Matthias Mailänder
edca755540 also sanitize server names 2015-05-23 15:07:18 +02:00
Matthias Mailänder
736b169319 sanitize player names 2015-05-23 15:07:13 +02:00
abcdefg30
c4a63eee30 Merge pull request #7875 from penev92/bleed_exposePlayerReferences
Add upgrade rules support for map PlayerReferences
2015-04-26 22:53:42 +02:00
penev92
2402b56da7 Reorganize PlayerReference loading to enable upgrade rules for them.
The PlayerReference definitions are now stored
as raw MiniYamlNodes in the map.
2015-04-26 23:16:20 +03:00
LunaticEdit
575b568c6a EndOfStream first chance exceptions on server
The server class reads the memory stream in a forever loop until an
EndOfStreamException occurs. This causes repeated first chance
exceptions due to EndOfStreamException. This change verifies that the
memory stream's reader position is not past the length of the memory
stream.
2015-04-13 19:09:32 -04:00
abcdefg30
63fe578ba8 Allow picking of a random subfaction 2015-03-12 21:34:23 +01:00