Skip to content

EcCo Lite v0.9.9: Missing export variable "pbs_trap_hold_critters" in gl_pbs_damage_mod #38

@dekrus

Description

@dekrus

Import variable 'pbs_trap_hold_critters' is not exported by any script in EcCo 0.9.9 lite.
In combats with many critters / many turns, the debug log shows:
Error during execution: External variable pbs_trap_hold_critters does not exist
Then it starts spamming:
Error during execution: pushShortStack: Stack overflow

This may eventually lead to a crash with a memory read error at address 0x4efb51.
The stack overflow may not be directly caused by the missing external variable pbs_trap_hold_critters, but when recompiling gl_pbs_damage_mod with:
variable pbs_trap_hold_critters := 0;
instead of:
import variable pbs_trap_hold_critters;

neither Error during execution: External variable pbs_trap_hold_critters does not exist nor the stack overflow occur.

Tested on: Fallout ET TU + sfall 4.4.9.1 + EcCo 0.9.9 lite (no other mods).
Even if the stack overflow is not directly related to the missing imported var, I still suggest fixing the import issue :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions