tModLoader Official tModLoader Help Thread

I have Terraria on Steam via family share, how can I play with tmodloader in multiplayer? I googled it and some people are saying on reddit and steam forums/discussions hat you have to download tmodloader manually?
 
Negative. Unfortunately it seems it is not possible as explained here on the store page.

Tmod itself is not a game, merely an extension of code that allows mods to be compatible with the game. Even if you acquire Tmod without Steam, the game would still be required to patch properly.

To my knowledge, gameshare doesn't act as ownership, and thus will not allow Tmod multiplayer.

Thag being said, take the above with a shovel of salt, as I am no rocket surgeon.
 
I have Terraria on Steam via family share, how can I play with tmodloader in multiplayer? I googled it and some people are saying on reddit and steam forums/discussions hat you have to download tmodloader manually?
Hi @kubaaa203 I moved your post (and any replies) into this TML help thread (out of the Guides section).
 
I'm having a problem with RAM usage in TModLoader(Windows 1.4.3). My RAM seems to be capped at 1.7 GB and this is causing my framerate to suffer severely. This is only becoming a problem with the more intense post-moonlord bosses but I can not get more than 10 FPS with a lot going on and the memory refuses to increase to the 4 GB that should be allocated by default. My RAM hovers around 50% of the total according to task manager, so I am confused as to why it cannot use more. I checked the configs just to make sure I couldn't change it there and there appears to be no setting to change the allocated memory.

Also, when I set the program priority to high on task manager it did not help with the performance, so that is why I think it is purely a RAM problem. It uses at max around 10% of my CPU and 6% of my GPU(and it is practically the only thing being used for either), while the memory capped out at ~1730 MB.

Also, this screenshot is from the console right after all of the mods finish initializing. Thanks to anyone who can help out with this :)

yesbutwhy(NULL).png
 
Does anyone have a good tutorial or explanation for framedtile sheets, like as in what sprite is what across the sheet? And how they need to be ordered to function properly.

Also a second question, is there any chance of an example paint in the example mod, I've been digging around but can't seem to find one.
 
Last edited:
hahha funny icon
 
hahha funny icon
Hi there @Some Troll Guy welcome to the forums.

Your post here doesn’t have anything to do with the topic though. If you’re going to post in a thread, your message needs to be about the thread’s topic, not just random stuff. Please keep that in mind going forward. :)
 
I'm not sure if I can seek help here, but I thought maybe I could give it a try.
I have recently switched to an ultrawide monitor, but TML doesn't display correctly. There is a black area at the edges. Is there any way to fix this?
This is the actual display state.
1695222152658.png

I have identified the cause of the issue. It is a problem with "Lights And Shadow", not a TML error.​

 
Last edited:
hey, I have a problem where SetDefault in "DisplayName.SetDefault" (im trying to make the display name blue orb) (a custom projectile I'm making called blue orb) is underlined in red and I saw alot of vids and the word was yellow and the mod worked. except for me :( I'm using visual studio and idk why this word just happens to be underlined in red. here's the photo for proof:
pls help and help me fix this please.
 

Attachments

  • image_2023-09-21_200418638.png
    image_2023-09-21_200418638.png
    143.4 KB · Views: 141
The DisplayName.setDefault has been moved to the localisations in 1.4.4
 
I updated Windows last night and now tmodloader won't make it to the main menu, I tried deleting the entire game folder including world and mod data in documents and disabling steam cloud to run a clean full reinstall but the issue persists, I tried uninstalling my dotnet and reinstalled 6.0.9 instead cause someone said that helped but the issue persists, I tried running the tmodload batch files as admin but the issue still persists. Here's the launch logfile and a few others.

Edit: I tried clearing the Steam download cache, issue persists.

Edit #2: Solved... I used individual app volume control in windows 10 settings, after restoring them to windows recommended default the game launches again.
 
Last edited:
I am trying to make a custom dye, but "GetEffect()" throws an error. Am I missing a using directive and if so, what am I missing?

Code:
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.IO;
using TantumMod.Items.Dyes;
using Terraria;
using Terraria.Graphics.Effects;
using Terraria.Graphics.Shaders;
using Terraria.ID;
using Terraria.ModLoader;


namespace TantumMod
{
    public class TantumMod : Mod
    {
        public override void Load()
        {
            if (!Main.dedServ)
            {
                GameShaders.Armor.BindShader(ModContent.ItemType<GY90Dye>(), new ArmorShaderData(new Ref<Effect>(GetEffect("Effects/GY90Dye")), "GY90Pass"));
            }
        }

//I have only included a snippet of the code as the rest is most likely irrelevant (It handles packets for a custom life crystal)

Edit: I figured out that I could just use Assets.Request<Effect>("Effects/GY90Dye", AssetRequestMode.ImmediateLoad).Value) instead and it works
 
Last edited:
Hello me and my friend recently started a calamity world but randomly his computer just shut down and when he booted it back up calamity wouldn't download and it would say "cloud operation failed" anyone know how to fix?
 
The game crashed because I was out of ram, then it told me the files were corrupted
I deleted the tmodloader files and then clicked "check file integrity" causing steam to redownload them
I deleted the config.jason and replaced it with the config zip as said in the troubleshooting guide
I could open the game but I couldn't enter one world
I may have deleted something about the world in the process, but how do I know what I deleted?
I spent a long time on the world and I don't know what else to do. Is this a vanilla problem?
I don't have any backups from before the problem started
 
Last edited:
The game crashed because I was out of ram, then it told me the files were corrupted
I deleted the tmodloader files and then clicked "check file integrity" causing steam to redownload them
I deleted the config.jason and replaced it with the config zip as said in the troubleshooting guide
I could open the game but I couldn't enter one world
I may have deleted something about the world in the process, but how do I know what I deleted?
I spent a long time on the world and I don't know what else to do. Is this a vanilla problem?
What are your PC specs?
 
I have a massive issue with tmodloader currently. There is no sound AT ALL, when connected to my (wireless) headphones. When connected to my (wireless) speaker, sound works perfectly fine. When my headphones are connected, and I have all audio enhancements turned off, sound works fine, but evidently sounds pretty bad. I've reinstalled, updated, tried betas, made sure its nothing volume related, this issue occurs with or without mods enabled, its not a windows 10 issue or any driver/update issues either as the tmodloader audio issue arose without anything being changed. One moment the game was working perfectly fine with audio, then next time i launched it, it had no audio. This started yesterday, and everytime i closed the game, i would get a .NET has stopped working error. I updated the .NET framework, and that issue was resolved. Now the audio issue persists, and its extremely infuriating. Could anyone please help me resolve this issue without being forced to play with terrible audio?

the fix with disabling audio enhancements can be found in this short steam thread. the 5th comment gives the solution. No Sound :: tModLoader General Discussions
 
Back
Top Bottom