Resolved General Crash in spnpccharactersplayer

Users who are viewing this thread

Version number
v1.2.8
Branch
Main
Modded/unmodded
Modded
I want to overwrite the character names and their stats in my mod, but when I put the <NPCCharacters> in the spnpcharactersfile in my module it always crashes, even if I put it empty with nothing in between.
XML:
<?xml version="1.0" encoding="utf-8"?>
<NPCCharacters>

 

<NPCCharacters/>
Thank you very much in advance.
 
Thanks for your answer. I will create a new module and try to replicate the error.
That will take me a while. I will let you know when I have it.
 
Oh. I see my error. The problem is the NpcCharacter section is incorrectly closed.

This is the wrong and crash the game.
Code:
XML:

<?xml version="1.0" encoding="utf-8"?>
<NPCCharacters>

 

<NPCCharacters/>
This is the correct version.

Code:
XML:

<?xml version="1.0" encoding="utf-8"?>
<NPCCharacters>

 

</NPCCharacters>

Anyway, thank you so much.

I didn't realise until I prepared the separate module to send you.
 
Back
Top Bottom