JordanSantiagoYT / FNF-JS-Engine

JS Engine is basically Psych Engine but with (almost) no botplay lag and NEW features!
Apache License 2.0
46 stars 27 forks source link

Crash when freeplay #445

Closed PatoFlamejanteTV closed 3 months ago

PatoFlamejanteTV commented 3 months ago

Describe your bug here. If you are modding, try testing your bug in a clean version of the engine instead. Also, if you're using an older version of JSE, please try the latest version/action build. Also, be sure to check the pinned 'JS Engine: Known Issues' issue, to check if your issue hasn't already been found!

JS crashes when i go to freeplay. Also i put my own Psych Engine mod in /mods,

Command Prompt/Terminal/Crash logs (if existing)

C:\hostedtoolcache\windows\haxe\4.2.5\x64\std/haxe/format/JsonParser.hx (Line 318)
C:\hostedtoolcache\windows\haxe\4.2.5\x64\std/haxe/format/JsonParser.hx (Line 110)
C:\hostedtoolcache\windows\haxe\4.2.5\x64\std/haxe/format/JsonParser.hx (Line 90)
C:\hostedtoolcache\windows\haxe\4.2.5\x64\std/haxe/format/JsonParser.hx (Line 57)
WeekData.hx (Line 224)
WeekData.hx (Line 192)
WeekData.hx (Line 180)
FreeplayState.hx (Line 85)
flixel/FlxGame.hx (Line 639)
flixel/FlxGame.hx (Line 726)
flixel/FlxGame.hx (Line 679)
flixel/FlxGame.hx (Line 558)
openfl/events/EventDispatcher.hx (Line 426)
openfl/display/DisplayObject.hx (Line 1398)

Uncaught Error: Invalid char 93 at position 390
Please report this error to the GitHub page: https://github.com/JordanSantiagoYT/FNF-PsychEngine-NoBotplayLag

> Crash Handler written by: sqirra-rng
The engine has saved a crash log inside the crash folder, If you're making a GitHub issue you might want to send that!

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

Just clicked/selected freeplay. Btw my PE port was actived when the crash happened.

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

No

If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?

None

Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.

Yes

NAEL2XD commented 3 months ago

you edited one of the jsons and removed something needed for json to work, causing you to get a crash

To fix go to mods/weeks (or mods/(mod name)/weeks, and go to the json that you recently edited, then re-add back the previously deleted letter/symbol

NAEL2XD commented 3 months ago

But if you can't, send me the json and I'll fix it

Remember, it's in mods/weeks (or mods/(mod name)/weeks)

JordanSantiagoYT commented 3 months ago

your json is formatted incorrectly.

PatoFlamejanteTV commented 3 months ago

can i found the path for the .json? atleast if is an .json for sprites or for an chart

PatoFlamejanteTV commented 3 months ago

you edited one of the jsons and removed something needed for json to work, causing you to get a crash

To fix go to mods/weeks (or mods/(mod name)/weeks, and go to the json that you recently edited, then re-add back the previously deleted letter/symbol

I just imported the mod folder (from my PE /mods folder) to "/mods", btw my mod is on Github.

NAEL2XD commented 3 months ago

you edited one of the jsons and removed something needed for json to work, causing you to get a crash To fix go to mods/weeks (or mods/(mod name)/weeks, and go to the json that you recently edited, then re-add back the previously deleted letter/symbol

I just imported the mod folder (from my PE /mods folder) to "/mods", btw my mod is on Github.

image

your issue is the last row on songs contains a comma at the end, you have to remove it ONE BY ONE

NAEL2XD commented 3 months ago

image

here

moxie-coder commented 3 months ago

closing due to inactivity

moxie-coder commented 3 months ago

gonna assume OP fixed it by now