• 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.
  • 1.4 will bring many changes to the PC version. We strongly advise making plans to back up your worlds and players prior to updating your game. More details here.
  • Begin your search for Journey's End information here and here. Please report bugs and issues for Journey's End here.
  • 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.

tModLoader Official tModLoader Help Thread

mysticzealot

Terrarian
Hey so im trying to download the modloader and the exe file that should be there is a zip file. In the zip file is more files but still no exe. What could I have done wrong?
 

Attachments

Dwang040

Terrarian
Hey so im trying to download the modloader and the exe file that should be there is a zip file. In the zip file is more files but still no exe. What could I have done wrong?
It's there! It's just called an application in file explorer. If you look at the picture or the zipped up folder, you'll notice an application called terraria (and if you have file explorer set up to show file type/ extensions, it would display as terraria.exe). So yeah, you have everything that you need to move into the steam/gog game folder.

attachment: an image showing what the files look like with type/ extension showing in file explorer.
 

Attachments

HilariousSparta

Terrarian
How do I add multiple items to one mod?

To elaborate, I wanted to have multiple weapons in a mod I'm making. However, I'm unsure of how to do so. Do I just add another file for the code of the item with the sprite and everything, or is something specific that I need to do?
 

Er001

Terrarian
Help please, me and my friend have been trying all day to make a tmodloader server, we've done it before but now it just says "Gathering information" when i try to start it, and it stays on that forever.
 

BrodyTerrarian

Terrarian
Hello, I removed TModLoader for awhile to play vanilla with friends using the verify integrity of game files way, and now I have no idea how to get ModLoader back. Any help would be much appreciated.
 

Will-Banksy

Skeletron Prime
Hello, I removed TModLoader for awhile to play vanilla with friends using the verify integrity of game files way, and now I have no idea how to get ModLoader back. Any help would be much appreciated.
You simply install tModLoader the way you did the first time. All your worlds/players etc. will be saved from when you last had tModLoader installed
 

DatScoot シ

Terrarian
How do I add multiple items to one mod?

To elaborate, I wanted to have multiple weapons in a mod I'm making. However, I'm unsure of how to do so. Do I just add another file for the code of the item with the sprite and everything, or is something specific that I need to do?
Yeah, you can just add another code file and sprite to the same folder your first item was in and it will add the next item.
 
so i have ores that are supposed to spawn when you defeat moon lord and they work on singleplayer but not on multiplayer
anyone know how to fix this

using System.IO;
using Terraria;
using Terraria.ModLoader;
using Terraria.ModLoader.IO;

namespace MoreWeaponsAndTools
{
public class RyftWorld : ModWorld
{
public static bool spawnPostMoonLordOre;



public override void Initialize()
{
spawnPostMoonLordOre = false;
}

public override void Load(TagCompound tag)
{
spawnPostMoonLordOre = tag.GetBool("spawnPostMoonLordOre");
}
public override void LoadLegacy(BinaryReader reader)
{
int loadVersion = reader.ReadInt32();
if (loadVersion == 0)
{
BitsByte flags = reader.ReadByte();
spawnPostMoonLordOre = flags[0];
}
else
{
mod.Logger.WarnFormat("Ryft: Unknown loadVersion: {0}", loadVersion);
}
}
public override TagCompound Save()
{
return new TagCompound {
{"spawnPostMoonLordOre", spawnPostMoonLordOre }
};
}
public override void NetSend(BinaryWriter writer)
{
var flags = new BitsByte();
flags[0] = spawnPostMoonLordOre;
writer.Write(flags);


}

public override void NetReceive(BinaryReader reader)
{
BitsByte flags = reader.ReadByte();
spawnPostMoonLordOre = flags[0];
}


}
}
if (npc.type == NPCID.MoonLordCore)
{
if (!RyftWorld.spawnPostMoonLordOre)
{
Main.NewText("Foreign Materials have materialized within the earth", 200, 200, 55);
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 60E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayerLow, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(9, 15), WorldGen.genRand.Next(5, 9), (ushort)mod.TileType("AmuriumOreTile"));
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 55E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayerLow, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(8, 14), WorldGen.genRand.Next(4, 7), (ushort)mod.TileType("NiobiumOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 30E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(4, 8), WorldGen.genRand.Next(2, 4), (ushort)mod.TileType("HexoniumOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 40E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(9, 15), WorldGen.genRand.Next(5, 9), (ushort)mod.TileType("OcniumOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 50E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(6, 10), WorldGen.genRand.Next(3, 7), (ushort)mod.TileType("ZanadiumOreTile"));

}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 30E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200); //this is the coordinates where the veins ore will spawn, so in Cavern layer
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(4, 8), WorldGen.genRand.Next(2, 4), (ushort)mod.TileType("IridiumOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 40E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(9, 15), WorldGen.genRand.Next(5, 9), (ushort)mod.TileType("VibraniumOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 40E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(5, 10), WorldGen.genRand.Next(3, 6), (ushort)mod.TileType("BavariumOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 37E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(9, 15), WorldGen.genRand.Next(5, 9), (ushort)mod.TileType("KatchintiteOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 34E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(5, 10), WorldGen.genRand.Next(3, 6), (ushort)mod.TileType("TraptaniumOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 27E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(5, 10), WorldGen.genRand.Next(3, 6), (ushort)mod.TileType("AjaOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 32E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(4, 8), WorldGen.genRand.Next(2, 4), (ushort)mod.TileType("KryptoniteOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 40E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(6, 11), WorldGen.genRand.Next(4, 8), (ushort)mod.TileType("RedstoneOreTile"));
}
for (int k = 0; k < (int)((double)(WorldGen.rockLayer * Main.maxTilesY) * 35E-05); k++)
{
int X = WorldGen.genRand.Next(0, Main.maxTilesX);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer, Main.maxTilesY - 200);
WorldGen.OreRunner(X, Y, WorldGen.genRand.Next(5, 10), WorldGen.genRand.Next(4, 8), (ushort)mod.TileType("PhosphorusStoneTile"));
}
RyftWorld.spawnPostMoonLordOre = true;
}
else
{
Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, mod.ItemType("RyftCrystal"), 1);
}

}
 

Seb2807

Terrarian
buenas una pregunta ¿ a ustedes no les esta pasando que no les funciona el navegador de mods, esta desactivado o algo por el estilo?
 

Speeder

Terrarian
So whenever I try to launch the game now I get the message: "Please ensure Stream is logged in and running"

So... what is up with that?
 

Oh Tassos

Terrarian
Long story short: I got Terraria, GOG version. It was on 1.3.5.3, then I installed tmodloader. Now, my game is on version 1.3.5.2. I originally didn't worry about it at all, since I installed it the same way on my server app thing, thinking it would downgrade there too. Surprisingly, when I tried joining I got this error message in the terminal:

: 127.0.0.1:54517 is connecting...
127.0.0.1:54517 is connecting...
127.0.0.1:54517 was booted: You are not using the same version as this server.

Note that "You are not using the same version as this server." also appeared in-game.
 

Creepercomix

Terrarian
I am having issues with my mod browser, I have an attached photo with the issue. My internet is fine, and It has worked before. Stopped working over 24 hours ago. What should I do?
 

Attachments

ProjectET

Spazmatism
I am having issues with my mod browser, I have an attached photo with the issue. My internet is fine, and It has worked before. Stopped working over 24 hours ago. What should I do?
looks like javid.ddns.net is down and thus is timing out I'm also getting the issue.
 

EvanKrusher Ω

Skeletron Prime
projectile.timeLeft = 60;
It's an integer, if you want to put this in your setdefaults of your projectile. Setting this value to 60 will make last 1 second without any extra updates.
This number is subtracted by 1 every game update, the one is increased if your projectile has extra updates.
 
Top Bottom