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

Bug Report: Error on existing mod #8

Open
Baconyy33 opened this issue May 4, 2024 · 2 comments
Open

Bug Report: Error on existing mod #8

Baconyy33 opened this issue May 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Baconyy33
Copy link

i pressed open an existing mod and it crashed. this is the error:
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 318)
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 147)
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 57)
meta/modding/OpenExistingModState.hx (line 60)
flixel/FlxGame.hx (line 642)
game/system/FunkinGame.hx (line 11)
flixel/FlxGame.hx (line 729)
flixel/FlxGame.hx (line 682)
flixel/FlxGame.hx (line 556)
game/system/FunkinGame.hx (line 21)
openfl/events/EventDispatcher.hx (line 444)
openfl/display/DisplayObject.hx (line 1400)

Engine Version: 1.6.3
Error: Invalid char 0 at position 0

@Baconyy33 Baconyy33 added the bug Something isn't working label May 4, 2024
@corecathx
Copy link
Owner

It appears that your mod's mod.json file is corrupted / just an empty file, you could try this:

  • Go to "Create a new mod" option inside the Modding screen
  • Make sure to name this new mod exactly the same as your mod's name
  • Once you did that, the engine will show this pop up, just press "Update"
    image

What this does is basically just recreating the mod.json file for you & updates your mod's folders

@Kle3404
Copy link

Kle3404 commented Oct 19, 2024

i had to import a psych character in the cdev but for some how i get this error:
meta/modding/char_editor/CharacterEditor.hx (line 969)
meta/modding/char_editor/CharacterEditor.hx (line 928)
meta/modding/char_editor/CharacterEditor.hx (line 638)
game/cdev/UIDropDown.hx (line 495)
game/cdev/UIDropDown.hx (line 352)
flixel/ui/FlxButton.hx (line 521)
flixel/addons/ui/FlxUITypedButton.hx (line 1172)
flixel/addons/ui/FlxUIButton.hx (line 362)
flixel/ui/FlxButton.hx (line 507)
openfl/events/EventDispatcher.hx (line 444)
openfl/display/DisplayObject.hx (line 1400)

Engine Version: 1.6.3
Error: Null Object Reference
I try doing the whole process again, this happen again:
meta/modding/char_editor/CharacterEditor.hx (line 282)
flixel/ui/FlxButton.hx (line 521)
flixel/addons/ui/FlxUITypedButton.hx (line 1172)
flixel/addons/ui/FlxUIButton.hx (line 362)
flixel/ui/FlxButton.hx (line 507)
openfl/events/EventDispatcher.hx (line 444)
openfl/display/DisplayObject.hx (line 1400)

Engine Version: 1.6.3
Error: Null Object Reference
so i kept repeating the same thing over and over with the character i use
image_2024-10-19_104752623
same as the chart editor. i had to import my own song then this;
game/objects/Note.hx (line 212)
game/objects/Note.hx (line 146)
meta/modding/chart_editor/ChartingState.hx (line 2435)
meta/modding/chart_editor/ChartingState.hx (line 248)
flixel/FlxGame.hx (line 642)
game/system/FunkinGame.hx (line 11)
flixel/FlxGame.hx (line 729)
flixel/FlxGame.hx (line 682)
flixel/FlxGame.hx (line 556)
game/system/FunkinGame.hx (line 21)
openfl/events/EventDispatcher.hx (line 444)
openfl/display/DisplayObject.hx (line 1400)

Engine Version: 1.6.3
Error: Null Object Reference
i get that the engine hasn't support psych characters and for that i can't even port my chart with this.
image_2024-10-19_105007615
if i know this then the file i import converted corrupted. so for psych refugee, yes i switch to this engine and now it a mess.. i can't do anything without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants