1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

Bug? Can't set World Path

Discussion in 'Help and Support' started by Ponso00, Dec 21, 2019.

  1. Ponso00

    Ponso00 Level 0

    Dec 21, 2019
    I am running tshock 4.3.8 for Terraria on raspbian.
    When I run the Terraria server and set the worldpath, sudo mono-sgen TerrariaServer.exe -worldpath "/home/terraria/worlds/", I get this error.

    TerrariaAPI Version: (Protocol v1.3.0.7 (155))
    SendQ edition
    [TShock] Info World path has been set to /home/terraria/worlds/
    TShock was improperly shut down. Please use the exit command in the future to prevent this.
    TShock (Yoraiz0r R0cks) now running.
    AutoSave Enabled
    Backups Disabled
    Welcome to TShock for Terraria. Initialization complete.
    [Server API] Info Plugin TShock v4.3.8.0 (by The TShock Team) initiated.
    Terraria Server v1.3.0.7

    [Server API] Error Server crashed due to an unhandled exception:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: path
    at System.IO.Path.Validate (System.String path, System.String parameterName) [0x00006] in <8f2c484307284b51944a1a13a14c0266>:0
    at System.IO.Path.Validate (System.String path) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
    at System.IO.File.GetLastWriteTime (System.String path) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
    at Terraria.Main.DedServ () [0x001f4] in <c211e25edd4d4d4f8a6d6b21ab6c33a2>:0
    at Terraria.ProgramServer.InnerStart (System.String[] args) [0x000c6] in <c211e25edd4d4d4f8a6d6b21ab6c33a2>:0

    Any help would be appreciated.