Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español – España (spanska – Spanien)
Español – Latinoamérica (spanska – Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (portugisiska – Portugal)
Português – Brasil (portugisiska – Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (ukrainska)
Rapportera problem med översättningen
Error while creating AIPawnE.
Cannot cast from source type to destination type.
STACK:
at AIPawn.AIPawnGenerator.GeneratePawn (Verse.PawnGenerationRequest& request, Verse.Map map, Int32 tries) [0x00000] in <filename unknown>:0
at AIPawn.AIPawnGenerator.GeneratePawn (System.String kindDefName, RimWorld.Faction faction, Verse.Map map, Gender gender) [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.CreateAIPawn (System.String pawnDefName, IntVec3 position, Verse.Map map, RimWorld.Faction faction, Gender gender) [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.CreateAIPawn (System.String pawnDefName, IntVec3 position, Verse.Map map, Gender gender) [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.Create () [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreatorEnhanced.Create () [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.Tick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
AIPawn.Building_AIPawnCreator:Tick()
AIPawn.Building_AIPawnCreatorEnhanced:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
Here is the error log: https://drive.google.com/file/d/0B21NGWrBPDNrZU4xN01qUk9GNXM/view?usp=sharing
my current mod list: https://www.dropbox.com/s/piumvol8bpsr765/Screenshot%202017-07-18%2016.51.16.png?dl=0
i believe it is due to a conflict with the prepare carefully mod.
thanks -top
The error with MAI appears in this single line of my code:
AIPawn pawnAI = (AIPawn)ThingMaker.MakeThing(request.KindDef.race, null);
For your info:
AIPawn is only a derivate of Pawn -> public class AIPawn : Pawn
Can you tell me what you do that the ThingMaker result is no longer compatible to AIPawn?
-> Cannot cast from source type to destination type.
Psychology is not compatible with mods that add their own Pawn types, particularly if those pawns are of Humanlike intelligence. I can try and patch it so Psychology ignores them, I guess.