Starbound

Starbound

Borderlands 3 Custom Health bars
425 kommentarer
Sem 17. juli kl. 8:52 
how does this work in multiplayer? is it just subject to admin settings?
⇜ Tina ⇝ 12. juni kl. 11:38 
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 6. feb. kl. 13:50 
PLEASE update this !!!!
Monsters have NO healthbar at all.
Prexise_9 3. feb. kl. 9:01 
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 19. jan. kl. 10:27 
TVHM = True Vault Hunter Mode
UVHM = Ultimate Vault Hunter Mode

They're difficulty options, the latter being tougher than the other.
Mabra 19. jan. kl. 10:25 
What does TVHM and UVHM mode mean ?
FelmastProMcLane  [ophavsmand] 27. dec. 2024 kl. 9:01 
That's really useful, thank you!
柠檬 27. dec. 2024 kl. 8:29 
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  [ophavsmand] 26. dec. 2024 kl. 10:53 
Oh, yeah, my bad.
Just a mistake of mine from testing mech mods.
Awbawlisk the Tormentor 26. dec. 2024 kl. 10:49 
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 26. dec. 2024 kl. 10:27 
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  [ophavsmand] 26. dec. 2024 kl. 9:42 
Send me a log file, or the error, I didn't change npcs so it's weird.
Solioniy Ogurchik 26. dec. 2024 kl. 9:14 
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 26. dec. 2024 kl. 8:46 
...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  [ophavsmand] 26. dec. 2024 kl. 7:54 
@柠檬: 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 26. dec. 2024 kl. 5:04 
Whatever the issue was that caused what I mentioned earlier, you have managed to fix it with the latest update!
柠檬 26. dec. 2024 kl. 0:23 
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.
柠檬 25. dec. 2024 kl. 20:30 
[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  [ophavsmand] 25. dec. 2024 kl. 20:22 
@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.
柠檬 25. dec. 2024 kl. 20:13 
When using Borderlands 3 Custom Health bars, some monsters died directly, I removed all the other mods, and he still does.
Awbawlisk the Tormentor 25. dec. 2024 kl. 16:00 
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 25. dec. 2024 kl. 15:57 
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  [ophavsmand] 25. dec. 2024 kl. 15:42 
Yeah, I think I fixed the error, forgot to post a comment on it.
Which mod are the minibosses from?
Awbawlisk the Tormentor 25. dec. 2024 kl. 15:27 
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 21. dec. 2024 kl. 14:01 
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  [ophavsmand] 21. dec. 2024 kl. 8:19 
I left some change, any updates?
Awbawlisk the Tormentor 20. dec. 2024 kl. 23:04 
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  [ophavsmand] 20. dec. 2024 kl. 21:33 
Couldn't replicate it, but tried something to fix it.
Awbawlisk the Tormentor 20. dec. 2024 kl. 21:23 
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  [ophavsmand] 20. dec. 2024 kl. 21:13 
Bro, that title is an accurate representation of my feelings.
Any specific active mayhem modifiers?
Awbawlisk the Tormentor 20. dec. 2024 kl. 20:52 
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 20. dec. 2024 kl. 15:23 
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 20. dec. 2024 kl. 1:42 
thanks:mhwgood:
Lukiwarble 18. dec. 2024 kl. 8:56 
thanks
FelmastProMcLane  [ophavsmand] 18. dec. 2024 kl. 8:46 
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 18. dec. 2024 kl. 6:13 
whats the lua for the max health bars again? i wanna add max health dmg to a weapon but i forgot the status
FelmastProMcLane  [ophavsmand] 15. dec. 2024 kl. 7:45 
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 15. dec. 2024 kl. 6:06 
this new update make some NPC becoming invincible ?
Millen 15. dec. 2024 kl. 2:59 
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 11. dec. 2024 kl. 21:17 
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 11. dec. 2024 kl. 7:17 
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 29. nov. 2024 kl. 22:23 
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 26. nov. 2024 kl. 23:35 
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  [ophavsmand] 26. nov. 2024 kl. 17:58 
No, but it has a fix, at least according to the error in the discussion:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3014571970

Though, I could include the fix in here, hold on
Awbawlisk the Tormentor 26. nov. 2024 kl. 17:28 
Does this new update fully fix the issue with NPCS becoming invincible on Player shield block?
ErickD 17. okt. 2024 kl. 10:09 
@FelmastProMcLane +1 on the shield contact by mob make them invulnerable bug.hope it can be fixed
Bottinator22 28. sep. 2024 kl. 21:25 
*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 28. sep. 2024 kl. 21:18 
/stats/bl3_shared/elementalResistancesUpdate.lua line 7

you have a missing space which is causing syntax errors
Loπ0 20. aug. 2024 kl. 22:47 
+1 on the shield bug. anyone know how to rollback the mod version?
Raphaël Ambrosius Costeau 4. aug. 2024 kl. 0:56 
+1