Jump to content

Weather crash

  • Version: Beta 5 New Issue Bug Report

For tracking and organizational purposes, please include ONLY ONE bug or suggestion per report. Thank you!
Reports not in English will be removed.

Error Description

The following error occurs when setting weather intensity to 99 or 100 and X, Y speed to 5 (Doesn't occur on 50 intensity):


2018-12-06 12:26:35.157 [Error] Message: External component has thrown an exception.
2018-12-06 12:26:35.212 [Error] Stack Trace:    at Microsoft.Xna.Framework.Audio.OpenALSoundController.ReserveSource()
   at Microsoft.Xna.Framework.Audio.SoundEffectInstance.PlatformPlay()
   at Intersect.Client.MonoGame.Audio.MonoSoundInstance.Play()
   at Intersect.Client.MapSound..ctor(String filename, Int32 x, Int32 y, Guid mapId, Boolean loop, Int32 distance)
   at Intersect.Client.GameAudio.AddMapSound(String filename, Int32 x, Int32 y, Guid mapId, Boolean loop, Int32 distance)
   at Intersect.Client.Entities.AnimationInstance..ctor(AnimationBase animBase, Boolean loopForever, Boolean autoRotate, Int32 zDimension, Entity parent)
   at Intersect.Client.Maps.WeatherParticle..ctor(List`1 RemoveParticle, Int32 xvelocity, Int32 yvelocity, AnimationBase anim)
   at Intersect.Client.Maps.MapInstance.DrawWeather()
   at Intersect.Client.GameGraphics.DrawInGame()
   at Intersect.Client.GameGraphics.Render()
   at Intersect.Client.IntersectGame.Draw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
2018-12-06 12:26:35.212 [Error] Time: 12/6/2018 12:26:35 PM



Replication Steps

Attach Screenshots/Other media

Attach Error Logs
If you are using Intersect, please find and attach BOTH your Client/Resources/Logs folder and Server/Resources/Logs folder to help us debug your problem. Without these logs we often cannot fix bugs in the engine.

Edited by Xenogene

User Feedback

Recommended Comments

@jcsnider If this is what I think it is, we need to throttle sounds on animations from weather particles. With intensity 99~100 there is a new weather particle every 25-30ms, which would be totally fine if it wasn't starting another sound each time too, and it's probably overloading OpenAL.

Share this comment

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now