polybiusproxy / hxCodec

Haxe library for native video playback on HaxeFlixel and OpenFL.
https://lib.haxe.org/p/hxCodec
Mozilla Public License 2.0
108 stars 70 forks source link

Game Crashes After Cutscene Plays #10

Closed Behnja closed 3 years ago

Behnja commented 3 years ago

Pretty self explanatory. Launch up the game, go into the week with the cutscene I added, it plays out and then the game crashes. I've searched for hours what the problem could possibly be, and it all just leads to nothing.

However something I noticed was that if I move the "LoadingState" line right below the "video.playMP4" line, the game doesn't crash, but what happens instead is the cutscene does not play and I'm put straight into the week, with the audio of the cutscene playing in the background. HELP

I don't know if I did something wrong with the code. I'm pretty sure I haven't, since I followed Brightfyre's tutorial of Polybius' code step by step, and made sure that I did everything right. Of course if it is me, or Brightfyre's tutorial is already outdated and I just have to do things differently, then let me know.

polybiusproxy commented 3 years ago

Hello! Can you send this information?

Behnja commented 3 years ago

@polybiusproxy sure! My operating system is Windows 10. I don't know what you mean by "architecture of operating system", but from my searches I think it's x64 bits. Don't really know if there's a certain place or file that includes any type of crash logs, but I just guessed you mean the Windows PowerShell mess of code that it put out so here it is:

C:/HaxeToolkit/haxe/lib/polymod/git/polymod/format/XMLMerge.hx:189: characters 10-23 : Warning : This typedef is deprecated in favor of haxe.xml.Access C:/HaxeToolkit/haxe/lib/polymod/git/polymod/format/XMLMerge.hx:189: characters 30-43 : Warning : This typedef is deprecated in favor of haxe.xml.Access source/PlayState.hx:306: characters 3-39 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead

Compiling group: haxe cl.exe -Iinclude -IC:/HaxeToolkit/haxe/lib/discord_rpc/git/linc/ -IC:/HaxeToolkit/haxe/lib/linc_luajit/0,0,2//linc/ -I C:/Users/benig/Desktop/fridaynightfunkinTHEFKNDEGENERATES/Kade-Engine-1.5.2/source/vlc/cpp/include/ -I C:/Users/benig/Desktop/fridaynightfunkinTHEFKNDEGENERATES/Kade-Engine-1.5.2/source/vlc/cpp/src/ -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdC:\Users\benig\Desktop\fridaynightfunkinTHEFKNDEGENERATES\Kade-Engine-1.5.2\export\release\windows\obj\obj/msvc1964-nc/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -IC:/HaxeToolkit/haxe/lib/hxcpp/4,2,1/include -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]

Let me know if you need anything else or I got something wrong so I can go back and provide better information.

polybiusproxy commented 3 years ago

that is now fixed download latest version and try again