边缘世界 RimWorld

边缘世界 RimWorld

Rimsenal: Murder diversified
LunaticDelusion 2019 年 3 月 17 日 下午 11: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()
< >
正在显示第 1 - 12 条,共 12 条留言
Carapace Cross 2019 年 3 月 28 日 上午 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 2019 年 3 月 28 日 上午 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 2019 年 4 月 5 日 下午 2: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
最后由 Lazer 编辑于; 2019 年 4 月 5 日 下午 2:15
bagelhe 2019 年 5 月 6 日 上午 4:03 
i got the same problem
please fix
bagelhe 2019 年 5 月 6 日 上午 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 2019 年 5 月 12 日 上午 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 2019 年 5 月 12 日 下午 12:47 
引用自 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
最后由 1stReaper 编辑于; 2019 年 5 月 12 日 下午 12:59
bagelhe 2019 年 5 月 13 日 上午 6:25 
thx for the try. hopefully someone can enlighten us soon.
bagelhe 2019 年 5 月 13 日 上午 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 2019 年 5 月 13 日 下午 9: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 2019 年 7 月 18 日 上午 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 2019 年 7 月 31 日 下午 8: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.
最后由 WabbaCat 编辑于; 2019 年 7 月 31 日 下午 8:54
< >
正在显示第 1 - 12 条,共 12 条留言
每页显示数: 1530 50