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
Related: #42121
Error when attempting to fire a weapon
DEBUG : Attempted to fire zero or negative shots using <color_c_green>++ coilgun+6
FUNCTION : int player::fire_gun(const tripoint&, int, item&)
FILE : src/ranged.cpp
LINE : 435
Steps To Reproduce
Unable to reproduce with fresh character/item/etc, repeatable with attached save file (just fire held weapon). Potentially (un)related actions leading up to the error are:
Attached bayonet (to a coilgun in this case)
Fired gun at mobs several times without issue
Dropped gun to switch to other weapon
Left it there for about a day
Came back, picked it up, tried to fire it
No shots fired
Expected behavior
Shots fired
Versions and configuration
OS: Windows
OS Version: 10.0 1909
Game Version: 0.E-2 [64-bit]
Graphics Version: Tiles
Game Language: English [en]
Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food]
]
May be worth noting that multiple other (probably unrelated) errors occurred in this play-through though they kinda fixed themselves after some fiddling around, so I didn't report any of that
The text was updated successfully, but these errors were encountered:
It seems attempting to fire the projectile/bayonet from a gun incapable of firing the projectile (no ammo/no UPS) but has a bayonet causes this error instead of reporting the gun as having insufficient ammo/UPS charge or just attacking with bayonet
Describe the bug
Related: #42121
Error when attempting to fire a weapon
DEBUG : Attempted to fire zero or negative shots using <color_c_green>++ coilgun+6
FUNCTION : int player::fire_gun(const tripoint&, int, item&)
FILE : src/ranged.cpp
LINE : 435
Steps To Reproduce
Unable to reproduce with fresh character/item/etc, repeatable with attached save file (just fire held weapon). Potentially (un)related actions leading up to the error are:
Expected behavior
Shots fired
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food]
]
Additional context
Save file:
Maili.zip
Log file:
debug.log
May be worth noting that multiple other (probably unrelated) errors occurred in this play-through though they kinda fixed themselves after some fiddling around, so I didn't report any of that
The text was updated successfully, but these errors were encountered: