RimWorld

RimWorld

Rimsenal - Core
Config error in MRSKitH:description has trailing whitespace
Hello,i am getting a red error "Config error in MRSKitH:description has trailing whitespace" while running this mod,i don't have any other mods enabled as well

Config error in MRSKitH: description has trailing whitespace
Verse.Log:Error(String, Boolean)
Verse.DefDatabase`1:ErrorCheckAllDefs()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType(Type, Type, String)
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()
< >
Showing 1-12 of 12 comments
Carapace Cross 28 Mar, 2019 @ 5:52am 
I've been getting this error as well, the same one exactly. It might be something recent considering this only started in march.
Camalie 28 Mar, 2019 @ 11:26am 
It's related to the new Greydale weapon that was added, it would appear to be the upgrade kit for the hybrid rifle
Lazer 5 Apr, 2019 @ 2:09pm 
Its because of the kit description tag, it ends with a space, which breaks the code for some reason, easy to fix, go to Rimsenal\Defs\ThingDefs, open Items_RS.xml and scroll a bit down until you see <label>modular accelerator kit</label> and delete the last space in the description below
Last edited by Lazer; 5 Apr, 2019 @ 2:15pm
bagelhe 6 May, 2019 @ 4:03am 
i got the same problem
please fix
bagelhe 6 May, 2019 @ 4:11am 
can you tell me excatly what to delete there?

<defName>MRSKitH</defName>
<label>modular accelerator kit</label>
<description>An advanced conversion kit for the greydale modular weapon systems. It contains sophisticated parts like high capacity capacitors and magnetic accelerator barrel. </description>
<graphicData>
<texPath>Things/A16/MRSKitH</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<recipeMaker>
<researchPrerequisite>ChargedShot</researchPrerequisite>
<workSpeedStat>SmithingSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<recipeUsers>
<li>GDTable</li>
</recipeUsers>
<unfinishedThingDef>UnfinishedGun</unfinishedThingDef>
</recipeMaker>
<soundInteract>Metal_Drop</soundInteract>
<soundDrop>Standard_Drop</soundDrop>
<stackLimit>10</stackLimit>
<costList>
<Plasteel>25</Plasteel>
<ComponentSpacer>1</ComponentSpacer>
</costList>
<statBases>
<WorkToMake>25000</WorkToMake>
<MaxHitPoints>100</MaxHitPoints>
<Mass>1.5</Mass>
<Flammability>1.0</Flammability>
<DeteriorationRate>1.0</DeteriorationRate>
</statBases>
<intricate>true</intricate>
<thingCategories>
<li>MRSKit</li>
</thingCategories>
</thingDef>

not sure what you mean by deleting the last space
1stReaper 12 May, 2019 @ 3:33am 
i've noticed this coming up aswell :(

--- ( Error Colour - Red ) ---

Config error in MRSKitH: description has trailing whitespace
Verse.Log:Error(String, Boolean)
Verse.DefDatabase`1:ErrorCheckAllDefs()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType(Type, Type, String)
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()
1stReaper 12 May, 2019 @ 12:47pm 
Originally posted by bagelhe:
can you tell me excatly what to delete there?

<defName>MRSKitH</defName>
<label>modular accelerator kit</label>
<description>An advanced conversion kit for the greydale modular weapon systems. It contains sophisticated parts like high capacity capacitors and magnetic accelerator barrel. </description>
<graphicData>
<texPath>Things/A16/MRSKitH</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<recipeMaker>
<researchPrerequisite>ChargedShot</researchPrerequisite>
<workSpeedStat>SmithingSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<recipeUsers>
<li>GDTable</li>
</recipeUsers>
<unfinishedThingDef>UnfinishedGun</unfinishedThingDef>
</recipeMaker>
<soundInteract>Metal_Drop</soundInteract>
<soundDrop>Standard_Drop</soundDrop>
<stackLimit>10</stackLimit>
<costList>
<Plasteel>25</Plasteel>
<ComponentSpacer>1</ComponentSpacer>
</costList>
<statBases>
<WorkToMake>25000</WorkToMake>
<MaxHitPoints>100</MaxHitPoints>
<Mass>1.5</Mass>
<Flammability>1.0</Flammability>
<DeteriorationRate>1.0</DeteriorationRate>
</statBases>
<intricate>true</intricate>
<thingCategories>
<li>MRSKit</li>
</thingCategories>
</thingDef>

not sure what you mean by deleting the last space


i "think" he might be talking about this

</thingCategories>
</thingDef>

</Defs>

to

</thingCategories>
</thingDef>
</Defs>


ill edit it, test it then get back to you if it's sorted :)

<update>
didn't seem to do anything i still get the red error line talking about a whitespace
Last edited by 1stReaper; 12 May, 2019 @ 12:59pm
bagelhe 13 May, 2019 @ 6:25am 
thx for the try. hopefully someone can enlighten us soon.
bagelhe 13 May, 2019 @ 11:16am 
hey i got to change it

its supposed to be like this

<description>An advanced conversion kit for the greydale modular weapon systems. It contains sophisticated parts like high capacity capacitors and magnetic accelerator barrel.</description>

there is a space between the punctuation mark and the <. just delete that space.
Gunboat Diplomat 13 May, 2019 @ 9:04pm 
It's a very minor whoopsie here. I don't know why the game throws an error instead of a warning over trailing whitespace; that's a very easy thing to fix at runtime. Sure it's annoying but...stack unwinding is bad, m'kay? XD

Anyway Lazer's little fix works just fine. I'd recommend people use Mod Manager to create a local copy and do the fix there just out of prudence.
1stReaper 18 Jul, 2019 @ 7:59am 
Hey,
just tried to do Lazer's fix, but im still getting the whiteline issue

Config error in MRSKitH: description has trailing whitespace
Verse.Log:Error(String, Boolean)
Verse.DefDatabase`1:ErrorCheckAllDefs()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType(Type, Type, String)
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()
WabbaCat 31 Jul, 2019 @ 8:49pm 
last updated in march... you'd think the mod author would fix such a minor issue. Doesnt it essentially break the mod? Or does the game just skip over it once your game is started?
Thanks for the support here in this thread guys.
Last edited by WabbaCat; 31 Jul, 2019 @ 8:54pm
< >
Showing 1-12 of 12 comments
Per page: 1530 50