Compare commits

...

3 Commits

Author SHA1 Message Date
hacker
50277c59d7 Updated version
Some checks failed
Continuous Integration / Linux (.NET 6.0) (push) Has been cancelled
Continuous Integration / Linux (mono) (push) Has been cancelled
Continuous Integration / Windows (.NET 6.0) (push) Has been cancelled
2025-11-02 03:08:22 +00:00
hacker
2a13752203 Added Dockerfile 2025-11-02 03:05:27 +00:00
hacker
8ce3ea5f2c Log chat messages on the server 2025-11-02 03:05:19 +00:00
11 changed files with 48 additions and 16 deletions

29
Dockerfile Normal file
View File

@@ -0,0 +1,29 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0
RUN \
apt-get update; \
apt-get -y upgrade; \
apt-get install -y --no-install-recommends \
curl \
wget \
make \
python3 \
unzip \
mono-complete
RUN useradd -d /home/openra -m -s /sbin/nologin openra
WORKDIR /home/openra
COPY . .
RUN chown -R openra:openra .
USER openra
RUN make
EXPOSE 1234
ENTRYPOINT ["./launch-dedicated.sh"]

View File

@@ -1005,9 +1005,12 @@ namespace OpenRA.Server
}
case "Chat":
{
if (!IsMultiplayer || !playerMessageTracker.IsPlayerAtFloodLimit(conn))
DispatchOrdersToClients(conn, 0, o.Serialize());
{
var client = GetClient(conn);
Console.WriteLine($"[{DateTime.Now.ToString(Settings.TimestampFormat)}] {client.Name}: {o.TargetString}");
if (Type == ServerType.Local || !playerMessageTracker.IsPlayerAtFloodLimit(conn))
DispatchOrdersToClients(conn, 0, o.Serialize());
break;
}

View File

@@ -1,6 +1,6 @@
Metadata:
Title: All mods
Version: {DEV_VERSION}
Version: release-20250330
Hidden: true
FileSystem: DefaultFileSystem

View File

@@ -1,6 +1,6 @@
Metadata:
Title: mod-title
Version: {DEV_VERSION}
Version: release-20250330
Hidden: true
FileSystem: DefaultFileSystem

View File

@@ -1,6 +1,6 @@
Metadata:
Title: mod-title
Version: {DEV_VERSION}
Version: release-20250330
Website: https://www.openra.net
WebIcon32: https://www.openra.net/images/icons/cnc_32x32.png
WindowTitle: mod-windowtitle
@@ -40,7 +40,7 @@ FileSystem: ContentInstallerFileSystem
MapFolders:
cnc|maps: System
~^SupportDir|maps/cnc/{DEV_VERSION}: User
~^SupportDir|maps/cnc/release-20250330: User
Rules:
cnc|rules/misc.yaml

View File

@@ -1,6 +1,6 @@
Metadata:
Title: mod-title
Version: {DEV_VERSION}
Version: release-20250330
Hidden: true
FileSystem: DefaultFileSystem

View File

@@ -1,6 +1,6 @@
Metadata:
Title: mod-title
Version: {DEV_VERSION}
Version: release-20250330
Website: https://www.openra.net
WebIcon32: https://www.openra.net/images/icons/d2k_32x32.png
WindowTitle: mod-windowtitle
@@ -37,7 +37,7 @@ FileSystem: ContentInstallerFileSystem
MapFolders:
d2k|maps: System
~^SupportDir|maps/d2k/{DEV_VERSION}: User
~^SupportDir|maps/d2k/release-20250330: User
Rules:
d2k|rules/misc.yaml

View File

@@ -1,6 +1,6 @@
Metadata:
Title: mod-title
Version: {DEV_VERSION}
Version: release-20250330
Hidden: true
FileSystem: DefaultFileSystem

View File

@@ -1,6 +1,6 @@
Metadata:
Title: mod-title
Version: {DEV_VERSION}
Version: release-20250330
Website: https://www.openra.net
WebIcon32: https://www.openra.net/images/icons/ra_32x32.png
WindowTitle: mod-windowtitle
@@ -68,7 +68,7 @@ FileSystem: ContentInstallerFileSystem
MapFolders:
ra|maps: System
~^SupportDir|maps/ra/{DEV_VERSION}: User
~^SupportDir|maps/ra/release-20250330: User
Rules:
ra|rules/misc.yaml

View File

@@ -1,6 +1,6 @@
Metadata:
Title: mod-title
Version: {DEV_VERSION}
Version: release-20250330
Hidden: true
FileSystem: DefaultFileSystem

View File

@@ -1,6 +1,6 @@
Metadata:
Title: mod-title
Version: {DEV_VERSION}
Version: release-20250330
Website: https://www.openra.net
WebIcon32: https://www.openra.net/images/icons/ts_32x32.png
WindowTitle: mod-windowtitle
@@ -44,7 +44,7 @@ FileSystem: ContentInstallerFileSystem
MapFolders:
ts|maps: System
~^SupportDir|maps/ts/{DEV_VERSION}: User
~^SupportDir|maps/ts/release-20250330: User
Rules:
ts|rules/ai.yaml