TShock 4.3.11 for Terraria 1.3.0.8 (API 1.22)

Discussion in 'TShock Releases' started by Wight, Oct 26, 2015.

  1. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    Welcome to TShock v4.3.11 for Terraria v1.3.08. Download now.

    This version features a drop-in tile replacement system by @Wolfje that reduces RAM requirements by up to 70% on all worlds and CPU requirements up to 10% in the running process.
    • Large worlds: from 700MB-1GB -> ~325MB
    • Medium worlds: from 500MB -> ~200MB
    • Small worlds: from 400MB -> ~125MB
    Plugin developers: any current plugin that makes use of Main.tile must be recompiled with a reference to the new terrariaserver.exe.

    Other notable changes include:
    • API: Fixed some possible packet leaks in sendq (@Wolfje)
    • API: API Version 1.22 - please update your plugins accordingly
    • API: Added crash protection around malicious and/or invalid packets (@Wolfje)
    • API: Fixed worlds not loading sometimes (@tysonstrange)
    • API: Fixed living leaf walls not working as housing (@hastinbe)
    • Fixed an issue preventing some players from joining when the world is saving (@Wolfje)
    • Fixed an issue adding a ban on a player who has previously been banned (@Wolfje)
    • Fixed /invade martian (@Wolfje)
    • Fixed target dummies not working properly (@Wight)
    • Added a config option (DisableSecondUpdateLogs) to prevent log spam from OnSecondUpdate() (@Wight)
    • Added RESTful API login rate limiting (@George)
    • Added config options (MaximumRequestsPerInterval, RequestBucketDecreaseIntervalMinutes, LimitOnlyFailedLoginRequests) for rate limiting (@George)
    • DEPRECATION: Deprecated Disable(string, bool) and added Disable(string, DisableFlags). Please update your plugins accordingly (@Wight)
    • Fixed Halloween and Christmas events not working properly (@TomyLobo)
    • Fixed the demon heart's extra accessory slot not working correctly in SSC (@Wight)
    • Fixed gender-changing potions not working correctly in SSC (@hastinbe)
    • Fixed IP bans not working correctly (@hastinbe)
    • Fixed /reload not using the correct permission (@Wight)
    • Fixed TSPlayer.ActiveChest not being tracked correctly resulting in item dupes while disabled (@Wight)
    • /reload now reloads tile and projectile bans (@tysonstrange)
     
    • Useful Useful x 4
    • Like Like x 3
    • Winner Winner x 2
    #1 Wight, Oct 26, 2015
    Last edited: Oct 26, 2015
  2. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    716
    First
     
    • Funny Funny x 7
  3. Wolfje

    TShock Admin TShock Mod Zero Day Plugin Author

    Joined:
    Jul 2, 2013
    Messages:
    191
    For those who don't run bamboo, this update comes highly recommended. Please update your servers ASAP.
     
    • Agree Agree x 8
  4. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
    Fantastic update! Cheers to the team!

    Edit: Side question. Is there an error code spit out for the login rate limit or is just the same as when the login is invalid?
     
  5. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    All limit/invalid username|password/etc responses are the same in an attempt to prevent abuse of the system
     
    • Informative Informative x 2
  6. pink_panther

    pink_panther Level 9

    Joined:
    Oct 14, 2013
    Messages:
    370
    Awww... but I want my Terraria server to unnecessarily chew 1.25Gb of my memory.
     
    • Funny Funny x 4
  7. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    716
    Just run Minecraft Server on a port that's firewalled off at the same time.
     
  8. LoveOryks

    LoveOryks Level 4

    Joined:
    May 12, 2014
    Messages:
    88
    And so, another TShock update has arrived.

    Gonna update right away!

    Love ya all guys <3

    Lil' edit: What about the item prefixes? Afaik they are being removed in ssc.
     
    #8 LoveOryks, Oct 26, 2015
    Last edited: Oct 26, 2015
  9. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    This is still unresolved :(
     
    • Informative Informative x 1
  10. LoveOryks

    LoveOryks Level 4

    Joined:
    May 12, 2014
    Messages:
    88
    Okay. However thanx for solving other critical problems. Cheer up! I'm supportin' ya mentally :)
     
    • Friendly Friendly x 1
  11. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
    Now you can run TWO TShock servers. :D
     
  12. UB1AFU

    UB1AFU Level 1

    Joined:
    Aug 2, 2014
    Messages:
    5
    Yay, many thanks to the TShock team for a great update.;):cool:
    This update fixed my problems.:D
     
    • Friendly Friendly x 1
  13. pink_panther

    pink_panther Level 9

    Joined:
    Oct 14, 2013
    Messages:
    370
    The new option in config to disable on second update logs doesnt work.

    Im being spammed with Player has been disabled for not being logged in while ssc is enabled, even though "DisableSecondUpdateLogs": true,
     
  14. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    It will still log to your console, but not to file
     
  15. pink_panther

    pink_panther Level 9

    Joined:
    Oct 14, 2013
    Messages:
    370
    [​IMG]
     
    • Funny Funny x 2
  16. Bear Mormont

    Bear Mormont Level 0

    Joined:
    Oct 27, 2015
    Messages:
    4
    Tshock n00b with a quick question. After upgrading my server my previously generated worlds will continue to function, correct?
     
  17. LoveOryks

    LoveOryks Level 4

    Joined:
    May 12, 2014
    Messages:
    88
    Probably, yup, however consider making a backup of your worlds.
     
    • Like Like x 1
  18. Bear Mormont

    Bear Mormont Level 0

    Joined:
    Oct 27, 2015
    Messages:
    4
    Thanks! I do have a backup job writing to another drive just to be safe.

    Also, thanks for everyone's hard work on creating/updating TShock. I've been using it for a while now and have never posted, mainly because it's so straightforward and easy to use I've never needed to. Keep up the great work!
     
    • Friendly Friendly x 1
  19. bippity

    Plugin Developer

    Joined:
    Jan 14, 2012
    Messages:
    298
    Did you say less RAM usage?!?!
    [​IMG]
     
    • Funny Funny x 4
    • Agree Agree x 2
    • Like Like x 1
    • Friendly Friendly x 1
  20. Houyo

    Houyo Level 0

    Joined:
    Oct 28, 2015
    Messages:
    2
    Cant get the current version to work? any ideas?

    Missing method .ctor in assembly /home/candy/t2/TerrariaServer.exe, type System.Runtime.CompilerServices.ExtensionAttribute
    Can't find custom attr constructor image: /home/candy/t2/TerrariaServer.exe mtoken: 0x0a000074

    Unhandled Exception: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'TerrariaServer'.
    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'TerrariaServer'.
     
    • Disagree Disagree x 1
    • Dumb Dumb x 1