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()
< >
Se afișează 1-12 din 12 comentarii
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 mart. 2019 la 11:26 
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 la 14:09 
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
Editat ultima dată de Lazer; 5 apr. 2019 la 14:15
i got the same problem
please fix
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'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()
Postat inițial de 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
Editat ultima dată de 1stReaper; 12 mai 2019 la 12:59
thx for the try. hopefully someone can enlighten us soon.
bagelhe 13 mai 2019 la 11:16 
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.
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.
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 iul. 2019 la 20:49 
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.
Editat ultima dată de WabbaCat; 31 iul. 2019 la 20:54
< >
Se afișează 1-12 din 12 comentarii
Per pagină: 1530 50