ACF-Team / ACF-3

ACF
MIT License
67 stars 53 forks source link

Firing at ammo crates and NPC's causes a crash? #410

Open Xer0n opened 1 week ago

Xer0n commented 1 week ago

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.