Standalone [1.3] tModLoader - A Modding API

"
Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Terraria.ModLoader.UI.UIModBrowser.PopulateFromJSON(TmodFile[] installedMods, String json)
"

anyone know what this means?
 
"
Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Terraria.ModLoader.UI.UIModBrowser.PopulateFromJSON(TmodFile[] installedMods, String json)
"

anyone know what this means?
It means you have something like this in your Mods folder. A duplicate mod sharing the same internal name:

PYen5Rq.png
 
OK I'm having a problem when trying to host a server. When I or any of my friends try to join we get stuck on "Requesting World Information" and no matter what i done i can not fix it. I have checked port forwarding and every thing is proper. Thanks.
 
can you also tell me what the whole 'mp3 sound file' bug that happens and why it does/how to fix it. that happens with other mods, and after clicking 'continue', it crashes my game.
Crash error message: http://prntscr.com/g3o99q
after clicking continue this crashes.

It also seems RNG. Sometimes it works, sometimes it doesn't. Sometimes it lets me through, or sometimes it crashes. Even then, if i want to play, i have to go through it twice, since i need to enable all mods and reload. It's hard to play alot.

Error message in-game:
http://prntscr.com/g3oav9
something with music or sounds
 
im trying to mod with tmod but these errors shows up


c:\Users\Alex\Documents\My Games\Terraria\ModLoader\Mod Sources\YourMod\YourMod.cs(11,12) : error CS1518: Expected class, delegate, enum, interface, or struct

c:\Users\Alex\Documents\My Games\Terraria\ModLoader\Mod Sources\YourMod\YourMod.cs(13,16) : error CS1518: Expected class, delegate, enum, interface, or struct

c:\Users\Alex\Documents\My Games\Terraria\ModLoader\Mod Sources\YourMod\YourMod.cs(15,30) : error CS1518: Expected class, delegate, enum, interface, or struct

c:\Users\Alex\Documents\My Games\Terraria\ModLoader\Mod Sources\YourMod\YourMod.cs(22,5) : error CS1022: Type or namespace definition, or end-of-file expected

c:\Users\Alex\Documents\My Games\Terraria\ModLoader\Mod Sources\YourMod\YourMod.cs(23,1) : error CS1022: Type or namespace definition, or end-of-file expected

c:\Users\Alex\Documents\My Games\Terraria\ModLoader\Mod Sources\YourMod\YourMod.cs(25,1) : error CS0116: A namespace cannot directly contain members such as fields or methods


with this code

using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.Graphics.Effects;
using Terraria.Graphics.Shaders;
using Terraria.ID;
using Terraria.ModLoader;

namespace YourMod
{
public class YourMod : Mod
{
public YourMod()
{
Properties = new ModProperties()
{
Autoload = true,
AutoloadGores = true,
AutoloadSounds = true
};
}
}
}
 
Exception of type 'System.OutOfMemoryException' was thrown.
at NVorbis.RingBuffer.EnsureSize(Int32 size)
at NVorbis.VorbisStreamDecoder.ReadSamples(Single[] buffer, Int32 offset, Int32 count)
at NVorbis.VorbisReader.ReadSamples(Single[] buffer, Int32 offset, Int32 count)
at TerrariaOverhaul.Audio_OggVorbis.CreateEffect(Stream vorbisData, Boolean disposeStream) in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\API\OggVorbis.cs:line 112
at TerrariaOverhaul.Audio_OggVorbis..ctor(Byte[] data) in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\API\OggVorbis.cs:line 32
at TerrariaOverhaul.Audio_Ogg.GetTrack(String modName, String fileName) in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\API\Ogg.cs:line 281
at TerrariaOverhaul.Audio_Ogg.LoadTrack(Mod mod, String resourceName) in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\API\Ogg.cs:line 329
at TerrariaOverhaul.Audio_Ogg.LoadSounds(Mod mod) in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\API\Ogg.cs:line 305
at TerrariaOverhaul.Audio_Ogg.Initialize(Mod mod) in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\API\Ogg.cs:line 129
at TerrariaOverhaul.OverhaulMod.Load() in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\OverhaulMod.cs:line 386
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)

The texture file at NPCs/Providence/Providence.png failed to load
at Terraria.ModLoader.Mod.Autoload()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)

Inner Exception:
Insufficient memory to continue the execution of the program.
at Microsoft.Xna.Framework.Helpers.GetExceptionFromResult(UInt32 result)
at Microsoft.Xna.Framework.Graphics.Texture2D..ctor(GraphicsDevice graphicsDevice, Stream stream, Int32 width, Int32 height, XnaImageOperation operation)
at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream(GraphicsDevice graphicsDevice, Stream stream)
at Terraria.ModLoader.Mod.Autoload()
The mp3 sound file at Sounds/Music/Aqua.mp3 failed to load
at Terraria.ModLoader.Mod.Autoload()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)

Inner Exception:
Insufficient memory to continue the execution of the program.
at Microsoft.Xna.Framework.Helpers.GetExceptionFromResult(UInt32 result)
at Microsoft.Xna.Framework.Audio.SoundEffect.AllocateFormatAndData(Byte[] format, Byte[] data, Int32 offset, Int32 count)
at Microsoft.Xna.Framework.Audio.SoundEffect..ctor(Stream stream)
at Microsoft.Xna.Framework.Audio.SoundEffect.FromStream(Stream stream)
at Terraria.ModLoader.Mod.Autoload()
this happened to a few other mods...
 
How can i set up a modded server on mac?
I've tried using mono but did not work at all
Someone help please I and my friend have been trying to solve the problem
 
Can someone quickly help, what is the strip of code that is required to make bosses head show on minimap? Because I know this is out dated:
public override void AutoloadHead(ref string headTexture, ref string bossHeadTexture)
{
bossHeadTexture = "NoobyMod/NPCs/Boss/LivingTree_Head_Boss"; //the boss head texture
}

So whats the current code? Example mods bosses are too complicated I can't see from there what is it.
 
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.
Just to be sure, you are starting tModLoaderServer.exe and not TerrariaServer.exe, right?

If you are runing TerrariaServer.exe, that's the vanilla one and tMod can't connect to it. USe the other one.

If you are running the tMod server and can't connect with 127.0.0.1, I'm afraid I really can't help.

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;
            }
        }
    }
}
Then consult the latest version of ExampleMod. That has the updated format. Here's an example.
Code:
public override void SetStaticDefaults()
{
    DisplayName.SetDefault("Paper Airplane");
    Tooltip.SetDefault("Summons a Paper Airplane to follow aimlessly behind you");
}

Public override void SetDefaults()
{
    item.CloneDefaults(ItemID.ZephyrFish);
    item.shoot = mod.ProjectileType("ExamplePet");
    item.buffType = mod.BuffType("ExamplePet");
}
Some things are now defined within the hook SetStaticDefaults instead of SetDefaults. I don't know if you can use an if statement in SetStaticDefaults, but you're welcome to try.

If an 'if' statement doesn't work... there's another way. These static defaults cannot be updated at runtime, but the tModLoader devs thought of people like you and me who want to change the toolTip at runtime. Something like the following is how to change a tooltip after the item has been created.
Code:
public override void ModifyTooltips(List<TooltipLine> tooltips) //update the second ToolTip line
{
    TooltipLine line2;

    int lootlvl = System.Math.Max(lv1, System.Math.Max(lv2, lv3));
            if(lootlvl == 1)
            {
        line2 = new TooltipLine(mod, "line2", "Loot Sword lvl1");
            }
            else if(lootlvl == 2)
            {
                line2 = new TooltipLine(mod, "line2", "Loot Sword lvl2");
            }
        //etc...
    }
    tooltips.Add(line2);
}
 
hey ,i like this tools,i want look source code,but i use setup.bat , select Terraria.exe, setup , It's always failed

20170804001022.png

patching file 'src/Terraria\Terraria.csproj'
patching file 'src/Terraria\Terraria.GameInput\PlayerInput.cs'
patching file 'src/Terraria\Terraria\NetMessage.cs'
Hunk #4 succeeded at 1602 (offset -9 lines).
Hunk #6 succeeded at 1624 (offset -9 lines).
Hunk #8 succeeded at 1646 (offset -9 lines).
patching file 'src/Terraria\Properties\AssemblyInfo.cs'
patching file 'src/Terraria\Terraria.ID\SetFactory.cs'
patching file 'src/Terraria\Terraria\Chest.cs'
patching file 'src/Terraria\Terraria.IO\WorldFile.cs'
patching file 'src/Terraria\Terraria\Collision.cs'
patching file 'src/Terraria\Terraria.Map\MapHelper.cs'
patching file 'src/Terraria\Terraria\Dust.cs'
patching file 'src/Terraria\Terraria\WorldGen.cs'
patching file 'src/Terraria\Terraria.Map\MapTile.cs'
patching file 'src/Terraria\Terraria.Net\NetPacket.cs'
patching file 'src/Terraria\Terraria\HitTile.cs'
patching file 'src/Terraria\Terraria.Chat\ChatCommandProcessor.cs'
patching file 'src/Terraria\Terraria.Social.Steam\NetServerSocialModule.cs'
patching file 'src/Terraria\Terraria.GameContent.Biomes\CaveHouseBiome.cs'
patching file 'src/Terraria\Terraria.GameContent.Biomes\DesertBiome.cs'
patching file 'src/Terraria\Terraria.UI\ItemSlot.cs'
patching file 'src/Terraria\Terraria.GameContent.Biomes\MiningExplosivesBiome.cs'
patching file 'src/Terraria\Terraria\MessageBuffer.cs'
Hunk #3 succeeded at 3468 (offset -14 lines).
patching file 'src/Terraria\Terraria\NPC.cs'
patching file 'src/Terraria\Terraria.GameContent.Tile_Entities\TELogicSensor.cs'
patching file 'src/Terraria\Terraria.GameContent.UI\WiresUI.cs'
patching file 'src/Terraria\Terraria.GameContent.UI.States\UIVirtualKeyboard.cs'
patching file 'src/Terraria\Terraria\Main.cs'
Hunk #2 succeeded at 13037 (offset -2 lines).
Hunk #4 succeeded at 13107 (offset -2 lines).
Hunk #5 succeeded at 20173 (offset -4 lines).
Hunk #6 succeeded at 20187 (offset -2 lines).
Hunk #7 succeeded at 20450 (offset -4 lines).
Hunk #8 succeeded at 20499 (offset -2 lines).
Hunk #9 succeeded at 21332 (offset -4 lines).
Hunk #10 FAILED at 22435.
Hunk #11 FAILED at 22481.
Hunk #12 succeeded at 24114 (offset -3 lines).
Hunk #13 succeeded at 25024 (offset -4 lines).
Hunk #14 succeeded at 29498 (offset -3 lines).
Hunk #15 succeeded at 29516 (offset -4 lines).
Hunk #16 succeeded at 29733 (offset -3 lines).
Hunk #17 succeeded at 29752 (offset -4 lines).
Hunk #18 succeeded at 30676 (offset -3 lines).
Hunk #19 succeeded at 44255 (offset -21 lines).
Hunk #20 succeeded at 47202 with fuzz 2 (offset -21 lines).
Hunk #21 succeeded at 47314 with fuzz 2 (offset -21 lines).
Hunk #22 FAILED at 47389.
Hunk #23 succeeded at 47465 with fuzz 2 (offset -26 lines).
Hunk #24 succeeded at 47561 with fuzz 2 (offset -21 lines).
Hunk #25 succeeded at 47599 with fuzz 1 (offset -26 lines).
Hunk #26 succeeded at 47751 with fuzz 1 (offset -21 lines).
Hunk #27 succeeded at 47781 with fuzz 1 (offset -26 lines).
Hunk #28 succeeded at 48535 (offset -21 lines).
Hunk #29 succeeded at 48580 (offset -26 lines).
Hunk #30 succeeded at 48860 (offset -21 lines).
Hunk #31 succeeded at 48895 (offset -26 lines).
Hunk #32 succeeded at 49145 (offset -21 lines).
Hunk #33 succeeded at 49171 (offset -26 lines).
Hunk #34 succeeded at 49716 (offset -21 lines).
Hunk #35 succeeded at 49761 (offset -26 lines).
Hunk #36 succeeded at 50035 (offset -21 lines).
Hunk #37 succeeded at 50070 (offset -26 lines).
Hunk #38 succeeded at 50311 (offset -21 lines).
Hunk #39 succeeded at 50337 (offset -26 lines).
Hunk #40 succeeded at 52248 (offset -21 lines).
Hunk #41 succeeded at 53721 (offset -26 lines).
Hunk #42 succeeded at 58569 (offset -21 lines).
3 out of 42 hunks FAILED -- saving rejects to file 'src/Terraria\Terraria\Main.cs.rej'
patching file 'src/Terraria\Terraria\Player.cs'
patching file 'src/Terraria\Terraria\Projectile.cs'
Hunk #2 FAILED at 12705.
1 out of 5 hunks FAILED -- saving rejects to file 'src/Terraria\Terraria\Projectile.cs#'
patching file 'src/Terraria\Terraria\TestHighFPSIssues.cs'
patching file 'src/Terraria\Terraria\Tile.cs'
patching file 'src/Terraria\Terraria\WaterfallManager.cs'
patching file 'src/Terraria\Terraria\Wiring.cs'

I tried many times , but always the same error , I also tried Single Decompile Thread, still the same

Can you help me?
 
hey ,i like this tools,i want look source code,but i use setup.bat , select Terraria.exe, setup , It's always failed

View attachment 179133

patching file 'src/Terraria\Terraria.csproj'
patching file 'src/Terraria\Terraria.GameInput\PlayerInput.cs'
patching file 'src/Terraria\Terraria\NetMessage.cs'
Hunk #4 succeeded at 1602 (offset -9 lines).
Hunk #6 succeeded at 1624 (offset -9 lines).
Hunk #8 succeeded at 1646 (offset -9 lines).
patching file 'src/Terraria\Properties\AssemblyInfo.cs'
patching file 'src/Terraria\Terraria.ID\SetFactory.cs'
patching file 'src/Terraria\Terraria\Chest.cs'
patching file 'src/Terraria\Terraria.IO\WorldFile.cs'
patching file 'src/Terraria\Terraria\Collision.cs'
patching file 'src/Terraria\Terraria.Map\MapHelper.cs'
patching file 'src/Terraria\Terraria\Dust.cs'
patching file 'src/Terraria\Terraria\WorldGen.cs'
patching file 'src/Terraria\Terraria.Map\MapTile.cs'
patching file 'src/Terraria\Terraria.Net\NetPacket.cs'
patching file 'src/Terraria\Terraria\HitTile.cs'
patching file 'src/Terraria\Terraria.Chat\ChatCommandProcessor.cs'
patching file 'src/Terraria\Terraria.Social.Steam\NetServerSocialModule.cs'
patching file 'src/Terraria\Terraria.GameContent.Biomes\CaveHouseBiome.cs'
patching file 'src/Terraria\Terraria.GameContent.Biomes\DesertBiome.cs'
patching file 'src/Terraria\Terraria.UI\ItemSlot.cs'
patching file 'src/Terraria\Terraria.GameContent.Biomes\MiningExplosivesBiome.cs'
patching file 'src/Terraria\Terraria\MessageBuffer.cs'
Hunk #3 succeeded at 3468 (offset -14 lines).
patching file 'src/Terraria\Terraria\NPC.cs'
patching file 'src/Terraria\Terraria.GameContent.Tile_Entities\TELogicSensor.cs'
patching file 'src/Terraria\Terraria.GameContent.UI\WiresUI.cs'
patching file 'src/Terraria\Terraria.GameContent.UI.States\UIVirtualKeyboard.cs'
patching file 'src/Terraria\Terraria\Main.cs'
Hunk #2 succeeded at 13037 (offset -2 lines).
Hunk #4 succeeded at 13107 (offset -2 lines).
Hunk #5 succeeded at 20173 (offset -4 lines).
Hunk #6 succeeded at 20187 (offset -2 lines).
Hunk #7 succeeded at 20450 (offset -4 lines).
Hunk #8 succeeded at 20499 (offset -2 lines).
Hunk #9 succeeded at 21332 (offset -4 lines).
Hunk #10 FAILED at 22435.
Hunk #11 FAILED at 22481.
Hunk #12 succeeded at 24114 (offset -3 lines).
Hunk #13 succeeded at 25024 (offset -4 lines).
Hunk #14 succeeded at 29498 (offset -3 lines).
Hunk #15 succeeded at 29516 (offset -4 lines).
Hunk #16 succeeded at 29733 (offset -3 lines).
Hunk #17 succeeded at 29752 (offset -4 lines).
Hunk #18 succeeded at 30676 (offset -3 lines).
Hunk #19 succeeded at 44255 (offset -21 lines).
Hunk #20 succeeded at 47202 with fuzz 2 (offset -21 lines).
Hunk #21 succeeded at 47314 with fuzz 2 (offset -21 lines).
Hunk #22 FAILED at 47389.
Hunk #23 succeeded at 47465 with fuzz 2 (offset -26 lines).
Hunk #24 succeeded at 47561 with fuzz 2 (offset -21 lines).
Hunk #25 succeeded at 47599 with fuzz 1 (offset -26 lines).
Hunk #26 succeeded at 47751 with fuzz 1 (offset -21 lines).
Hunk #27 succeeded at 47781 with fuzz 1 (offset -26 lines).
Hunk #28 succeeded at 48535 (offset -21 lines).
Hunk #29 succeeded at 48580 (offset -26 lines).
Hunk #30 succeeded at 48860 (offset -21 lines).
Hunk #31 succeeded at 48895 (offset -26 lines).
Hunk #32 succeeded at 49145 (offset -21 lines).
Hunk #33 succeeded at 49171 (offset -26 lines).
Hunk #34 succeeded at 49716 (offset -21 lines).
Hunk #35 succeeded at 49761 (offset -26 lines).
Hunk #36 succeeded at 50035 (offset -21 lines).
Hunk #37 succeeded at 50070 (offset -26 lines).
Hunk #38 succeeded at 50311 (offset -21 lines).
Hunk #39 succeeded at 50337 (offset -26 lines).
Hunk #40 succeeded at 52248 (offset -21 lines).
Hunk #41 succeeded at 53721 (offset -26 lines).
Hunk #42 succeeded at 58569 (offset -21 lines).
3 out of 42 hunks FAILED -- saving rejects to file 'src/Terraria\Terraria\Main.cs.rej'
patching file 'src/Terraria\Terraria\Player.cs'
patching file 'src/Terraria\Terraria\Projectile.cs'
Hunk #2 FAILED at 12705.
1 out of 5 hunks FAILED -- saving rejects to file 'src/Terraria\Terraria\Projectile.cs#'
patching file 'src/Terraria\Terraria\TestHighFPSIssues.cs'
patching file 'src/Terraria\Terraria\Tile.cs'
patching file 'src/Terraria\Terraria\WaterfallManager.cs'
patching file 'src/Terraria\Terraria\Wiring.cs'

I tried many times , but always the same error , I also tried Single Decompile Thread, still the same

Can you help me?
Make sure you are decompiling the steam/windows/client for 1.3.5.2, nothing else.
 
I don't know if this question has already been answered on this forum, but there are 908 pages on it, so here goes:
When I open tmodloader it just says:

System.DllNotFoundException: Unable to load DLL 'CSteamworks': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Steamworks.NativeMethods.SteamAPI_RestartAppIfNecessary(AppId_t unOwnAppID)
at Terraria.Social.Steam.CoreSocialModule.Initialize()
at Terraria.Social.SocialAPI.Initialize(Nullable`1 mode)
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
 
Ok so i downloaded tModloader on my mac for mac and i unzipped the .zip, got the folder copied everything in the folder and pasted it into Library/Application Support/Steam/steamapps/common/Terraria and once i got to Terraria i right clicked and pressed "show package contents" from there, i went to Contents then to MacOS.
on mac os i pasted the 12 items that i copied, then downloaded the tmodloader.jar thingy i open Terraria and vanilla comes up. (no changes) I try this multiple times, once when i tried opening Terraria it said syncing for a second after i opened it and then it closed. I don't even know what is happening. please help.
 
Back
Top Bottom