Standalone [1.3] tModLoader - A Modding API

Please i don't know where to go with this problem so please help! i finally figured out that errors that i get are because i "Don't Have enough memory" but when i go to task manager only 54% is used and i don't know what to do because i have a big amount of mods and i wanted to make a BIG modpack and mods like Calamity Thorium Tremor etc. disable so please if someone has a solution please tell me
Your own RAM doesn't matter, Terraria itself has quite a low limit due to it being 32 bit. For now, your best bet is to enable/disable mods you want in the menu, and then restart Terraria. If that doesn't work, you will have to disable some mods and try again. Unfortunately it is what it is for now.
 
Your own RAM doesn't matter, Terraria itself has quite a low limit due to it being 32 bit. For now, your best bet is to enable/disable mods you want in the menu, and then restart Terraria. If that doesn't work, you will have to disable some mods and try again. Unfortunately it is what it is for now.
Thanks, Oh i wish Terraria had a 64 bit version
 
for some reason when i try to run modded terraria, it doesn't respond after it says "relogic" and i have to force quit... normal terraria works just fine..
 
for some reason when i try to run modded terraria, it doesn't respond after it says "relogic" and i have to force quit... normal terraria works just fine..
That bug is known. Here's some known bugs:
- Head & Body accessories aren't rendered with custom animations.
- There might be small desync when non-local players fire reloadable guns.
- Rendering of falling jungle trees is a bit broken
- It's possible to clip through a 1 tile wide wall when climbing with climbing claws
Currently Incompatible With Duel Wielding
Currently Incompatible With Spirit
 
I'm getting this error multiple times. What do I do?
errorlogthingreeee.PNG
 
Did you build after changing the version and saving? post the file if so.

First of all, I can't build it, it gives this error when it gets to build.txt:
"System.FormatException: Input string was not in a correct format."

I tried using a new build.txt and putting my mod info in it, still an error.

If you need me to, I can give you my build.txt.
 
i have not been playing terraria for some time and my mod is out of date but i dont understand the changes thats been made to update to new version
 

Attachments

  • :red:ING PIECE OF :red:ING :red:.png
    :red:ING PIECE OF :red:ING :red:.png
    472.7 KB · Views: 231
i keep getting this code
Code:
Missing mod: YourModName/Items/PickaxeName
   at Terraria.ModLoader.ModLoader.GetTexture(String name)
   at Terraria.ModLoader.ModItem.AutoStaticDefaults()
   at Terraria.ModLoader.Mod.SetupContent()
   at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
heres my code
Code:
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace YourModName.Items
{
    public class PickaxeName : ModItem
    {
        public override void SetStaticDefaults()
        {
            DisplayName.SetDefault("Wood Pickaxe-");
            Tooltip.SetDefault("pickaxe-Line1"+ "\npickaxe-Line2");
        }
        public override void SetDefaults()
        {
            item.damage = 2;
            item.melee = true;
            item.width = 32;
            item.height = 32;
            item.useTime = 20;
            item.useAnimation = 20;
            item.pick = 40;    //pickaxe power
            item.useStyle = 1;
            item.knockBack = 6;
            item.value = 10;
            item.rare = 2;
            item.UseSound = SoundID.Item1;
            item.autoReuse = true;
            item.useTurn = true;
        }
        public override void AddRecipes()  //How to craft this item
        {
            ModRecipe recipe = new ModRecipe(mod);
            recipe.AddIngredient(ItemID.Wood, 10);   //you need 10 Wood
            recipe.AddTile(TileID.WorkBenches);   //at work bench
            recipe.SetResult(this);
            recipe.AddRecipe();
        }
    }
}
 
I'm trying to play multiplayer tmodloader, but I'm having a lot of problems. I clicked on Host and Play and it said connecting to server for a few seconds and then Requesting world information, and then nothing, just stuck with that sentence on the screen. I then tried going into the files and starting Tmod server with the console/text thing. It worked, but when I tried to join with the right ip, same problem with the Requesting world information. I kept on trying and it finally worked, but my friend couldn't join with the right ip, he had the requesting world problem too. We tried doing the same thing on my friends account, same problem with the Requesting world information. Don't know what to do, help would be appreciated!
 
i cant seem to join the server i host, it always get stuck on requesting world information, same goes to my friends, i dont know if it the problem with my mods, i recently updated my tremor, spirit and thorium, before that it works just fine for me and my friend to play
 
I cant seem to install this in ANY way without getting the "Please launch the game from your Steam client.". I have of course tried that and everything else I and several other people can think of (Restarting my computer, restarting/relogging on steam, triple checking that I have the latest versions of everything just to name a few). Nothing seems to work, and I'm out of ways to attempt to install it "correctly".
 
i have not been playing terraria for some time and my mod is out of date but i dont understand the changes thats been made to update to new version
Consult the Migration Guide.

I'm trying to play multiplayer tmodloader, but I'm having a lot of problems. I clicked on Host and Play and it said connecting to server for a few seconds and then Requesting world information, and then nothing, just stuck with that sentence on the screen. I then tried going into the files and starting Tmod server with the console/text thing. It worked, but when I tried to join with the right ip, same problem with the Requesting world information. I kept on trying and it finally worked, but my friend couldn't join with the right ip, he had the requesting world problem too. We tried doing the same thing on my friends account, same problem with the Requesting world information. Don't know what to do, help would be appreciated!
The Host and Play option has been a bit buggy in the past. Try manually starting a server then connecting to that.
 
Consult the Migration Guide.


The Host and Play option has been a bit buggy in the past. Try manually starting a server then connecting to that.
If you mean pressing on Tmodloader server, where a bunch of text comes up and you choose which world, how many players, and password, I already did that and it had the same problem, I put in the 127.0.0.1 ip and it said requesting world information and just lasted like that forever. My friend tried using my ip to get in too and same problem.
 
if it was that easy for me i had done it

but i dont know how to change something like this as this is most of my items
both name and tooltip is changed in SetDefaults not sure what to do with it

Code:
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria.ModLoader;
using Terraria.ID;
using System.Collections.Generic;

namespace lootweapons.Items.lootswords
{
    class lootsword : ModItem
    {
        public lootsword() { }
        int lv1;
        int lv2;
        int lv3;
        public lootsword(int lv1, int lv2, int lv3)
        {
            this.lv1 = lv1;
            this.lv2 = lv2;
            this.lv3 = lv3;
        }

        public override bool Autoload(ref string name, ref string texture, IList<EquipType> equips)
        {
            return false;
        }

        public override void SetDefaults()
        {
            item.name = "Loot Sword lvl1";
            item.damage = 10;
            item.melee = true;
            item.width = 34;
            item.height = 34;
            item.useTime = 45;
            item.useAnimation = 45;
            item.useStyle = 1;
            item.knockBack = 6;
            item.value = 0;
            item.rare = 1;
            item.UseSound = SoundID.Item1;
            item.autoReuse = true;
            int lootlvl = System.Math.Max(lv1, System.Math.Max(lv2, lv3));
            if(lootlvl == 1)
            {
                item.name = "Loot Sword lvl1";
                item.rare = 1;
                item.value = 5200;
            }
            else if(lootlvl == 2)
            {
                item.name = "Loot Sword lvl2";
                item.rare = 2;
                item.value = 7800;
            }
            else if(lootlvl == 3)
            {
                item.name = "Loot Sword lvl3";
                item.rare = 3;
                item.value = 11700;
            }
            else if(lootlvl == 4)
            {
                item.name = "Loot Sword lvl4";
                item.rare = 4;
                item.value = 17550;
            }
            else if(lootlvl == 5)
            {
                item.name = "Loot Sword lvl5";
                item.rare = 5;
                item.value = 26330;
            }
            else if(lootlvl == 6)
            {
                item.name = "Loot Sword lvl6";
                item.rare = 6;
                item.value = 39500;
            }
            else if(lootlvl == 7)
            {
                item.name = "Loot Sword lvl7";
                item.rare = 7;
                item.value = 59250;
            }
            else if(lootlvl == 8)
            {
                item.name = "Loot Sword lvl8";
                item.rare = 8;
                item.value = 88880;
            }
            else if(lootlvl == 9)
            {
                item.name = "Loot Sword lvl9";
                item.rare = 9;
                item.value = 133330;
            }
            else if(lootlvl == 10)
            {
                item.name = "Loot Sword lvl10";
                item.rare = 10;
                item.value = 200000;
            }
            else if(lootlvl == 11)
            {
                item.name = "Loot Sword lvl11";
                item.rare = 11;
                item.expert = true;
                item.value = 300000;
            }
            if(lv1 == 1)
            {
                AddTooltip("Hilt lvl1");
                item.useTime = 45;
                item.useAnimation = 45;
            }
            else if(lv1 == 2)
            {
                AddTooltip("Hilt lvl2");
                item.useTime = 41;
                item.useAnimation = 41;
            }
            else if(lv1 == 3)
            {
                AddTooltip("Hilt lvl3");
                item.useTime = 36;
                item.useAnimation = 36;
            }
            else if(lv1 == 4)
            {
                AddTooltip("Hilt lvl4");
                item.useTime = 32;
                item.useAnimation = 32;
            }
            else if(lv1 == 5)
            {
                AddTooltip("Hilt lvl5");
                item.useTime = 27;
                item.useAnimation = 27;
            }
            else if(lv1 == 6)
            {
                AddTooltip("Hilt lvl6");
                item.useTime = 24;
                item.useAnimation = 24;
            }
            else if(lv1 == 7)
            {
                AddTooltip("Hilt lvl7");
                item.useTime = 20;
                item.useAnimation = 20;
            }
            else if(lv1 == 8)
            {
                AddTooltip("Hilt lvl8");
                item.useTime = 16;
                item.useAnimation = 16;
            }
            else if(lv1 == 9)
            {
                AddTooltip("Hilt lvl9");
                item.useTime = 13;
                item.useAnimation = 13;
            }
            else if(lv1 == 10)
            {
                AddTooltip("Hilt lvl10");
                item.useTime = 10;
                item.useAnimation = 10;
            }
            else if(lv1 == 11)
            {
                AddTooltip("Hilt lvl11");
                item.useTime = 8;
                item.useAnimation = 8;
            }
            if(lv2 == 1)
            {
                AddTooltip("Length lvl1");
                item.width = 34;
                item.height = 34;
            }
            else if(lv2 == 2)
            {
                AddTooltip("Length lvl2");
                item.width = 36;
                item.height = 36;
            }
            else if(lv2 == 3)
            {
                AddTooltip("Length lvl3");
                item.width = 38;
                item.height = 38;
            }
            else if(lv2 == 4)
            {
                AddTooltip("Length lvl4");
                item.width = 40;
                item.height = 40;
            }
            else if(lv2 == 5)
            {
                AddTooltip("Length lvl5");
                item.width = 42;
                item.height = 42;
            }
            else if(lv2 == 6)
            {
                AddTooltip("Length lvl6");
                item.width = 44;
                item.height = 44;
            }
            else if(lv2 == 7)
            {
                AddTooltip("Length lvl7");
                item.width = 46;
                item.height = 46;
            }
            else if(lv2 == 8)
            {
                AddTooltip("Length lvl8");
                item.width = 48;
                item.height = 48;
            }
            else if(lv2 == 9)
            {
                AddTooltip("Length lvl9");
                item.width = 50;
                item.height = 50;
            }
            else if(lv2 == 10)
            {
                AddTooltip("Length lvl10");
                item.width = 52;
                item.height = 52;
            }
            else if(lv2 == 11)
            {
                AddTooltip("Length lvl11");
                item.width = 54;
                item.height = 54;
            }
            if(lv3 == 1)
            {
                AddTooltip("Blade lvl1");
                item.damage = 10;
            }
            else if(lv3 == 2)
            {
                AddTooltip("Blade lvl2");
                item.damage = 15;
            }
            else if(lv3 == 3)
            {
                AddTooltip("Blade lvl3");
                item.damage = 20;
            }
            else if(lv3 == 4)
            {
                AddTooltip("Blade lvl4");
                item.damage = 28;
            }
            else if(lv3 == 5)
            {
                AddTooltip("Blade lvl5");
                item.damage = 34;
            }
            else if(lv3 == 6)
            {
                AddTooltip("Blade lvl6");
                item.damage = 45;
            }
            else if(lv3 == 7)
            {
                AddTooltip("Blade lvl7");
                item.damage = 57;
            }
            else if(lv3 == 8)
            {
                AddTooltip("Blade lvl8");
                item.damage = 69;
            }
            else if(lv3 == 9)
            {
                AddTooltip("Blade lvl9");
                item.damage = 83;
            }
            else if(lv3 == 10)
            {
                AddTooltip("Blade lvl10");
                item.damage = 100;
            }
            else if(lv3 == 11)
            {
                AddTooltip("Blade lvl11");
                item.damage = 123;
            }
        }
    }
}
 
Back
Top Bottom