FabianTerhorst / coreclr-module

Old alt:V CoreClr (.NET Core Common Language Runtime) community made module. New: https://github.com/altmp/coreclr-module
MIT License
72 stars 67 forks source link

Alt.CreateWorldOutput crashes client #767

Closed dGxxxx closed 1 year ago

dGxxxx commented 1 year ago

Code:

var audio = Alt.CreateAudio("https://edge126.rcs-rds.ro/profm/profm.mp3", 1); var audioWorld = Alt.CreateWorldOutput(Alt.Hash("radio"), new Position(0, 0, 71)); audio.AddOutput((AudioOutput)audioWorld); audio.Play();

The problem is 100% not from the mp3 file, because when I use Alt.CreateFrontendOutput it works fine.

kyro95 commented 1 year ago

Yeah, I also tried this using this audio https://hitzop.com/wp-content/uploads/2021/08/Alabama_3_-_Woke_Up_This_Morning.mp3 my client crashed as well

TuK4z commented 1 year ago

Same with Alt.CreateAttachedOutput

Doxoh commented 1 year ago

fixed in latest dev version. *-146