[Mod] HUD Bars [2.3.5] [hudbars]
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] HUD bars [1.9.0] [hudbars]
YES! I have finally been able to reproduce it! Thank you.
I'll try to fix this now.
I'll try to fix this now.
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] HUD bars [1.9.0] [hudbars]
About the offset bug:
I have found some HUD element-related bugs in Minetest:
https://github.com/minetest/minetest/issues/6296
All my attempts to find a workaround have failed. Sorry. I guess this means I can't fix this bug for now.
I have found some HUD element-related bugs in Minetest:
https://github.com/minetest/minetest/issues/6296
All my attempts to find a workaround have failed. Sorry. I guess this means I can't fix this bug for now.
Re: [Mod] HUD bars [1.9.0] [hudbars]
Wuzzy
Regarding that shifted hudbar bug I've discussed with you (https://i.imgur.com/gRbaZTA.png), to reconcile: Win7, around 86ppi display, 1280*996 window. At first I tested newest hudbars on engines from 0.4.15-dev up to newest, they all had this bug with hudbar shifting.
So I've started bisecting your mod itself, and found faulty commit: http://repo.or.cz/minetest_hudbars.git? ... 6cd8171a94 (Explicitly set statbar size for progress bars).
Have fun fixing this.
Regarding that shifted hudbar bug I've discussed with you (https://i.imgur.com/gRbaZTA.png), to reconcile: Win7, around 86ppi display, 1280*996 window. At first I tested newest hudbars on engines from 0.4.15-dev up to newest, they all had this bug with hudbar shifting.
So I've started bisecting your mod itself, and found faulty commit: http://repo.or.cz/minetest_hudbars.git? ... 6cd8171a94 (Explicitly set statbar size for progress bars).
Have fun fixing this.
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] HUD bars [1.9.0] [hudbars]
I do not fix bugs which occour in -dev versions only.
- Hamlet
- Member
- Posts: 766
- Joined: Sat Jul 29, 2017 21:09
- IRC: H4mlet
- In-game: Hamlet
- Location: Lombardy, Italy
Re: [Mod] HUD bars [1.9.0] [hudbars]
Italian locale file:
Sorry but .txt attachments aren't allowed.
Code: Select all
Health = Salute
Breath = Ossigeno
# Default format string for progress bar-style HUD bars, e.g. “Health 5/20”
%s: %d/%d
My repositories: Codeberg.org | My ContentDB's page
Re: [Mod] HUD bars [1.9.0] [hudbars]
This bug occurs on 0.4.16 stable too.Wuzzy wrote:I do not fix bugs which occour in -dev versions only.
- kingoscargames
- Member
- Posts: 216
- Joined: Fri Jul 28, 2017 12:06
- GitHub: kingoscargames
- In-game: kingoscargames
- Location: Netherlands
Re: [Mod] HUD bars [1.9.0] [hudbars]
Dutch "locale" file
Code: Select all
Health = Gezondheid
Breath = Adem
# Default format string for progress bar-style HUD bars, e.g. “Health 5/20”
%s: %d/%d
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] HUD bars [1.9.0] [hudbars]
For everyone who has problems with displaced HUD Bars, can you please download this experimental verision and tell me if it works?:
http://repo.or.cz/minetest_hudbars.git/ ... ad59cf.zip
Translations have been added and will become part of next release. Thanks!
http://repo.or.cz/minetest_hudbars.git/ ... ad59cf.zip
Translations have been added and will become part of next release. Thanks!
- kingoscargames
- Member
- Posts: 216
- Joined: Fri Jul 28, 2017 12:06
- GitHub: kingoscargames
- In-game: kingoscargames
- Location: Netherlands
Re: [Mod] HUD bars [1.9.0] [hudbars]
Yes, it works:Wuzzy wrote:For everyone who has problems with displaced HUD Bars, can you please download this experimental verision and tell me if it works?:
http://repo.or.cz/minetest_hudbars.git/ ... ad59cf.zip
Translations have been added and will become part of next release. Thanks!
- Attachments
-
- screenshot_20170918_165641.png (565.99 KiB) Viewed 1554 times
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] HUD bars [1.9.0] [hudbars]
Oh, can you also tell me if any warnings pop up in your debug log / console? If you start Minetest, then quit and just post the last ca. 100 lines of debug.txt, that would be nice. :-)
- kingoscargames
- Member
- Posts: 216
- Joined: Fri Jul 28, 2017 12:06
- GitHub: kingoscargames
- In-game: kingoscargames
- Location: Netherlands
Re: [Mod] HUD bars [1.9.0] [hudbars]
I renamed my debug.txt and opened a testing world where this mod was installed on:Wuzzy wrote:Oh, can you also tell me if any warnings pop up in your debug log / console? If you start Minetest, then quit and just post the last ca. 100 lines of debug.txt, that would be nice. :-)
Spoiler
-------------
Separator
-------------
2017-09-18 17:04:14: ERROR[Main]: Irrlicht: Switch to fullscreen: The graphics mode is not supported.
2017-09-18 17:04:17: ERROR[Main]: The following mods could not be found: "abriglass"
2017-09-18 17:04:17: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2017-09-18 17:04:17: ACTION[Main]: hb.register_hudbar: health
2017-09-18 17:04:17: ACTION[Main]: hb.register_hudbar: breath
2017-09-18 17:04:18: ACTION[Main]: .__ __ __
2017-09-18 17:04:18: ACTION[Main]: _____ |__| ____ _____/ |_ ____ _______/ |_
2017-09-18 17:04:18: ACTION[Main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
2017-09-18 17:04:18: ACTION[Main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
2017-09-18 17:04:18: ACTION[Main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
2017-09-18 17:04:18: ACTION[Main]: \/ \/ \/ \/ \/
2017-09-18 17:04:18: ACTION[Main]: World at [C:\Users\Oscar \Desktop\minetest\minetest-0.4.16-win64\bin\..\worlds\mtg]
2017-09-18 17:04:18: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:54179.
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:20: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:20: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:20: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:20: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:26: ACTION[Server]: singleplayer [127.0.0.1] joins game.
2017-09-18 17:04:26: ACTION[Server]: singleplayer joins game. List of players: singleplayer
2017-09-18 17:04:46: ERROR[Main]: Irrlicht: Switch to fullscreen: The graphics mode is not supported.
2017-09-18 17:04:46: ERROR[Main]: Irrlicht: Switch to fullscreen: The graphics mode is not supported.
2017-09-18 17:05:00: ACTION[Server]: singleplayer digs doors:door_steel_a at (-109,11,-578)
2017-09-18 17:05:02: ACTION[Server]: singleplayer digs doors:door_steel_a at (-109,11,-577)
2017-09-18 17:05:02: ACTION[Server]: singleplayer digs doors:door_steel_a at (-109,11,-578)
Separator
-------------
2017-09-18 17:04:14: ERROR[Main]: Irrlicht: Switch to fullscreen: The graphics mode is not supported.
2017-09-18 17:04:17: ERROR[Main]: The following mods could not be found: "abriglass"
2017-09-18 17:04:17: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2017-09-18 17:04:17: ACTION[Main]: hb.register_hudbar: health
2017-09-18 17:04:17: ACTION[Main]: hb.register_hudbar: breath
2017-09-18 17:04:18: ACTION[Main]: .__ __ __
2017-09-18 17:04:18: ACTION[Main]: _____ |__| ____ _____/ |_ ____ _______/ |_
2017-09-18 17:04:18: ACTION[Main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
2017-09-18 17:04:18: ACTION[Main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
2017-09-18 17:04:18: ACTION[Main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
2017-09-18 17:04:18: ACTION[Main]: \/ \/ \/ \/ \/
2017-09-18 17:04:18: ACTION[Main]: World at [C:\Users\Oscar \Desktop\minetest\minetest-0.4.16-win64\bin\..\worlds\mtg]
2017-09-18 17:04:18: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:54179.
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:19: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:20: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:20: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:20: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-09-18 17:04:20: WARNING[Main]: Irrlicht: PNG warning: iCCP: cHRM chunk does not match sRGB
2017-09-18 17:04:26: ACTION[Server]: singleplayer [127.0.0.1] joins game.
2017-09-18 17:04:26: ACTION[Server]: singleplayer joins game. List of players: singleplayer
2017-09-18 17:04:46: ERROR[Main]: Irrlicht: Switch to fullscreen: The graphics mode is not supported.
2017-09-18 17:04:46: ERROR[Main]: Irrlicht: Switch to fullscreen: The graphics mode is not supported.
2017-09-18 17:05:00: ACTION[Server]: singleplayer digs doors:door_steel_a at (-109,11,-578)
2017-09-18 17:05:02: ACTION[Server]: singleplayer digs doors:door_steel_a at (-109,11,-577)
2017-09-18 17:05:02: ACTION[Server]: singleplayer digs doors:door_steel_a at (-109,11,-578)
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] HUD bars [1.10.0] [hudbars]
Version 1.10.0 released!
Changes:
- Bugfix: The progress bar was displaced for some people
- Add Italian and Dutch translation (thanks, Hamlet and kingoscargames)
- MIT License
- Update deprecated intllib code
Sorry for the long wait. :-(
I wan't sure if the bug really existed.
Changes:
- Bugfix: The progress bar was displaced for some people
- Add Italian and Dutch translation (thanks, Hamlet and kingoscargames)
- MIT License
- Update deprecated intllib code
Sorry for the long wait. :-(
I wan't sure if the bug really existed.
- Lone_Wolf
- Member
- Posts: 2576
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] HUD bars [1.10.0] [hudbars]
Works now. Thanks!Wuzzy wrote:Version 1.10.0 released!
Changes:
- Bugfix: The progress bar was displaced for some people
- Add Italian and Dutch translation (thanks, Hamlet and kingoscargames)
- MIT License
- Update deprecated intllib code
Sorry for the long wait. :-(
I wan't sure if the bug really existed.
Re: [Mod] HUD bars [1.10.0] [hudbars]
Can confirm 1.10.0 fixed my issue with displaced hudbar both on 0.4.16 stable and on latest 0.5.0-dev. Thank you.
- v-rob
- Developer
- Posts: 970
- Joined: Thu Mar 24, 2016 03:19
- GitHub: v-rob
- IRC: v-rob
- Location: Right behind you.
Re: [Mod] HUD bars [1.10.0] [hudbars]
Fixed! This makes me very happy.
Re: [Mod] HUD bars [1.5.0] [hudbars]
I can't connent you via Jabber, WuzzyWuzzy wrote:This e-mail address is correct. If I fail to respond, you can also contact me per forum PM or XMPP. I personally prefer XMPP.
My e-mail reading discipline is probably too low at the moment. This is my fault, and I should really get my shit together. :D I haven't found your e-mail, however. Probably I lost it (not sure).
- AntumDeluge
- Member
- Posts: 213
- Joined: Sun Aug 07, 2016 05:42
- GitHub: AntumDeluge
- IRC: AntumDeluge
- Contact:
Re: [Mod] HUD bars [1.9.0] [hudbars]
Sorry I haven't been available for testing Wuzzy.
Previous alignment:
Current alignment @ Git commit bec8afe:
Note: I'm not worried about the fact that the hudbar is overlapping the hotbar. I believe that can be adjusted with a configuration setting, correct?
System information:
OS: Android 7.1.2 (Lineage OS 14.1-20170725-NIGHTLY-harpia)
Device: Motorola Moto G4 Play
Minetest client: 0.4.16 (official Android build from Google Play store)
I installed the current Git commit on my Android device. Hudbar alignment with outline border is fixed. Noticed that text is still drawn slightly outside the bottom of the hudbar border. Not by much & not sure if it is even a hudbar issue as text alignment seemed to be fine for Microsoft Windows users.Wuzzy wrote:For everyone who has problems with displaced HUD Bars, can you please download this experimental verision and tell me if it works?
Previous alignment:
Current alignment @ Git commit bec8afe:
Note: I'm not worried about the fact that the hudbar is overlapping the hotbar. I believe that can be adjusted with a configuration setting, correct?
System information:
OS: Android 7.1.2 (Lineage OS 14.1-20170725-NIGHTLY-harpia)
Device: Motorola Moto G4 Play
Minetest client: 0.4.16 (official Android build from Google Play store)
- Attachments
-
- Alignment @ Git commit bec8afe
- tmp_28445-minetest-hudbars-02-bec8afe1553856130.png (258.41 KiB) Viewed 1554 times
-
- Previous alignment
- tmp_28445-minetest-hudbars-001810204397.png (205.21 KiB) Viewed 1554 times
Re: [Mod] HUD bars [1.10.0] [hudbars]
Great mod, thank you!
I wanted to disable the text fields on the progress_bar type (so only the bars themselves show) but could not readily find a setting like "disable_text". I ended up hacking through the mod and replacing a bunch of text= and new_text= vars with "" and by some miracle I didn't completely destroy it:
with a color gradient applied to the bars:
edit: I went through a second time and opted to just set blank values for label and format_string everywhere, that seemed safer.
Anyway for the "no text" option did I miss an obvious setting, and if not, would this something be you'd consider as a
setting?
I wanted to disable the text fields on the progress_bar type (so only the bars themselves show) but could not readily find a setting like "disable_text". I ended up hacking through the mod and replacing a bunch of text= and new_text= vars with "" and by some miracle I didn't completely destroy it:
with a color gradient applied to the bars:
edit: I went through a second time and opted to just set blank values for label and format_string everywhere, that seemed safer.
Anyway for the "no text" option did I miss an obvious setting, and if not, would this something be you'd consider as a
setting?
Re: [Mod] HUD bars [1.10.0] [hudbars]
Is is possible to show hudbars if damage is disabled? I know there is hudbars_forceload_default_hudbars and I know that it is
But is it possible to show the hudbars anyway if damage is disabled?
I also know you don't support bleeding edge versions of Minetest.Experimental setting: Changing this setting is not officially supported, do NOT rely on it!
But is it possible to show the hudbars anyway if damage is disabled?
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] HUD bars [1.11.0] [hudbars]
You CAN show HUD bars when damage is disabled, just not the health and breath bars as you have neither health nor breath in this mode.
I added a Malay translation in version 1.11.0 (thanks, muhdnurhidayat!).
I added a Malay translation in version 1.11.0 (thanks, muhdnurhidayat!).
- Linuxdirk
- Member
- Posts: 3218
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: [Mod] HUD bars [1.11.0] [hudbars]
Any idea why a custom registered HUD bar does not have a frame like the “default HUD bars”? I even added the bgimage definition (using the same image as bar image it works and the image is shown as bar image).
Edit: Found it.
When using player:hud_remove() on an HUD element that is not created by hudbars after a HUD bar was initiated it loses it’s background, but only if it was the first created HUD bar.
Edit: Found it.
When using player:hud_remove() on an HUD element that is not created by hudbars after a HUD bar was initiated it loses it’s background, but only if it was the first created HUD bar.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: [Mod] HUD bars [1.11.0] [hudbars]
Heads up of incompatibility with current HEAD, Wuzzy:
- Attachments
-
- Skärmavbild 2018-02-18 kl. 12.30.42.png (19.53 KiB) Viewed 1554 times
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] HUD bars [1.11.0] [hudbars]
Thanks for letting me now. This has to wait for the next MT release, unless the problem fixes itself in the meantime. ;-)
- Linuxdirk
- Member
- Posts: 3218
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: [Mod] HUD bars [1.11.0] [hudbars]
Seems not to affect the built-in elements like health only, but also mod-added ones.
https://github.com/4w/hunger_ng/issues/5
https://github.com/4w/hunger_ng/issues/5
Re: [Mod] HUD bars [1.11.0] [hudbars]
GitHub, I miss you!
Who is online
Users browsing this forum: No registered users and 32 guests