• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

Standalone [1.3] tModLoader - A Modding API

Squishbruh

Terrarian
I am having a problem, when i checked on the local files to get onto modded terraria, i had just updated terraria. When i looked at the files, the modded terraria was reverted back to vanilla. Is there a reason and how do i fix this?
 

qoob

Terrarian
I als
Please, help me. So in Github I saw Tmodloader 0.11.1v realese... so I downloaded it and I put all the files into the folder, where my terraria is installed. But when I try to run Tmodloader Terraria it not even giving me any problem, it's not even running... how can I solve this problem?.
Also in older Tmodloader version there were folder called "Modcompile" but in new one it's separately from Tmodloader.
I also have this problem
 

Zenki

Skeletron Prime
I am having a problem, when i checked on the local files to get onto modded terraria, i had just updated terraria. When i looked at the files, the modded terraria was reverted back to vanilla. Is there a reason and how do i fix this?
I had that problem. What I did was delete Terraria and TMod Loader, then reinstall'em both from zero
 

Swiftyhorn

Terrarian
Hey, im really stuck on a mod im making.
I have my own ammo type, and guns that use it, but I have one specific gun that I need help with.

What I want to do is check if I have any of the ammoType in my bags, if not then deal 2 damage to the player, and create a BloodshardBolt ammo, then shoot that ammo instead.

I feel like I have tried everything, tried asking if (mod.itemType("MyAmmo") <=0)
{
//Do Stuff
}

Tried overriding PickAmmo but its just errors all over the place.

Tried item.useAmmo = mod.ItemType("BloodshardBolts");

Tried bypassing the ammo thing entirely and shooting the projectile in the weapons shoot()
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, mod.ItemType("BloodshardBolts"), damage, knockBack, player.whoAmI, 0f, 0f);

Tried the same thing but passing it a type
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, type, damage, knockBack, player.whoAmI, 0f, 0f);
type = mod.ProjectileType("BloodshardBolts");

Literally nothing works, I can get it to convert the ammo to the new type while i have more than 0, but once it hits 0 nothing works.
There is no way I can figure out to replace it once it hits 0. Or even check that its at 0.

For the second issue which is damaging me when I use it without ammo.

Tried to get the Shoot() to hurt the player, but only thing that worked was player.statLife -= 2; or player.HealEffect(-2, true);
which was more of a negative heal since no damage worked, it always expected a death and not just damage.
Tried Player.Hurt(2); which did nothing, tried passing it the projectiles direction to stop the error, but still did nothing.

Any help is appreciated, main things I dont understand is how to check the ammo, then how to replace the ammo if its 0, or to bypass this and shoot the projectile directly and skip the normal shoot. Projectile.NewProjectile didn't work.
Also need to find a way to hurt the player and show the damage text above them.
 

WilRop1

Terrarian
Hi, I'm on mac and when I drag the files into the correct folder, Terraria just doesn't run. I've uninstalled the game about 5 times, and nothing has happened. I've redownloaded all the files. I've even clicked on the tmodloader terminal file, which works and runs tmodloader. I'm very confused, please help.
 

jopojelly

Retinazer
Hi, I'm on mac and when I drag the files into the correct folder, Terraria just doesn't run. I've uninstalled the game about 5 times, and nothing has happened. I've redownloaded all the files. I've even clicked on the tmodloader terminal file, which works and runs tmodloader. I'm very confused, please help.
sounds like you didn't do the special copy and paste, you'll need to read the readme.txt to fix your install.

Does Steam Host & Play work? I have heard it might but I want to know
It works.
 

ozoahameg

Terrarian
um in not sure where can i ask this but i have a problem
whenever i use too much water in terraria my game cant finish saving, and gets stuck and suddenly pops out or just stuck forever until i use task manager to end it

the bug goes is like this
i play terraria and pour a ton of water on a container, then when i exit it stops saving my world and stopped responding
i can save it if i only place water little by little but if i pour in a whole ton of it like 500 blocks worth of water it buggs
i tried looking at the logs ad this is what it says

this is the last line of the logs where the but/error is stated


[21:07:34] [31/ERROR] [tML]: Unhandled Exception
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Terraria.IO.WorldFile.SaveWorldTiles(BinaryWriter writer)
at Terraria.IO.WorldFile.SaveWorld_Version2(BinaryWriter writer)
at Terraria.IO.WorldFile.saveWorld(Boolean useCloudSaving, Boolean resetTime)
at Terraria.WorldGen.SaveAndQuitCallBack(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()
[21:07:37] [12/DEBUG] [tML]: Web Request: http://mirsar.io/Files/Public/Overhaul/OverhaulInfo.json


please help
 

NeoThyMighty

Terrarian
So I have this problem where (I also think it is a universal mod bug) I can't equip certain accessories without them freezing me in place.

The world works as intended so it's not an autopause but I still can't use items when I have equipped some of these items.
Some of the items iclude:
Deathbringer Fairy (Fargo's soul mod)
Memer's Riposte (AlchemistNPC)

I don't know how to fix this. I have scoured the internet and I can't find anyone who has had this glitch before. Does anyone have the mind to help me in my endeavours to conquer the terrarian world that I live in for the moment? (FYI I've never had this glitch before and I have over 2K hours total playtime)
 

traintitanic

Terrarian
So I get this lovely little box upon startup of the game:

1570564743054.png


I've uninstalled / verified game cache multiple times and this still occurs.
Please help.

EDIT: Verification allows for launch of game without mods, using the install JAR produces that error
 
Last edited:

ahehehe

Terrarian
Hi everyone, I just recently downloaded tmodloader yesterday. Didn't install any mods though, then I hop back on today and there was a new update which was 11.5, so I install that. Got a couple mods downloaded and tried running the game. I also installed Terraria Overhual and when the mod was enabled, the debug console was on the screen the whole time. Don't know if that's an issue or if it's just like that. After making my character and map loaded, I try to type into chat to disable the console configuration and the game crashes and I get this error. Any help would be great.
 

Attachments

blushiemagic

Retinazer
v0.11.5 is now released:

QOL
-Auto-Update implemented on Linux and Mac (subsequent release should be available as auto-update)
-Mac manual install greatly simplified
-Linux manual install simplified, now distributed as .tar.gz instead of .zip
-First Launch Welcome Message
-Navigating from More Info back to Mods menu now preserves scroll position
-Clear button in modded hotkeys menu
-Updating disabled mods no longer forces it to be enabled
Fixes
-Fix issues with logs that prevented the game from launching
-Fix super fast scrolling issues
-Fix server side ModConfigs failing to save when edited in-game
-Fix Smart Select bypassing ModNPC and GlobalNPC CanChat. Thanks @DarkLight66
-Fix ModConfig DictionaryElement Key/Value types swapped issue
-Fix TmodFile leaving handle open on read exception.
-Fix ModNet progress UI
-Fix issue preventing mod compilation in Visual Studio ("Failed to resolve assembly")
-Fix duplicate copies of .tmod mods freezing the game
-Fix issue with hideResources
-Fix cancelled Mod Compile download issue
-Fix out of bounds error with NPCDefinition
-Fix recursive logging bug
-Fix DrawBody issue
-Fix empty enabled.json issue
-Fix "Publish using tmodloader" issue while attempting to publish a mod
-Main.Support4K no longer automatically disabled
-Fix Patreon link being clicked while game not active
API
-Update Migration Guide -- If you make mods, please consult this page for info on migrating to v0.11.5.
-All generic versions of XType methods in Mod are now Obsolete, use ModContent.XType instead. (Use using static Terraria.ModLoader.ModContent; to simplify code.)
-Move mod unloading onto background thread in client (consistent with mod loading)
-Mod.ExtraPlayerBuffSlots, allows mods to expand the number of buff slots during mod loading. Thanks @AnimeCatgirl
-ColorHSLSlider and ColorNoAlpha attributes for ModConfig Color
-Many namespaces have changed, in case you are doing reflection. (Look in Terraria.ModLoader.Engine, Terraria.ModLoader.Core, etc)
-Many PreX and OnX hooks no longer "short-circuit", allowing all classes to run even if a method in another mod returns a value that will prevent the later methods from running. Thanks @Mirsario
-Logs will now mirror to Debug Output window in Visual Studio
-ModTile.RightClick replaced with ModTile.NewRightClick. New method allows fixing issues with right clicks causing weapons to activate.
-Global/ModNPC.OnCatchNPC hook for when npc are caught in net. Thanks @direwolf420
-ExtractMod now extracts xml documentation file if present.
-ContentInstance.Register can be used to register a single instance of a class, to simplify proper mod unloading
-MonoMod updated to v19.10.05.02. Thanks @0x0ade
ExampleMod
-Example of Dynamic Localized Label for ModConfig (modded item in chat tag)
-Updated to show GetInstance usage.
 

NeoThyMighty

Terrarian
So umm... This is what happens when I play and it only happens with ridiculously OP accessories such as Berserker's Soul from Fargo's soul mod.
I don't know how to fix this. It seems impossible to fix since I've tried to redownload tmodloader and even the new version but it doesn't seem to work.
I need help pls :(
20191011115555_1.jpg
 

Pure7865

Terrarian
Hi everyone, I just recently downloaded tmodloader yesterday. Didn't install any mods though, then I hop back on today and there was a new update which was 11.5, so I install that. Got a couple mods downloaded and tried running the game. I also installed Terraria Overhual and when the mod was enabled, the debug console was on the screen the whole time. Don't know if that's an issue or if it's just like that. After making my character and map loaded, I try to type into chat to disable the console configuration and the game crashes and I get this error. Any help would be great.
Having the exact same problem, when I hit play it almost finishes loading but then it crashes and shows the same error message. Happening with the new update, did you get a fix for this?

EDIT: Are you using the Terraria Overhaul - Major redesign update! mod? Because if I disable all of my mods, the debug console disappears and only comes back when I re-enable the Overhaul mod.
 
Top Bottom