Closed TechniGames closed 2 years ago
I had the same problem
Update your haxe. (Also duplicate of #2053, #2049, #2038, #2028, #2027, #2026, #2024 #2067 Jesus Christ.)
Jesus, UPDATE YOUR FUCKING HAXE OMG
Guys just convert the array to dynamic for those who have an old haxe ver I just made a discussion about it lol https://github.com/ShadowMario/FNF-PsychEngine/discussions/2085
duplicate of #2053, #2049, #2038, #2028, #2027, #2026, #2024 #2067 #2074
update your haxe, stop using 4.1.5.
none of this is helping, i DID update my haxe, its at version 4.2.4. but i still get the same error. i changed nothing. also i use windows 11 if that changes anything.
now its saying i didnt install lime? i swear i did. im gonna install it again and give you an update if it works.
yeah this time i just reinstalled psych engine but then this happened after i did "lime test windows":
source/Achievements.hx:157: characters 30-54 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
source/MainMenuState.hx:65: characters 3-39 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
source/PlayState.hx:328: characters 3-39 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
source/editors/CharacterEditorState.hx:93: characters 3-41 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
source/editors/DialogueCharacterEditorState.hx:82: characters 3-40 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
source/options/NoteOffsetState.hx:57: 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,4//linc/ -I D:/myusername/Apps/Friday Night Funkin'/Mods/FNF-PsychEngine-main/source/vlc/cpp/include/ -I D:/myusername/Apps/Friday Night Funkin'/Mods/FNF-PsychEngine-main/source/vlc/cpp/src/ -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdD:\myusername\Apps\Friday Night Funkin'\Mods\FNF-PsychEngine-main\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]
- src/flixel/input/actions/_FlxSteamController/FlxSteamUpdater.cpp
- src/openfl/system/SecurityDomain.cpp [haxe,release]
- src/flixel/system/debug/interaction/tools/Pointer.cpp
- src/flixel/input/actions/_FlxSteamController/FlxSteamControllerMetadata.cpp
- src/openfl/display/_internal/Context3DElementType.cpp
- src/sys/io/_Process/Stdout.cpp
- src/lime/_internal/backend/native/TextEventInfo.cpp
Error: TextEventInfo.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
Error: Context3DElementType.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
Error: Stdout.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
Error: Pointer.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
ok yeah i couldnt find crtdbg.h in the folder that yvals.h is in, so maybe thats the issue? where do u get that file for vs code
Describe your bug here.
When I attempt to run Psych Engine it gives me an error of: "source/Song.hx:65: characters 27-41 : Array access is not allowed on {+ length : Int }"
Command Prompt/Terminal logs (if existing)
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
added a new character to character list