Package Details: terraria-server 1.4.4.9-42

Git Clone URL: https://aur.archlinux.org/terraria-server.git (read-only, click to copy)
Package Base: terraria-server
Description: Official dedicated server for Terraria
Upstream URL: https://terraria.org/
Licenses: unknown
Submitter: mythmon
Maintainer: ilmikko (kiito)
Last Packager: kiito
Votes: 11
Popularity: 0.000010
First Submitted: 2015-08-14 06:21 (UTC)
Last Updated: 2022-11-26 19:21 (UTC)

Latest Comments

1 2 Next › Last »

Bigorneau commented on 2021-12-05 22:24 (UTC)

Hi,

I propose the following changes to update to 1.4.3.2

diff --git a/.SRCINFO b/.SRCINFO
index 871d1f4..a2578ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = terraria-server
        pkgdesc = Official dedicated server for Terraria
-       pkgver = 1.4.2.3
-       pkgrel = 34
+       pkgver = 1.4.3.2
+       pkgrel = 35
        url = https://terraria.org/
        install = terraria-server.install
        arch = x86_64
@@ -10,13 +10,13 @@ pkgbase = terraria-server
        makedepends = unzip
        depends = mono
        depends = screen
-       source = https://terraria.org/api/download/pc-dedicated-server/terraria-server-1423.zip
+       source = https://terraria.org/api/download/pc-dedicated-server/terraria-server-1432.zip
        source = https://github.com/mono/reference-assemblies/raw/main/v4.8/System.dll
        source = https://github.com/mono/reference-assemblies/raw/main/v4.8/System.Core.dll
        source = terraria-server
        source = config.txt
        source = terraria-server@.service
-       sha256sums = 12bd93494a31a1487384af1d6e86ee52edce72e2f093e90ee9eaa516eabaa462
+       sha256sums = fce0a54133bd881450937893bd86e31b570289c288061fb28b6385a6eac9c7c5
        sha256sums = 6906a72d0c320697cac46820740fd67976e0b270378a772ea42968c463a2b8e5
        sha256sums = b06c0c07ffd912013cc35987d05ce9e6415cc04882b4b9b5c8ebf8a65fbea556
        sha256sums = fba253786b8668dabd18b03514b24b3aac9b24ed9a74dfdacee35f41659c30c9
diff --git a/PKGBUILD b/PKGBUILD
index 92c5646..f1ab0b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainers: Mike Cooper <mythmon at elem.us>, Mikko <mikko at 5x.fi>

 pkgname=terraria-server
-pkgver=1.4.2.3
-pkgrel=34
+pkgver=1.4.3.2
+pkgrel=35
 pkgdesc="Official dedicated server for Terraria"
 arch=('x86_64' 'x86')
 license=('unknown')
@@ -17,14 +17,14 @@ _pkgver=$(echo $pkgver | sed 's/\.//g')
 # "http://terraria.org/server/${pkgname}-${_pkgver}.zip"

 # https://terraria.org/server/ links after 1402 give a 404, so we use the archive link instead.
-source=("https://terraria.org/api/download/pc-dedicated-server/terraria-server-1423.zip"
+source=("https://terraria.org/api/download/pc-dedicated-server/terraria-server-1432.zip"
         "https://github.com/mono/reference-assemblies/raw/main/v4.8/System.dll"
         "https://github.com/mono/reference-assemblies/raw/main/v4.8/System.Core.dll"
         'terraria-server'
         'config.txt'
         'terraria-server@.service')

-sha256sums=('12bd93494a31a1487384af1d6e86ee52edce72e2f093e90ee9eaa516eabaa462'
+sha256sums=('fce0a54133bd881450937893bd86e31b570289c288061fb28b6385a6eac9c7c5'
             '6906a72d0c320697cac46820740fd67976e0b270378a772ea42968c463a2b8e5'
             'b06c0c07ffd912013cc35987d05ce9e6415cc04882b4b9b5c8ebf8a65fbea556'
             'fba253786b8668dabd18b03514b24b3aac9b24ed9a74dfdacee35f41659c30c9'

kopfik commented on 2021-07-29 15:16 (UTC) (edited on 2021-07-29 15:19 (UTC) by kopfik)

the link to the game has to be changed, the provided one doesn't work: https://terraria.org/system/dedicated_servers/archives/000/000/046/original/terraria-server-1423.zip

my workarround:

yay -G terraria-server

edit PKGBUILD, fix the link (I used this link: https://terraria.org/api/download/pc-dedicated-server/terraria-server-1423.zip)

then manually do:

makepkg -si

rcz commented on 2021-03-21 10:18 (UTC) (edited on 2021-03-21 10:18 (UTC) by rcz)

The links to raw Github files need to be changed. From:

https://github.com/mono/reference-assemblies/blob/master/v4.8/System.dll?raw=true
https://github.com/mono/reference-assemblies/blob/master/v4.8/System.Core.dll?raw=true

to

https://github.com/mono/reference-assemblies/raw/main/v4.8/System.dll
https://github.com/mono/reference-assemblies/raw/main/v4.8/System.Core.dll

Don't forget to fix it in package() as well.

ejona86 commented on 2020-05-18 00:01 (UTC)

When upgrading, I noticed:

(1/1) upgrading terraria-server                    [######################] 100%
terraria:x:697:697::/opt/terraria-server/:/bin/bash
terraria:x:697:

In terraria-server.install I see within post_upgrade(): getent passwd terraria. No > /dev/null. Same thing for the group.

Somewhat unrelated, but I'll note that post_install() and post_remove() could be replaced with a sysusers.d file with u terraria 697 - /opt/terraria-server/ /bin/bash, which is the more modern way since pacman gained hooks.

ilmikko commented on 2020-05-16 18:02 (UTC)

Updated to 1.4.0.1. The GetMinPrime() exception is fixed now, turned out to require a new System.Core.dll. Tested with a small Journey world after the new update - seems to work, will test some more.

Morganamilo commented on 2019-05-11 20:50 (UTC)

Downgrading to mono 5.1 fixes the problem.

I notice the line # Added updated mono System.dll so the server works with mono 5.x in the pkgbuild. Maybe you need to update this to a newer System.dll?

Morganamilo commented on 2019-05-11 20:18 (UTC)

Error when trying to create a new word:

Unhandled Exception:
System.MissingMethodException: Method not found: int System.Collections.HashHelpers.GetMinPrime()

Any body else seen this?

ilmikko commented on 2018-05-03 11:09 (UTC)

Thanks for the heads up @killercow84, I updated the package.

killercow84 commented on 2018-01-16 19:07 (UTC)

Hi ilmikko can you change the SHA256 key to 63B232323F094EA71E49EC1BB578A816B751DB9F872AD70EBC1D921B8D15F250 the old one isn`t correct anymore.