You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm this issue is not an exploit. (Required)
BYOND Version
515.1642
Issue Description
When you splash mitochilde on dismembered limb there is a runtime error which prevent mitocholide from rejuvenate a limb and block half of its functional due there is no check for owner of limb is not null
What did you expect to happen?
The limb should call rejuvenate proc without errors
What happened instead?
It's simply fails due execution
Why is this bad/What are the consequences?
It's block an ability of mitocholide to remove bone breakes, internal blidings and critical burns from handling
Steps to reproduce the issue.
Simply spawn limb, splash mitocholide on it, check run time error in:
code/modules/surgery/organs/organ_external.dm
384 - /obj/item/organ/external/rejuvenate()
390 - if(HAS_TRAIT(owner, TRAIT_I_WANT_BRAINS))
there will be no owner, so there will be error
When did the problem start happening?
When zombie mode was implemented
Extra information
To fix it simply add a check.
Maybe something like this:
status = 0
if(is_robotic()) //Robotic organs stay robotic.
status = ORGAN_ROBOT
else if (owner)
if(HAS_TRAIT(owner, TRAIT_I_WANT_BRAINS))
status = ORGAN_DEAD
and something like this futher:
if(!HAS_TRAIT(owner, TRAIT_I_WANT_BRAINS)) // zombies's wounds don't close. Because thats cool.
open = ORGAN_CLOSED
Relevant log output/runtime error
No response
The text was updated successfully, but these errors were encountered:
Exploit Reports
BYOND Version
515.1642
Issue Description
When you splash mitochilde on dismembered limb there is a runtime error which prevent mitocholide from rejuvenate a limb and block half of its functional due there is no check for owner of limb is not null
What did you expect to happen?
The limb should call rejuvenate proc without errors
What happened instead?
It's simply fails due execution
Why is this bad/What are the consequences?
It's block an ability of mitocholide to remove bone breakes, internal blidings and critical burns from handling
Steps to reproduce the issue.
Simply spawn limb, splash mitocholide on it, check run time error in:
code/modules/surgery/organs/organ_external.dm
384 - /obj/item/organ/external/rejuvenate()
390 - if(HAS_TRAIT(owner, TRAIT_I_WANT_BRAINS))
there will be no owner, so there will be error
When did the problem start happening?
When zombie mode was implemented
Extra information
To fix it simply add a check.
Maybe something like this:
status = 0
if(is_robotic()) //Robotic organs stay robotic.
status = ORGAN_ROBOT
else if (owner)
if(HAS_TRAIT(owner, TRAIT_I_WANT_BRAINS))
status = ORGAN_DEAD
and something like this futher:
if(!HAS_TRAIT(owner, TRAIT_I_WANT_BRAINS)) // zombies's wounds don't close. Because thats cool.
open = ORGAN_CLOSED
Relevant log output/runtime error
No response
The text was updated successfully, but these errors were encountered: