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

help i cant load a character #14815

Closed
Dmitriiiiiiiiiii opened this issue Jun 3, 2024 · 6 comments
Closed

help i cant load a character #14815

Dmitriiiiiiiiiii opened this issue Jun 3, 2024 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@Dmitriiiiiiiiiii
Copy link

Describe your problem here.

i am working on getting a character into the game. the icon works just fine but when it tries to load the "character" itself it just crashes

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

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

no

@Dmitriiiiiiiiiii Dmitriiiiiiiiiii added the help wanted Extra attention is needed label Jun 3, 2024
@Dmitriiiiiiiiiii
Copy link
Author

error says

C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (Line 217)
C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (Line 117)
C:\HaxeToolkit\haxe\std/haxe/Xml.hx (Line 122)
flixel/graphics/frames/FlxAtlasFrames.hx (Line 246)
Character.hx (Line 164)
PlayState.hx (Line 940)
flixel/FlxGame.hx (Line 637)
flixel/FlxGame.hx (Line 724)
flixel/FlxGame.hx (Line 677)
flixel/FlxGame.hx (Line 551)
openfl/events/EventDispatcher.hx (Line 402)
openfl/display/DisplayObject.hx (Line 1399)

Uncaught error: haxe.xml.XmlParserException: Expected node name at line 2 char 2.
Please report this error to the Github page: (link)

@YouDevsYoupikmin
Copy link

Certainly due to XML file, can you show it ?

@Dmitriiiiiiiiiii
Copy link
Author

Screenshot 2024-06-03 063832
Screenshot 2024-06-03 063851

@YouDevsYoupikmin
Copy link

Try add a prefix before animation name like "BF up0000"

@YouDevsYoupikmin
Copy link

I found the problem
Edit the first line to change "UTF-16" by "UTF-8"
And when you save, choose UTF-8 instead of UTF-16

@Dmitriiiiiiiiiii
Copy link
Author

THANK YOU it works (i spent a long time on this lol)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants