PDA

View Full Version : 5e Stack Overflow error



mattekure
March 12th, 2021, 00:15
Setup
New campaign, no extensions ever loaded.

Add 1 npc to CT.
create PC, give it some HP.
add PC to CT
Apply effect "IF: Bloodied; ATK: 2" to the PC.
damage PC to death, pass turn.

begin getting script execution errors in manager-actor.lua and manager_string.lua.

logs and sample campaign attached. it should throw the error as soon as you open the CT.

https://imgur.com/Cli1eRh.jpg

Kelrugem
March 12th, 2021, 00:16
Hi :)

In 5e there is always an immediate stack overflow when adding effects like IF: bloodied; ATK:1 to a dead/dieing actor; add such an effect to the active actor and/or click next round button once or twice (depending on the active state), then you get such a stack overflow :)

I accidentally thought this is due to an extension since I simply expected that the base programme does not have this problem; after the dev lost their hair we got aware of that it is in the base programme :D

Best wishes,

Kelrugem

EDIT: Oh, oops, Mattekure also posted it just now :D

MOD: merged :)

Moon Wizard
March 20th, 2021, 19:20
Just pushed hot fix for this.

Thanks,
JPG

Kelrugem
March 21st, 2021, 17:59
Just pushed hot fix for this.

Thanks,
JPG

Thank you very much :)