Skip to content
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

The SpreadDamage Bug is back! #16357

Open
RedlerSchnyder opened this Issue Mar 26, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@RedlerSchnyder
Copy link

RedlerSchnyder commented Mar 26, 2019

I made a overpowered unit for myself with a ridiculous damage and blast radius with a spread of 7c0 and on many plays I did, this happened.

OpenRA engine version release-20190314
Tiberian Dawn mod version release-20190314
on map 1ba72e36e25ac3a2bcbd9814d78e6f6594bba8b5 (Fortresses II by Insert Name & Kane).
Date: 2019-03-26 23:07:58Z
Operating System: Windows (Microsoft Windows NT 6.1.7601 Service Pack 1)
Runtime Version: .NET CLR 4.0.30319.42000
Exception of type System.InvalidOperationException: Attempted to calculate the square root of a negative integer: -2120092899
at OpenRA.Exts.ISqrt(Int32 number, ISqrtRoundMode round)
at OpenRA.Mods.Common.HitShapes.PolygonShape.DistanceFromEdge(WVec v)
at OpenRA.Mods.Common.HitShapes.PolygonShape.DistanceFromEdge(WPos pos, Actor actor)
at OpenRA.Mods.Common.Warheads.SpreadDamageWarhead.c__AnonStorey1.<>m__0(HitShape s)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at OpenRA.Exts.CompareBy[T,U](IEnumerable1 ts, Func2 selector, Int32 modifier, Boolean throws) at OpenRA.Mods.Common.Warheads.SpreadDamageWarhead.DoImpact(WPos pos, Actor firedBy, IEnumerable1 damageModifiers)
at OpenRA.Mods.Common.Warheads.DamageWarhead.DoImpact(Target target, Actor firedBy, IEnumerable1 damageModifiers) at OpenRA.GameRules.WeaponInfo.Impact(Target target, Actor firedBy, IEnumerable1 damageModifiers)
at OpenRA.Mods.Common.Traits.Explodes.OpenRA.Mods.Common.Traits.INotifyKilled.Killed(Actor self, AttackInfo e)
at OpenRA.Mods.Common.Traits.Health.InflictDamage(Actor self, Actor attacker, Damage damage, Boolean ignoreModifiers)
at OpenRA.Mods.Common.Warheads.SpreadDamageWarhead.DoImpact(WPos pos, Actor firedBy, IEnumerable1 damageModifiers) at OpenRA.Mods.Common.Warheads.DamageWarhead.DoImpact(Target target, Actor firedBy, IEnumerable1 damageModifiers)
at OpenRA.GameRules.WeaponInfo.Impact(Target target, Actor firedBy, IEnumerable1 damageModifiers) at OpenRA.Mods.Common.Projectiles.Bullet.Explode(World world) at OpenRA.Mods.Common.Projectiles.Bullet.Tick(World world) at OpenRA.World.<Tick>m__5(IEffect e) at OpenRA.WorldUtils.DoTimed[T](IEnumerable1 e, Action`1 a, String text)
at OpenRA.World.Tick()
at OpenRA.Game.InnerLogicTick(OrderManager orderManager)
at OpenRA.Game.LogicTick()
at OpenRA.Game.Loop()
at OpenRA.Game.Run()
at OpenRA.Game.InitializeAndRun(String[] args)
at OpenRA.WindowsLauncher.RunGame(String[] args)

@abcdefg30 abcdefg30 added the Crash label Mar 27, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.