tModLoader Magic Storage

@Entropy.exe that must be a Magic Storage - Extra feature then, since Magic Storage doesn't have that
It's a shame that the original one has lesser station slots than the extra. Also I haven't seen that feature being added in Magic Storage Extra's patch notes.
 

Attachments

  • 1626652395694.png
    1626652395694.png
    29.5 KB · Views: 259
It's a shame that the original one has lesser station slots than the extra. Also I haven't seen that feature being added in Magic Storage Extra's patch notes.
@Entropy.exe I just double-checked and the original Magic Storage does not even check for right-clicks for the craft button, so it must be a Magic Storage - Extra feature.
Maybe the developers of Magic Storage - Extra forgot to include this in their mod's description?
 
after the update, i can no longer use the mod. when i place the heart next to access and units, it keeps saying that it isnt connected, even though it visibly is
 
after the update, i can no longer use the mod. when i place the heart next to access and units, it keeps saying that it isnt connected, even though it visibly is
@U M R you're using tiles from both Magic Storage and Magic Storage - Extra. Either use one of those mods only, or use the Which Mod is This From? mod to figure out which mod you used to place what tiles.
 
Gm, guys? Is there any wiki on this mode? Or such instructions, but with actually working pictures in it? Didn't understand a thing here.:sigh:
 

Attachments

  • Screenshot_22.jpg
    Screenshot_22.jpg
    54.1 KB · Views: 150
@pony 2 I haven't gotten around to making a wiki yet. The Storage Component requires Wood and Iron/Lead Bars.
After that, you can use the Guide or Recipe Browser to see what the Storage Component is used for.
 
I get a crash pretty regularly when using magic storage extra:

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.Xna.Framework.Graphics.OpenGLDevice.DrawIndexedPrimitives(PrimitiveType primitiveType, Int32 baseVertex, Int32 minVertexIndex, Int32 numVertices, Int32 startIndex, Int32 primitiveCount, IGLBuffer indices, IndexElementSize indexElementSize)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawIndexedPrimitives(PrimitiveType primitiveType, Int32 baseVertex, Int32 minVertexIndex, Int32 numVertices, Int32 startIndex, Int32 primitiveCount)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.DrawPrimitives(Texture texture, Int32 baseSprite, Int32 batchSize)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.FlushBatch()
at Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
at Terraria.UI.GameInterfaceLayer.Draw()
at DMD<Terraria.Main::DrawInterface>(Main , GameTime )
at SpiritMod.SpiritDetours.DrawParticles(orig_DrawInterface orig, Main self, GameTime gameTime) in SpiritMod\SpiritDetours.cs:line 85
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop(Game game)
at Microsoft.Xna.Framework.Game.Run()
at Terraria.Program.LaunchGame_()
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.FNALaunch.Main(String[] args)

Happens in tModLaoder 32 and 64 bit.

why I think it happens:
A combination out of:
- a 1440p monitor which makes more items render in the magic storage than normal
- fast usage of magic storage. every crash happens after writing something quickly into the searchbar or scrolling fast
 
I get a crash pretty regularly when using magic storage extra:

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.Xna.Framework.Graphics.OpenGLDevice.DrawIndexedPrimitives(PrimitiveType primitiveType, Int32 baseVertex, Int32 minVertexIndex, Int32 numVertices, Int32 startIndex, Int32 primitiveCount, IGLBuffer indices, IndexElementSize indexElementSize)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawIndexedPrimitives(PrimitiveType primitiveType, Int32 baseVertex, Int32 minVertexIndex, Int32 numVertices, Int32 startIndex, Int32 primitiveCount)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.DrawPrimitives(Texture texture, Int32 baseSprite, Int32 batchSize)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.FlushBatch()
at Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
at Terraria.UI.GameInterfaceLayer.Draw()
at DMD<Terraria.Main::DrawInterface>(Main , GameTime )
at SpiritMod.SpiritDetours.DrawParticles(orig_DrawInterface orig, Main self, GameTime gameTime) in SpiritMod\SpiritDetours.cs:line 85
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop(Game game)
at Microsoft.Xna.Framework.Game.Run()
at Terraria.Program.LaunchGame_()
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.FNALaunch.Main(String[] args)

Happens in tModLaoder 32 and 64 bit.

why I think it happens:
A combination out of:
- a 1440p monitor which makes more items render in the magic storage than normal
- fast usage of magic storage. every crash happens after writing something quickly into the searchbar or scrolling fast
Magic Storage is not responsible for any issues you might have when using Magic Storage Extra.
Please make an issue in its GitHub repository.
 
Last edited:
On page 74
Magic Storage Extra (which I will call MSE) is a fork (of another fork) of the original Magic Storage. MSE was made by someone else and includes extra features such as more filters, more crafting station slots, etc. The only reason Blushiemagic is credited is that they coded the original. MSE isn't compatible with the original MS or mods that have cross-mod content with the original such as Fargo's Soul Mod. I've also heard MSE is a little buggy, but I don't know if that is still true.
This means the makers of Magic Storage have no control of Magic Storage Extra as they don't make, edit, or update it. The 2 do the same thing for the most part and so will conflict with each other. You have to use one or the other, not both, otherwise you expect errors and crashes.
 
Magic Storage v0.4.3.5

Are you tired of having a mess of chests in your base? Never remember where you put your items, and have to run across your entire house to get from chest to chest? This mod will solve all of your problems!

This mod offers a solution to storage problems once and for all. It allows you to construct a central network to store all your items, that you can access from one single block. If desired, you can even set up multiple access points to use your storage from anywhere in the world. You can search your storage for items with a certain name, filter by item types, etc. The magic storage can even craft items for you!

The magic storage scales as you progress in your playthrough. It is accessible very early in the game, but with limited power. As you defeat bosses and earn more materials, you will be able to upgrade your storage to perform more functions and more easily expand the storage capacity.

The first thing you will want to do is craft several Storage Components:

10
$
+ 2
$
=
AWt4rpv.png
(Requires
$
)
Note: Any wood can be used, and Lead may be used in place of Iron.

By itself, the Storage Component does nothing. However, it the base material for crafting all blocks in the mod. In addition, it can be used to connect different parts of your storage network (more on that later).

AWt4rpv.png
+ 3
$
+ 7
$
=
fEhamDN.png
(Requires
$
)

As its name implies, the Storage Heart is the heart of your storage network. Every storage network must have one, and exactly one, in order to function. You can right-click the heart to access all items in its network.

Simply place one down to create a storage network.

Note: A Storage Heart cannot be physically connected to another Storage Heart or to a Remote Storage Access.

LM4nVnM.png


The first row of top-left buttons allow you to sort the items by default vanilla sorting, by ID, or in alphabetical order. The Deposit All button deposits all unfavorited items in your inventory and not in your hotbar into the storage. The top Search Bar allows you to search for items whose name contains whatever you type. The second row of top-left buttons allow you to filter items by category, while the bottom Search Bar allows you to search for items whose mod's name contains whatever you type.

To deposit an item, simply click any slot with the item in your mouse. To withdraw an item, click a slot containing the item while your mouse is not holding an item. It will attempt to withdraw up to a full stack. To withdraw one item, right-click the slot instead. You can also hold right-click to rapidly withdraw one item at a time.

You can also shift-click to deposit and withdraw items.

AWt4rpv.png
+
$
+ 10
$
=
l9Kawlw.png
(Requires
$
)
Note: Tungsten can be used in place of Silver.

You've probably noticed that by itself, you can't really do much with the Storage Heart. No items can be deposited into it. This is because you must connect one or more Storage Units to it in order for it to be able to store items.

The Storage Unit can store 40 items, just like a normal chest. This can be upgraded, however. When you deposit an item into a Storage Heart, it will search through all connected Storage Units to find space for it. Similarly, if you withdraw an item from a Storage Heart, it will search through all connected Storage Units to find it. This is where the Storage Heart becomes the central access for all your items; no longer do you have to search through rows of chests to find what you're looking for!

Once a Storage Unit contains items, the green indicator light on the bottom-right will turn yellow. When it becomes full, the light will turn red. You can also right-click a Storage Unit to get the exact number of item stacks it contains. When a Storage Unit contains items, it cannot be mined.

The Storage Heart will gradually attempt to draw items to the Storage Units closest to it. This way, you don't have to worry about having many Storage Units each with just a small amount of items, unable to be mined.

In order to upgrade a storage unit, you must craft an upgrade item, then right-click a previous-tier Storage Unit with the upgrade. You may also craft the Storage Unit and the upgrade together, if you wish.

Demonite Storage Upgrade: Upgrades a normal Storage Unit to 80 capacity
10
$
+
$
=
vK3vwX3.png
(Requires
$
/
$
)

Crimtane Storage Upgrade: Upgrades a normal Storage Unit to 80 capacity
10
$
+
$
=
Tl5nJLL.png
(Requires
$
/
$
)

Hellstone Storage Upgrade: Upgrades a Demonite/Crimtane Storage Unit to 120 capacity
10
$
+
$
=
tTZp5A9.png
(Requires
$
/
$
)

Hallowed Storage Upgrade: Upgrades a Hellstone Storage Unit to 160 capacity
10
$
+
$
+
$
+
$
+
$
=
wSXSLLr.png
(Requires
$
/
$
)

Blue Chlorophyte Storage Upgrade: Upgrades a Hallowed Storage Unit to 240 capacity
5
$
+ 5
$
+ 2
$
+
$
=
hmg4C1a.png
(Requires
$
/
$
)

Luminite Storage Upgrade: Upgrades a Blue Chlorophyte Storage Unit to 320 capacity
10
$
+ 5
$
+ 5
$
+ 5
$
+ 5
$
+
$
=
A491J70.png
(Requires
$
)

Terra Storage Upgrade: Upgrades a Luminite Storage Unit to 640 capacity
ElwFdkL.png
+
$
=
18RFnlK.png
(Requires
$
)
Note: The Radiant Jewel is a 5% drop from the Moon Lord (10% in Expert Mode).
Additionally, there may be more recipes for the Terra Storage Upgrade depending on what mods you have.
Elemental Unleash (Bluemagic's Endgame Bosses):
zucMiH2.gif
+
$
=
18RFnlK.png
(Requires
YCnZeba.png
)
Calamity:
20
$
+
$
=
18RFnlK.png
(Requires
$
)

I've mentioned connecting Storage Hearts to Storage Units, but haven't actually explained what that means. Two Storage Components are connected if they are touching each other, or if they are connected to components that are touching each other. This is a bit difficult to explain, so here are some examples with pictures.

Connected
b6PSN6B.png


Connected
o2OYjvl.png


Connected
PI1GR21.png


Both Connected
qvoQVze.png


Connected
GdFSdjR.png


Connected
ma6EQjU.png


Not Connected
QGZVnD8.png


Not Connected
vuPnrsn.png

$
+
AWt4rpv.png
=
hALRw7q.png
(Requires
$
/
$
)

Storage Units that contain items cannot be mined. However, this can be rather inconvenient when you don't exactly control when items are deposited to or withdrawn from a specific Storage Unit. The Storage Unit Wand solves this problem. Simply left-click a Storage Unit with the wand to deactivate it; this will turn the light in the top-right corner off. If you want to reactivate a Storage Unit, just click it with the wand again. You can also right-click a Storage Unit to see whether it is active or inactive.

A deactivated Storage Unit can still be withdrawn from, but cannot be deposited into. Additionally, the Storage Heart will attempt to move all items in the deactivated unit into other units as fast as possible, so that you can mine the deactivated unit.

10
$
+
$
= 16
YaCux9J.png
(Requires
$
)
Note: Any wood can be used, and Lead may be used in place of Iron.

One problem with using Storage Components to connect different parts of your network is that they take up a huge 2x2 space. In addition, they are pretty iron/lead-expensive to use. Storage Connectors solve this problem: they function similar to Storage Components, except they are 1x1 and cannot be stood on. They even visually connect together!

AWt4rpv.png
+
$
+ 7
$
=
i7XJWLw.png
(Requires
$
)

The Storage Heart lets you access all your items from one central location. But then the problem arises: you have to walk all the way to that location in order to get your items! #FirstWorldProblems

The Storage Access solves this problem. Simply connect a Storage Access to a Storage Heart, then when you right-click the Storage Access, it will open up the Storage Heart for you!

AWt4rpv.png
+ 3
$
+ 7
$
=
61jhcCt.png
(Requires
$
)

Now for some more serious problems. So far, you need to actually physically connect the Storage Heart to all Storage Units. This means your house will still be filled to the brim with blocks, and you can't access your storage from far away (unless you line the world with Storage Components). But never fear, Remote Storage Accesses are here!

First, you must place down a Remote Storage Access where you want to access your network from, or where you want to place your Storage Units. Next, you must craft a Locator:
10
$
+ 5
$
=
5JLkSdv.png
(Requires
$
/
$
)

Next, you must right-click a Storage Heart with the Locator. This will store the Storage Heart's location onto the Locator.

Once the Locator has a location stored, you must right-click the Remote Storage Access with the Locator. This will copy the location onto the Remote Storage Access, and consume the Locator.

A Remote Storage Access whose stored location points to a Storage Heart will become connected to the Storage Heart. This means right-clicking the Remote Storage Heart will open the GUI with all the items of the Storage Heart. Similarly, a Storage Access can be connected to the Remote Storage Access and function properly, and the Storage Heart will use all Storage Units that are connected to the Remote Storage Access.

To clear the location stored on a Remote Storage Access, you must mine then re-place it.

There is also a second type of Locator, the Locator Drive. Instead of being consumed upon use, the location stored on the Locator Disk will simply become cleared.
25
$
+ 5
$
=
F06oITz.png
(Requires
$
)

Note: A Remote Storage Access cannot be physically connected to another Remote Storage Access or to a Storage Heart.

AWt4rpv.png
+ 3
$
+ 7
$
=
W9iJ3uy.png
(Requires
$
)

You can easily store and retrieve items to your heart's content, and even access your items from all over the world. But one thing is missing: how about crafting? You might have noticed that you cannot craft anything while viewing your storage. The Storage Crafting Interface fixes all those problems!

PhZidSY.png


To use a Storage Crafting Interface, first connect it to a Storage Heart. There are 10 slots available at the top for you to put crafting stations into. This will enable you to use any recipe that uses those crafting stations. Below those, you will see a list of all the recipes in the game. These recipes can be sorted, searched, and filtered by the items they create. If you click on a recipe, its info will appear on the right-hand side, including what ingredients you have in the storage already, and how many of the result you already have. You can click on an item in the storage to stop it from being used for the recipe (useful if the recipe can choose between multiple items or for keeping weapons with prefixes you want). Click the Craft button to craft the recipe; the ingredients will automatically be used and the result will automatically be deposited into storage. You can also hold the Craft button to keep on crafting.

To use a recipe that requires water, you can use either a sink or a water bucket for a crafting station. You can use a lava bucket for lava, and a honey bucket for honey. There is also a new item called a Snow Biome Emulator for recipes that require a snow biome.

F06oITz.png
+
ElwFdkL.png
+ 3
$
+ 7
$
=
HyOH1OI.png
(Requires
$
)

Remote Storage Accesses are great if there is are static points in the world where you frequently access your items. However, they do not let you access your storage on the go, as you are exploring. Wouldn't it be great if you could just deposit everything into storage once your inventory fills, without even returning to base? Or withdraw some potions that you forgot to bring along?

The Portable Remote Storage Access will let you do exactly that! Just like with Locators and Locator Drives, you must first right-click a Storage Heart to save its location. Then, you can simply open up your storage by using this item with left-click, whenever and wherever you want!

Like with the Terra Storage Upgraded, the Radiant Jewel can be replaced by other items depending on what mods you have.

At this point, you're probably wondering: "Where on earth am I supposed to get all these diamonds?!" Worry not, this mod offers a solution to that! The first time you kill each boss, it will drop an item called a Shadow Diamond. You have the option to use these items instead of regular diamonds for any of this mod's recipes.

tjMkwsu.png

Credits
@AdipemDragon - Spriting
@zadum4ivii - Russian translations
@ArcheRion720 and @Sapharan - Polish translations
purple thong - French and Spanish translations
@Dierney - Chinese translations

Download:
https://github.com/blushiemagic/MagicStorage/releases/download/v0.4.3.5/MagicStorage.tmod
This is also available in the Mod Browser as Magic Storage.
Note: While I have tested this mod thoroughly, there is always the chance there will be some bugs. If you find any, please let me know! Bug reports should be reported as issues on the Github; please make sure there are no duplicate issues.

Github: blushiemagic/MagicStorage

v0.4.3.5
-Updated to tModLoader v0.11.5
-Improved searchbar functionality (arrow keys, delete, home, end)
-Fixed bug where inventory has to be closed twice on auto-pause
-Minor Fixes

v0.4.3.4
-Updated to tModLoader v0.11
-Added clear searchbar functionality by right-clicking or control-backspace
-Added Chinese translations

v0.4.3.3
-Fixed crash when opening storage with low framerate
-Fixed bug where clicks still interact with the storage when the game is minimized

v0.4.3.2
-Fixed some bugs with search capitalization
-Improved Russian translations
-Uses less network data, delaying the disappearing chunk problem on servers by a lot
-Fixed crash when opening storage after reloading mods

v0.4.3.1
-Fixed bug where game can rarely crash when crafting in the crafting interface
-Improved sprite for snow biome emulator and renamed it to broken snowglobe

v0.4.3
-Fixed crafting interface issues on servers
-Search bars now work with any language
-Massively sped up the crafting interface

v0.4.2
-Added a mod icon
-Memory improvements when reloading mods
-Added the portable remote storage access
-Fixed bug where crafting interface does not display names of recipe groups

v0.4.1.2
-Fixed bug where crafting items in the crafting interface can't give them prefixes
-Fixed some polish translations
-Fixed bug where search bars do not function in multiplayer if a player is dead
-Reduced gem requirements for the storage network

v0.4.1.1
-Fixed bug where clicking the crafting interface result slot with an item would crash the game if no recipe is selected
-Massively improved the performance of storage transactions on multiplayer

v0.4.1
-Added french and spanish translations
-Fixed bug where fishron can drop more shadow diamonds after restarting the world
-Decreased drop rate of radiant jewels
-Fixed bug where alchemy table effect persists when removing the alchemy station from the crafting interface
-Fixed bug where searching for mods uses their internal name instead of display name
-Added support for blocking items from being used in the crafting interface
-Minor bug fixes

v0.4.0.2
-Fixed bug where mining the crafting interface would sometimes leave behind a glitched block
-Fixed bug where items could be duplicated by depositing them while they're in use

v0.4.0.1
-Fixed bug where recipe availability does not update when crafting stations change
-Fixed bug where you can mine tiles with crafting stations in them
-Fixed bug where some text in the crafting UI does not translate
-Result slot in crafting interface can now be used to deposit/withdraw the result
-Added an option (on by default) to only show available recipes in the crafting interface

v0.4
-Added native support for shift-clicking - your trash will no longer be put into storage
-Added the Crafting Interface
-Added some Russian and Polish translations
-Now works with UI scaling

v0.3.0.2
-Updated to tModLoader v0.10
-Locators can now be used when held in the mouse
-Hopefully fixed server-related bugs

v0.3.0.1
-Fixed loading error with Legend of Terraria 3
-Fixed bug where right-clicking away from a search bar would not reset its focus
-Fixed bug where player could move while a search bar is in focus

v0.3
-Improved Locator sprite
-NPCs no longer stop you from opening the storage
-Fixed bug where empty inactive storage units can't be mined
-Fixed bug where upgrading a storage unit does not update full indicator
-Greatly reduced network spam and improved performance
-Fixed bug where destroying a remote access on a server would do weird stuff
-Storage units can now be crafted from any chest
-Fixed bug where items stay favorited inside of storage
-Added the ability to sort by quantity
-Added the ability to filter items by category
-Added the ability to search by mods
-Added shadow diamonds - dropped by first boss kills
--Can be used in place of diamonds for crafting storage stuff
-Support for gems from Legend of Terraria 3
-More bugfixes and improvements

v0.2.1
-Storage network can now be opened on Mac/Linux
-Improved Locator Drive sprite
-Added Storage Connectors

v0.2
-Now requires at least tModLoader v0.9.2.2 to load
-You can now deactivate Storage Units with the new Storage Unit Wand
-Vastly improved spritework
-Fixed massive slowdowns on certain occassions
-Fixed crash when right-click-withdrawing last item in display
-Added logging to help diagnose errors
-The storage GUI now displays item count and capacity across the entire network

v0.1
-Initial Release

TODO List:
-Money Compactor
-Blacklist/Whitelist for specific accesses
When I loaded my world, all my magic storage containers were gone.
 
I've looked everywhere with no result. When searching for something in both crafting and in the heart, doesn't matter which, it won't let me enter bound keys.
Like my mount key is "T", so now I can't search for anything with the letter "T" in it because it'll activate my mount instead of entering the letter T in search.

Any work a rounds?
 
I've looked everywhere with no result. When searching for something in both crafting and in the heart, doesn't matter which, it won't let me enter bound keys.
Like my mount key is "T", so now I can't search for anything with the letter "T" in it because it'll activate my mount instead of entering the letter T in search.

Any work a rounds?
Does this happen with only Magic Storage enabled?
 
It's the only mod I have installed besides the recipe viewer mod
Well, the way Magic Storage handles text input is the same as any other mod would, so it shouldn't be an issue on the mod's end.
Make absolutely sure that Magic Storage is the only mod you have enabled. Disable all mods, restart your game, enable Magic Storage and check again.
 
Hello. I can not seem to get the mod to work at all on my server. Even having it as the only mod, it will load the world let me in and have 0 mods activated. When I go and look my JSON file will go from:
[
"MagicStorageExtra"
]
to:
[
]

If anyone knows how to fix this it would be greatly appreciated. I've been paying for a server for 2 months trying to get this to work. (I'm bad at procrastination)
There is an error but the console deletes it for some reason when I try and copy it. I was able to get this screen shot though.
Capture.PNG
 
Hello. I can not seem to get the mod to work at all on my server. Even having it as the only mod, it will load the world let me in and have 0 mods activated. When I go and look my JSON file will go from:
[
"MagicStorageExtra"
]
to:
[
]

If anyone knows how to fix this it would be greatly appreciated. I've been paying for a server for 2 months trying to get this to work. (I'm bad at procrastination)
There is an error but the console deletes it for some reason when I try and copy it. I was able to get this screen shot though. View attachment 338477
Magic Storage - Extra and Magic Storage are two completely separate mods.
Consult the devs for Magic Storage - Extra.
 
Back
Top Bottom