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

Cannot access private field onVLCComplete #16

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

Cannot access private field onVLCComplete #16

QuinoDev opened this issue Aug 22, 2021 · 3 comments
Labels
compiling error Issues featuring compiler, linker, etc.

Comments

@QuinoDev
Copy link

QuinoDev commented Aug 22, 2021

So i followed this tutorial step by step and when i tried compiling this error appeared

Heres the code for the cutscene

image

This might (and prob is) an error with my code rather than the repo itself, but i got ignored in every single other way of asking help so this is kinda my last hope lol

@polybiusproxy
Copy link
Owner

Go to MP4Handler.hx
Search for the function "onVLCComplete"
Make it public.
Then it should be like this:
image

@polybiusproxy polybiusproxy added the compiling error Issues featuring compiler, linker, etc. label Aug 23, 2021
@QuinoDev
Copy link
Author

So this worked, tysm for that, however when the cutscene ends i have the classic "null object reference", should i open a new issue for this?
also i saw u ask some people these questions so ima just answer them here just in case

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

@polybiusproxy
Copy link
Owner

make new issue

@polybiusproxy polybiusproxy added this to the hxCodec v2.0 milestone Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiling error Issues featuring compiler, linker, etc.
Projects
None yet
Development

No branches or pull requests

2 participants