looks like it is only available as a command line parameter.Do i have to put this in the config file like so:
savedirectory=<path>
or as a command line parameter?
Also when i have a config for my dedicated serer on linux it only loads the motd, worldpath and modpath from the config.
When i start the server it asks again for wich world to play and wich port and so forth.
Read the readme, nothing is wrong with the files.i download it for mac but it don't work for mac
it gives me the .exe files instead of whatever files are for mac
and i tried to use the .exe files but they didn't work
I tried to set the port with command line parameters and it didn't recocnize that and asked again.looks like it is only available as a command line parameter.
[doublepost=1527885501,1527885480][/doublepost]
Read the readme, nothing is wrong with the files.
I believe QuickSpawnClonedItem might be what you want. The other 2 are suppose to spawn clean instances.Hi. As far, as I can see, Player.QuickSpawnItem just creates new item with new ModItem, instead of clonning original source. My items can contain different data, but when they droped, they reset it's data to default values.View attachment 202068
Can you fix it, or solution already exists?
Thank you so much. It helps.I believe QuickSpawnClonedItem might be what you want. The other 2 are suppose to spawn clean instances.
It looks like you're trying to run terraria outside the steam directory. You tried to start debugging in Visual Studio, did you? I've had same problem some time ago. If so, you need to open project settings -> Debugging -> Launch external program and then select terraria.exe path.My game is with this error = CSteamWorks
the tmodloader doesn't work and the terraria too
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MoreAwesomeStuffpeeps.NPCs.Boss
{
[AutoloadBossHead]
public class TheSeer : ModNPC
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Seer");
Main.npcFrameCount[npc.type] = 6;
}
public override void SetDefaults()
{
npc.aiStyle = 4; //Eye of Cthulhu AI
npc.lifeMax = 200000;
npc.damage = 80;
npc.defense = 30;
npc.knockBackResist = 0f;
npc.width = 100;
npc.height = 110;
npc.value = 10000;
npc.npcSlots = 1f;
npc.boss = true;
npc.lavaImmune = true;
npc. noGravity = true;
npc.noTileCollide = true;
npc.HitSound = SoundID.NPCHit1;
npc.DeathSound = SoundID.NPCDeath1;
music = MusicID.Boss1;
bossBag = mod.ItemType("TheSeerTreasureBag");
}
public override void ScaleExpertStats(int numPlayers, float bossLifeScale)
{
npc.lifeMax = (int)(npc.lifeMax * 0.500f * bossLifeScale);
npc.damage = (int)(npc.damage * 0.5f);
npc.defense = (int)(npc.defense + numPlayers);
}
public override void FindFrame(int frameHeight)
{
npc.frameCounter += 1.0;
npc.frameCounter %= 10;
int frame = (int)(npc.frameCounter / 2.0);
if (frame >= Main.npcFrameCount[npc.type]) frame = 0;
npc.frame.Y = frame * frameHeight;
}
public override void NPCLoot()
{
if (Main.expertMode)
{
npc.DropBossBags();
}
else
{
if (Main.rand.Next(3) == 0)
{
Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, mod.ItemType("LuminiteSlimeSword"));
}
else
{
Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, mod.ItemType("CelestialPickaxe"));
}
Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, mod.ItemType("CelestialBar"), 5);
}
}
}
}
You open terraria. There is a button that says mod sources. when you click that, there will be a button down at the bottom of the screen that says open sources. It opens a folder. copy and paste the ZIP folder the mod skeleton generator made. Then your mod should appear in the mod sources. Then you press "Build and reload."How do you load the mods that you made into the game? I'm using a mac and I am currently working on my own mod, and I can't figure out how to put it into the game. I have the mod skeleton, but whenever I put the mod file into the mods folder, it refuses to actually load in, and just doesn't show up as a mod.
It didn't work.You open terraria. There is a button that says mod sources. when you click that, there will be a button down at the bottom of the screen that says open sources. It opens a folder. copy and paste the ZIP folder the mod skeleton generator made. Then your mod should appear in the mod sources. Then you press "Build and reload."