TShock 4.3.3 (API v1.19) PreRelease for Terraria 1.3.0.4

Discussion in 'TShock Releases' started by nicatronTg, Jul 10, 2015.

  1. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    716
    Welcome to TShock for Terraria 4.3.3 (API 1.19) PreRelease for Terraria 1.3.0.4. This is a pre-release build, and problems are obviously to be expected. However, with that being said, this is a notably better release than previous releases. Download, via Github Releases.

    Notable changes include:

    BEFORE POSTING BUG REPORTS IN THIS THREAD, READ THIS
     
    • Like Like x 3
    • Creative Creative x 1
    #1 nicatronTg, Jul 10, 2015
    Last edited by a moderator: Jul 10, 2015
  2. Yukano

    Yukano Level 2

    Joined:
    Feb 26, 2015
    Messages:
    27
    yes thanks , it works ^^
     
    • Friendly Friendly x 1
    • Late Late x 1
  3. Pikabot2000

    Pikabot2000 Level 1

    Joined:
    Mar 12, 2015
    Messages:
    10
    I get this error when starting up, I only have the plugins that come with the update. Can anyone help me with this error?

    Exception during world metadata load.
    If you are using -autocreate, it is safe to ignore this.
    [Server API] Error Server crashed due to an unhandled exception:
    System.InvalidOperationException: Failed to compare two elements in the array.-
    -->System.NullReferenceException: Object reference not set to an instance of an
    object.
    at Terraria.Main.WorldListSortMethod(WorldFileData data1, WorldFileData data 2
    )
    at System.Array.FunctorComparer'1.Compare(T x, T y)
    at System.Collections.Generic.ArraySortHelper'1.DepthLimitedQuickSort(T[] key
    s, Int32 left, Int 32 right, IComparer1 comparer, Int32 depthLimit)
    at System.Collections.Generic.ArraySortHelper'1.DepthLimitedQuickSort(T[] key
    s, Int32 left, Int32 right, IComparer1 comparer, Int32 depthLimit)
    at System.Collections.Generic.ArraySortHelper 1.Sort(T[] keys, Int32 index, I
    nt32 length, IComparer'1 comparer)
    --- End of inner exception stack trace ---
    at System.Collections.Generic.ArraySortHelper'1.Sort(T[] keys, Int32 index, I
    nt32 length, IComparer'1 comparer)
    at System.Array.Sort[T]<T[] array, Int32 index, Int32 length, IComparer'1 com
    parer)
    at System.Collections.Generic.List'1.Sort(Comparison'1 comparison)
    at Terraria.Main.LoadWorlds()
    at Terraria.Main.DedServ()
    at Terraria.ProgramServer.InnerStart(String[] args)
     
    • Optimistic Optimistic x 1
    • Can't Search Can't Search x 1
    #3 Pikabot2000, Jul 10, 2015
    Last edited: Jul 10, 2015
  4. LichBa

    LichBa Level 1

    Joined:
    Jul 6, 2015
    Messages:
    14
    and still i can't summon boss and invade error wave clear
     
    • Agree Agree x 1
    • Funny Funny x 1
  5. Windroid

    Windroid Level 0

    Joined:
    Oct 25, 2013
    Messages:
    2
    The startup error for me in the last version still occur.
    Server can't be hosted.
    Code:
    [07/11/15 01:30:02] [Server API] Verbose: TerrariaApi - Server v1.19.0.0 started.
    [07/11/15 01:30:02] [Server API] Verbose:     Command line: "C:\Users\Windroid\Downloads\tshock_4.3.3-pre1\TerrariaServer.exe"
    [07/11/15 01:30:02] [Server API] Verbose:     OS: Microsoft Windows NT 6.1.7601 Service Pack 1 (64bit: False)
    [07/11/15 01:30:02] [Server API] Verbose:     Mono: False
    [07/11/15 01:30:08] [Server API] Info: Plugin TShock v4.3.3.0 (by The TShock Team) initiated.
    [07/11/15 01:30:11] [Server API] Error: Server crashed due to an unhandled exception:
    System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Terraria.Main.WorldListSortMethod(WorldFileData data1, WorldFileData data2)
       at System.Array.FunctorComparer`1.Compare(T x, T y)
       at System.Collections.Generic.ArraySortHelper`1.SwapIfGreater(T[] keys, IComparer`1 comparer, Int32 a, Int32 b)
       at System.Collections.Generic.ArraySortHelper`1.DepthLimitedQuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer, Int32 depthLimit)
       at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
       --- End of inner exception stack trace ---
       at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
       at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
       at System.Collections.Generic.List`1.Sort(Comparison`1 comparison)
       at Terraria.Main.LoadWorlds()
       at Terraria.Main.DedServ()
       at Terraria.ProgramServer.InnerStart(String[] args)
    
     
    • Like Like x 1
    • Can't Search Can't Search x 1
  6. Tygra

    Tygra Level 5

    Joined:
    May 9, 2014
    Messages:
    108
    Invasions and bosses are working for me. Its probably a permission problem for you.

    In this version the rod of discord acts wierd. I don't know how to explain the problem, hopefully you can replicate it. When using the rod the its like the screen dragging is 0,5 a second behind the initial use of the rod.

    Sorry should have read the 1.3.0.4 changelog. Nevermind that.
     
    • Bad Spelling Bad Spelling x 1
    #6 Tygra, Jul 10, 2015
    Last edited: Jul 10, 2015
  7. Yukano

    Yukano Level 2

    Joined:
    Feb 26, 2015
    Messages:
    27
    Exception during world metadata load.
    If you are using -autocreate, it is safe to ignore this.
    [Server API] Error Server crashed due to an unhandled exception:
    System.InvalidOperationException: Failed to compare two elements in the array.-
    -->System.NullReferenceException: Object reference not set to an instance of an
    object.
    at Terraria.Main.WorldListSortMethod(WorldFileData data1, WorldFileData data 2
    )
    at System.Array.FunctorComparer'1.Compare(T x, T y)
    at System.Collections.Generic.ArraySortHelper'1.DepthLimitedQuickSort(T[] key
    s, Int32 left, Int 32 right, IComparer1 comparer, Int32 depthLimit)
    at System.Collections.Generic.ArraySortHelper'1.DepthLimitedQuickSort(T[] key
    s, Int32 left, Int32 right, IComparer1 comparer, Int32 depthLimit)
    at System.Collections.Generic.ArraySortHelper 1.Sort(T[] keys, Int32 index, I
    nt32 length, IComparer'1 comparer)
    --- End of inner exception stack trace ---
    at System.Collections.Generic.ArraySortHelper'1.Sort(T[] keys, Int32 index, I
    nt32 length, IComparer'1 comparer)
    at System.Array.Sort[T]<T[] array, Int32 index, Int32 length, IComparer'1 com
    parer)
    at System.Collections.Generic.List'1.Sort(Comparison'1 comparison)
    at Terraria.Main.LoadWorlds()
    at Terraria.Main.DedServ()
    at Terraria.ProgramServer.InnerStart(String[] args)


    i have the same error on Windows 8.1 maschine, but on debian 7 it works :/
     
    • Like Like x 1
    • Optimistic Optimistic x 1
    • Can't Search Can't Search x 1
  8. angahith

    angahith Level 0

    Joined:
    Aug 4, 2014
    Messages:
    3
    Pretty sure he's referring to summoning invasions/bosses through items, which doesn't seem to be fixed.
    A superadmin with permissions "*" shouldn't have permission problems. :p
     
    • Informative Informative x 1
  9. SheeepHead

    SheeepHead Level 2

    Joined:
    Jul 9, 2015
    Messages:
    25
    work great !

    thanks for the quick update and fix

    [EDIT] nevermind server is randomly crashing again with no reason whatsoever

    going back to the previous version

    [EDITAGAIN]Seems the server crash when I go back to 4.3.2 too, but it was running well from the past 10 hours without crashing

    I'm suspecting the config.json to be the cause of this

    [LASTEDIT] its not coming from the config.json, it must be coming from something in the tshock folder, I'm looking for it

    well its not, so I don't know why but the server keep crashing randomly with a fresh installation of Tshock

    can it be the map ? seems strange because it was running fine in 4.3.2 after keep crashing in 4.3.1
     
    • Agree Agree x 1
    #9 SheeepHead, Jul 10, 2015
    Last edited: Jul 10, 2015
  10. morse

    morse Level 0

    Joined:
    Jul 10, 2015
    Messages:
    4
    Stuck at "requesting tile data"

    2015-07-10 22:00:12 - GetDataHandlers: ERROR: System.NullReferenceException: Object reference not set to an instance of an object
    at TShockAPI.GetDataHandlers.HandleGetSection (TShockAPI.GetDataHandlerArgs args) [0x00000] in <filename unknown>:0
    at TShockAPI.GetDataHandlers.HandlerGetData (PacketTypes type, TShockAPI.TSPlayer player, System.IO.MemoryStream data) [0x00000] in <filename unknown>:0

    Run on debian8 with

    su terrariaserver -c "mono --server --gc=boehm -O=all ./TerrariaServer.exe"
     
    • Disagree Disagree x 2
  11. SheeepHead

    SheeepHead Level 2

    Joined:
    Jul 9, 2015
    Messages:
    25
    if you just do screen mono TerrariaServer.exe in Tshock directory, does the server work ?
     
    • Funny Funny x 1
  12. MaxGregory

    MaxGregory Level 0

    Joined:
    Jul 10, 2015
    Messages:
    1
    Is there anyway you can Spawn Pinkie? That Pink Slime
     
    • Winner Winner x 1
  13. morse

    morse Level 0

    Joined:
    Jul 10, 2015
    Messages:
    4
    No, same result.
     
    • Informative Informative x 1
  14. SheeepHead

    SheeepHead Level 2

    Joined:
    Jul 9, 2015
    Messages:
    25
    I think it would be /spawnmob pinky
     
    • Informative Informative x 1
  15. SheeepHead

    SheeepHead Level 2

    Joined:
    Jul 9, 2015
    Messages:
    25
    strange, working fine here with debian 8 64bit

    did you try to rename config.json ?

    if yes, what version of mono are you running ?

    mono --version
     
    • Friendly Friendly x 1
  16. m0uSe

    m0uSe Level 2

    Joined:
    Jul 8, 2015
    Messages:
    37
    I got a very strang bug. A "hole" appeared in our map

    [​IMG]
     
    • Useful Useful x 1
  17. JoakimL

    JoakimL Level 2

    Joined:
    Jul 28, 2014
    Messages:
    25
    The server works great except one thing. When I start the server, people can join. But after awhile the server seems to go offline in some way, for example, on terraria-servers.com it says that the server is offline even though people are on the server playing. Then when I logged out and tried to log in again, I couldn't... And nobody else can, but the people that are already on, can play just fine.
     
    • Optimistic Optimistic x 1
  18. SheeepHead

    SheeepHead Level 2

    Joined:
    Jul 9, 2015
    Messages:
    25
    got the same problem, seems its a bug
     
    • Informative Informative x 1
    • Creative Creative x 1
  19. Wer

    Wer Level 1

    Joined:
    Jul 5, 2015
    Messages:
    8
    Is there a version of Mono, and perhaps a Linux distribution, where someone can verify that this works? I've posted about issues in the past here, trying to run it on an up-to-date Arch Linux installation. Basically the server likes pegging the CPU at max and the server stops ticking, every so often when someone dies.

    I just tried recompiling Mono from source to get the latest version, 4.0.2. But that has the same issue as well. Running with the sgen GC has the issue mentioned above, running with the boehm GC just segfaults immediately:

    Code:
    [[email protected] ~]$ /srv/t-mono/bin/mono-boehm TerrariaServer.exe
    
    Native stacktrace:
    
      /srv/t-mono/bin/mono-boehm() [0x4b3605]
      /srv/t-mono/bin/mono-boehm() [0x42c08c]
      /usr/lib/libpthread.so.0(+0x10660) [0x7f635979c660]
      /srv/t-mono/bin/mono-boehm() [0x5fea07]
      /srv/t-mono/bin/mono-boehm() [0x5ffd0e]
      /srv/t-mono/bin/mono-boehm() [0x607729]
      /srv/t-mono/bin/mono-boehm() [0x607767]
      /srv/t-mono/bin/mono-boehm() [0x5ffe35]
      /srv/t-mono/bin/mono-boehm() [0x5fc9ec]
      /srv/t-mono/bin/mono-boehm() [0x5f644f]
      /srv/t-mono/bin/mono-boehm() [0x5f6051]
      /srv/t-mono/bin/mono-boehm() [0x6007c5]
      /srv/t-mono/bin/mono-boehm() [0x6003cd]
      /srv/t-mono/bin/mono-boehm() [0x5c3897]
      /srv/t-mono/bin/mono-boehm() [0x59b4f9]
      /srv/t-mono/bin/mono-boehm() [0x42d0ee]
      /srv/t-mono/bin/mono-boehm(mono_main+0x2b5) [0x48a115]
      /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7f635940a790]
      /srv/t-mono/bin/mono-boehm() [0x422879]
    
    Debug info from gdb:
    
    
    =================================================================
    Got a SIGSEGV while executing native code. This usually indicates
    a fatal error in the mono runtime or one of the native libraries
    used by your application.
    =================================================================
    
    Aborted (core dumped)
    
    This is all running in a VM on my own cluster, though, so I can install whatever distro works. I'm just looking for some positive data points of distributions/versions that work.

    - Wer
     
    • Late Late x 1
  20. capshep

    capshep Level 1

    Joined:
    Jun 30, 2015
    Messages:
    8
    TerrariaAPI Version: 1.19.0.0 (Protocol v1.3.0.4 (151))
    SendQ edition
    TShock was improperly shut down. Please use the exit command in the future to pr
    event this.
    Error on reloading groups: System.IndexOutOfRangeException: Index was outside th
    e bounds of the array.
    at TShockAPI.SuperAdminGroup..ctor()
    at TShockAPI.DB.GroupManager.LoadPermisions()
    TShock 4.3.3.0 (Yoraiz0r R0cks) now running.
    AutoSave Enabled
    Backups Disabled
    Welcome to TShock for Terraria. Initialization complete.
    [Server API] Info Plugin TShock v4.3.3.0 (by The TShock Team) initiated.
    Exception during world metadata load.
    If you are using -autocreate, it is safe to ignore this.
    [Server API] Error Server crashed due to an unhandled exception:
    System.InvalidOperationException: Failed to compare two elements in the array. -
    --> System.NullReferenceException: Object reference not set to an instance of an
    object.
    at Terraria.Main.WorldListSortMethod(WorldFileData data1, WorldFileData data2
    )
    at System.Array.FunctorComparer`1.Compare(T x, T y)
    at System.Collections.Generic.ArraySortHelper`1.SwapIfGreater(T[] keys, IComp
    arer`1 comparer, Int32 a, Int32 b)
    at System.Collections.Generic.ArraySortHelper`1.DepthLimitedQuickSort(T[] key
    s, Int32 left, Int32 right, IComparer`1 comparer, Int32 depthLimit)
    at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, I
    nt32 length, IComparer`1 comparer)
    --- End of inner exception stack trace ---
    at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, I
    nt32 length, IComparer`1 comparer)
    at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 com
    parer)
    at System.Collections.Generic.List`1.Sort(Comparison`1 comparison)
    at Terraria.Main.LoadWorlds()
    at Terraria.Main.DedServ()
    at Terraria.ProgramServer.InnerStart(String[] args)
    how do I solve this?
     
    • Bad Reading Bad Reading x 1