[Modpack] "Better HUD" and "hunger" [2.x.1] [hud][hunger]

Zeppelin
New member
Posts: 3
Joined: Wed May 27, 2015 16:27

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by Zeppelin » Post

BlockMen wrote:Update Version 2.1.3

hunger:
- Fixed healing after death
- Fixed healing while drowning
- Fixed crashed caused by Pipeworks mod
- Added wrapper for minetest.item_eat(). see Readme.txt for more informations
- Updated HUD-API usage
- Added beans of Farming Redo
With update Hunger to 1.1 (2015-07-15) eating doesn't effekt "hunger" any more, it increases life instead. But hunger decrease life. Going back to version 1.0 resolved the problem.

using Minetest 0.4.12, only hud+hunger, world-engine v6

amadin
Member
Posts: 549
Joined: Tue Jun 16, 2015 16:23

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by amadin » Post

Lava don't deal damage, water and lava don't flow after some time if i add hunger mod before.
By process of elimination, removing one by one mods, I figured that the problem is in hunger mod, more precisely in HUD, if i delete HUD directory of hunger mod - lava begin deal damage and flowing, water begin flowing too.
0.4.12-dev updated 3-4 days ago, hunger mod last version too, mapgen v7 with ehtereal mod. In log i can't see any errors. This bug on local dedicated server and on public server, players see this bug too.

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by benrob0329 » Post

Thats probably because you heal when your hunger bar is more than half full. It shouldn't run without all of the mod being there though...

amadin
Member
Posts: 549
Joined: Tue Jun 16, 2015 16:23

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by amadin » Post

benrob0329 wrote:Thats probably because you heal when your hunger bar is more than half full. It shouldn't run without all of the mod being there though...
You wrong, damage of lava are more then heal by hunger mod.

Martno
Member
Posts: 80
Joined: Thu May 28, 2015 07:09
Location: Hungary

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by Martno » Post

In the latest version eating doesn't change hunger, increases health instead. Wierd. Early version works fine.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by BlockMen » Post

Martno wrote:In the latest version eating doesn't change hunger, increases health instead. Wierd. Early version works fine.
What Minetest version are you using?
What other mods have you installed?

Martno
Member
Posts: 80
Joined: Thu May 28, 2015 07:09
Location: Hungary

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by Martno » Post

BlockMen wrote:What Minetest version are you using?
What other mods have you installed?
Version 0.4.12
farming_plus, mobs redo, mtfoods, food, food sweet (all foods in these and the default apple and bread doesn't increase hunger, but health)
I tried in a newly created world too, no mods, just the minetest_game, and hud_hunger. Same problem.

So now I use the previous version of your mod, because that works fine for me.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by BlockMen » Post

Martno wrote:
BlockMen wrote:What Minetest version are you using?
What other mods have you installed?
Version 0.4.12
farming_plus, mobs redo, mtfoods, food, food sweet (all foods in these and the default apple and bread doesn't increase hunger, but health)
I tried in a newly created world too, no mods, just the minetest_game, and hud_hunger. Same problem.

So now I use the previous version of your mod, because that works fine for me.
Either that or you need to update your Minetest version. As first post says, 2.1.3 needs
Minetest-dev as of July 2015 or newer

Martno
Member
Posts: 80
Joined: Thu May 28, 2015 07:09
Location: Hungary

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by Martno » Post

BlockMen wrote: Either that or you need to update your Minetest version. As first post says, 2.1.3 needs
Minetest-dev as of July 2015 or newer
I didn't read the first post carefully enough. Thank you.

User avatar
Samson1
Member
Posts: 95
Joined: Wed Apr 01, 2015 19:41
GitHub: MoJo4000
IRC: Samson1
In-game: Samson1

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by Samson1 » Post

How do you eat??

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by benrob0329 » Post

Punch with food in your hand.

santino
New member
Posts: 1
Joined: Sun Aug 30, 2015 01:26
In-game: santino

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by santino » Post

Hi. I have the version 0.4.12 for Linux. This mod does not work well: eating meat only increases heart, not hunger. When hunger decreases, the life decreases. I can not in any way to increase hunger.

edit: I fixed the problem by downloading the "hunger Version 1.0" or hud Version 2.0 (released both in 3 Apr -hud_hunger-2_0-BlockMen.zip-), with versions later this (to the latest version), does not increase hunger.

But in the old version "hud_hunger-2_0-BlockMen.zip" (vers 2.0 released in 3 Apr), the position of the bread is more up, and is not aligned to heart's.

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by benrob0329 » Post

Use Minetest 0.4.13.

MoNTE48
Member
Posts: 323
Joined: Sat Apr 06, 2013 11:58
GitHub: MoNTE48
In-game: MoNTE48
Location: Internet

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by MoNTE48 » Post

Crash on master:
2015-09-21 20:36:05: ACTION[ServerThread]: singleplayer uses ethereal:orange, pointing at [nothing]
2015-09-21 20:36:05: ERROR[main]: ServerError: Lua: Runtime error from mod '' in callback ScriptApiItem::item_OnUse(): ...\bin\..\games\ActionCraft_game\mods\hunger/functions.lua:226: attempt to index a nil value
2015-09-21 20:36:05: ERROR[main]: stack traceback:
2015-09-21 20:36:05: ERROR[main]: ...\bin\..\games\ActionCraft_game\mods\hunger/functions.lua:226: in function 'eat'
2015-09-21 20:36:05: ERROR[main]: ...\bin\..\games\ActionCraft_game\mods\hunger/functions.lua:200: in function <...\bin\..\games\ActionCraft_game\mods\hunger/functions.lua:198>

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by benrob0329 » Post

The mod might not be compatible with that subgame.

MoNTE48
Member
Posts: 323
Joined: Sat Apr 06, 2013 11:58
GitHub: MoNTE48
In-game: MoNTE48
Location: Internet

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by MoNTE48 » Post

This is Minetest_game

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by Dragonop » Post

*bumping*

Soudon
Member
Posts: 167
Joined: Wed Apr 08, 2015 17:14
In-game: Soudon

Re: [Modpack] Better HUD (and hunger) [2.1.3] [hud][hunger]

by Soudon » Post

Ok friday I installed mobs redo, and hud_hunger friday all worked well no problems, now today I added 3d_armor and I get this error when I go to eat something. I have removed 3d_armor still happens.

games/Minetest/mods/hud_hunger/hud/builtin.lua:41
2015-10-11 20:40:52: ACTION[main]: .__ __ __
2015-10-11 20:40:52: ACTION[main]: _____ |__| ____ _____/ |_ ____ _______/ |_
2015-10-11 20:40:52: ACTION[main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
2015-10-11 20:40:52: ACTION[main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
2015-10-11 20:40:52: ACTION[main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
2015-10-11 20:40:52: ACTION[main]: \/ \/ \/ \/ \/
2015-10-11 20:40:52: ACTION[main]: World at [/home/icarion/.minetest/worlds/White]
2015-10-11 20:40:52: ACTION[main]: Server for gameid="Minetest" listening on 0.0.0.0:58055.
Unified Inventory. inventory size: 287
2015-10-11 20:40:53: ACTION[ServerThread]: singleplayer [127.0.0.1] joins game.
2015-10-11 20:40:53: ACTION[ServerThread]: singleplayer joins game. List of players: singleplayer
2015-10-11 20:40:56: ACTION[ServerThread]: singleplayer uses mobs:pork, pointing at [nothing]
2015-10-11 20:40:56: ERROR[main]: ServerError: Lua: Runtime error from mod 'mobs' in callback item_OnUse(): .../games/Minetest/mods/hud_hunger/hunger/functions.lua:215: attempt to perform arithmetic on local 'hp_change' (a table value)
2015-10-11 20:40:56: ERROR[main]: stack traceback:
2015-10-11 20:40:56: ERROR[main]: .../games/Minetest/mods/hud_hunger/hunger/functions.lua:215: in function 'eat'
2015-10-11 20:40:56: ERROR[main]: .../games/Minetest/mods/hud_hunger/hunger/functions.lua:200: in function <.../games/Minetest/mods/hud_hunger/hunger/functions.lua:198>
2015-10-11 20:40:56: ERROR[main]: (tail call): ?
2015-10-11 20:40:56: ACTION[ServerThread]: singleplayer leaves game. List of players:
20:41:40: WARNING: Undeclared global variable "HUD_ENABLE_HUNGER" accessed at ...etest/games/Minetest/mods/hud_hunger/hud/builtin.lua:41

so far it only happens when eating pork if I eat a apple it works fine I have the mod mobs installed, looks like hunger for that mod but I still get this error.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Better HUD (and hunger) [2.1.4]

by BlockMen » Post

Update Version 2.1.4

HUD:
- Fixed unhandled exception in hud.swap_statbar() (reported by Alvarion)

hunger:
- Added support for mushrooms (Minetest NeXt/Minetest Game)
- Fixed unhandled exception (reported by Martin_Devil)
- Fixed crash on invalid values given (reported by Soudon)

----
@Soudon: Could you point me to the code of this item or post the code here? I didn't find "mobs:pork" in Mobs Redo...

Soudon
Member
Posts: 167
Joined: Wed Apr 08, 2015 17:14
In-game: Soudon

Re: [Modpack] Better HUD (and hunger) [2.1.4] [hud][hunger]

by Soudon » Post

Its there kaadmy made sub game called pixture with mobs redo and theres pork but I fixed it I didn't have hunger installed whenI tried to eat it.

Can post code tomorrow on my phone right now.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

[Modpack] "Better HUD" and "hunger" [2.x.0] [hud][hunger]

by BlockMen » Post

Update Version 2.x.0

hunger:
- Prevent server crash caused by specific usernames (by beyondlimits)


Note (!) that I changed organization of this mod:
Since I provide this mod as Modpack (hud and hunger) it is now hosted as such at http://github.com/BlockMen/hud_hunger.
You can still download this modpack as *.zip file from the first post ofc.

Also:
Older releases are also located at the new repository and this modpack is now releases with versionnumbers starting with 2.x., so next release of this modpack will be 2.x.1


----
@Soudon: This subgame seems to be incompatible to this mod, since it changes the default item_eat function and variables.

Martno
Member
Posts: 80
Joined: Thu May 28, 2015 07:09
Location: Hungary

Re: [Modpack] "Better HUD" and "hunger" [2.x.0] [hud][hunger

by Martno » Post

I have a problem with Armor bar, it doesn't appear on the screen. It only appears when I get hurt (immediately after that). If I restart the game after that, the bar doesn't appear again. I use Minetest 0.4.13, and the mod version is 2.x.0 (but I tried with an older version too).
The readme says: "adds statbars for Hunger and Armor (hidden by default)". Is it because of that, or that just mean that it's hidden when 3d armor isn't installed?

I read somewhere that 3d Armor had some changes recently (i don't know if this can cause any problems). I'm using the newest version of 3d Armor.

Also Wuzzy's Armor HUD bar (hbarmor) mod has similar problem.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

[Modpack] "Better HUD" and "hunger" 2.x.1

by BlockMen » Post

Update Version 2.x.1

HUD:
- Fixed armor not being updated correct due armor mod changes

Martno
Member
Posts: 80
Joined: Thu May 28, 2015 07:09
Location: Hungary

Re: [Modpack] "Better HUD" and "hunger" 2.x.1

by Martno » Post

BlockMen wrote:Update Version 2.x.1

HUD:
- Fixed armor not being updated correct due armor mod changes
That's great! It works.
But I have another problem (I think I experienced this with older versions of this mod too). If Unified Inventory is enabled, the hunger and armor bar don't appear. If it's disabled, hud works fine.
It works with Inventory_plus, but I have the same problem when enabled Cornernote's Bags mod. Unified Inventory contains Bags, so maybe that causes the problem?

EDIT:
I tried it on another machine and this problem doesn't exist on Linux (at least I didn't experience it yet), but on Windows (same computer) the problem exists. Sometimes restarting the game solves the problem, but not always. With inventory_plus still no problem.

JingoJagget
Member
Posts: 25
Joined: Tue Mar 01, 2016 02:42

Re: [Modpack] "Better HUD" and "hunger" [2.x.1] [hud][hunger

by JingoJagget » Post

Hello. Enjoyed this mod. I have a question.
Is there a way to have the HUD show a different sprite entirely instead of just half of the full heart sprite when you have a half heart (same with hunger and armor)?
I'm usually not-so-grump. :3

Locked

Who is online

Users browsing this forum: No registered users and 3 guests