Ludeon Forums

RimWorld => Bugs => Topic started by: OmegaConstruct on March 30, 2014, 08:27:51 PM

Title: Save file loading error after adding new mod
Post by: OmegaConstruct on March 30, 2014, 08:27:51 PM
I created a new mod (modified and replaced an existing one, really) and then when I loaded up my save file I was hit with these error messages (see attached images).

I'm completely new to modding, this was my first attempt, and I was wondering if this error was because of my mod or if it was a known issue that just coincidentally popped up.

Thanks

[attachment deleted by admin: too old]
Title: Re: Save file loading error after adding new mod
Post by: Architect on March 31, 2014, 05:05:42 AM
This is probably better posted under help in mods as opposed to here. Looks like you're referring to something that isn't a resource as a resource in some way. Might help if we had a little more context?

equally, I would avoid using a save to test mods, as they can be unpredictable. Start a new game each time you go to launch until you are sure your mod works as intended would be my advice.
Title: Re: Save file loading error after adding new mod
Post by: OmegaConstruct on March 31, 2014, 12:49:18 PM
Quote from: Architect on March 31, 2014, 05:05:42 AM
This is probably better posted under help in mods as opposed to here. Looks like you're referring to something that isn't a resource as a resource in some way. Might help if we had a little more context?

I wanted to know if the bug was related to something done by my mod or by something in the core game or one of the many other mods I used.

The mod that I made is really simple. I just added a line of code to the royal bed mod supplied by Ludeon. I made it so that the royal beds display their owner when not in use, just like the regular beds do.

Quoteequally, I would avoid using a save to test mods, as they can be unpredictable. Start a new game each time you go to launch until you are sure your mod works as intended would be my advice.

I had already tested the mod on a new colony and it was fine, this test was to see if it was compatible with save files including already existing royal beds. Don't worry, I backed up the save file in case I killed it!

In the end, it worked. It updated the existing beds according to plan, and the file continued just fine after I closed the error logs. I was just curious if the errors were my fault, or if it was just a coincidence that it happened when I loaded up my new mod.

Thanks for the help.
Title: Re: Save file loading error after adding new mod
Post by: ItchyFlea on April 02, 2014, 09:33:36 AM
The first line (yellow text) is because a mod is using an XML tag that doesn't exist/doesn't apply.
The second line is mostly likely because you changed something that was already present in the save. While it was a serious error the game recovered from it instead of going rainbow coloured.