[A17/A18] [WIP] Warhammer 40k Corruption

Started by Cpt.Ohu, December 22, 2016, 05:17:18 AM

Previous topic - Next topic

cesarjunior233

Still can't make new world and/or load save

Cpt.Ohu

Quote from: cesarjunior233 on April 28, 2017, 07:09:50 PM
Still can't make new world and/or load save

These comments aren't helpful without providing a log. Send them to me in a PM.

Justas love

Exception from asynchronous event: System.InvalidCastException: Cannot cast from source type to destination type.
at OHUShips.HarmonyPatches.GenerateFactionsIntoWorldPostFix () <0x0003d>
at (wrapper dynamic-method) RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch4 (string) <0x00390>
at RimWorld.Planet.WorldGenerator.GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature) <0x000e6>
at RimWorld.Page_CreateWorldParams.<CanDoNext>m__527 () <0x00048>
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action) <0x00028>

Verse.Log:Error(String)
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__733()


This is wsup, fix this and i hope i can play your mod.... for the 4 time of trying

Cpt.Ohu

#108
That's an error from my dropship standalone. Do you by any chance have this enabled too?

In that case, you'll have to disable the standalone. This 40k mod contains a modified version of the standalone to make it go together with Faction Colors. I've updated the front page with the new incompability.




Generally, I have to apologize for the messy last few days. I was rushing things out to deal with RL matters.

I've updated the mod to v0.86.

Berengar

Still cant create a new match, even with any other mod disabled and the load order checked. Something about some random event code.

Cpt.Ohu

Please send me an error log. I really don't know what to do at this point.

I've downloaded the mod and render patch using the link in the first post, set the mod load order, and voila, no errors.

Are you using the steam or the DRM-free version? I haven't tested on the latter yet, but it shouldn't make a difference.


Justas love

Quote from: Cpt.Ohu on April 29, 2017, 04:50:08 AM
That's an error from my dropship standalone. Do you by any chance have this enabled too?

In that case, you'll have to disable the standalone. This 40k mod contains a modified version of the standalone to make it go together with Faction Colors. I've updated the front page with the new incompability.




Generally, I have to apologize for the messy last few days. I was rushing things out to deal with RL matters.

I've updated the mod to v0.86.

Okay yeah srry, did enable the dropships, didnt know

Cpt.Ohu

Quote from: Justas love on April 29, 2017, 08:09:31 AM
Okay yeah srry, did enable the dropships, didnt know

No worries, I forgot to put that information on the front page.

Justas love

Exception from asynchronous event: System.InvalidOperationException: Operation is not valid due to the current state of the object
at System.Linq.Enumerable.First<AlienRace.GraphicPaths> (System.Collections.Generic.IEnumerable`1<AlienRace.GraphicPaths>) <0x000ac>
at AlienRace.GraphicPathsExtension.GetCurrentGraphicPath (System.Collections.Generic.List`1<AlienRace.GraphicPaths>,RimWorld.LifeStageDef) <0x00080>
at AlienRace.HarmonyPatches.GiveAppropriateBioAndNameToPostfix (Verse.Pawn) <0x001b2>
at (wrapper dynamic-method) RimWorld.PawnBioAndNameGenerator.GiveAppropriateBioAndNameTo_Patch1 (Verse.Pawn,string) <0x00059>
at Verse.PawnGenerator.DoGenerateNewNakedPawn (Verse.PawnGenerationRequest&,string&,bool) <0x00412>
at Verse.PawnGenerator.GenerateNewNakedPawn (Verse.PawnGenerationRequest&) <0x00174>
at (wrapper dynamic-method) Verse.PawnGenerator.GeneratePawn_Patch1 (Verse.PawnGenerationRequest) <0x0025e>
at Verse.PawnGenerator.GeneratePawn (Verse.PawnKindDef,RimWorld.Faction) <0x000fe>
at Corruption.CorruptionStoryTracker.PostAdd () <0x004f7>
at RimWorld.Planet.WorldObjectsHolder.Add (RimWorld.Planet.WorldObject) <0x000c3>
at Corruption.HarmonyPatches.GenerateFactionsIntoWorldPostFix () <0x0006b>
at (wrapper dynamic-method) RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch3 (string) <0x00390>
at RimWorld.Planet.WorldGenerator.GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature) <0x000e6>
at RimWorld.Page_CreateWorldParams.<CanDoNext>m__527 () <0x00048>
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action) <0x00028>

Verse.Log:Error(String)
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__733()


Hmmmm i dunno if its with your mod, but i dont know whats wrong, do u have any ideas? i have more mods...

Cpt.Ohu

That's from a def-error in the mod. Another surprise, because I had fixed those some time ago.

I updated the corresponding defs.

Justas love

Tried to get a resource "Things/Items/Books/Cover_BookOldA" from a different thread. All resources must be loaded in the main thread.
Verse.Log:Error(String)
Verse.ContentFinder`1:Get(String, Boolean)
Verse.Graphic_Single:Init(GraphicRequest)
Verse.GraphicDatabase:GetInner(GraphicRequest)
Verse.GraphicDatabase:Get(String, Shader, Vector2, Color, Color)
Corruption.BookStuff.ReadableBooks:ReadFormXML()
Corruption.BookStuff.ReadableBooks:SpawnSetup(Map)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, Rot4)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map)
Verse.GenPlace:TryPlaceDirect(Thing, IntVec3, Map, Thing&, Action`2)
Verse.GenPlace:TryPlaceThing(Thing, IntVec3, Map, ThingPlaceMode, Thing&, Action`2)
Verse.GenStep_ScatterThings:ScatterAt(IntVec3, Map, Int32)
Verse.GenStep_ScatterThings:Generate(Map)
EdB.PrepareCarefully.GenStep_ScenParts:SpawnStartingResources(Map)
EdB.PrepareCarefully.GenStep_ScenParts:Generate(Map)
Verse.MapGenerator:GenerateContentsIntoMap(MapGeneratorDef, Map)
Verse.MapGenerator:GenerateMap(IntVec3, Int32, MapParent, Action`1, MapGeneratorDef)
Verse.Game:InitNewGame()
Verse.Root_Play:<Start>m__737()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__733()


Tried to get a resource "Things/Items/Books/Cover_BookOldA_m" from a different thread. All resources must be loaded in the main thread.
Verse.Log:Error(String)
Verse.ContentFinder`1:Get(String, Boolean)
Verse.Graphic_Single:Init(GraphicRequest)
Verse.GraphicDatabase:GetInner(GraphicRequest)
Verse.GraphicDatabase:Get(String, Shader, Vector2, Color, Color)
Corruption.BookStuff.ReadableBooks:ReadFormXML()
Corruption.BookStuff.ReadableBooks:SpawnSetup(Map)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, Rot4)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map)
Verse.GenPlace:TryPlaceDirect(Thing, IntVec3, Map, Thing&, Action`2)
Verse.GenPlace:TryPlaceThing(Thing, IntVec3, Map, ThingPlaceMode, Thing&, Action`2)
Verse.GenStep_ScatterThings:ScatterAt(IntVec3, Map, Int32)
Verse.GenStep_ScatterThings:Generate(Map)
EdB.PrepareCarefully.GenStep_ScenParts:SpawnStartingResources(Map)
EdB.PrepareCarefully.GenStep_ScenParts:Generate(Map)
Verse.MapGenerator:GenerateContentsIntoMap(MapGeneratorDef, Map)
Verse.MapGenerator:GenerateMap(IntVec3, Int32, MapParent, Action`1, MapGeneratorDef)
Verse.Game:InitNewGame()
Verse.Root_Play:<Start>m__737()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__733()


Tried to get a material from a different thread.
Verse.Log:Error(String)
Verse.MaterialPool:MatFrom(MaterialRequest)
Verse.Graphic_Single:Init(GraphicRequest)
Verse.GraphicDatabase:GetInner(GraphicRequest)
Verse.GraphicDatabase:Get(String, Shader, Vector2, Color, Color)
Corruption.BookStuff.ReadableBooks:ReadFormXML()
Corruption.BookStuff.ReadableBooks:SpawnSetup(Map)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, Rot4)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map)
Verse.GenPlace:TryPlaceDirect(Thing, IntVec3, Map, Thing&, Action`2)
Verse.GenPlace:TryPlaceThing(Thing, IntVec3, Map, ThingPlaceMode, Thing&, Action`2)
Verse.GenStep_ScatterThings:ScatterAt(IntVec3, Map, Int32)
Verse.GenStep_ScatterThings:Generate(Map)
EdB.PrepareCarefully.GenStep_ScenParts:SpawnStartingResources(Map)
EdB.PrepareCarefully.GenStep_ScenParts:Generate(Map)
Verse.MapGenerator:GenerateContentsIntoMap(MapGeneratorDef, Map)
Verse.MapGenerator:GenerateMap(IntVec3, Int32, MapParent, Action`1, MapGeneratorDef)
Verse.Game:InitNewGame()
Verse.Root_Play:<Start>m__737()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__733()


The game is working fine, just these errors showed up when the colony started, the book (speeches of kikero) doesnt have a texture and is just a pink block. everyrhitng is fine atm

Cpt.Ohu

Well, there's still something afoot, since the texture loading from another thread indicates some error, but I'm glad it's at least playable for you.

Berengar

Alright seems to work now, but small question. For some reason i cant research any of the new ones like the Manufacturing licence.

cesarjunior233

Now works , and , how to put all geneseeds in a colonist ?

Cpt.Ohu

Quote from: Berengar on April 29, 2017, 01:41:03 PM
Alright seems to work now, but small question. For some reason i cant research any of the new ones like the Manufacturing licence.

Because it's a licence. You can buy it from the Mechanicus at the ccm.

Quote from: cesarjunior233 on April 29, 2017, 05:29:46 PM
Now works , and , how to put all geneseeds in a colonist ?

You do that in the Mechanicus surgery unit. But it's not fully implemented yet.