Resolved [HELP] Synology DS412+ & latest TShock & Latest Terraria

Discussion in 'Server Discussion' started by m0uSe, Jul 8, 2015.

  1. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    ok let me get this right.
    u need to
    1.install mono on the nas
    2.download TShock 4.3.13 for Terraria 1.3.0.8 (API v1.22) zip file
    3.buy Terraria from Steam (do i need to start steam to play terraria ?)

    Where do I put the ZIP file ???

    then follow your instructions

    "Download WinSCP (https://winscp.net/eng/docs/lang:de)
    2. Login as "root" with admin pass
    3. Normally the file sits in "/volume1/@appstore/Mono/usr/lib/libMonoPosixHelper.so"
    4. Copy the file to "/usr/lib/libMonoPosixHelper.so"
    5. Restart Mono
    6. Restart the Terraria Server with 'screen mono Terrariaserver.exe'
    7. Enjoy a working server"

    This is correct ?
     
  2. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    Its ok i just saw the instructions on page 2.
    I try it out tomorrow
     
  3. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    I have installed mono
    I have copied Tshock release to /volume1/homes/admin/Terraria/
    I have installed Easy Bootstrap installer (ent-ware-ng oPKG)
    where do i get SCREEN from ?? My linux knowledge is not that advance.
    From what I understand SCREEN is a terminal screen ?

    Do I putty into the nas goto this location /volume1/homes/admin/Terraria/ and run this

    "screen mono --gc=boehm TerrariaServer.exe

    Then does it always keep the TerrariaServer.exe up and running until the NAS is rebooted ?
     
  4. m0uSe

    m0uSe Level 2

    Joined:
    Jul 8, 2015
    Messages:
    37
    If you start the game server simply by "mono TerrariaServer.exe" the game server is closed as soon as you shut down putty.
    Screen creates like a "background process" so you dont have to keep putty running the whole time.
    Where are you stuck exactly at the moment?
     
  5. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    Cool I ran the command "mono TerrariaServer.exe" from putty and I understand what you are saying.
    i used the IPKGui and saw the screen application I download the zip file not sure how to upload it now.
     
  6. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    the issue is that i cant install or know how to install screen ipk program. i have installed ipkgui there is a box saying available but it wont let me install it. i can not check the box. i have bootstrap installed as well. it has to be something small. i dont think the path is set up correctly to take note of ipkgui
     
  7. m0uSe

    m0uSe Level 2

    Joined:
    Jul 8, 2015
    Messages:
    37
    I dont use ipkg gui, i just installed screen via terminal. its not the complicated, earlier in this thread i posted a link to the instructions.
     
  8. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
  9. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    I think i got it. Screen is installed . now I have run the command
    screen mono Terrariaserver.exe
    now does it start everytime I reboot the NAS. Or I have to now add it to a start up ?
     
  10. m0uSe

    m0uSe Level 2

    Joined:
    Jul 8, 2015
    Messages:
    37
    You need to add a startup script. I got it on my hdd somewhere. Need to look it up :>
     
  11. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    i just updated tshock and it wiped the world i created. What is the best way to upgrade tshock without losing the world ?
     
  12. Simon311

    Simon311 TShock Contributor; Moderator
    TShock Contributor Plugin Developer

    Joined:
    Feb 23, 2013
    Messages:
    337
    Create a backup of the world file
     
  13. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    i have upgraded tshock (created a new world). I can see that the process is running
    20111 root 638m S mono TerrariaServer.exe

    but it wont connect to the ip and port. is there anyway to see the logs to show me what is happening?
     
  14. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    i had to get the same version of Terraria to work with the server .
     
  15. Graf

    Graf Level 1

    Joined:
    May 21, 2016
    Messages:
    16
    ok what i am seeing is that i have the process Terrariaserver running. but it wont let me connect to the server. it just sits there. when i use the screen command and exit out of a putty session into the nas is there a way i can go back to the screen session ?
     
  16. Simon311

    Simon311 TShock Contributor; Moderator
    TShock Contributor Plugin Developer

    Joined:
    Feb 23, 2013
    Messages:
    337
    screen -R
     
  17. m0uSe

    m0uSe Level 2

    Joined:
    Jul 8, 2015
    Messages:
    37
    Yeah, thats a known problem. NAS Updates --> World is gone. Just create a systemlink to your home directory and the problem is solved.
    In my case, the cmd for that is :
    ln -s /volume1/homes/admin/Worlds/ /root/My\ Games//Terraria/Worlds

    That way you will never lose your world again. Happenend to my friends and me too, so I created this fr safety :)

    Like this.
     
    #57 m0uSe, Jun 6, 2016
    Last edited: Jun 6, 2016
  18. m0uSe

    m0uSe Level 2

    Joined:
    Jul 8, 2015
    Messages:
    37
    The new symlink is :
    ln -s /volume1/homes/admin/Worlds/ /root/.local/share/Terraria/

    Synology changed some stuff as it seems.