Skip to content

1.4.5: -autocreate doesn't work with combined special seeds #3175

@ZakFahey

Description

@ZakFahey
  • TShock version: built from the general-devel branch as of 6e71f3a

Reproduction steps (if applicable)?

  1. Start a server with the -autocreate flag and a -seed value of 1.1.1.256.monochrome|1441655236

Result

The server never generates the world.

Any stack traces or error messages (if known)?

No.

Any screenshots?

The world is actually joinable at this point, but it looks like this and you quickly lose connection:

Terraria screenshot of a completely black screen

Any log messages from files that end in .log or .txt? What are the last 100 log messages from the server console?

C:\Users\zfahe\OneDrive\Documents\GitHub\TShock\TShockLauncher\bin\Debug\net9.0>TShock.Server.exe -worldname "pedguin-survival1208" -autocreate 1 -seed "1.1.1.256.monochrome|1441655236" -world "C:\Users\zfahe\OneDrive\Documents\My Games\Terraria\Worlds\pedguin-survival1208.wld"
Error Logging Enabled.
[OTAPI] Starting up (PC Server,3.3.6+f5d292a,ModFw:1.1.15+a2c0c70).
TerrariaAPI Version: 2.1.0.0 (Protocol v1.4.5.4 (317), OTAPI 3.3.6+f5d292a)
[Server API] Error Startup aborted due to an exception in the Server API initialization:
System.IO.FileNotFoundException: C:\Users\zfahe\OneDrive\Documents\My Games\Terraria\Worlds\pedguin-survival1208.wld
   at Terraria.IO.WorldFileData.SetAsActive() in OTAPI:token 0x6002d4a+0x8
   at Terraria.Main.mfwh_SetWorld(String world, Boolean cloud) in OTAPI:token 0x600086d+0x0
   at Terraria.Main.SetWorld(String world, Boolean cloud) in OTAPI:token 0x600052e+0x2c
   at TerrariaApi.Server.ServerApi.HandleCommandLine(String[] parms) in C:\Users\zfahe\OneDrive\Documents\GitHub\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 205
   at TerrariaApi.Server.ServerApi.Initialize(String[] commandLineArgs, Main game) in C:\Users\zfahe\OneDrive\Documents\GitHub\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 104
   at TerrariaApi.Server.HookManager.InitialiseAPI() in C:\Users\zfahe\OneDrive\Documents\GitHub\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\HookManager.cs:line 29

then the program freezes for a bit, and if you press enter it falls back to

Terraria Server v1.4.5.4

Listening on port 7777
Type 'help' for a list of commands.

: Server started

What plugins and what versions of those plugins are you running?

This was run directly from a fresh build of TShock from the general-devel branch with no third party plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions