That's the save directory, not the install directory: https://github.com/blushiemagic/tMo...tfoundexception-unable-to-load-dllcsteamworks
To be honest, i'm not sure what causes it. I got a new desktop and things seem to work well. For me, though, it's not just terraria, it's the whole computer, so try getting the entire computer's specs checked out, because for me, it wasn't tmod. It was the PC.I was playing multi with my friend like 6 months ago. It was a little bit laggy, a little bit slow-motion for me sometimes, but playable. Now we are playing again, another playthrough with more mods. Now its lagging as hell, some items that should not lag the game are causing the lag. Also, if there is more than ing 1 mob on the screen i get the slowmotion even if i play terraria on lowest video setting with frameskip set to subtle. My friend wants to play summoner but he can't because if he spawns minions server is going crazy and lags A LOT which makes that we can't pickup items, we can't see where is boss or even if he is alive or dead, we can't see even if we are dead or alive :O. Lags and slowmotion arealso happening alot while we are fighting bosses.
We are playing on newest tModLoader and compatibile mods with it.
Mod list:
AlchemistNPC
Antiaris
AutoTrash
Bismuth
Bluemagic
BossChecklist
Builder's Toolbox
CalamityMod
CrystiliumMod
DualWielding
Fargowitas
FKBossHealthBar
HerosMod
imkSushiMod
ItemChecklist
JoostMod
LongbowsFTW
MagicStorage
MaxStackPlux
MoreAccesssories
RecipeBrowser
ReducedGrinding
SacredTools
SpiritMod
Terranova
ThoriumMod
VeryShortRespawnTime
WeaponOut
WingSlotUpgraded
WMITF
My PC Specs:
CPU- Intel i5 4460 3.2GHz (Terraria+ Terraria console server are not even consuming 100% of the CPU)
GPU- Radeon RX Sapphire 480 4GB
RAM- 8GB (Terraria+ Terraria console server are not even consuming 100% of the RAM)
OS- Windows 10
SSD 256GB
HDD 500GB - Here is terraria and whole steam
I also tried hosting with HOST AND PLAY button on terraria, makes no difference, or makes it even worse i think.
Is there any difference anctually ? :O
I would be glad if someone could help, or even reply why this is happening
TY ! I will always love tModLoader and all creators that are developing it !
Thank you, your a life saver.
Those specs should be good enough to run Terraria without issue. But keep in mind Terraria is a 32 bit application, which means that it can't use more than 4gb of RAM. If you try to load too many mods at once, it'll hit that 4gb limit and have problems no matter how good your PC is. Try loading fewer mods.I was playing multi with my friend like 6 months ago. It was a little bit laggy, a little bit slow-motion for me sometimes, but playable. Now we are playing again, another playthrough with more mods. Now its lagging as hell, some items that should not lag the game are causing the lag. Also, if there is more than ing 1 mob on the screen i get the slowmotion even if i play terraria on lowest video setting with frameskip set to subtle. My friend wants to play summoner but he can't because if he spawns minions server is going crazy and lags A LOT which makes that we can't pickup items, we can't see where is boss or even if he is alive or dead, we can't see even if we are dead or alive :O. Lags and slowmotion arealso happening alot while we are fighting bosses.
We are playing on newest tModLoader and compatibile mods with it.
Mod list:
AlchemistNPC
Antiaris
AutoTrash
Bismuth
Bluemagic
BossChecklist
Builder's Toolbox
CalamityMod
CrystiliumMod
DualWielding
Fargowitas
FKBossHealthBar
HerosMod
imkSushiMod
ItemChecklist
JoostMod
LongbowsFTW
MagicStorage
MaxStackPlux
MoreAccesssories
RecipeBrowser
ReducedGrinding
SacredTools
SpiritMod
Terranova
ThoriumMod
VeryShortRespawnTime
WeaponOut
WingSlotUpgraded
WMITF
My PC Specs:
CPU- Intel i5 4460 3.2GHz (Terraria+ Terraria console server are not even consuming 100% of the CPU)
GPU- Radeon RX Sapphire 480 4GB
RAM- 8GB (Terraria+ Terraria console server are not even consuming 100% of the RAM)
OS- Windows 10
SSD 256GB
HDD 500GB - Here is terraria and whole steam
I also tried hosting with HOST AND PLAY button on terraria, makes no difference, or makes it even worse i think.
Is there any difference anctually ? :O
I would be glad if someone could help, or even reply why this is happening
TY ! I will always love tModLoader and all creators that are developing it !
Thanks, that link keeps moving for some reason.Your "Tile Properties and stuff" link in the first post seems to be broken. It looks like it should actually be pointing here (page 238) instead of page 239.
*need
You have Main.projFrames[projectile.type] = 3; but your image is clearly more than 3 frames of animation.hello, i made a custom minion but there`s a bit of a problem:View attachment 190546
as you can see, there are 2 minions with 3 frame animation.
but i intended to make 1 minion with a 6 frame animation.
i cant find any problems so can anyone help?
here`s the code:
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace novahand.Projectiles.Minions
{
public class womandrake : MinionINFO
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("womandrake");
}
public override void SetDefaults()
{
projectile.netImportant = true;
projectile.width = 110;
projectile.height = 128;
Main.projFrames[projectile.type] = 3;
projectile.friendly = true;
Main.projPet[projectile.type] = true;
projectile.minion = true;
projectile.netImportant = true;
projectile.minionSlots = 1;
projectile.penetrate = 1;
projectile.timeLeft = 18000;
projectile.tileCollide = false;
projectile.ignoreWater = true;
ProjectileID.Sets.MinionSacrificable[projectile.type] = true;
ProjectileID.Sets.Homing[projectile.type] = true;
inertia = 30f;
shoot = mod.ProjectileType("Womandrakeflower");
shootSpeed = 10f;
ProjectileID.Sets.LightPet[projectile.type] = true;
Main.projPet[projectile.type] = true;
}
public override void CheckActive()
{
Player player = Main.player[projectile.owner];
MyPlayer modPlayer = (MyPlayer)player.GetModPlayer(mod, "MyPlayer");
if (player.dead)
{
modPlayer.womandrake = false;
}
if (modPlayer.womandrake)
{
projectile.timeLeft = 2;
}
}
public override void CreateDust()
{
Lighting.AddLight((int)(projectile.Center.X / 16f), (int)(projectile.Center.Y / 16f), 0.6f, 0.9f, 0.3f);
}
public override void SelectFrame()
{
projectile.frameCounter++;
if (projectile.frameCounter >= 8)
{
projectile.frameCounter = 0;
projectile.frame = (projectile.frame + 1) % 3;
}
}
}
}
in case if its the sprite that`s causing the problem, here`s the sprite:View attachment 190552
if there`s no solution, ill just remove some frames.
thanks in advance to anyone that helps.
thanks, it worked.You have Main.projFrames[projectile.type] = 3; but your image is clearly more than 3 frames of animation.
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace tristanajanna.NPCs.TownNPC
{
public class themermaid : ModNPC
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Mermaid");
}
public override void SetDefaults()
{
npc.townNPC = true;
npc.friendly = true;
npc.width = 18;
npc.height = 56;
npc.aiStyle = 7;
npc.damage = 25;
npc.defense = 25;
npc.lifeMax = 250;
npc.HitSound = SoundID.NPCHit1;
npc.DeathSound = SoundID.NPCDeath1;
npc.knockBackResist = 0.5f;
Main.npcFrameCount[npc.type] = 23;
animationType = NPCID.Stylist;
}
public override bool CanTownNPCSpawn(int numTownNPCs, int money) ///spawnuje se kdyz je vytvoren v inventari mod item Mermaid's Lost Pearl
{
for (int k = 0; k < 255; k++)
{
Player player = Main.player[k];
if (player.active)
{
for (int j = 0; j < player.inventory.Length; j++)
{
if (player.inventory[j].type == mod.ItemType("starfishamulet"))
{
return true;
}
}
}
}
return false;
}
public override string TownNPCName()
{ //NPC names
switch (WorldGen.genRand.Next(11))
{
case 0:
return "Ariel";
case 1:
return "Tetra";
case 2:
return "Ava";
case 3:
return "Khoii";
case 4:
return "Coralia";
case 5:
return "Watery";
case 6:
return "Leaf";
case 7:
return "Lorelei";
case 8:
return "Melody";
case 9:
return "Marina";
default:
return "Nami";
}
}
public override string GetChat()
{ //npc chat
switch (Main.rand.Next(5))
{
case 0:
return "People and their air...";
case 1:
return "I decide what the tide will bring!";
case 2:
return "Swim at your own risk!";
case 3:
return "Afraid to get your feet wet?";
default:
return "Thanks a lot for bringing me my lost pearl!";
}
}
public override void SetChatButtons(ref string button, ref string button2)
{
button = "Treasure Shop";
}
public override void OnChatButtonClicked(bool firstButton, ref bool shop)
{
if (firstButton)
{
shop = true;
}
}
public override void SetupShop(Chest shop, ref int nextSlot)
{
shop.item[nextSlot].SetDefaults(mod.ItemType("starfishamulet")); //items that sells
nextSlot++;
shop.item[nextSlot].SetDefaults(mod.ItemType("starfishamulet"));
nextSlot++;
if (Main.hardMode == true) //Checks if the world is hardmode
shop.item[nextSlot].SetDefaults(mod.ItemType("starfishamulet"));
nextSlot++;
}
public override void NPCLoot()
{
Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, mod.ItemType("starfishamulet"));
}
public override bool UsesPartyHat()
{
return false;
}
}
}