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.

Must Read My <insert thing here> won't work!

Discussion in 'Help and Support' started by Wight, Aug 28, 2014.

  1. Wight

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

    Joined:
    May 20, 2012
    Messages:
    1,598
    Can't superadmin?
    Read the wiki: https://tshock.atlassian.net/wiki/display/TSHOCKPLUGINS/Installation Instructions

    Don't know how to use permissions or commands or use TShock in general?
    The complete guide by Ijwu is awesome! https://tshock.atlassian.net/wiki/display/TSHOCKPLUGINS/Complete Guide
    There's also a full list of commands and permissions, here: https://tshock.atlassian.net/wiki/pages/viewpage.action?pageId=3047433

    World won't show?
    Are you running Linux? This is a known issue. Check out the Linux Support node!
    https://tshock.co/xf/index.php?forums/linux-support.44/

    Crash message displayed in console?
    Does it look roughly like this?
    https://tshock.co/xf/index.php?attachments/error-18_08_2014_17_44_22-png.348/
    That's not a TShock problem! Try posting it in the plugin thread that's mentioned (Infinite Chests, in this case)

    Otherwise...
    Read this and learn how to tell what is going on: https://tshock.co/xf/index.php?thre...n-for-non-programmers-how-to-read-errors.671/

    Does it refer to TShock in the first two lines of the stack track (i.e., at TShock.Stuff.Whatever)?
    It's probably related to TShock. If it mentions the TShock config, delete your config.json file and let it be rebuilt.
    If it mentions a Method Missing Exception or the like, redownload TShock. You should be able to keep your /tshock/ folder (the one that holds config.json and tshock.sqlite).

    Console telling you a plugin is built for the wrong Api Version?
    Have a read of this: https://tshock.co/xf/index.php?threads/read-this-not-using-the-latest-version.1446/

    Got this message in your logs?
    Code:
    2014-07-08 13:35:14 - PacketBufferer: WARNING: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
      at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
      at TShockAPI.PacketBufferer.SendBytes(ServerSock socket, Byte[] buffer, Int32 offset, Int32 count)
    
    It's only a warning! Don't worry about it, it's simply saying that someone disconnected.

    Does your server crash when you try and join it?
    Make sure you're using Multiplayer -> Join -> 127.0.0.1 and whatever port you're running on.
    If you open TShock then attempt to use Host & Play, it will crash when you join!

    Minimap resets every time you join the server?
    This is caused by two config options: "ServerName":"string" and "UseServerName": bool.
    Set UseServerName to false if you have access to this option and don't want your minimap to reset.



    If your question is not answered here, create a new thread. Otherwise you'll simply be linked to this thread. But before you create a new thread, make sure you read the other stickies:
    https://tshock.co/xf/index.php?threads/how-to-correctly-post-problems-questions.12/
    https://tshock.co/xf/index.php?threads/no-shirt-no-shoes-no-logs-no-service.301/
    https://tshock.co/xf/index.php?threads/read-this-not-using-the-latest-version.1446/

    Hope this helps!
     
    • Like Like x 8
  2. Terrabear

    Terrabear Level 6

    Joined:
    Jun 26, 2014
    Messages:
    138
    My Love for WhiteX won't work!

    Sorry.. :oops:

    Anyway, cool idea really.
     
    • Like Like x 2
  3. Loohney

    Loohney Level 1

    Joined:
    Oct 23, 2014
    Messages:
    17
    This message filled up 1.950.000 lines in the log.
    Any ideas for that?
     
  4. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397

    Wow, did you even try to read the op before making your post, or do you think you are somehow special? Warning issued.
     
  5. RoberSonic

    RoberSonic Level 0

    Joined:
    Jul 19, 2015
    Messages:
    2
    Tshock not working, when i open the server this error shows up, Solutions??
     

    Attached Files:

  6. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    @RoberSonic
    Upgrade to the latest NewtonSoft.Json.dll, found in the latest tShock releases.
     
  7. RoberSonic

    RoberSonic Level 0

    Joined:
    Jul 19, 2015
    Messages:
    2
    But i already upgraded the NewtonSoft.Json.dll wich came in the lastest version of tshock 4.3.5
    And i still get the error
     
  8. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    @RoberSonic The screenshot of the error clearly shows that you are not using the latest version.
     
  9. Enerdy

    Enerdy Satellite Admin
    TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    506
    That is not an issue with his Newtonsoft.Json.dll file. Please do more research before making such allegations.

    The important part of the error message is sadly not in English (I hate Microsoft's convention of having it be the system language), but it reads something similar to "Failed to load type IReadOnlyDictionary from assembly mscordlib". This type was introduced in .NET 4.5, as shown here.

    He clearly doesn't have .NET 4.5 installed.

    This error happened because Newtonsoft.Json.dll tried to load a .NET 4.5-only type, as we're now using the net45 version of the Newtonsoft.Json binary.
     
  10. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    Oh crap, that's what I get for not paying enough attention while phone-posting.

    I apologize, Enerdy is right.