tAPI [Discontinued] tAPI - A Mod To Make Mods

Status
Not open for further replies.
Any way to fix it, then? Or should I just report it to the mod author?
You should probably report to the mod author once you've discovered which mod is breaking your server by singling it out, you can probably then continue playing by simply disabling it.

-> To all the people having issues with the r15 builder, apologies for the wait ,we will try to figure the fix out tomorrow (currently it's 2:40 AM so we'd like to catch some sleep first)

(In case you want to try and hotfix this & not using game launcher , duplicate your terraria.exe and rename it to tAPI.exe , the builder is probably failing to work due to not filing tapi which it relies on)
 
You should probably report to the mod author once you've discovered which mod is breaking your server by singling it out, you can probably then continue playing by simply disabling it.

-> To all the people having issues with the r15 builder, apologies for the wait ,we will try to figure the fix out tomorrow (currently it's 2:40 AM so we'd like to catch some sleep first)

(In case you want to try and hotfix this & not using game launcher , duplicate your terraria.exe and rename it to tAPI.exe , the builder is probably failing to work due to not filing tapi which it relies on)

Oh my god. That did the trick. It's working now. I love you.
 
so im just getting started with tAPI r14 i believe and when i go to build my mod it gives me this

Building mod easy mod

Validating Jsons...
hugesword.json: Invalid JSON file.
Invalid token ' " ' in input string
pizza.json: Invalid JSON file.
Input doesn't evaluate to proper JSON text
Failed to build easy mod.

------------------------------------------------------------------------
and heres my code

{
"displayName": "Pizza",
"texture": "Item/pizza",
"size": [32, 32],
"maxStack": 99,
"value": [0, 0, 1, 0],
"tooltip": "yummy!",

"recipes":
[{
"items": { "Mushroom": 5 },
"tiles": [ "Furnace" ],
"creates": 1
}

-----------------------------------------------------------

{
"displayName": "Huge Sword",
"texture": "Item/hugesword",
"size": [64, 64],
"maxStack": 1
"value": [0,0, 50, 0],
"rare": 2,
"tooltip": "It's a huge sword. what else?",
"useStyle": 1,
"useAnimation": 50,
"useTime": 50,
"damage": 30,
"knockback": 10,
"useSound": 1,
"autoReuse": false,
"useTurn": true,
"melee": true,
"recipes": [{
"items": { "Stone Block": 15, "Iron Bar": 20, "Sapphire", 3},
"tiles": [ "Iron Anvil" ],
"creates": 1
}
---------------------------------------------------------
and jsonlint.com said its fine
 
so im just getting started with tAPI r14 i believe and when i go to build my mod it gives me this

Building mod easy mod

Validating Jsons...
hugesword.json: Invalid JSON file.
Invalid token ' " ' in input string
pizza.json: Invalid JSON file.
Input doesn't evaluate to proper JSON text
Failed to build easy mod.

------------------------------------------------------------------------
and heres my code

{
"displayName": "Pizza",
"texture": "Item/pizza",
"size": [32, 32],
"maxStack": 99,
"value": [0, 0, 1, 0],
"tooltip": "yummy!",

"recipes":
[{
"items": { "Mushroom": 5 },
"tiles": [ "Furnace" ],
"creates": 1
}

-----------------------------------------------------------

{
"displayName": "Huge Sword",
"texture": "Item/hugesword",
"size": [64, 64],
"maxStack": 1
"value": [0,0, 50, 0],
"rare": 2,
"tooltip": "It's a huge sword. what else?",
"useStyle": 1,
"useAnimation": 50,
"useTime": 50,
"damage": 30,
"knockback": 10,
"useSound": 1,
"autoReuse": false,
"useTurn": true,
"melee": true,
"recipes": [{
"items": { "Stone Block": 15, "Iron Bar": 20, "Sapphire", 3},
"tiles": [ "Iron Anvil" ],
"creates": 1
}
---------------------------------------------------------
and jsonlint.com said its fine
Sure doesn't look fine , you're missing a bunch of closeups on the recipes - note how recipes start with "[" followed by a "{" which you close neither of.
 
Okay, so. When a world is imported from vanilla, any amounts of items get turned into 1 instead of the stack they were in before and the NPCs are missing and must respawn. Just a heads up.
 
My .CS files still don't work!
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using TAPI;
using Terraria;

namespace Crimson_Curse.Items.Equipable
{
    public class Nexus_Repulsor : ModItem
    {
        public override void Effects(Player p)
        {
            p.thorns = 1.5f;
        }
    }
}
 
I can't install r15 for some reason, says wherever I'm installing it isn't a valid directory.... even though thats exactly where I downloaded r14
Did you make sure a "Terraria.exe" or a "tAPI.exe" exists within that directory? The previous installer just deleted those straight out without replacing them. If you have it on Steam, just verify cache in the game's property in the Steam Library and then try installing it again.
 
Did you make sure a "Terraria.exe" or a "tAPI.exe" exists within that directory? The previous installer just deleted those straight out without replacing them. If you have it on Steam, just verify cache in the game's property in the Steam Library and then try installing it again.
Nevermind I got it working.
 
Last edited:
Found a small bug. whenever I click on one of my tAPI characters, where it would normally switch to a list of my worlds it switches to a list of my normal terraria characters and I have to click on one of those twice for the worlds to show up.
 
Is r15 being worked on? This is my first time using mods for this game and I'm pretty excited to see how this one works! :) Will there be a post when the working one comes out? Thanks all! ^_^
 
Status
Not open for further replies.
Back
Top Bottom