Standalone [1.3] tModLoader - A Modding API

? Most mod authors including me update their mods with tmodloader/terraria?
And I'm thankful for that. However, many mod makers have since moved on or stopped updating, like this RPG classes mod I enjoy. It will more than likely not survive the transition. Same with the Spirit mod, which I think the devs are having a hard time deciding whether to scrap it or not. it'd be hard to see these high quality mods be lost in the transition.
 
And I'm thankful for that. However, many mod makers have since moved on or stopped updating, like this RPG classes mod I enjoy. It will more than likely not survive the transition. Same with the Spirit mod, which I think the devs are having a hard time deciding whether to scrap it or not. it'd be hard to see these high quality mods be lost in the transition.
oh, I thought it was just tremer...
 
(I know I didn't do frames yet) help! it removes 2 from the inventory instead of 1
also, incase of possible confusion, how do you set it to only work while in reach
also I cant just use createTile because this will cover multiple items

for(int s=0;s<50;s++){
if(player.inventory.type==28){
if(WorldGen.PlaceTile(Player.tileTargetX, Player.tileTargetY, 13)){
player.inventory.stack--;
return true;
}
}
}

Got amount working by accedent
still need help with range
 
Last edited:
? Most mod authors including me update their mods with tmodloader/terraria?
is it hard to update a mod? :O

what happen if a mod autor won't update? i know thorium/antiaris/calamity and big major content will but ( i really want dead spirit mod to be updated and some smaller like wireless / gamble npc ) can't play without it :p )
 
is it hard to update a mod? :O

what happen if a mod autor won't update? i know thorium/antiaris/calamity and big major content will but ( i really want dead spirit mod to be updated and some smaller like wireless / gamble npc ) can't play without it :p )
It is not hard, but it can be time consuming. mod authors discontinue their mods for:
gave up,
working on other mod (like the author of tremer),
quit terraria (most likely what happened to crystilium),
considers mod complete,
considers coding hard,
says they will come back but they don't,
physicly unable to continue,
quit terraria community,
author dead (in theory),
lack of time,
possibly other reasons.

You can even fall under multiple things on this list.
 
Last edited:
I've got a strange problem that keeps happening. After about 2-3 days, I'll load up the game and it will present me with the language select page again. After that my mods load and then my character is there but when I load up the world, it says something about world not loading (forgot what it says) then it lets me load the backup and then it just gives me the message
Index was outside the bounds of the array.
at Terraria.Player.Spawn()
at Terraria.WorldGen.do_playWorldCallBack(Object threadContext)
at Terraria.WorldGen.playWorldCallBack(Object threadContext)
What is happening? And how can I fix it?
 
It is not hard, but it can be time consuming. mod authors discontinue their mods for:
gave up,
working on other mod (like the author of tremer),
quit terraria (most likely what happened to crystilium),
considers mod complete,
considers coding hard,
says they will come back but they don't,
physicly unable to continue,
quit terraria community,
author dead (in theory),
lack of time,
possibly other reasons.

You can even fall under multiple things on this list.
i supose big mod like crystilium could came back just to update their mod and nothing else.... well..i guess...i hope :O
 
i supose big mod like crystilium could came back just to update their mod and nothing else.... well..i guess...i hope :O
Graydee
Made Crystalium and Spirit mods.
I cant see when she was on last, but recent activity is blank.
because of the disappearance, crystalium and spirit took the blow. sure both have other devs but a big one for both is gone.
 
Graydee
Made Crystalium and Spirit mods.
I cant see when she was on last, but recent activity is blank.
because of the disappearance, crystalium and spirit took the blow. sure both have other devs but a big one for both is gone.
i just tell her about it and she just answer me with : potential yes about updating . they are hope i guess!
:)
 
on discord of course!
???I have no idea what that is???
The answer is still good enough.
I would like to trade with the parent mod of slime biome. worldgen for textures.
(A big reason why I made slime biome is because I liked crystalium, and wanted my own biome mod)
(I am also trying to say that the world gen of crystalium is the most buggy and unstable ever)
 
for some reason it gives me this, what have I done?!

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Unable to create the graphics device. ---> Microsoft.Xna.Framework.Graphics.DeviceLostException: Exception of type 'Microsoft.Xna.Framework.Graphics.DeviceLostException' was thrown.
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.CreateDevice(GraphicsAdapter adapter, PresentationParameters presentationParameters)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, PresentationParameters presentationParameters)
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation newInfo)
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation newInfo)
at Microsoft.Xna.Framework.GraphicsDeviceManager.ChangeDevice(Boolean forceCreate)
at Microsoft.Xna.Framework.GraphicsDeviceManager.GameWindowScreenDeviceNameChanged(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameWindow.OnScreenDeviceNameChanged()
at Microsoft.Xna.Framework.WindowsGameWindow.mainForm_ScreenChanged(Object sender, EventArgs e)
at Microsoft.Xna.Framework.WindowsGameForm.OnScreenChanged()
at Microsoft.Xna.Framework.WindowsGameForm.UpdateScreen()
at Microsoft.Xna.Framework.WindowsGameForm.Form_LocationChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnLocationChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Microsoft.Xna.Framework.WindowsGameForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Terraria
Assembly Version: 1.3.5.1
Win32 Version: n/a
CodeBase: file:///C:/Users/Richard/Desktop/Terrariamods.exe
----------------------------------------
ReLogic
Assembly Version: 1.0.0.0
Win32 Version: n/a
CodeBase: file:///C:/Users/Richard/Desktop/Terrariamods.exe
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.Xna.Framework.Game
Assembly Version: 4.0.0.0
Win32 Version: 4.0.20823.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework.Game/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.Game.dll
----------------------------------------
Microsoft.Xna.Framework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.20823.0 built by: xnabldr
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.dll
----------------------------------------
Microsoft.Xna.Framework.Graphics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.20823.0 built by: xnabldr
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework.Graphics/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.Graphics.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Microsoft.Xna.Framework.Xact
Assembly Version: 4.0.0.0
Win32 Version: 4.0.20823.0 built by: xnabldr
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework.Xact/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.Xact.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Newtonsoft.Json
Assembly Version: 10.0.0.0
Win32 Version: n/a
CodeBase: file:///C:/Users/Richard/Desktop/Terrariamods.exe
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Microsoft.Xna.Framework.Input.Touch
Assembly Version: 4.0.0.0
Win32 Version: 4.0.20823.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Xna.Framework.Input.Touch/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.Input.Touch.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Steamworks.NET
Assembly Version: 9.1.0.0
Win32 Version: n/a
CodeBase: file:///C:/Users/Richard/Desktop/Terrariamods.exe
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
???I have no idea what that is???
The answer is still good enough.
I would like to trade with the parent mod of slime biome. worldgen for textures.
(A big reason why I made slime biome is because I liked crystalium, and wanted my own biome mod)
(I am also trying to say that the world gen of crystalium is the most buggy and unstable ever)
We have a discord server, Discord is a chat and voice chat app where you can talk with other people.
The link to the server is here: https://www.tmodloader.net/discord
 
Back
Top Bottom