Starbound

Starbound

116 ratings
EPP Bypass Fix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
336.150 KB
12 Apr, 2022 @ 4:46am
1 Change Note ( view )

Subscribe to download
EPP Bypass Fix

Description
Fixes enviromental hazards ignoring EPPs when loading in causing a S.A.I.L warning to pop up at best or loosing 90% of your health at worst.

The likely reason why this bug happens is that when initialising, the status engine doesn't seem to immediately start removing blocked status effects, giving them enough time to initialise and trigger their first damage tick.


While it is impossible to fix the root of the bug, as it is hardcoded somewhere inside the engine, this mod adds a workaround by forcing all 4 status effects related to the 4 enviromental hazards (Airless, Radiation, Cold and Heat) to wait 2 game ticks before initialising, giving the status engine just enough time to remove them before they can do anything.
From my tests, 2 game ticks seems to be the shortest delay that doesn't let either the damage call nor the massage call to go through.


If you're worried that this delay will somehow make the effects sluggish, don't, 1 second contains 60 game ticks, as long as another mod doesn't touch the affected statuses' script delta, the delay is effectively 1/30th of a second.


Not tested with FU, FU already has a partial fix for radiation built-in (which, ironically, introduces a different bug related to admin mode), might still fix the airless S.A.I.L warning.
10 Comments
CaitieẽChan 14 Jan @ 8:16pm 
Okay, so I tested this mod in FU. Everything seems to be working as intended, so verdict: mod is compatible with FU!
I only tested on vanilla planets though with level III EPPs of cold, heat, and radiation, along with the Breathing EPP. I also took Anter's comment into account when testing, so I also saved and quit and then re-logged into the worlds each time.

This mod does seem a bit redundant when used with FU though, since I personally have never encountered this issue and I play with FU. I was actually brought here when making a modpack for someone :) but it never hurts to have extra protection when you are concerned.
Prodigy 17 Jun, 2023 @ 3:40pm 
This bug also happens with airless environments, right?
n3uva 2 Jul, 2022 @ 2:21pm 
Never happened to me but Im glad its fixed
Davoker 23 May, 2022 @ 2:29am 
I always wondered why this error happened, in my case it is very common that I have to save game being in the depths of a planet foraging minerals.

Sometimes it has happened to me that being with the minimum health (caused by this error), I have been killed by enemies nearby, losing 1 hour of farmeo (sometimes it costs to find again where you died if you moved a lot).

Thanks for this.

I was wondering if it would be possible to include your FIX in a translation mod that I have in the workshop, it already has some fixes incorporated, and it would be interesting to include this one, if you give me permission, of course, your credits would go in the acknowledgements section of the patch notes.
Silver Sokolova 24 Apr, 2022 @ 9:25am 
it happens even with persistent stat groups, which Betabound uses ;-;
spenjak18 21 Apr, 2022 @ 3:29pm 
Definitely happens in Betabound... <_>'
Mr.Heller 16 Apr, 2022 @ 1:07pm 
Huh, so many years in game and never noticed the problem, anyway, thanks!
Aethis 12 Apr, 2022 @ 10:33am 
ohhhh, ok that makes more sense now. thank you for the info
Anter583  [author] 12 Apr, 2022 @ 10:20am 
I don't think I explained it well enough in the description, but the bug specifically happens when you save & quit while on a planet/location that has any of the 4 environmental hazards.

When you join in again you usually get a S.A.I.L warning even though you're already wearing the proper EPP and on radioactive planets you briefly suffer from the 10% health multiplier debuff.
Aethis 12 Apr, 2022 @ 9:56am 
this can happen?
well im not takin my chances