Phoenix-Mask
Terrarian
Is there a way to add a max stack size to the bags? I like the idea to have different bags depending on the item type but kinda feel like it is to overpowered with holding nearly limitsless amounts
Can confirm this is a bug when running a tModLoader server through the provided tModLoaderServer.exe
hastebin
Omnibags innaccessible on multiplayer servers · Issue #1 · JPANv2/BagsOfHolding
EDIT: Does not work on Host & Play, either.
I am also getting this error and it's preventing me from using the omni bag when playing with others. I would like to note though that it seems to be a file read/access conflict as other players on the server can use the omni bag fine. (Since their terraria instance isn't trying to access the same files as the server)
Somewhere in digging through the logs I found a line that stated that the error occured because the file %userprofile%\Documents\My Games\Terraria\ModLoader\Mod Configs\JPANsBagsOfHolding\Bags\OmniBag.json was already open by another process. I'm having trouble finding that line again, but what I'm seeing with crashes lines up with this being a file access issue.
As mentioned before, when fishing up items they go into the inventory and not the bag of holding. I have it equiped to vanity and the config file is set to check for vanity. All other bags are working properly, and if I throw them on the ground they pick up to the bag. Does anyone know of a way to get this to work?
Edit: I've also noticed that the mod seems to cause a lot of lag especially in multiplayer. My guess is that the game keeps trying to send a bunch of info to and from the server about what is in the player's inventory. Is there anything I can do with config files to try and remedy this?
Edit 2: Nevermind on the lag. That was just Steam acting up, eating tons more CPU than it should for no apparent reason.
Edit 3: Fixed the steam thing, the lag persisted until I turned off the mod. It only seems to cause lag in multiplayer. My guess is that it has something to do with the enormous stack size set aside for the bags of holding. I love the idea of this mod though!
I have got a weird bug.
It happens when i move an omni bag or nature bag in and out of the hotbar in multiplayer only.
It doesn't happen with basic bags.
Object synchronization method was called from an unsynchronized block of code.
at Terraria.IO.Preferences.Save(Boolean createFile)
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.loadBagInfoFromConfig() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 715
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.basestSeupItemList() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 80
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.setupItemList() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 63
at JPANsBagsOfHoldingMod.Items.NatureBag.setupItemList() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\NatureBag.cs:line 60
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.SetDefaults() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 59
at JPANsBagsOfHoldingMod.Items.NatureBag.SetDefaults() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\NatureBag.cs:line 53
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.Clone() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 536
at Terraria.ModLoader.ModItem.NewInstance(Item itemClone)
at Terraria.ModLoader.ModItem.Clone(Item item)
at Terraria.Item.Clone()
at Terraria.Player.clientClone()
at Terraria.Main.DoUpdate(GameTime gameTime)
at Terraria.Main.Update(GameTime gameTime)
I'm playing with tmodloader version 0.10.1.5
This is a mod that everyone needs if they have space issues in their inventory. Definitely.
Thing is, at the moment, with tModLoader and this mod fully up to date, I keep getting amazing amounts of errors. Here's something from the log.
Silently Caught Exception: Object must implement IConvertible. at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Terraria.ModLoader.ModCompile.<>c.<ActivateExceptionReporting>b__15_0(Object sender, FirstChanceExceptionEventArgs exceptionArgs)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType)
at Terraria.IO.Preferences.Get[T](String name, T defaultValue)
at JPANsBagsOfHoldingMod.BagsOfHoldingMod.getStringListFromConfig(Preferences configuration, String tokenID) in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\BagsOfHoldingMod.cs:line 541
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.loadBagInfoFromConfig() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 710
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.basestSeupItemList() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 80
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.setupItemList() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 63
at JPANsBagsOfHoldingMod.Items.OmniBag.setupItemList() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\OmniBag.cs:line 58
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.SetDefaults() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 59
at JPANsBagsOfHoldingMod.Items.OmniBag.SetDefaults() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\OmniBag.cs:line 51
at JPANsBagsOfHoldingMod.Items.GenericHoldingBag.Clone() in d:\Users\JPAN\Documents\My Games\Terraria\ModLoader\Mod Sources\JPANsBagsOfHoldingMod\Items\GenericHoldingBag.cs:line 536
at Terraria.ModLoader.ModItem.NewInstance(Item itemClone)
at Terraria.ModLoader.ModItem.Clone(Item item)
at Terraria.Item.Clone()
at MouseHover_Patch0(Item[] inv, Int32 context, Int32 slot)
at Terraria.Main.DrawInventory()
at Terraria.Main.DrawInterface_27_Inventory()
at Terraria.Main.<SetupDrawInterfaceLayers>b__1623_23()
at Terraria.UI.LegacyGameInterfaceLayer.DrawSelf()
at Terraria.UI.GameInterfaceLayer.Draw()
at Terraria.Main.DrawInterface(GameTime gameTime)
at Terraria.Main.do_Draw(GameTime gameTime)
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)
The Json format, as far as I can tell, is correct. Have you checked if the mod is truly called "AncientsAwakened" in the ModID? It could be "AAMod" (name of the Mod class). It should show with "What mod is this from", but if not, use the config option <"displayTagOnTooltip": true>in Bags of holding config main.json, and check the item's tooltip.How exactly do I add items? I tried borrowing the format from other mods in the WoodBag config .json to add an Ancients Awakened wood type, it didn't work. xP
"SacredTools:FlameWood",
"AncientsAwakened:OroborosWood",
"AncientsAwakened:Bogwood",
"AncientsAwakened:Razewood"
I see that it picks up Tremor's Glacier Wood, but it won't accept the AA Woods.
What Mod Is This From displays intended names. So while the mod was intended to be called "Ancients Awakened" it named it so, while it's tag is "AAMod", or "The Enigma Mod" actually being called "Laugicality"The Json format, as far as I can tell, is correct. Have you checked if the mod is truly called "AncientsAwakened" in the ModID? It could be "AAMod" (name of the Mod class). It should show with "What mod is this from", but if not, use the config option <"displayTagOnTooltip": true>in Bags of holding config main.json, and check the item's tooltip.