RimWorld

RimWorld

Combat Extended
ChinoPinto 15 Aug, 2018 @ 11:12pm
Ammo being buggy
These are the errors i get when i load up the main menu and mod menu. I'm not sure what they mean, but loading benches no longer display any ammo in the "bills" tab and when existing bills are worked on the ammo dissapears when it's placed. This is on an existing save that i created after installing CE. Ammo production worked normaly untill very recently. I knowticed the bug shortly after installing the "Steel Slag Buff" mod (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1397858943&searchtext=Slag) which was placed after CE in my load order before i removed it and reloaded the save. I tryed loading a new save without the new mod, but it was having the same issue

MAIN Menu:

Exception from long event: System.NullReferenceException: Object reference not set to an instance of an object
at CombatExtended.AmmoInjector+<>c.<InjectAmmos>b__4_1 (Verse.ThingDef x) [0x00000] in <filename unknown>:0
at System.Collections.Generic.HashSet`1[Verse.ThingDef].RemoveWhere (System.Predicate`1 predicate) [0x00000] in <filename unknown>:0
at CombatExtended.AmmoInjector.InjectAmmos () [0x00000] in <filename unknown>:0
at CombatExtended.AmmoInjector.Inject () [0x00000] in <filename unknown>:0
at Verse.LongEventHandler.UpdateCurrentSynchronousEvent (System.Boolean& sceneChanged) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.LongEventHandler:UpdateCurrentSynchronousEvent(Boolean&)
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update_Patch1(Object)
Verse.Root_Entry:Update()

MOD Menu (Bottom of debug log):

Could not resolve cross-reference: No CombatExtended.AmmoDef named Ammo_MastiffPellet found to give to CombatExtended.AmmoLink (null -> Bullet_MastiffPellet)
Verse.Log:Error(String)
Verse.WantedRefForObject:TryResolve(FailMode)
Verse.DirectXmlCrossRefLoader:ResolveAllWantedCrossReferences(FailMode)
Verse.DirectXmlLoader:ItemFromXmlFile(String, Boolean)
Verse.ModMetaData:Init()
Verse.ModMetaData:.ctor(WorkshopItem)
Verse.ModLister:RebuildModList()
RimWorld.Page_ModsConfig:PreOpen()
Verse.WindowStack:Add(Window)
RimWorld.MainMenuDrawer:<DoMainMenuControls>m__6()
Verse.ListableOption:DrawOption(Vector2, Single)
Verse.OptionListingUtility:DrawOptionListing(Rect, List`1)
RimWorld.MainMenuDrawer:DoMainMenuControls(Rect, Boolean)
RimWorld.MainMenuDrawer:MainMenuOnGUI_Patch1()
Verse.UIRoot_Entry:DoMainMenu()
Verse.UIRoot_Entry:UIRootOnGUI()
Verse.Root:OnGUI()

This one shows up at the very TOP of the Debug lod when i open the MOD menu. It's followed by a list of red errors all refering to Ammo and combat extended. No other mods are mentioned in the list of red errors:

Cannot call ItemFromXmlFile with resolveCrossRefs=true while loading is already in progress.
Verse.Log:Error(String)
Verse.DirectXmlLoader:ItemFromXmlFile(String, Boolean)
Verse.ModMetaData:Init()
Verse.ModMetaData:.ctor(WorkshopItem)
Verse.ModLister:RebuildModList()
RimWorld.Page_ModsConfig:PreOpen()
Verse.WindowStack:Add(Window)
RimWorld.MainMenuDrawer:<DoMainMenuControls>m__6()
Verse.ListableOption:DrawOption(Vector2, Single)
Verse.OptionListingUtility:DrawOptionListing(Rect, List`1)
RimWorld.MainMenuDrawer:DoMainMenuControls(Rect, Boolean)
RimWorld.MainMenuDrawer:MainMenuOnGUI_Patch1()
Verse.UIRoot_Entry:DoMainMenu()
Verse.UIRoot_Entry:UIRootOnGUI()
Verse.Root:OnGUI()
Last edited by ChinoPinto; 15 Aug, 2018 @ 11:45pm
< >
Showing 1-1 of 1 comments
ChinoPinto 15 Aug, 2018 @ 11:58pm 
Hello again! I am here to inform any one who sees this that i fixed the issue after realizing that one mod inparticular "Android Tiers CE patch" was ABOVE the CE mod insted of BELOW. This was entirly my fault, I should have read up on the instructions (At the time there were none). I figured it out when I looked through my CE compatability patch mods and saw one ABOVE CE. My bad.
< >
Showing 1-1 of 1 comments
Per page: 1530 50