ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.07k stars 2.12k forks source link

Error with renaming a thing in the character editing. #14821

Open TimRedGamerYT opened 1 month ago

TimRedGamerYT commented 1 month ago

Describe your bug here.

I tried switching a sprite with another, it has the same xml and sprite sheet size, there should've been no issue.

Command Prompt/Terminal logs (if existing)

C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (line 264)
C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (line 117)
C:\HaxeToolkit\haxe\std/Xml.hx (line 122)
flixel/system/FlxAssets.hx (line 59)
flixel/graphics/frames/FlxAtlasFrames.hx (line 256)
states/editors/CharacterEditorState.hx (line 802)
states/editors/CharacterEditorState.hx (line 625)
flixel/ui/FlxButton.hx (line 521)
flixel/ui/FlxButton.hx (line 507)
openfl/events/EventDispatcher.hx (line 444)
openfl/display/DisplayObject.hx (line 1400)

Uncaught Error: haxe.xml.XmlParserException: Expected " at line 2 char 24
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng

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.

I only used the most recent version, and used a sprite sheet that was already coded in from another psych copy.

TimRedGamerYT commented 1 month ago

btw i physically cannot do ANYTHING until this is fixed

xxyuee commented 1 month ago

can you send the xml file?

TimRedGamerYT commented 1 month ago

yeah here https://drive.google.com/drive/folders/1ebAY_57HDNyjlDyy8DAtdvMXnMLKR8DO?usp=sharing

TimRedGamerYT commented 1 month ago

i did try renaming it a bunch to see if it was just because of the name, the only issue is when i loaded it as the proper thing, it broke. I'm using 0.7.3

xxyuee commented 1 month ago

i cant access it.

TimRedGamerYT commented 1 month ago

Try now

On Tue, Jun 4, 2024, 10:45 xxyuee @.***> wrote:

i cant access it.

— Reply to this email directly, view it on GitHub https://github.com/ShadowMario/FNF-PsychEngine/issues/14821#issuecomment-2147724641, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZFV7ICW4LV6DLZVA7FUHTZFXHKJAVCNFSM6AAAAABIXJTHR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXG4ZDINRUGE . You are receiving this because you authored the thread.Message ID: @.***>

Vortex2Oblivion commented 1 month ago

This error means there is something wrong with your xml file, did you modify it?

TimRedGamerYT commented 1 month ago

No, all i did was change the name in the xml from sarvente_sheet to sarvente_xd That is all I did.

But it wouldn't work even when i changed it to like sarvente_sheet1

On Tue, Jun 4, 2024, 11:59 Vortex @.***> wrote:

This error means there is something wrong with your xml file, did you modify it?

— Reply to this email directly, view it on GitHub https://github.com/ShadowMario/FNF-PsychEngine/issues/14821#issuecomment-2147889524, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZFV7O3APAWDIK5IB5DIM3ZFXP5PAVCNFSM6AAAAABIXJTHR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXHA4DSNJSGQ . You are receiving this because you authored the thread.Message ID: @.***>

xxyuee commented 1 month ago

image the error says you forgot a quote mark here.

TimRedGamerYT commented 1 month ago

HHHH THAT WAS THE WHOLE PROBLEM???? HSJSHHS IM STUPID

On Tue, Jun 4, 2024, 12:30 xxyuee @.***> wrote:

image.png (view on web) https://github.com/ShadowMario/FNF-PsychEngine/assets/163758938/9b31b756-1ae2-4696-b2a3-23932287cc2d the error says you forgot a quote mark here.

— Reply to this email directly, view it on GitHub https://github.com/ShadowMario/FNF-PsychEngine/issues/14821#issuecomment-2147951118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZFV7JMP2RUFK2334KLB63ZFXTQ3AVCNFSM6AAAAABIXJTHR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXHE2TCMJRHA . You are receiving this because you authored the thread.Message ID: @.***>

xxyuee commented 1 month ago

its okay 😭 js close the issue now

TimRedGamerYT commented 1 month ago

I will when i log back in on my pc later

On Tue, Jun 4, 2024, 12:51 xxyuee @.***> wrote:

its okay 😭 js close the issue now

— Reply to this email directly, view it on GitHub https://github.com/ShadowMario/FNF-PsychEngine/issues/14821#issuecomment-2147986965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZFV7KFP2BG6ITWXHJX5ATZFXV7PAVCNFSM6AAAAABIXJTHR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXHE4DMOJWGU . You are receiving this because you authored the thread.Message ID: @.***>

Vortex2Oblivion commented 1 month ago

Btw you don't actually need to change the imagePath in an xml file since the game doesn't read that part of the xml

TimRedGamerYT commented 1 month ago

Oo ok

On Wed, Jun 5, 2024, 13:46 Vortex @.***> wrote:

Btw you don't actually need to change the imagePath in an xml file since the game doesn't read that part of the xml

— Reply to this email directly, view it on GitHub https://github.com/ShadowMario/FNF-PsychEngine/issues/14821#issuecomment-2150620792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZFV7MO3M2VT5LA7OVMHZLZF5FJDAVCNFSM6AAAAABIXJTHR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJQGYZDANZZGI . You are receiving this because you authored the thread.Message ID: @.***>