jptrrs / HumanResources

A technology overhaul for RimWorld
MIT License
17 stars 12 forks source link

Research projects ending in numbers. #155

Open jptrrs opened 3 years ago

jptrrs commented 3 years ago

Pointed out by Mehni. Occurs with SnakeVenomCure1 from https://steamcommunity.com/sharedfiles/filedetails/?id=1430501911

error log: Could not convert id number from thingID=Tech_SnakeVenomCure11111111111, numString=11111111111 Exception=System.OverflowException: Value was either too large or too small for an Int32. at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00057] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Int32.Parse (System.String s, System.Globalization.NumberStyles style, System.IFormatProvider provider) [0x0000e] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Convert.ToInt32 (System.String value, System.IFormatProvider provider) [0x00005] in <567df3e0919241ba98db88bec4c6696f>:0 at Verse.Thing.IDNumberFromThingID (System.String thingID) [0x00019] in <7927e938de4c4089b4add4215e58d5b1>:0 Verse.Log:Verse.Log.Error_Patch2(String, Boolean) Verse.Thing:IDNumberFromThingID(String) Verse.Thing:set_ThingID(String) Verse.Thing:ExposeData() Verse.Scribe_Deep:Look(Thing&, Boolean, String, Object[]) Verse.Scribe_Collections:Look(List1&, Boolean, String, LookMode, Object[]) Verse.Scribe_Collections:Look(List1&, String, LookMode, Object[]) Verse.UnfinishedThing:ExposeData() Verse.Scribe_Deep:Look(Thing&, Boolean, String, Object[]) Verse.Scribe_Deep:Look(Thing&, String, Object[]) Verse.Map:ExposeData() Verse.Scribe_Deep:Look(Map&, Boolean, String, Object[]) Verse.Scribe_Collections:Look(List1&, Boolean, String, LookMode, Object[]) Verse.Scribe_Collections:Look(List1&, String, LookMode, Object[]) Verse.Game:ExposeData() Verse.Scribe_Deep:Look(Game&, Boolean, String, Object[]) Verse.Scribe_Deep:Look(Game&, String, Object[]) Verse.<>c:b__13_0() Verse.SafeSaver:DoSave(String, String, Action) Verse.SafeSaver:Save(String, String, Action, Boolean) Verse.GameDataSaveLoader:Verse.GameDataSaveLoader.SaveGame_Patch4(String) RimWorld.Autosaver:DoAutosave() Verse.LongEventHandler:UpdateCurrentSynchronousEvent(Boolean&) Verse.LongEventHandler:LongEventsUpdate(Boolean&) Verse.Root:Verse.Root.Update_Patch1(Root) Verse.Root_Play:Update()