tModLoader Hunger Mod

will you guys add more meals with different effects?

i remember that you guys also the one who created "Terraria Globalization Mod" good luck on this one :D:D

oh yeah by the way can you make "Wildlife" mod compatible with yours?
 
Last edited:
Hi! Can you position the hunger bar a bit lower? Because it cover the items bar from Kalciphoz's RPG Mod.
 
i actually created an account just to write that: can you make the hunger bar moveable? it is because with some mods change the position of the hotbar like Kalciphoz's rpg for example
 
Nice mod :)
would be nice at last the hunger decrase to confugurable ...
and yea - integrating of the wildlife mod would be nice :D
 
Mod crash frequently the tmoad mod search ingame ... log :
Code:
20.01.2019 22:59:46
System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
   bei Terraria.ModLoader.PlayerHooks.GetModPlayer(Player player, Mod mod, String name)
   bei Terraria.Player.GetModPlayer(Mod mod, String name)
   bei Terraria.Player.GetModPlayer[T](Mod mod)
   bei Hunger.Items.DrawHungerUI.DrawHunger(GlobalItem player) in c:\Users\You Asakura\Documents\My Games\Terraria\ModLoader\Mod Sources\Hunger\Items\DrawHungerUI.cs:Zeile 17.
   bei Hunger.Items.Global.PostDrawInInventory(Item item, SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, Single scale) in c:\Users\You Asakura\Documents\My Games\Terraria\ModLoader\Mod Sources\Hunger\Items\Global.cs:Zeile 124.
   bei Terraria.ModLoader.ItemLoader.PostDrawInInventory(Item item, SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, Single scale)
   bei Terraria.UI.ItemSlot.Draw(SpriteBatch spriteBatch, Item[] inv, Int32 context, Int32 slot, Vector2 position, Color lightColor)
   bei Terraria.UI.ItemSlot.Draw(SpriteBatch spriteBatch, Item& inv, Int32 context, Vector2 position, Color lightColor)
   bei Terraria.GameContent.UI.Chat.ItemTagHandler.ItemSnippet.UniqueDraw(Boolean justCheckingString, Vector2& size, SpriteBatch spriteBatch, Vector2 position, Color color, Single scale)
   bei Terraria.UI.Chat.ChatManager.DrawColorCodedString(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, Single rotation, Vector2 origin, Vector2 baseScale, Int32& hoveredSnippet, Single maxWidth, Boolean ignoreColors)
   bei Terraria.UI.Chat.ChatManager.DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, DynamicSpriteFont font, String text, Vector2 position, Color baseColor, Single rotation, Vector2 origin, Vector2 baseScale, Single maxWidth, Single spread)
   bei Terraria.Utils.DrawBorderString(SpriteBatch sb, String text, Vector2 pos, Color color, Single scale, Single anchorx, Single anchory, Int32 maxCharactersDisplayed)
   bei Terraria.GameContent.UI.Elements.UIText.DrawSelf(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch)
   bei Terraria.ModLoader.UI.UIModDownloadItem.DrawChildren(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch)
   bei Terraria.GameContent.UI.Elements.UIList.UIInnerList.DrawChildren(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch)
   bei Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch)
   bei Terraria.ModLoader.UI.UIModBrowser.Draw(SpriteBatch spriteBatch)
   bei Terraria.UI.UserInterface.Draw(SpriteBatch spriteBatch, GameTime time)
   bei Terraria.Main.DrawMenu(GameTime gameTime)
   bei Terraria.Main.do_Draw(GameTime gameTime)
   bei Terraria.Main.DoDraw(GameTime gameTime)
   bei Terraria.Main.Draw(GameTime gameTime)
   bei Microsoft.Xna.Framework.Game.DrawFrame()
   bei Microsoft.Xna.Framework.Game.Tick()
   bei Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   bei Microsoft.Xna.Framework.GameHost.OnIdle()
   bei Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   bei Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   bei System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.Run(Form mainForm)
   bei Microsoft.Xna.Framework.WindowsGameHost.Run()
   bei Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   bei Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)

btw. - it is the only mod in the mods window ingame without an icon ..

Regards
 
This kept crashing for me on load up. So I created a hotfix for it. I don't know if it will crash anything in game though. Still needs testing in that regard.

EDIT: Well there has already been signs of conflicts with another mod known as Architect NPC.

Code:
8/9/2019 12:45:32 AM
System.ArgumentNullException: This method does not accept null for this parameter.
Parameter name: texture
   at Microsoft.Xna.Framework.Graphics.SpriteBatch.InternalDraw(Texture2D texture, Vector4& destination, Boolean scaleDestination, Nullable`1& sourceRectangle, Color color, Single rotation, Vector2& origin, SpriteEffects effects, Single depth)
   at BaseLibrary.UI.Elements.UILoadingWheel.DrawSelf(SpriteBatch spriteBatch) in BaseLibrary\UI\Elements\UILoadingWheel.cs:line 40
   at BaseLibrary.UI.Elements.BaseElement.Draw(SpriteBatch spriteBatch) in BaseLibrary\UI\Elements\BaseElement.cs:line 250
   at BaseLibrary.UI.Elements.BaseElement.DrawChildren(SpriteBatch spriteBatch) in BaseLibrary\UI\Elements\BaseElement.cs:line 262
   at BaseLibrary.UI.Elements.BaseElement.Draw(SpriteBatch spriteBatch) in BaseLibrary\UI\Elements\BaseElement.cs:line 253
   at BaseLibrary.UI.Elements.BaseElement.DrawChildren(SpriteBatch spriteBatch) in BaseLibrary\UI\Elements\BaseElement.cs:line 262
   at BaseLibrary.UI.Elements.BaseElement.Draw(SpriteBatch spriteBatch) in BaseLibrary\UI\Elements\BaseElement.cs:line 253
   at Terraria.UI.UserInterface.Draw(SpriteBatch spriteBatch, GameTime time)
   at Terraria.Main.DrawMenu(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_()

8/9/2019 12:55:51 AM
System.NullReferenceException: Object reference not set to an instance of an object.
   at Terraria.Star.UpdateStars()
   at Terraria.Main.DrawMenu(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_()

This is the crash log for the terraria launcher not the tmodloader.

EDIT2: I'm not 100% yet, but I think I've been crashing because I had one of the log files open while running the game. I guess it crashes because it still thinks theirs an instance of it already running and it can't close it so it just ends itself. Only a guess though. It also turns out that I was missing two files 0.o;

7mVGFvl.png


nvm, not a hotfix as it cause this crash to appear in the tmodloader server console
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
   at DestructibleTiles.MultiHitTile.TileDataManager.Finalize()Sandboxing: Hunger
 
Last edited:
Back
Top Bottom