From 0c2d194d02c533a504cd45ddf285453927a3403b Mon Sep 17 00:00:00 2001 From: Luke Date: Sat, 22 Oct 2022 21:45:31 +1000 Subject: [PATCH] Include geoip.dat file again This should allow the GeoIP.dat file to be found, and used the same way it used to on TShock 4. It appears I had missed including this in the upgrade, and simply allowing it to copy to the output will allow the system to start working again. Confirmed by enabling in config and joining via mobile (external network) and my country has appeared, N/A otherwise (local network) Note: only ipv4 was tested. --- TShockLauncher/TShockLauncher.csproj | 9 ++++++++- docs/changelog.md | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/TShockLauncher/TShockLauncher.csproj b/TShockLauncher/TShockLauncher.csproj index 5e0d17ab..989c987d 100644 --- a/TShockLauncher/TShockLauncher.csproj +++ b/TShockLauncher/TShockLauncher.csproj @@ -19,6 +19,13 @@ + + + GeoIP.dat + PreserveNewest + + + @@ -84,7 +91,7 @@ - + diff --git a/docs/changelog.md b/docs/changelog.md index 0f903b7e..166645b3 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -63,6 +63,7 @@ Use past tense when adding new entries; sign your name off when you add or chang * Added localization support for console spam reduction. (@KawaiiYuyu) * Added an internationalization system. The base for the i18n system was built by Janet Blackquill ([@pontaoski](https://github.com/pontaoski)). A small donation in her honor was made to the [KDE project](https://kde.org/) as a thankyou for this work. This also includes the `TSHOCK_LANGUAGE` environment variable. Setting `TSHOCK_LANGUAGE=tok` will enable a small number of [Toki Pona](https://tokipona.org/) translations as a proof-of-concept. (@pontaoski) * Added support for Terraria 1.4.4.6, through OTAPI 3.1.5. (@SignatureBeef) +* Added GeoIP.dat back to the included list of files. (@SignatureBeef) ## TShock 4.5.18 * Fixed `TSPlayer.GiveItem` not working if the player is in lava. (@PotatoCider)