RimWorld

RimWorld

Rimsenal - Core
LunaticDelusion 17. mar. 2019 kl. 23:56
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()
< >
Viser 1-12 af 12 kommentarer
Carapace Cross 28. mar. 2019 kl. 5:52 
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 kl. 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 kl. 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
Sidst redigeret af Lazer; 5. apr. 2019 kl. 14:15
bagelhe 6. maj 2019 kl. 4:03 
i got the same problem
please fix
bagelhe 6. maj 2019 kl. 4:11 
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. maj 2019 kl. 3:33 
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. maj 2019 kl. 12:47 
Oprindeligt skrevet af 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
Sidst redigeret af 1stReaper; 12. maj 2019 kl. 12:59
bagelhe 13. maj 2019 kl. 6:25 
thx for the try. hopefully someone can enlighten us soon.
bagelhe 13. maj 2019 kl. 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.
Gunboat Diplomat 13. maj 2019 kl. 21:04 
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. juli 2019 kl. 7:59 
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. juli 2019 kl. 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.
Sidst redigeret af WabbaCat; 31. juli 2019 kl. 20:54
< >
Viser 1-12 af 12 kommentarer
Per side: 1530 50