polybiusproxy / hxCodec

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

Null object reference #23

Closed QuinoDev closed 2 years ago

QuinoDev commented 3 years ago

im losing my mind

anways

cutscene plays, crashes after

info or somthin:

os: windows 10

logs: sure

Logs---------

source/MainMenuState.hx:246: Story Menu Selected source/StoryMenuState.hx:131: Line 70 source/StoryMenuState.hx:158: Line 96 source/StoryMenuState.hx:167: Line 124 source/StoryMenuState.hx:193: Line 150 source/StoryMenuState.hx:222: Line 165 source/MusicBeatState.hx:52: reg (x: -200 | y: -200 | w: 1792 | h: 1008) source/Song.hx:87: loading sinerpurge/sinerpurge-hard source/Song.hx:121: conversion stuff SinerPurge 126 source/Paths.hx:96: assets/videos/vineboom.mp4 set location: file:///C:\Users\famil\Downloads\Kade-Engine-1.6.2\Kade-Engine-1.6.2\export\debug\windows\bin//assets/videos/vineboom.mp4 source/MusicBeatState.hx:151: (no bpm change) reset steps for some reason?? at 0 source/MP4Handler.hx:91: video loaded! source/MP4Handler.hx:106: Big, Big Chungus, Big Chungus! source/PlayState.hx:343: Mod chart: false - assets/data/sinerpurge/modchart.lua source/Conductor.hx:68: new BPM map BUDDY [] source/PlayState.hx:453: INFORMATION ABOUT WHAT U PLAYIN WIT: FRAMES: 10 ZONE: 166 TS: 1 BotPlay : false source/Character.hx:292: 496 source/PlayState.hx:1053: uh 10 source/PlayState.hx:1055: SF CALC: 166 source/PlayState.hx:1085: song looks gucci source/PlayState.hx:1803: loaded vocals source/PlayState.hx:1903: Found offset file: assets/data/sinerpurge/0.offset source/PlayState.hx:1146: generated source/PlayState.hx:1287: starting source/MusicBeatState.hx:52: reg (x: -200 | y: -200 | w: 1792 | h: 1008) source/TimingStruct.hx:43: Apparently -1401.8691588785 is out of any segs Called from hxcpp::__hxcpp_main Called from ApplicationMain::main ApplicationMain.hx line 25 Called from ApplicationMain::create ApplicationMain.hx line 130 Called from lime.app.Application::exec lime/app/Application.hx line 150 Called from lime._internal.backend.native.NativeApplication::exec lime/_internal/backend/native/NativeApplication.hx line 146 Called from lime._internal.backend.native.NativeApplication::handleRenderEvent lime/_internal/backend/native/NativeApplication.hx line 370 Called from lime.app._Event_lime_graphics_RenderContext_Void::dispatch lime/_internal/macros/EventMacro.hx line 91 Called from openfl.display.Stage::onLimeRender openfl/display/Stage.hx line 1950 Called from openfl.display.Stage::broadcastEvent openfl/display/Stage.hx line 1166 Called from openfl.display.DisplayObject::dispatch openfl/display/DisplayObject.hx line 1399 Called from openfl.events.EventDispatcher::dispatchEvent openfl/events/EventDispatcher.hx line 402 Called from flixel.FlxGame::onEnterFrame flixel/FlxGame.hx line 545 Called from flixel.FlxGame::step flixel/FlxGame.hx line 677 Called from flixel.FlxGame::update flixel/FlxGame.hx line 747 Called from flixel.FlxState::tryUpdate flixel/FlxState.hx line 202 Called from PlayState::update PlayState.hx line 2955 Called from flixel.group.FlxTypedGroup::forEachAlive flixel/group/FlxGroup.hx line 769 Called from PlayState::update PlayState.hx line 2985

End of logs---------

uh i think u also ask the engine,just to be sure,its kade engine 1.6.2

code: image

polybiusproxy commented 3 years ago

please show the playstate.hx code @QuinoDev

QuinoDev commented 3 years ago

You never said anything about playstate.hx for adding cutscene to weeks tho, u only used it for individual songs, so i didnt really add anything in playstate

In case you mean line 2985 since thats the last line in the log, its code for sustain notes so it doesnt have anything to do with the cutscene