Standalone [1.3] tModLoader - A Modding API

Found the source! Better Yo-Yos in this case.

EDIT: Ok, that covers the projectile problems, but now I don't got the money spawns at the moment. Explorations continue...

Are you running the 1.3 version of More Accessories+? There is a new version that fixes that bug, assuming you're running that mod.
 
I get the message "Requesting world information" even on localhost. I simply can't do multiplayer with tmodloader. (firewall is turned off). With normal terraria.exe I don't have any problems.

Any idea how to fix it? I'd like to play with a friend but right now even if I get it working on localhost would be awesome
 
Are you running the 1.3 version of More Accessories+? There is a new version that fixes that bug, assuming you're running that mod.
I was running whatever one the system was counting as updated. :S I'll doublecheck if the modbrowser one I'm working with is the bugged one or not.

That would indeed be the issue it seems, surprised they didn't just update the old part of it. Thank you sir!
 
I was running whatever one the system was counting as updated. :S I'll doublecheck if the modbrowser one I'm working with is the bugged one or not.

That would indeed be the issue it seems, surprised they didn't just update the old part of it. Thank you sir!

The new version had to unfortunately be re-uploaded as a newly published mod because the creator of the original mod disappeared. :/
 
You got it wrong, I want to make a mod be last mod loaded in the list of mods, because I believe my mod will not work correctly with other mods, if it is loaded before other mods.

Edit: I asked if there is a way to.
I can help you fix your problem, but no, there is no way unless you have references to other mods. It would be much better to just fix the programming in your mod then just brush it under the carpet.
[doublepost=1482111495,1482111465][/doublepost]
so the last time i had a problem was yesterday because the weapon out mod was messing up tmodloder but someone helped me and it worked. but when ever i try to go in single player or multiplier player. it comes up with this.
Delete the FastStart mod, as mentioned in the error, since it's got issues it appears.
[doublepost=1482111562][/doublepost]
Is there any documentation for the new player Save & Load functions?
Right now just examples from various open source mods, and the discord channel. We'll try to get something written up eventually.
[doublepost=1482111578][/doublepost]
Thanks Jopo
[doublepost=1482099874,1482099654][/doublepost]I cant find the saves?
?:\Documents\My Games\Terraria\ModLoader
[doublepost=1482111621][/doublepost]
I get the message "Requesting world information" even on localhost. I simply can't do multiplayer with tmodloader. (firewall is turned off). With normal terraria.exe I don't have any problems.

Any idea how to fix it? I'd like to play with a friend but right now even if I get it working on localhost would be awesome
Try running the server manually and check the output for errors.
 
In player.AddBuff, what kind of time is the second parameter? using 1000 makes it 16 seconds which seems a little odd.
 
In player.AddBuff, what kind of time is the second parameter? using 1000 makes it 16 seconds which seems a little odd.
Ticks, 60 in a second. So, 1000/16 = 16.67 seconds.
 
v0.9.0.3
-Fixed saving for Item Frames containing mod data
-Fixed GlobalItem Saving
-Fixed gores not disappearing
-Fixed Background flicker on reload
-Fixed DrawLifebar server bug
-Fixed Balloon Offset Bug
-Server command: ModList

Another bugfix update. One day all the serious bugs will be fixed. One day.
 
Apparently, I ran into a bug in the game which keeps me from progressing in monster events such as Martian Madness, and The Old One's Army. The mods I have enabled are Cheat Sheet, More Accessories+, Tremor, and Thorium. Has anyone run into the same problem with one of these mods?
 
v0.9.0.3
-Fixed saving for Item Frames containing mod data
-Fixed GlobalItem Saving
-Fixed gores not disappearing
-Fixed Background flicker on reload
-Fixed DrawLifebar server bug
-Fixed Balloon Offset Bug
-Server command: ModList

Another bugfix update. One day all the serious bugs will be fixed. One day.

Thanks for the update!

Will mod makers need to update their mods before we can use this version?
[doublepost=1482124581,1482124539][/doublepost]
Apparently, I ran into a bug in the game which keeps me from progressing in monster events such as Martian Madness, and The Old One's Army. The mods I have enabled are Cheat Sheet, More Accessories+, Tremor, and Thorium. Has anyone run into the same problem with one of these mods?

Which version of MoreAccessories are you running? Please make sure you update to the latest version on the mod browser (currently 1.4).
 
Where in my code do i need to write the thing for the ocean spawns
heres my code plz tell me where to write it
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;


namespace NicksMod.NPCs
{
public class KillerWhale : ModNPC
{
public override void SetDefaults()
{
npc.name = "Killer Whale";
npc.displayName = "Killer Whale";
npc.width = 70;
npc.height = 70;
npc.damage = 65;
npc.defense = 15;
npc.lifeMax = 500;
npc.HitSound = SoundID.NPCHit1;
npc.DeathSound = SoundID.NPCDeath1;
npc.value = 60f;
npc.knockBackResist = 0.5f;
npc.aiStyle = 16;
Main.npcFrameCount[npc.type] = 3;
aiType = NPCID.Shark; //npc behavior
animationType = NPCID.Shark;
}

public override float CanSpawn(NPCSpawnInfo spawnInfo)
{
return spawnInfo.spawnTileY < Main.worldSurface && !Main.dayTime ? 0.5f : 0.5f;
}
public override void FindFrame(int frameHeight)
{
npc.frameCounter -= 0.1F; // Determines the animation speed. Higher value = faster animation.
npc.frameCounter %= Main.npcFrameCount[npc.type];
int frame = (int)npc.frameCounter;
npc.frame.Y = frame * frameHeight;

npc.spriteDirection = npc.direction;
}
public override void NPCLoot() //Npc drop
{
{
Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, mod.ItemType("OrcaFin"));
}

}
}
}
 
Thanks for the update!

Will mod makers need to update their mods before we can use this version?
[doublepost=1482124581,1482124539][/doublepost]

Which version of MoreAccessories are you running? Please make sure you update to the latest version on the mod browser (currently 1.4).
I had 1.3 downloaded, which was the mod responsible for the bug.
 
I had 1.3 downloaded, which was the mod responsible for the bug.

Alright, just make sure you update to the new version and you should be good. Please keep in mind you will need to manually delete the old version as the new version had to be re-uploaded because the original mod maker disappeared.
 
Ok I'm running into a major issue with the current TML.
Every time I try to launch Terraria I get an error stating please run the game through the steam client.
It never did this before I updated and now going back to the 0.9.0.2 version I still get the same error.
What would be causing this issue?
I've already uninstalled and reinstalled the game.
 
I can help you fix your problem, but no, there is no way unless you have references to other mods. It would be much better to just fix the programming in your mod then just brush it under the carpet.
I'm not "brushing it under the carpet", is because my mod is going to mess with enemies that spawn, or better saying on their status.
Well, whatever.
 
Good news: Worlds with modded items in item frames no longer crash when saving.

Bad news: World with modded items in item frames don't load properly, and instead revert to the latest backup.
 
Saw numerous posts saying that enemy gibs not vanishing is a tModLoader bug and will be fixed with the next update.

Can't wait! I admittedly lag a bit as they build up over time, but saving and quitting the world then hopping back in clears em, so temp fix for now, I suppose!
 
Back
Top Bottom