Zainstaluj Steam
zaloguj się
|
język
简体中文 (chiński uproszczony)
繁體中文 (chiński tradycyjny)
日本語 (japoński)
한국어 (koreański)
ไทย (tajski)
български (bułgarski)
Čeština (czeski)
Dansk (duński)
Deutsch (niemiecki)
English (angielski)
Español – España (hiszpański)
Español – Latinoamérica (hiszpański latynoamerykański)
Ελληνικά (grecki)
Français (francuski)
Italiano (włoski)
Bahasa Indonesia (indonezyjski)
Magyar (węgierski)
Nederlands (niderlandzki)
Norsk (norweski)
Português (portugalski – Portugalia)
Português – Brasil (portugalski brazylijski)
Română (rumuński)
Русский (rosyjski)
Suomi (fiński)
Svenska (szwedzki)
Türkçe (turecki)
Tiếng Việt (wietnamski)
Українська (ukraiński)
Zgłoś problem z tłumaczeniem
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.