morerokk / IreNFist

A continuation/fix of the IreNFist mod for PAYDAY 2
MIT License
4 stars 2 forks source link

CTD on tactical reload #125

Open millicentilottapede opened 2 years ago

millicentilottapede commented 2 years ago

Another day, another useless weapon pack.

Only this time it broke the reloads of shell-fed shotguns, as well as any other gun with an interruptible reload like the Repeater and Peacemaker.

Application has crashed: C++ exception
mods/IRE AND FIST REBORN/lua/newraycast.lua:704: attempt to call upvalue 'old_reload_exit_ne_expire' (a nil value)
SCRIPT STACK
_update_reload_timers() @mods/IRE AND FIST REBORN/lua/playerstandard.lua:729
_update_check_actions() lib/units/beings/player/states/playerstandard.lua:883
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:272
@mods/base/req/core/Hooks.lua:288

The crash occurs when the last round is about to be loaded. Dry reloads seem to work fine (for now, at least).

morerokk commented 2 years ago

Which mod does this happen with, exactly?

millicentilottapede commented 2 years ago

I meant to refer to the new DLC weapon pack that just came out. I should've been clearer on that, my bad.

morerokk commented 2 years ago

Ah I see, interesting. Will get on it soon.

Coremanite commented 2 years ago

having the same issue. any firearm with an interrupt to the reload, such as tube-fed shotguns, the Colt SAA, etc, crash after loading the first 1-2 rounds/shells in.