Standalone [1.3] tModLoader - A Modding API

I have a problem whenever i try to upgrade any mod this shows

Same with me. This is very frustrating. I can't play the world me and my girlfriend have put so many hours into. A lot of the items are pink now or not found because we're not able to update Calamity mod, and I hope that fixes it!
 
That means that one or more mods are crashing your game. Disable all mods, then enable them one at a time to find out which one's causing the crash. Then either get a new version of that mod, or do without it all together.

Thanks! I'll give it a go. I went back to the prior version of tmodloader and everything is fine so we'll see.
 
I used TShock to convert one of my worlds to Expert, then on trying to load the game (via tmodloader) it crashed. And then crashed again when I tried to load it again. And so on. No error message, just "Terraria stopped working". Please help? :)

Edit: Windows 10, latest version of TShock, version 10.0.2 of tModLoader
Edit 2: Apparently the server software was still running; I'd used "exit" before, but this time I used "/off -nosave" and that seems to have fixed the problem BUT... that means I can't use mods in multiplayer if I'm running a server. What's the status on efforts to make the two programs compatible?
 
Last edited:
Is there really anywhere I can learn about modding? Blushiemagic's wiki, while helpful, doesn't explain things like how to create custom bosses very well. The tmodloader documentation seems determined to not give me anything that looks relevant to actual coding. I just need something that lists the methods/classes of everything, in depth (Yes that's a lot to ask, but I do really need that). How should I be learning to mod, anyway?
 
1) how did you turn the installer into a text file by accident?
2) even if you can't just turn it back into a jar file you can just manually install tmodloader or redownload the zip file
Tried to redownload it but it didn't help and the installer was a editor/text file but still have to try manually installing it
Ps. Sleep depravation can make you do some stupid things
 
Not sure which thread to post in, the help thread seems to be about mod-making only. I'm having a problem with both v0.10.1 and v0.10.0.2 on Linux Mint 18 Cinnamon 64-bit. Even from a clean install I get the Re-Logic screen showing up, then the game is frozen on the black screen afterwards. (Clean install means existing files and folders inside .local/share/Terraria/ModLoader all moved to a backup directory, and tModLoader files freshly copied over to a new Terraria installation in .steam/steam/steamapps/common/Terraria)

The weird thing is that rarely, the game starts up fine, generating both the config files and the Worlds and Players folders inside the ModLoader directory. But both times this has happened so far, I close and restart modded Terraria and it freezes again. I have no idea how to replicate the proper startup except that it happened in v0.10.0.2 and not in v0.10.1 on both occasions.

Before I had this problem, I had vanilla Terraria, and before that, modded (I forgot which version of tModLoader). I had switched between all of these without clearing out any directories/files apart from the bare minimum necessary.
 
Still having a problem here since the 10.1 update. I'm getting these errors, even after I update Calamity mod. And Thorium hasn't had an update in days. I personally can't tell much from any of this aside from where it's referencing Terraria Version 1.3.5.1?? I have 1.3.5.2 and have not had an issue since the tModLoader update. I would love a fix to this problem or at least some insight. Until the errors on Calamity and Thorium are fixed, I can't play my world. I was happy the way things were before the update to 10.1. I even tried to revert back to v0.10.0.2, but it still didn't work.

c37c501fae0a0f2800473db639f30269.PNG


c4f763a04c5be7951f872c6bc1acbca3.PNG
 
I am not a coder, I'm trying to get back into playing terraria after a couple months of break and can't seem to get it to start after updating tmodloader.

This is the client crashlog, can somebody help?

12-Sep-17 12:50:20 AM
System.EntryPointNotFoundException: Unable to find an entry point named 'InitSafe' in DLL 'CSteamworks'.
at Steamworks.NativeMethods.SteamAPI_InitSafe()
at Steamworks.SteamAPI.Init()
at Terraria.Social.Steam.CoreSocialModule.Initialize()
at Terraria.Social.SocialAPI.Initialize(Nullable`1 mode)
at Terraria.Program.LaunchGame(String[] args)

does this help? any other information i can provide?

EDIT* it seems I have posted in the wrong section. I'm new to the forums, but do I have to delete this if I reply on the appropriate section afterwards? or can I leave this here to seek help as well?

EDIT EDIT*
I have found my mod directory and deleted all mods to a clean slate, and terraria is working as usual. hope this helps someone else.
 
Last edited:
i have somehow a problem with updating the Tmodloader from 10.0.2 to 10.1. I the versision won't change if i put the 10.1 files in the Steam Terraria file.
 
Can someone tell me how to reload Tmod itself? Every time I try to join my friends, this weird error pops up. It says something along the lines of "This mod was something something, blah blah blah", and when I click continue, that mod is gone from my mods list. i have to reload that mod and it"s really annoying. Plez help!!!
 
I had to create an account specifically for this. Since updating to the latest version, my server no longer works. I have it hosted through CreeperHost and have even contacted them. They've been at it for a few hours and gotten the exact same results as me, before finally saying to contact the devs of tModLoader. So here I am.

Below is the crashlog generated by the game, and that's from a completely clean install of just Terraria and tModLoader. Anyone at all able to shed some light on this?

Code:
9/12/2017 10:22:55 AM
System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Array+FunctorComparer`1[System.Int32]'.
  at System.Collections.Generic.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0000b] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) [0x00022] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Array.Sort[T] (T[] array, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) [0x00048] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00019] in <902ab9e386384bec9c07fa19aa938869>:0
  at Terraria.UI.ItemSorting+ItemSortingLayers+<>c.<.cctor>b__40_0 (Terraria.UI.ItemSorting+ItemSortingLayer layer, Terraria.Item[] inv, System.Collections.Generic.List`1[T] itemsToSort) [0x00065] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.UI.ItemSorting.SetupWhiteLists () [0x0021b] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.ModLoader.ModLoader.do_Load (System.Object threadContext) [0x001ab] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.Main.DedServ () [0x00068] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.Program.LaunchGame (System.String[] args, System.Boolean monoArgs) [0x000f1] in <85546c4a76e0492cbc945f6425078a2a>:0

9/12/2017 10:23:11 AM
System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Array+FunctorComparer`1[System.Int32]'.
  at System.Collections.Generic.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0000b] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) [0x00022] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Array.Sort[T] (T[] array, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) [0x00048] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00019] in <902ab9e386384bec9c07fa19aa938869>:0
  at Terraria.UI.ItemSorting+ItemSortingLayers+<>c.<.cctor>b__40_0 (Terraria.UI.ItemSorting+ItemSortingLayer layer, Terraria.Item[] inv, System.Collections.Generic.List`1[T] itemsToSort) [0x00065] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.UI.ItemSorting.SetupWhiteLists () [0x0021b] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.ModLoader.ModLoader.do_Load (System.Object threadContext) [0x001ab] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.Main.DedServ () [0x00068] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.Program.LaunchGame (System.String[] args, System.Boolean monoArgs) [0x000f1] in <85546c4a76e0492cbc945f6425078a2a>:0
 
I had to create an account specifically for this. Since updating to the latest version, my server no longer works. I have it hosted through CreeperHost and have even contacted them. They've been at it for a few hours and gotten the exact same results as me, before finally saying to contact the devs of tModLoader. So here I am.

Below is the crashlog generated by the game, and that's from a completely clean install of just Terraria and tModLoader. Anyone at all able to shed some light on this?

Code:
9/12/2017 10:22:55 AM
System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Array+FunctorComparer`1[System.Int32]'.
  at System.Collections.Generic.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0000b] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) [0x00022] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Array.Sort[T] (T[] array, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) [0x00048] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00019] in <902ab9e386384bec9c07fa19aa938869>:0
  at Terraria.UI.ItemSorting+ItemSortingLayers+<>c.<.cctor>b__40_0 (Terraria.UI.ItemSorting+ItemSortingLayer layer, Terraria.Item[] inv, System.Collections.Generic.List`1[T] itemsToSort) [0x00065] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.UI.ItemSorting.SetupWhiteLists () [0x0021b] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.ModLoader.ModLoader.do_Load (System.Object threadContext) [0x001ab] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.Main.DedServ () [0x00068] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.Program.LaunchGame (System.String[] args, System.Boolean monoArgs) [0x000f1] in <85546c4a76e0492cbc945f6425078a2a>:0

9/12/2017 10:23:11 AM
System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Array+FunctorComparer`1[System.Int32]'.
  at System.Collections.Generic.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0000b] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) [0x00022] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Array.Sort[T] (T[] array, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) [0x00048] in <902ab9e386384bec9c07fa19aa938869>:0
  at System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00019] in <902ab9e386384bec9c07fa19aa938869>:0
  at Terraria.UI.ItemSorting+ItemSortingLayers+<>c.<.cctor>b__40_0 (Terraria.UI.ItemSorting+ItemSortingLayer layer, Terraria.Item[] inv, System.Collections.Generic.List`1[T] itemsToSort) [0x00065] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.UI.ItemSorting.SetupWhiteLists () [0x0021b] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.ModLoader.ModLoader.do_Load (System.Object threadContext) [0x001ab] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.Main.DedServ () [0x00068] in <85546c4a76e0492cbc945f6425078a2a>:0
  at Terraria.Program.LaunchGame (System.String[] args, System.Boolean monoArgs) [0x000f1] in <85546c4a76e0492cbc945f6425078a2a>:0
I'm guessing you are running mono instead of the included script.
 
Back
Top Bottom