Welp, missed that update then.Actually, tModloader IS updated to 1.3.3.2, it has been for a couple of weeks now, the problem is, as @Trivaxy said:
Welp, missed that update then.Actually, tModloader IS updated to 1.3.3.2, it has been for a couple of weeks now, the problem is, as @Trivaxy said:
We probably have the same problem. Which mods do you have on? Maybe it has something to do with them?It keeps crashing every 5-10 minutes of game play. I have had no problem with tmodloader in the past until now..
Missing mod: Headband/Armor/Headband_Head
at Terraria.ModLoader.ModLoader.GetTexture(String name)
at Terraria.ModLoader.Mod.AddEquipTexture(EquipTexture equipTexture, ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AddEquipTexture(ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AutoloadItem(Type type)
at Terraria.ModLoader.Mod.Autoload()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
It mignt be calamity, all the mods I have in the pack ive used in the past with no issue, tbh idkIt keeps crashing every 5-10 minutes of game play. I have had no problem with tmodloader in the past until now..
c:\Users\Samu\Documents\My Games\Terraria\ModLoader\Mod Sources\Random_Mod\Items\Armor\Headband.cs(38,25) : error CS0103: The name 'ItemID' does not exist in the current context
using System.Collections.Generic;
using Terraria;
using Terraria.ModLoader;
namespace Random_Mod.Items.Armor
{
public class Headband : ModItem
{
public override bool Autoload(ref string name, ref string texture, IList<EquipType> equips)
{
equips.Add(EquipType.Head);
return true;
}
public override void SetDefaults()
{
item.name = "Headband";
item.width = 18;
item.height = 18;
item.toolTip = "A headband";
item.value = 10000;
item.rare = 2;
item.defense = 20;
}
public override void UpdateArmorSet(Player player)
{
player.meleeDamage *= 0.8f;
player.thrownDamage *= 0.8f;
player.rangedDamage *= 0.8f;
player.magicDamage *= 0.8f;
player.minionDamage *= 0.8f;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.DirtBlock); (The problem is here, all text within these brackets is not part of the code)
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
using Terraria.ID; at the top.So, I managed to get past most of the errors I encountered by just directly copypasting everything from the ExampleMod
But now I got this error code
The piece of code the error code refers to is identical to the one on the ExampleModCode:c:\Users\Samu\Documents\My Games\Terraria\ModLoader\Mod Sources\Random_Mod\Items\Armor\Headband.cs(38,25) : error CS0103: The name 'ItemID' does not exist in the current context
Here's the code:
Code:using System.Collections.Generic; using Terraria; using Terraria.ModLoader; namespace Random_Mod.Items.Armor { public class Headband : ModItem { public override bool Autoload(ref string name, ref string texture, IList<EquipType> equips) { equips.Add(EquipType.Head); return true; } public override void SetDefaults() { item.name = "Headband"; item.width = 18; item.height = 18; item.toolTip = "A headband"; item.value = 10000; item.rare = 2; item.defense = 20; } public override void UpdateArmorSet(Player player) { player.meleeDamage *= 0.8f; player.thrownDamage *= 0.8f; player.rangedDamage *= 0.8f; player.magicDamage *= 0.8f; player.minionDamage *= 0.8f; } public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); recipe.AddIngredient(ItemID.DirtBlock); (The problem is here, all text within these brackets is not part of the code) recipe.SetResult(this); recipe.AddRecipe(); } } }
Check all the folder spellings, I guess.Can someone help me?
I'm trying to make a simple headpiece and, what I understand, Tmodloader doesn't recognize the sprite
What does that mean?Code:Missing mod: Headband/Armor/Headband_Head at Terraria.ModLoader.ModLoader.GetTexture(String name) at Terraria.ModLoader.Mod.AddEquipTexture(EquipTexture equipTexture, ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture) at Terraria.ModLoader.Mod.AddEquipTexture(ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture) at Terraria.ModLoader.Mod.AutoloadItem(Type type) at Terraria.ModLoader.Mod.Autoload() at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
I have a file called "Headband_Head.png" in the correct folder and it seems like I didn't do any typos
Then do the manual install.When I try to run installer it says: "Could not find place to install to"
Read OP, it says how players and worlds are kept separately and where those areHow come when I installed this mod it got rid of all my characters?
Any update on your end? Did you manage to fix anything?It mignt be calamity, all the mods I have in the pack ive used in the past with no issue, tbh idk
using Terraria.ID; at the top.
[doublepost=1475095176,1475095134][/doublepost]
Check all the folder spellings, I guess.
[doublepost=1475095193][/doublepost]
Then do the manual install.
On your ModItem:View attachment 141927
So I managed to bring my ugly headband to life, it's my first piece of equipment that I bothered to create new sprites for.
And it's animated, when I walk the loose ends of the headband move.
How do I make it so it doesn't make my hair disappear?
public override void DrawHair(ref bool drawHair, ref bool drawAltHair)
{
drawHair = drawAltHair = true;
}
Try looking in the example mod, it'll help you get started.how do i make a custom event?