Standalone [1.3] tModLoader - A Modding API

View attachment 205105

hi this is kyler again, um I ran into some trouble getting this mod to load in can someone please tell me why, thank you :)
there are a bit of issues with this code, for example with the item price you put (gold: 1) that is invalid and will produce an error, the correct way to do it is
Code:
item.value = int;
the value must be an integer. For example a value of 10000 should set the value to 1 gold
the second problem is
Code:
recipe.setResult(defence=+1000);
what it is meant to be is
Code:
recipe.setResult(this);
the reason why it didn't work is because of the fact that 'setResult' is the output of what you want crafted. You also forgot curly brackets to close the namespace, class and Addrecipes.
 
Does anyone know what cause a bug were dropped items float? this is really annoying since my conveyor belts become useless when farming %:sigh:
 
Last edited:
Everytime I try to open the mod browser the game crashes with this error, what am I doing wrong?
Capture.PNG
 
I haven't been here in a while, have they fixed the armor stand bug yet? Or was that a mod side bug. I havent been here in a while so I can't remeber.
 
Anybody got any ideas?
20180724210807_1.jpg

here are the logs:
Bad JSON: Query failed: Column 'ip' cannot be null
at Terraria.ModLoader.UI.UIModBrowser.PopulateFromJSON(LocalMod[] installedMods, String json)

Inner Exception:
Unexpected character encountered while parsing value: Q. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at Terraria.ModLoader.UI.UIModBrowser.PopulateFromJSON(LocalMod[] installedMods, String json)
 
Hello! Every since I got update v0.10.1.5 I removed all my mods for a new playtrough. Soon after installing v0.10.1.5, I cannot get past the Finding Mods section! I don't have any mods installed and when it happens the game freezes and says Terraria has stopped working. If you need a picture I will add one.
 
Hello,

I have problem running mods. I don't have sound card because it just died... When i try to run mods this issue happens... Normal Terraria works just fine. Is there anything i can do besides getting new sound card?
Sound problems.png
 
Hey, I've been having this issue all day where when I try to use my custom spear It only uses the end of the spear to attack and I wanted to know what was causing this. I have been copying then editing code from example mod and using that mixed with some online tutorials to make my items
 
My terraria freezes on startup on linux (ubuntu 18.04).
After I download tModLoader, I go to mod browser and download some mods. It crashes completely randomly when I click "download" and this is the log that appears:
7/29/2018 4:01:32 PM
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00016] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x00050] in <1170fb08300b4d0db71c1d1db8555768>:0
at Terraria.UI.UIElement.DrawChildren (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x0001d] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.ModLoader.UI.UIModDownloadItem.DrawChildren (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00000] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x000c5] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.GameContent.UI.Elements.UIList+UIInnerList.DrawChildren (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x0008f] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x000c5] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.DrawChildren (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00016] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x000c5] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.DrawChildren (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00016] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x000c5] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.DrawChildren (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00016] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x000c5] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.DrawChildren (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00016] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UIElement.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x000c5] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.ModLoader.UI.UIModBrowser.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00000] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.UI.UserInterface.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch, Microsoft.Xna.Framework.GameTime time) [0x0000e] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.Main.DrawMenu (Microsoft.Xna.Framework.GameTime gameTime) [0x05844] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.Main.do_Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x03af7] in <e24c815ea5d749ca88f366401db4a98a>:0
at Terraria.Main.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <e24c815ea5d749ca88f366401db4a98a>:0
After that terraria stops launching. From now when I launch terraria from steam it just freezes after logo and gives black screen. After that I verify cache using steam and it deletes tModLoader and works, but when I install tModLoader it crashes on first mod I try to download through mod browser.
And I can't give log because it does not create any, it does not crash, it just freezes until you kill it in task manager.
I have no mods enabled
 
I need help I keep getting
error CS2001: Source file 'C:\User\solar\Documents\My Games\Terraria/ModLoader\Mod Sources\Some\Items\Accessory\_AlphaShield.cs' could not be found
I've gotten rid of AlphaShield.cs and it still didnt work, I even tried to name a sprite AlphaShield and do all that but it still wouldnt work. Can someone help me please? ;-; oh im also on windows
 
Hey, I recently installed the newest tmodloader for Mac, and tried installing it both using the .jar and manually, but every time I boot up terraria through steam/manually the re-logic screen comes up and then fades to black and stays that way forever. this seems to happen with every version all the way back to tmodloader version 10.0.1. Any help would be deeply appreciated!
[doublepost=1533223418,1533223367][/doublepost]
Hey, I recently installed the newest tmodloader for Mac, and tried installing it both using the .jar and manually, but every time I boot up terraria through steam/manually the re-logic screen comes up and then fades to black and stays that way forever. this seems to happen with every version all the way back to tmodloader version 10.0.1. Any help would be deeply appreciated!
ALSO, I've tried this with another Mac and the same exact thing happened, so it couldn't just be my Mac
 
Back
Top Bottom