Skip to content

Crash on crit with Mk211 Mod 0 Multipurpose round for Thanatos #130

@Vulfski

Description

@Vulfski

Application has crashed: C++ exception
[string "lib/units/enemies/cop/copdamage.lua"]:2277: attempt to perform arithmetic on local 'damage' (a nil value)

SCRIPT STACK

damage_fire() @mods/IRE AND FIST REBORN/lua/copdamage.lua:286
give_fire_damage() @mods/IRE AND FIST REBORN/lua/raycast.lua:1098
func() @mods/IRE AND FIST REBORN/lua/raycast.lua:958
on_collision() @mods/base/req/core/Hooks.lua:282
_fire_raycast() @mods/WeaponLib/hooks/lib/units/weapons/newraycastweaponbase.lua:457
original_fire() @mods/IRE AND FIST REBORN/lua/raycast.lua:300
fire() @mods/IRE AND FIST REBORN/lua/raycast.lua:328
fire_original() @mods/WeaponLib/hooks/lib/units/weapons/newraycastweaponbase.lua:1350
fire() @mods/IRE AND FIST REBORN/lua/BurstFire.lua:150
trigger_pressed() lib/units/weapons/raycastweaponbase.lua:413
original() @mods/IRE AND FIST REBORN/lua/playerstandard.lua:1191
_check_action_primary_attack() @mods/base/req/core/Hooks.lua:288
_update_check_actions() lib/units/beings/player/states/playerstandard.lua:962
original() lib/units/beings/player/states/playerstandard.lua:441
update_original() @mods/base/req/core/Hooks.lua:288
update() @mods/IRE AND FIST REBORN/lua/BurstFire.lua:350
original() lib/units/beings/player/playermovement.lua:279
@mods/base/req/core/Hooks.lua:288


Crashes every single time I get a crit, either on the initial hit or the fire ticks.

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