-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Firing at ammo crates and NPCs causes a crash? #410
Comments
What NPCs in particular were you firing at? |
Had the same problem and went through the cumbersome task of trying every NPC to find that only the Dog and Strider NPC's cause server lockups printing this stack trace every couple of minutes or so while players eventually disconnect.
In addition, I find ammo bombing to cause unrecoverable server lockups more often than before, but this is just my experience. |
Should be fixed with this commit, but if it still isn't then just reopen the issue and I'll take another look. |
@thecraftianman |
Issue is still happening, I went on singleplayer, first try my game locked up like before. |
Short Description
When firing at ammo crates, ACF will error and cause a server crash.
Seems to be any type of HE rounds that cause it.
Branch and Version
Latest master branch of ACF-3, ACF Missiles, Contraption Framework and Cluster Munitions.
Console Error Logs (Optional)
Lua Stack:
[C][+0] [C] in GetMesh
[L][+1] addons/acf-3/lua/acf/damage/explosion_sv.lua:51 in field getRandomPos Line 37 -> 71
[L][+2] addons/acf-3/lua/acf/damage/explosion_sv.lua:136 in field createExplosion Line 81 -> 234
[L][+3] addons/acf-3/lua/acf/entities/ammo_types/aphe.lua:133 in method OnFlightEnd Line 121 -> 136
[L][+4] addons/acf-3/lua/acf/ballistics/ballistics_sv.lua:201 in field OnImpact Line 176 -> 203
[L][+5] addons/acf-3/lua/acf/ballistics/ballistics_sv.lua:295 in field DoBulletsFlight Line 217 -> 298
[L][+6] addons/acf-3/lua/acf/ballistics/ballistics_sv.lua:85 in field CalcBulletFlight Line 66 -> 92
[L][+7] addons/acf-3/lua/acf/ballistics/ballistics_sv.lua:115 in field fn Line 112 -> 118
[L][+8] addons/ulib/lua/ulib/shared/hook.lua:109 in field Run Line 92 -> 150
[L][+9] addons/acf-3/lua/acf/core/utilities/clock/clock.lua:13 in field fn Line 6 -> 14
[L][+10] addons/ulib/lua/ulib/shared/hook.lua:109 in anonymous function Line 92 -> 150
Lua Stack:
[C][+0] [C] in TraceLine
[L][+1] addons/acf-3/lua/acf/core/utilities/traces_sh.lua:57 in field trace Line 51 -> 81
[L][+2] addons/acf-3/lua/acf/ballistics/ballistics_sv.lua:246 in field DoBulletsFlight Line 217 -> 298
[L][+3] addons/acf-3/lua/acf/ballistics/ballistics_sv.lua:288 in field DoBulletsFlight Line 217 -> 298
+898 Lines of the same output.
How to Reproduce (Optional)
Player was firing at NPC's and Ammo Crates with HE which causes server crash.
Screenshots (Optional)
If applicable, add screenshots to help explain your problem.
Additional Information (Optional)
Add any other information about the problem you think might help find the issue.
The text was updated successfully, but these errors were encountered: