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()
< >
Zobrazeno 112 z 12 komentářů
I've been getting this error as well, the same one exactly. It might be something recent considering this only started in march.
It's related to the new Greydale weapon that was added, it would appear to be the upgrade kit for the hybrid rifle
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
Naposledy upravil Lazer; 5. dub. 2019 v 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()
bagelhe původně napsal:
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
Naposledy upravil 1stReaper; 12. kvě. 2019 v 12.59
thx for the try. hopefully someone can enlighten us soon.
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()
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.
Naposledy upravil WabbaCat; 31. čvc. 2019 v 20.54
< >
Zobrazeno 112 z 12 komentářů
Na stránku: 1530 50