Starbound

Starbound

Borderlands 3 Custom Health bars
424 Comments
⇜ Tina ⇝ Jun 12 @ 11:38am 
Wow, seems like it's still working and compatible with every global mod in workshop that i found and subscribed. Best health bar choice !
Prexise_9 Feb 6 @ 1:50pm 
PLEASE update this !!!!
Monsters have NO healthbar at all.
Prexise_9 Feb 3 @ 9:01am 
PLEASE SEE THIS .
I love your mod. But for some reason healthbars do NOT appear on monsters.
Healthbars only appear on bandits. Could you please help me ??
Awbawlisk the Tormentor Jan 19 @ 10:27am 
TVHM = True Vault Hunter Mode
UVHM = Ultimate Vault Hunter Mode

They're difficulty options, the latter being tougher than the other.
Mabra Jan 19 @ 10:25am 
What does TVHM and UVHM mode mean ?
FelmastProMcLane  [author] Dec 27, 2024 @ 9:01am 
That's really useful, thank you!
柠檬 Dec 27, 2024 @ 8:29am 
I found that monsters die when their random seed is greater than 19 bits.

local monster_seed = monster.seed() or 1
monster_seed = tonumber(tostring(monster_seed):sub(1, 19))
math.randomseed(math.floor(monster_seed))

It stopped dying mysteriously after I tried to change the code
FelmastProMcLane  [author] Dec 26, 2024 @ 10:53am 
Oh, yeah, my bad.
Just a mistake of mine from testing mech mods.
Awbawlisk the Tormentor Dec 26, 2024 @ 10:49am 
I know what's going on actually... I'm missing one, two, or a couple of mech-related mods that you created recently. As soon as I installed every one that I could, the NPCs stopped auto-dying. Now exactly which mod it is? I couldn't tell you because I didn't install those mods one by one, but if you do find out right away, then mayhaps add in a new mod dependency for this?
Awbawlisk the Tormentor Dec 26, 2024 @ 10:27am 
Tested it myself, and this is the error I got after trying to spawn in an NPC. Monsters seem to be spawning just fine though... so far.

https://pastebin.com/V8tiQeGA
FelmastProMcLane  [author] Dec 26, 2024 @ 9:42am 
Send me a log file, or the error, I didn't change npcs so it's weird.
Slaaneshi Oryzhnik Dec 26, 2024 @ 9:14am 
so, after update all npc just... disappear? starting mission - nobody, exept int. object, outpost - same, even my ship is empty from npc, just dropped items...
I dont know, maybe I should blame this mod or your monster core.
official client, ofc
Awbawlisk the Tormentor Dec 26, 2024 @ 8:46am 
...Yeah, that's very strange. The boss health bars just started working again after the latest update.

I do suggest doing what you were going to do with adding FU minibosses to the Monster Core anyway, just in case.
FelmastProMcLane  [author] Dec 26, 2024 @ 7:54am 
@柠檬: I think I may be able to do something about that.

@Awbawlisk the Tormentor: I... uh... didn't do anything yet, I was planning on updating the monster core to include the FU miniboss.
Awbawlisk the Tormentor Dec 26, 2024 @ 5:04am 
Whatever the issue was that caused what I mentioned earlier, you have managed to fix it with the latest update!
柠檬 Dec 26, 2024 @ 12:23am 
Ok, I've located the problem, it was caused by the xStarbound client, the MOD ran without any problems on the official client, and when I tried to remove "monster.seed", it worked fine in xStarbound.
柠檬 Dec 25, 2024 @ 8:30pm 
[12:28:19.884] [Error] Exception while calling script init: (LuaException) Error code 2, [string "/monsters/monster_bl3health.lua"]:16: bad argument #1 to 'randomseed' (number has no integer representation)
stack traceback:
[C]: in ?
[C]: in function 'math.randomseed'
[string "/monsters/monster_bl3health.lua"]:16: in function <[string "/monsters/monster_bl3health.lua"]:5>

Log error messages are mostly in this format
FelmastProMcLane  [author] Dec 25, 2024 @ 8:22pm 
@Awbawlisk the Tormentor: I found a "Huge Bipedal" that is spawned from an egg, it's possible that the healthbar is "stuck" reading the egg but now the new monster does NOT support the healthbar data, I'll see what I can do.

@柠檬: I'm going to need a log file, that should tell me what's happening.
柠檬 Dec 25, 2024 @ 8:13pm 
When using Borderlands 3 Custom Health bars, some monsters died directly, I removed all the other mods, and he still does.
Awbawlisk the Tormentor Dec 25, 2024 @ 4:00pm 
Also, the bosses are always spawning with only a singular health bar no matter what, if that means anything at all. Either standard red, armored, rocky, or standard blue shield, the bar stays frozen and still all the same without ever updating.
Awbawlisk the Tormentor Dec 25, 2024 @ 3:57pm 
Frackin Universe (randomly generated mini-boss monsters, lol), but when I mention (mini-)bosses, I wasn't entirely speaking of them only. If anything, I was moreso speaking of actual vanilla bosses like the Vault Guardians, or basically every other monster with a boss-like health bar. They all seem to be affected by this issue for me.
FelmastProMcLane  [author] Dec 25, 2024 @ 3:42pm 
Yeah, I think I fixed the error, forgot to post a comment on it.
Which mod are the minibosses from?
Awbawlisk the Tormentor Dec 25, 2024 @ 3:27pm 
Well, now as of late, that error I posted within that pastebin in my last comment just stopped appearing altogether, but the (mini-)boss health bars are still suffering the same issue with them being completely still and not animating to match the amount of damage that is done to the boss monster it's attached to. Is this an issue that occurred in the past? Cause now I'm not getting actual tracebacks on it when searching through my logs.
Awbawlisk the Tormentor Dec 21, 2024 @ 2:01pm 
Just did a couple hour play session and... Rejoice! I haven't run into that error at all, so you may have fixed it. However, in the process I discovered another possible error. It involves mini-boss enemies with their boss health bars. It doesn't make them invincible, but it does cause their health bars to stay still and not animate properly.

https://pastebin.com/i1ZE1HBM
FelmastProMcLane  [author] Dec 21, 2024 @ 8:19am 
I left some change, any updates?
Awbawlisk the Tormentor Dec 20, 2024 @ 11:04pm 
Whenever I spawn in a bunch of monsters at a time with admin /spawnmonster command, the error can never replicate. However, the moment I step inside of an Ancient Vault, some enemies end up invincible and the error persists. I'm not sure why that's the case.

Only difference is, now the error giving a new line number...

[Error] Exception while invoking lua function 'update'. (LuaException) Error code 2, [string "/stats/bl3_shared/elementalResistancesUpdate...."]:17: attempt to index a nil value (field '?')

It used to be : 14: before, now it's 17, but other than that, it's still the same error. (This was after updating to the new latest). I'm gonna need to test to see if this issue also persists elsewhere for now.
FelmastProMcLane  [author] Dec 20, 2024 @ 9:33pm 
Couldn't replicate it, but tried something to fix it.
Awbawlisk the Tormentor Dec 20, 2024 @ 9:23pm 
Lootsplosion was active I know for sure. I need to double check for the others-- Just did, the other was Barbaric, which I highly doubt had any hand in the issue...
FelmastProMcLane  [author] Dec 20, 2024 @ 9:13pm 
Bro, that title is an accurate representation of my feelings.
Any specific active mayhem modifiers?
Awbawlisk the Tormentor Dec 20, 2024 @ 8:52pm 
Enemies are popping up on my screen as invincible immediately, and my starbound.log keeps spamming this error that I pasted within this pastebin I'm gonna link. This is after updating to the latest version btw. (Also, don't take the title of it to heart, lol.)

https://pastebin.com/AVmuLsvt
Sumenora Dec 20, 2024 @ 3:23pm 
i been noticing this alot

[14:28:27.945] [Error] Exception while calling script init: (LuaException) Error code 2, [string "/monsters/monster_bl3health.lua"]:20: attempt to call a nil value (global 'damageListener')
stack traceback:
[C]: in global 'damageListener'
[string "/monsters/monster_bl3health.lua"]:20: in upvalue 'ivrpgOldInit'
[string "/monsters/ivrpgmonster.lua"]:14: in function <[string "/monsters/ivrpgmonster.lua"]:13>

it seems to be related to RPG growth.
Darkred99 Dec 20, 2024 @ 1:42am 
thanks:mhwgood:
Lukiwarble Dec 18, 2024 @ 8:56am 
thanks
FelmastProMcLane  [author] Dec 18, 2024 @ 8:46am 
I recenlty changed this to use normal "status.stat("maxHealth")", but to deal it from an effect or projectile:

[code]

interface_multiplier = 1 + world.getProperty("bl3HealthNPCmultiplier",0.0)
healthbar_count = status.statusProperty("maxHealthBars",1)
health_multiplier = healthbar_count * interface_multiplier
damage = status.stat("maxHealth") * health_multiplier

[/code]
Lukiwarble Dec 18, 2024 @ 6:13am 
whats the lua for the max health bars again? i wanna add max health dmg to a weapon but i forgot the status
FelmastProMcLane  [author] Dec 15, 2024 @ 7:45am 
I know how to fix the bars always being visible, was from testing something.
But I can't replicate enemies becoming invincible, any error logs?
Darkred99 Dec 15, 2024 @ 6:06am 
this new update make some NPC becoming invincible ?
Millen Dec 15, 2024 @ 2:59am 
Got a problem that the health bar always visible even the npc's health are full, It happens only in biomes and outpost, doesn't happen in your own ship, any fix? yesterday everything still fine tho.
NBB Dec 11, 2024 @ 9:17pm 
ok, I figured it out the real bug is trigger by any effect that stops moving.so when you apply effect that stops moving with any thing with more then 1 hp bar, they will become can't be hit.
NBB Dec 11, 2024 @ 7:17am 
Multiple hp bars have some bug with hp percentage effect, such as fu's Capture Gun. also I set the number of hp bars to 1, but there are still monsters with more than 1 hp bar
Bottinator22 Nov 29, 2024 @ 10:23pm 
problem: if something spawns a punchy that instantly dies (most likely to use it to do some kind of behaviour, like with custom items or for clientside mods) this mod seems to try to give it a health bar, but the monster this mod spawns for that purpose sticks around long after the punchy is gone. Can you change the health bar monster so it dies if the entity it's tracking doesn't exist and/or it's been doing nothing for a period of time?
thewannabefunni Nov 26, 2024 @ 11:35pm 
This really does put a smile on my face, I thought you up n' left starbound modding, let alone your borderlands health and shield mod in a buggy state. Nevertheless, thank you so much for returning and quickly patching up said bugs.

P.S: do I need the linked mod in your recent message to fix the invincibility issue or is it already incorporated in your latest update?
FelmastProMcLane  [author] Nov 26, 2024 @ 5:58pm 
No, but it has a fix, at least according to the error in the discussion:
https://steamcommunity.com/sharedfiles/filedetails/?id=3014571970

Though, I could include the fix in here, hold on
Awbawlisk the Tormentor Nov 26, 2024 @ 5:28pm 
Does this new update fully fix the issue with NPCS becoming invincible on Player shield block?
ErickD Oct 17, 2024 @ 10:09am 
@FelmastProMcLane +1 on the shield contact by mob make them invulnerable bug.hope it can be fixed
Bottinator22 Sep 28, 2024 @ 9:25pm 
*with certain forks of the vanilla game source code that uses a version of Lua (or a fork of one) newer than 5.3
Bottinator22 Sep 28, 2024 @ 9:18pm 
/stats/bl3_shared/elementalResistancesUpdate.lua line 7

you have a missing space which is causing syntax errors
Loπ0 Aug 20, 2024 @ 10:47pm 
+1 on the shield bug. anyone know how to rollback the mod version?
Raphaël Ambrosius Costeau Aug 4, 2024 @ 12:56am 
+1
Awbawlisk the Tormentor Aug 2, 2024 @ 12:36pm 
+1 on the Shield bug. How did this even occur in the first place?