ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.11k stars 2.17k forks source link

Loading a week #14412

Closed s-h-i-f-t-y-z closed 3 months ago

s-h-i-f-t-y-z commented 5 months ago

Describe your bug here.

so i load in a custom made json file for week 2 in the game in story mode but an error js shows up and crashes the game (with the error msg log thing) idk what happened but it seems like seomthing to do with the events or an xml from somewhere

using build 0.6.3

Command Prompt/Terminal logs (if existing)

C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (line 254)
C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (line 285)
C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (line 117)
C:\HaxeToolkit\haxe\std/Xml.hx (line 122)
flixel/graphics/frames/FlxAtlasFrames.hx (line 246)
Character.hx (line 164)
PlayState.hx (line 973)
flixel/FlxGame.hx (line 637)
flixel/FlxGame.hx (line 724)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 545)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: haxe.xml.XmlParserException: Expected = at line 14 char 34
Please report this error to the GitHub page of Psych Engine (cos idk how to code and
its still psych engine technically): https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng
shiftyZ was here

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.

yes, i edited MainMenuState.hx (removing the pretty much useless tabs leaving only story mode, freeplay, creedits and options), edited CreditState.hx (for the credits ofc), edited TitleState.hx (removed the default blackBackground and replacing it with an image (assets\images\coolswag2.png), re added the old fnf floating logo thing but applied it to logoBumpin, edited the startup screen text), edited CrashState.hx (i think its called that, i only made it so that the errors contributes to my psych fork basically), FPS.hx (so that the font is different and the text shows something additional), anjd a few more things i forgor

s-h-i-f-t-y-z commented 4 months ago

loving how noone replied