[Mod] Hunger with HUD bar [1.1.3] [hbhunger]
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] Hunger with HUD bar [0.7.1] [hbhunger]
@bell07: Rubenwardy confirmed it's Minetest's fault, not mine.
https://github.com/minetest/minetest/issues/8075
So I won't touch anything.
https://github.com/minetest/minetest/issues/8075
So I won't touch anything.
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Version 1.0.1 released!
Version 1.0.1 was released!
This updates the mod to the new API for the HUD Bars mod in version 2.1.0. It will fix an annoying number formatting problem.
This also means this mod now needs at least HUD Bars version 2.1.0 to work properly.
This updates the mod to the new API for the HUD Bars mod in version 2.1.0. It will fix an annoying number formatting problem.
This also means this mod now needs at least HUD Bars version 2.1.0 to work properly.
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
There was a mistake. You cannot board a boat, a train. The following happens. Failing and it is possible to drive the vehicle from a distance. 1.0.1 checked the same thing.
https://youtu.be/EO8dkOtnziY
I was generally surprised that the hunger mod somehow influenced this.
hunger_ng set the mod, worked as it should. but we have no support for products like yours.
I used your mods for more than six months, and not such errors.
https://youtu.be/EO8dkOtnziY
I was generally surprised that the hunger mod somehow influenced this.
hunger_ng set the mod, worked as it should. but we have no support for products like yours.
I used your mods for more than six months, and not such errors.
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
rus ..\locale\
- Attachments
-
- hbhunger.ru.zip
- (205 Bytes) Downloaded 87 times
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Thanks for the translation! I have included it in the repository.
I don't really understand your bug report. I am unable to reproduce your bug.
What exactly did you do to trigger this bug? Which games and mods do you use in the video?
I don't really understand your bug report. I am unable to reproduce your bug.
What exactly did you do to trigger this bug? Which games and mods do you use in the video?
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Sorry, I understand English, but I don’t know how to write, but Google you know how to translate.I don't really understand your bug report.
1) bug of 100% of this mod. if you turn it off or replace it with another one, for example, hunger_ng everything works fine.
2) I saw the problem not only on our server and on others not configured by me.
3) the video shows that the boat does not look like ..\games\minetest_game\mods\boatsWhat exactly did you do to trigger this bug? Which games and mods do you use in the video?
Yes, it is changed, but if you put it from the standard set minetest game, the problem will be the same
4) the same bug does not allow you to board the train. Mods advtrains
let's do it if you can log onto the server teracrime.ddns.net:30008
I will not disable the mod hbhunger until you say you checked.
Try to board the boat and sail away
for a second you feel like you got into a boat
then you will fall out of her
the boat believes that you are in it and therefore its management works
this action is shown in the video
character and boat movement keys match [W]
the boat in the water moves faster because it can be seen how it floats from the player to the other shore and there it remains because it can’t continue to sail
then I found support in the form of a palm tree so that the persuasion does not move, I show that I can control the boat
And all this happens only because you fail and the boat believes that you are out of sight
My next steps:
sinned on mod boats
set standard minetest game ->boats
the result is the same bug
I myself got angry as a mod hbhunger can cause a similar error
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
I have visited teracrime.ddns.net:30008.
I tried to use the boat. It worked 100% correctly.
Therefore, I am not convinced that hbhunger is buggy.
I tried to use the boat. It worked 100% correctly.
Therefore, I am not convinced that hbhunger is buggy.
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
need to think
Spark build Linux says ok too
When he sits down, I don’t see him in a boat, his nickname is far away and the boat is sailing like a boat
I have an assembly for minetest-5.1.0-3ad9a8f-win64
and you have a Linux assembly?
launched the old minetest-5.1.0-a7c5dc5-win64 works
the conclusion is the assembly curvature
Thank you for your help if you didn’t go in and you didn’t come to the head
tested not on one new assembly does not work:
minetest-5.1.0-ea9b241-win64 https://minetest.kitsunemimi.pw/builds/
on the newest one too minetest-5.1.0-05a7da6-win64
It turns out and can not use the new assembly?
something suspicious all assemblies can’t work new non-working if you disable the mod hbhunger the boat normally works
the server runs on the kernel 5.1.0-dev-23bd563-dirty the Ubuntu
Spark build Linux says ok too
When he sits down, I don’t see him in a boat, his nickname is far away and the boat is sailing like a boat
I have an assembly for minetest-5.1.0-3ad9a8f-win64
and you have a Linux assembly?
launched the old minetest-5.1.0-a7c5dc5-win64 works
the conclusion is the assembly curvature
Thank you for your help if you didn’t go in and you didn’t come to the head
tested not on one new assembly does not work:
minetest-5.1.0-ea9b241-win64 https://minetest.kitsunemimi.pw/builds/
on the newest one too minetest-5.1.0-05a7da6-win64
It turns out and can not use the new assembly?
something suspicious all assemblies can’t work new non-working if you disable the mod hbhunger the boat normally works
the server runs on the kernel 5.1.0-dev-23bd563-dirty the Ubuntu
Last edited by Imk on Wed Sep 18, 2019 03:31, edited 6 times in total.
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Wuzzy I want to torment you not on the topic of your mod.
Maybe you know why this happens?
3d_armor installation field appeared.
Our character visually failed lower than we were physically
viewtopic.php?f=23&t=21514
They advised to update 3d armor the error disappeared but appeared as on the screen
If you ride a horse, the train will also be a block higher
3d armor updated Sun Dec 02, 2018 20:38 link https://github.com/stujones11/minetest- ... _0.5.0-dev and no longer changed
ps I understand the question is not by those of this mod I don’t know where to turn
Spoiler
3d_armor installation field appeared.
Our character visually failed lower than we were physically
viewtopic.php?f=23&t=21514
They advised to update 3d armor the error disappeared but appeared as on the screen
If you ride a horse, the train will also be a block higher
3d armor updated Sun Dec 02, 2018 20:38 link https://github.com/stujones11/minetest- ... _0.5.0-dev and no longer changed
ps I understand the question is not by those of this mod I don’t know where to turn
- Attachments
-
- screenshot_20190918_012412.jpg (106.42 KiB) Viewed 1687 times
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Might be a performance thing.
The latest couple builds have been so much less laggy that you can't do much more than tap to board the boat. If you click slower, like you have to do on the release version and on all but the last couple builds, you end up being dropped off.
Other features of less laggy build -- you can easily mine down so fast that you are actually falling, and take damage the instant you stop digging and hit the bottom of the shaft. Haven't died that way yet, but got really close once.
So I don't think it's this mod -- does it with pretty much every mod, or none at all.
The latest couple builds have been so much less laggy that you can't do much more than tap to board the boat. If you click slower, like you have to do on the release version and on all but the last couple builds, you end up being dropped off.
Other features of less laggy build -- you can easily mine down so fast that you are actually falling, and take damage the instant you stop digging and hit the bottom of the shaft. Haven't died that way yet, but got really close once.
So I don't think it's this mod -- does it with pretty much every mod, or none at all.
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
I am still not convinced the bug is in hbhunger. Can you reproduce the bug if you use a minimal setup with as few mods as possible?
For example:
Minetest Game + hudbars + hbhunger and that's it.
For example:
Minetest Game + hudbars + hbhunger and that's it.
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
I like this mod and I want to use it further.
Yes, I did when I was looking for the problem
Run separately not on the battle server
On a laptop under Win 7
I’ll do it again with the last version of the mod
I will report the result
Yes, I did when I was looking for the problem
Run separately not on the battle server
On a laptop under Win 7
I’ll do it again with the last version of the mod
I will report the result
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
server and client Win7 minetest-5.1.0-3ad9a8f-win64
Minetest Game & hudbars = works
Minetest Game & hudbars & hbhunger = does not work
Minetest Game & hudbars & farming & hunger_ng = works
Minetest Game & hudbars = works
Minetest Game & hudbars & hbhunger = does not work
Minetest Game & hudbars & farming & hunger_ng = works
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Minetest 5.1.0 has been released.
wakes up the error correction?
wakes up the error correction?
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
The thing is, I have no idea what triggers this problem. Also, I don't experience this problem myself.
-
- Member
- Posts: 44
- Joined: Tue Nov 15, 2016 01:37
- IRC: TommyTreasure
- In-game: TommyTreasure
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
And here's another issue. Client side lag -- massive. I haven't been able to track the action that triggers it, but in most cases, it seems related to either hbhunger and woodcutting. Both mods were updated on the same day, and the lag issue with the next player to join after restarting the server.
Server 5.0.1 via ppa.
Clients 5.0.1 (most of my players run the Windows 64 version)
Server 5.0.1 via ppa.
Clients 5.0.1 (most of my players run the Windows 64 version)
- FreeGamers
- Member
- Posts: 650
- Joined: Sat May 25, 2019 00:15
- GitHub: is proprietary I use NotABug
- Location: United States
- Contact:
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
I don't really follow along how hbhunger could substantially introduce lag, but if you suspected that hudbars or hbhunger were introducing lag somehow, perhaps you could adjust the tick rate that they use to a larger interval to reduce the amount of data regularly sent/polled.
I run a v5.0.1 survival server using hudbars and it has about 6 different gauges. We haven't had any noticeable lag resulting from it.
I run a v5.0.1 survival server using hudbars and it has about 6 different gauges. We haven't had any noticeable lag resulting from it.
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft
-
- Member
- Posts: 44
- Joined: Tue Nov 15, 2016 01:37
- IRC: TommyTreasure
- In-game: TommyTreasure
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
I'm not sure which of the 2 mods is introducing the client lag. My main suspicion is the woodcutting mod though. Just thought I would post it here so forum visitors will see the possible association of these 2 mods.
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Re: boats, I've run into something odd. Using the launcher, I create a new game, enable all mods, then start game.
Some games, the boats are very tricky to use. Tap the mouse button as fast as you possibly can, and sometimes you get on the boat, but most of the time, you get on it then fall through. Some games, I've been unable to successfully get on the boat. And some games, the boat works just fine.
I don't understand why it should be different. I'm enabling all mods, so it should load them all in the same order, right? Only thing so far I've seen consistent is 2/2 when my initial spawn is in apple forest, the boats work, 0/3 for starting on snow, but that's not a lot of data to draw a conclusion from. The very next load might disprove it.
And I think it must be something to do with 5.1. I hadn't encountered it before.
[EDIT]
I'm not saying this is related to HUDbars. I'm only commenting here because lmk thinks it's related.
[/EDIT]
Some games, the boats are very tricky to use. Tap the mouse button as fast as you possibly can, and sometimes you get on the boat, but most of the time, you get on it then fall through. Some games, I've been unable to successfully get on the boat. And some games, the boat works just fine.
I don't understand why it should be different. I'm enabling all mods, so it should load them all in the same order, right? Only thing so far I've seen consistent is 2/2 when my initial spawn is in apple forest, the boats work, 0/3 for starting on snow, but that's not a lot of data to draw a conclusion from. The very next load might disprove it.
And I think it must be something to do with 5.1. I hadn't encountered it before.
[EDIT]
I'm not saying this is related to HUDbars. I'm only commenting here because lmk thinks it's related.
[/EDIT]
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Clients Win
minetest-5.1.0-f483a1a-win64
hbhunger works )
Minetest 5.1.0 has been released. viewtopic.php?p=359355#p359355
hbhunger works
tested on servers: version 5.2.0-dev-0df646e-dirty
buggy boarding a boat, trains, dragons, missing.
minetest-5.1.0-f483a1a-win64
hbhunger works )
Minetest 5.1.0 has been released. viewtopic.php?p=359355#p359355
hbhunger works
tested on servers: version 5.2.0-dev-0df646e-dirty
buggy boarding a boat, trains, dragons, missing.
-
- Member
- Posts: 44
- Joined: Tue Nov 15, 2016 01:37
- IRC: TommyTreasure
- In-game: TommyTreasure
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Update on my player's, client side lag problems.
I disabled the woodcutting mod, and there was no effect. Most players experienced lag issues within 10 to 15 minutes of play time.
However, I did revert to my older versions of hbhunger, hbarmor, and hudbars (hudbars mod pack. not sure of the version, other than it still had the 'sprint' code), and so far, not client side lag issues.
Yes, i removed the old 'hudbars' modpack before installing the current 'minetest-armor', 'minetest-hbhunger', and 'minetest-hudbars'.
I'm still confused where the client side lag problem lies, or exactly what it triggering the lag.
I disabled the woodcutting mod, and there was no effect. Most players experienced lag issues within 10 to 15 minutes of play time.
However, I did revert to my older versions of hbhunger, hbarmor, and hudbars (hudbars mod pack. not sure of the version, other than it still had the 'sprint' code), and so far, not client side lag issues.
Yes, i removed the old 'hudbars' modpack before installing the current 'minetest-armor', 'minetest-hbhunger', and 'minetest-hudbars'.
I'm still confused where the client side lag problem lies, or exactly what it triggering the lag.
- FreeGamers
- Member
- Posts: 650
- Joined: Sat May 25, 2019 00:15
- GitHub: is proprietary I use NotABug
- Location: United States
- Contact:
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Wuzzy, I'm trying to make a mob hook into the hbhunger poison functionality but am a bit stumped on how to access the poisenp function from outside the mod. Is there a way to do this?
Here is the function: https://www.notabug.org/FreeGamers/Sara ... ua#L51-L71
and this is the code I'm trying to use to hook into the functionality.
Of course it crashes in game:
Here is the function: https://www.notabug.org/FreeGamers/Sara ... ua#L51-L71
and this is the code I'm trying to use to hook into the functionality.
Code: Select all
if minetest.get_modpath("hbhunger") ~= nil then
-- poison attack
minetest.register_on_punchplayer(function(player, hitter)
if not hitter then return end
local entity = hitter:get_luaentity()
local name = player:get_player_name()
if entity and entity.name == "mobs_creatures:zombie" then
hb.change_hudbar(user, "health", nil, nil, "hbhunger_icon_health_poison.png", nil, "hbhunger_bar_health_poison.png")
hbhunger.poisonings[name] = hbhunger.poisonings[name] + 1
poisenp(1, 5, 0, name) -- poisen player, (tick time, posion time, time left, player)
end
end)
end
Code: Select all
2019-12-02 07:41:43: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'mobs_creatures' in callback luaentity_Step(): Runtime error from mod 'mobs_creatures' in callback on_punchplayer(): ...es/minetest/mods/lib_life/mobs_creatures/mobs/zombie.lua:9: attempt
2019-12-02 07:41:43: ERROR[Main]: to call global 'poisenp' (a nil value)
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
It's a local function (local function poisenp(tick, time, time_left, player)), meaning that it's impossible to access it outside of the hbhunger mod.
This is by design. This function is for internal use only.
This is by design. This function is for internal use only.
- FreeGamers
- Member
- Posts: 650
- Joined: Sat May 25, 2019 00:15
- GitHub: is proprietary I use NotABug
- Location: United States
- Contact:
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Darn, OK. I'll have to find an alternative way to do this.
I'd like players to be able to get stung or bitten and poisoned. I can do the poison and damage part fairly easy but I'd like it to hook into the health status bar and change the textures because I think it is a consistent way to give player feedback that they are poisoned.
I wanted to hook into the hbhunger table so that all that stuff could be managed by one system.
However, I think I will try to copy the way hbhunger changes the health hudbar with hudbars and then try to develop a similar method of tracking poisoned players.
I'd like players to be able to get stung or bitten and poisoned. I can do the poison and damage part fairly easy but I'd like it to hook into the health status bar and change the textures because I think it is a consistent way to give player feedback that they are poisoned.
I wanted to hook into the hbhunger table so that all that stuff could be managed by one system.
However, I think I will try to copy the way hbhunger changes the health hudbar with hudbars and then try to develop a similar method of tracking poisoned players.
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft
- FreeGamers
- Member
- Posts: 650
- Joined: Sat May 25, 2019 00:15
- GitHub: is proprietary I use NotABug
- Location: United States
- Contact:
Re: [Mod] Hunger with HUD bar [1.0.1] [hbhunger]
Wuzzy, Can you open up the poison functions in this mod so other mods can hook into it? Since it affects the player health and is the best visual feedback method I've since to indicate poison on the player health, I would really appreciate if it allowed away for other mods to define poison status. It would provide me with a unified way to poison players in my game and that consistency would really be helpful and a good design choice in the context of a game.
I'd like to add a few poisonous mobs and access to the poison function in hbhunger would really be a great uniform way to do this.
I'd like to add a few poisonous mobs and access to the poison function in hbhunger would really be a great uniform way to do this.
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft
Who is online
Users browsing this forum: No registered users and 23 guests