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

Null object reference #23

Closed
QuinoDev opened this issue Aug 28, 2021 · 3 comments
Closed

Null object reference #23

QuinoDev opened this issue Aug 28, 2021 · 3 comments

Comments

@QuinoDev
Copy link

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:https:///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
Copy link
Owner

please show the playstate.hx code @QuinoDev

@QuinoDev
Copy link
Author

QuinoDev commented Aug 28, 2021

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

@RedDoesStuff
Copy link
Contributor

It's 100% the issue on that line since usually the code calls an error function from that line. So it must be that line's issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants