Urban Terror Forums: Server Download Tool Still on 4.2 - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1

Server Download Tool Still on 4.2 Rate Topic: -----

#1 User is offline   KroniK Icon

  •   QA member   
  • Account: kronik
  • Country:
  • Joined: 14-January 11
  • Posts: 305

Posted 19 October 2016 - 07:40 AM

The server download tool is still on 4.2. Found on the main server support page: http://www.urbanterr...server-install/

Currently it points to the old dedicated download page but should be updated to the new 4.3 dedicated download page.

This post has been edited by KroniK: 19 October 2016 - 07:41 AM


#2 User is offline   Biddle Icon

  • Account: biddle
  • Main tag: fr.
  • Country:
  • Joined: 01-August 12
  • Posts: 1,080

Posted 19 October 2016 - 03:41 PM

Fixed, thanks!

#3 User is offline   KroniK Icon

  •   QA member   
  • Account: kronik
  • Country:
  • Joined: 14-January 11
  • Posts: 305

Posted 19 October 2016 - 05:23 PM

Also, just realized that on the same page, the start script won't work. The updater did not provide me with a 32bit executable so the script had to be changed to the .x86_64 extension. Not sure if you are detecting the architecture automatically and only downloading the binaries that are needed or are only shipping 64 bit binaries but either way its an extra step that isn't mentioned in the documentation.

#4 User is offline   t3slider Icon

  •   community dev   
  • Account: t3slider
  • Main tag:
  • Joined: 09-November 10
  • Posts: 18

Posted 20 October 2016 - 02:59 AM

The server downloader detects the architecture automatically depending on what uname reports but if you need to override it you can pass PLATFORM=Linux32 to the script, as in the following:
PLATFORM=Linux32 ./UrTUpdater_Ded.sh


Note that you would need to override it every time you run the script. You can also just uncomment line 21 in the script to make this permanent.

If you want to do this the semi-proper and semi-permanent way, you can run
PLATFORM=Linux32 ./UrTUpdater_Ded.sh

the first time to select settings, and then run
echo 'PLATFORM=${PLATFORM:-Linux32}' >> updater-cfg

in the directory containing the UrTUpdater_Ded.sh script to update the config with the extra setting, but note that this is unsupported and will be overwritten if you change the settings in the future (so you would need to re-run that last command if you change updater settings).

Alternatively the following patch would add this as a proper configurable option:
--- UrTUpdater_Ded.sh.orig      2016-10-19 21:40:50.171113509 -0400
+++ UrTUpdater_Ded.sh   2016-10-19 21:54:50.032803737 -0400
@@ -375,6 +375,7 @@
 DOWNLOADSERVER=\${DOWNLOADSERVER:-${DOWNLOADSERVER}}
 GAMEENGINE=\${GAMEENGINE:-${GAMEENGINE}}
 ASKBEFOREUPDATING=\${ASKBEFOREUPDATING:-${ASKBEFOREUPDATING}}
+PLATFORM=\${PLATFORM:-${PLATFORM}}
 EOF
 }
 
@@ -413,6 +414,11 @@
         GAMEENGINE=${engineId[$INPUT]}
     fi
     echo
+    read -p "Enter an architecture (32 for 32-bit or 64 for 64-bit): " -e INPUT
+    if [ -n "$INPUT" ] && [ "$INPUT" == "32" -o "$INPUT" == "64" ]; then
+        PLATFORM="Linux${INPUT}"
+    fi
+    echo
     read -p "Update automatically without asking? [y/n]: " -e INPUT
     if [ "$INPUT" == "n" -o "$INPUT" == "N" ]; then
         ASKBEFOREUPDATING=1

This was only crudely tested so I wouldn't bet my life on it but I believe any of the above should work.

#5 User is offline   Xxone Icon

  • Account: xxone
  • Country:
  • Joined: 10-October 16
  • Posts: 11

Posted 22 October 2016 - 07:19 AM

View PostKroniK, on 19 October 2016 - 07:40 AM, said:

The server download tool is still on 4.2. Found on the main server support page: http://www.urbanterr...server-install/

Currently it points to the old dedicated download page but should be updated to the new 4.3 dedicated download page.


De command line defined at point 13 might not work on some linux distro's

screen -m -d -S UrT-Server sh start.sh


instead you can use:

screen -d -m -S UrT-Server sh -c './start.sh; exec bash'

This post has been edited by Xxone: 22 October 2016 - 11:44 AM


bullet_loaderAdvertisement
Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942