Starbound

Starbound

117 个评价
EPP Bypass Fix
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
336.150 KB
2022 年 4 月 12 日 上午 4:46
1 项改动说明 ( 查看 )

订阅以下载
EPP Bypass Fix

描述
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 条留言
CaitieẽChan 1 月 14 日 下午 8:16 
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 2023 年 6 月 17 日 下午 3:40 
This bug also happens with airless environments, right?
n3uva 2022 年 7 月 2 日 下午 2:21 
Never happened to me but Im glad its fixed
Davoker 2022 年 5 月 23 日 上午 2:29 
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 2022 年 4 月 24 日 上午 9:25 
it happens even with persistent stat groups, which Betabound uses ;-;
spenjak18 2022 年 4 月 21 日 下午 3:29 
Definitely happens in Betabound... <_>'
Mr.Heller 2022 年 4 月 16 日 下午 1:07 
Huh, so many years in game and never noticed the problem, anyway, thanks!
Aethis 2022 年 4 月 12 日 上午 10:33 
ohhhh, ok that makes more sense now. thank you for the info
Anter583  [作者] 2022 年 4 月 12 日 上午 10:20 
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 2022 年 4 月 12 日 上午 9:56 
this can happen?
well im not takin my chances