TShock 4.3.9 for Terraria 1.3.0.8

Discussion in 'TShock Releases' started by nicatronTg, Aug 16, 2015.

  1. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    716
    Welcome to TShock for Terraria 4.3.9 for Terraria 1.3.0.8. This release includes protocol compatibility with Terraria 1.3.0.8 (Protocol 156). In addition, it includes a new crash reporting mechanism that can be used to help further diagnose problems on Windows. On Mono, it simply creates a more detailed crash report that we can then use. Download now, via Github.

    Notable changes include:
    • API: Update to Terraria 1.3.0.8 (@Patrikkk)
    • API: Added a crash reporter which collects memory dumps on Windows (@Wolfje)
    • API: New commandline param: -crashdir - Writes crash reports to the specified directory (@Wolfje)
    • API: Sendq now doesn't disconnect people when it cant send a packet (@Wolfje)
    • API: Fixed more crashes on disconnect in sendq (@Wolfje)
    • API: Now ignores unknown server packets (@Wolfje)
    • API: Potentially removed arithmetic overflows in server (@Wolfje)
    Using the Crash Reporter
    TShock now has a crash reporter built in which writes crash logs to the crashes directory in the event of a catastrophic failure. To change where TShock writes its crash logs, specify the -crashdir parameter on the command line.

    1. In the event of a crash, look for a file called crash_xxxx.zip in the crashes directory
    2. Upload the file somewhere, beware the crash file may be quite large (>100MB), anywhere like google drive, dropbox or mega will be fine
    3. Post a link to the crash with reproduction steps in the TShock support forum
    Alternatively, if you do not want to report the crash, just delete the file.
     
    • Like Like x 9
    • Winner Winner x 3
    • Useful Useful x 1
  2. UB1AFU

    UB1AFU Level 1

    Joined:
    Aug 2, 2014
    Messages:
    5
    Thank you very much!
     
  3. Pssartist

    Pssartist Testing until the end

    Joined:
    Oct 19, 2011
    Messages:
    7
    Cheers fellas!

    Long time no see btw, hope everyone`s been doing well!

    Yes, I`m back and doing the server stuffs again :D
     
    • Like Like x 1
  4. nickflik0934

    nickflik0934 Level 1

    Joined:
    Aug 14, 2015
    Messages:
    10
    holy cow. i restarted my server and it said i had to update inmidiately. is there a way to turn the message off so the chat wont get spammed? because there are no plugins for 4.3.9 yet.
     
  5. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    Still contains Buffer cannot be null error and also contains Heap errors that were not fixed and had to be duct-taped by @Patrikk.

    Also @nicatronTg, my server has crashed around 28 times in a few hours because of the buffer error (Because the heap error is taped by @Patrikk) and no "crashes" folder or file could be found on my system.
     
    #5 OFF, Aug 17, 2015
    Last edited: Aug 17, 2015
  6. Kamidasher

    Kamidasher Level 1

    Joined:
    Oct 27, 2014
    Messages:
    17
    When setting up the server you can do -ignoreversion so that ignores the API version checks for plugins, allowing you to run old plugins.

    E.g. TerrariaServer.exe -ip 127.0.0.1 -port 7777 -ignoreversion -maxplayers 16 -world "C:\Users\Shank\Documents\My Games\Terraria\Worlds\world1.wld"
     
    #6 Kamidasher, Aug 17, 2015
    Last edited: Aug 17, 2015
  7. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    This isn't even relevant as 4.3.9 is running on the same API as 4.3.8.
     
    • Informative Informative x 1
  8. Kamidasher

    Kamidasher Level 1

    Joined:
    Oct 27, 2014
    Messages:
    17
    I know but he might have old plugins, I dont know
     
  9. blambin

    blambin Level 1

    Joined:
    Jul 25, 2014
    Messages:
    16
    I use linux client, every time I quit, and then into the game again, my archive will be cleared to an initial state ,....
     
  10. Yukano

    Yukano Level 2

    Joined:
    Feb 26, 2015
    Messages:
    27
    thx for the new Version
    i like tshock :)
     
  11. nickflik0934

    nickflik0934 Level 1

    Joined:
    Aug 14, 2015
    Messages:
    10
    thank you! thats why i can see seconomy on other servers! thanks allot!
     
  12. nickflik0934

    nickflik0934 Level 1

    Joined:
    Aug 14, 2015
    Messages:
    10
    also cant find the file where it says all these things xD
     
    #12 nickflik0934, Aug 17, 2015
    Last edited: Aug 18, 2015
  13. Kamidasher

    Kamidasher Level 1

    Joined:
    Oct 27, 2014
    Messages:
    17
    • Informative Informative x 2
  14. LoveOryks

    LoveOryks Level 4

    Joined:
    May 12, 2014
    Messages:
    88
    Thanx for the update guys, gonna update right away! :3
     
  15. Bandalf Le Gland

    Joined:
    Jun 30, 2014
    Messages:
    59
    Thanks for the update !
    Got that error, leading to instant crash an hour ago (couldn't use the crash reporter, sorry 'bout that)

    Code:
    2015-08-17 11:14:36 - TShock: ERROR: System.InvalidOperationException: The DoubleStack is empty.
       at Terraria.DataStructures.DoubleStack`1.PopFront()
       at Terraria.Wiring.HitWire(DoubleStack`1 next, Int32 wireType)
       at Terraria.Wiring.TripWire(Int32 left, Int32 top, Int32 width, Int32 height)
       at Terraria.Wiring.HitSwitch(Int32 i, Int32 j)
       at Terraria.MessageBuffer.GetData(Int32 start, Int32 length)
       at Terraria.NetMessage.CheckBytes(Int32 bufferIndex)
       at Terraria.Netplay.ServerLoop(Object threadContext)
       at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    2015-08-17 11:14:36 - TShock: ERROR:
    2015-08-17 11:14:36 - Utils: INFO: Broadcast: Saving world. Momentary lag might result from this.
    2015-08-17 11:14:37 - Utils: INFO: Broadcast: World saved.
     
  16. nickflik0934

    nickflik0934 Level 1

    Joined:
    Aug 14, 2015
    Messages:
    10
    Where do i write this?! If i write it in the console it says Try /help, and when i look up the site you gave me. It just says allot of commands that start with - but doesnt tell me where to write this.

    EDIT: Also do i need to learn C# for this? I dont want to learn another coding language :/
     
  17. LoveOryks

    LoveOryks Level 4

    Joined:
    May 12, 2014
    Messages:
    88
    Make a shortcut of your TerrariaServer.exe

    Then right click and preferences on the shortcut.

    Find something like "element directory" then add a space and -ignoreversion in the end of the directory.

    For example: "C:\Users\LoveOryks\Desktop\Servers\Tshock 4.3.9\TerrariaServer.exe" -ignoreversion
     
    • Informative Informative x 1
    • Friendly Friendly x 1
  18. Compboy

    Compboy Level 1

    Joined:
    Jul 29, 2015
    Messages:
    6
    Thank you very much.
     
    • Agree Agree x 1
  19. nickflik0934

    nickflik0934 Level 1

    Joined:
    Aug 14, 2015
    Messages:
    10
    Ah yes thank you.
     
    • Friendly Friendly x 1
  20. James Almasy

    James Almasy Level 1

    Joined:
    Jul 5, 2015
    Messages:
    17
    Not having anymore visual errors. woohoo!
    Although I'm a little miffed at the multiple logins thing. It was useful to switch between a basic and an administrative account for dealing with things.