RimWorld

RimWorld

[DN] Bundle Of Traits
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Danimineiro  [udvikler] 18. sep. 2021 kl. 13:55
About Bug reports:
If you think a bug is related to this mod please create a new issue on my Github[github.com] or use this template and post it as a comment below:

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Logs
Please attach the log files of your game here. If you use Hugs Lib you can press CTRL+F12 to copy it otherwise you can find them at C:\Users\[yourUsername]\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\

Screenshots
If applicable, please add screenshots to help explain the bug.

My mod list
append your mod list here
< >
Viser 1-15 af 39 kommentarer
Bazalisk 24. okt. 2021 kl. 8:32 
So this mod is crashing out my game a lot,

i've got over 8000 lines of error spam in my player log file that look like this >

System.NullReferenceException: Object reference not set to an instance of an object
at More_Traits.BOTTraitsManager+<>c.<GameComponentTick>b__22_0 (Verse.Pawn pawn) [0x00000] in <9a45079f032846b6ae69522b79122ce0>:0
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at More_Traits.BOTTraitsManager.GameComponentTick () [0x00008] in <9a45079f032846b6ae69522b79122ce0>:0
at Verse.GameComponentUtility.GameComponentTick () [0x00017] in <e13bd2f1929544099ed2b58e66ece833>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

i can upload a full log file if you like too, but its mostly just this that's the issue.
i've also been monitoring my system using Dubs performance Analyzer that shows the mod names for the errors we get and it finally gave me the name of the BOTTraitsManager mod lol (two weeks i'd been hunting the mod that gave this error)

hope this helps anyone else getting error spammed to death
Danimineiro  [udvikler] 24. okt. 2021 kl. 8:53 
Oprindeligt skrevet af Bazalisk:
https://gist.github.com/c4ae79131d7a901207b5956bf7975fa3

^--- log file
Maybe fixed it, I can't really tell what went null here and it's sadly not obvious either
Please report if you see this again
Sidst redigeret af Danimineiro; 24. okt. 2021 kl. 8:53
Bazalisk 24. okt. 2021 kl. 9:12 
thanks, Will give it a try soon.
going to play without it for a bit to see if the error has gone or just moves onto other trait mods. in case the error if being made my another mod.
Elden Sun 3. nov. 2021 kl. 5:39 
Early Bird is backwards, it gives a bonus late at night and a malus in the early hours...
Danimineiro  [udvikler] 3. nov. 2021 kl. 5:46 
@Vapor Gayer

sorry, I'll resolve that asap, thanks for the report
Danimineiro  [udvikler] 4. nov. 2021 kl. 1:49 
Oprindeligt skrevet af Vapor Gayer:
Early Bird is backwards, it gives a bonus late at night and a malus in the early hours...
Should be fixed
Meanie 2. jan. 2022 kl. 1:14 
I started a new game and killed one of my pawns to test something else. The dev log window popped up with an error regarding this mod, therefore here I am reporting it.

"Could not give thoughts: System.InvalidOperationException: Nullable object must have a value."

Steps to reproduce the behavior:
- Start a new game and use dev tools to murder one of your pawns. Another pawn with the Pacifist trait must witness his death.

Logs:
https://gist.github.com/0106836090671eaabea623301a6a1bf5

My mod list:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2704667947

The following mods present in that link were not active during the event:
https://prnt.sc/25od08c
Danimineiro  [udvikler] 2. jan. 2022 kl. 10:26 
Oprindeligt skrevet af PeasantUnit:
I started a new game and killed one of my pawns to test something else. The dev log window popped up with an error regarding this mod, therefore here I am reporting it.

"Could not give thoughts: System.InvalidOperationException: Nullable object must have a value."

Steps to reproduce the behavior:
- Start a new game and use dev tools to murder one of your pawns. Another pawn with the Pacifist trait must witness his death.

Logs:
https://gist.github.com/0106836090671eaabea623301a6a1bf5

My mod list:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2704667947

The following mods present in that link were not active during the event:
https://prnt.sc/25od08c

Currently I don't have the time to do it, but I'll investigate if this can be triggered without the use of Dev mode.
Considering that:
  • this can only be triggered using dev mode (as far as I can tell from your description)
  • this doesn't produce any lasting consequences
  • the only immediate consequence is a missing negative thought
I probably won't put this on high priority

Thanks for the report though!
Sidst redigeret af Danimineiro; 2. jan. 2022 kl. 10:26
Atreidi 26. okt. 2022 kl. 12:35 
XML error: <unspawnedCanDo>true</unspawnedCanDo> doesn't correspond to any field in type MentalStateDef. Context: <MentalStateDef ParentName="BaseMentalState"><minTicksBeforeRecovery>10000</minTicksBeforeRecovery><recoveryMtbDays>0.3</recoveryMtbDays><defName>BOT_ClaustrophobicBreak</defName><stateClass>More_Traits.BOTClaustrophobicBreakState</stateClass><label>claustrophobic panic attack</label><category>Misc</category><blockRandomInteraction>true</blockRandomInteraction><blockInteractionInitiationExcept /><blockInteractionRecipientExcept><li>Insult</li></blockInteractionRecipientExcept><moodRecoveryThought>BOT_ClaustrophobicBreakRecovered</moodRecoveryThought><blockNormalThoughts>true</blockNormalThoughts><nameColor>(0.6171, 0.2578, 0.957)</nameColor><beginLetter>{0} has gone into a claustrophobic panic attack.\n\n[PAWN_pronoun] will experience severe symptoms related to it.</beginLetter><beginLetterDef>ThreatSmall</beginLetterDef><maxTicksBeforeRecovery>30000</maxTicksBeforeRecovery><recoveryMessage>{0}'s panic attack has ended.</recoveryMessage><baseInspectLine>Mental state: Claustrophobic panic attack</baseInspectLine><stateEffecter>BOT_ClaustrophobicEffector</stateEffecter><tale>BOT_ClaustrophobicTale</tale><recoverFromSleep>true</recoverFromSleep><unspawnedCanDo>true</unspawnedCanDo></MentalStateDef>
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Danimineiro  [udvikler] 29. okt. 2022 kl. 5:43 
Oprindeligt skrevet af Atreidi:
XML error: <unspawnedCanDo>true</unspawnedCanDo> doesn't correspond to any field in type MentalStateDef. Context: <MentalStateDef ParentName="BaseMentalState"><minTicksBeforeRecovery>10000</minTicksBeforeRecovery><recoveryMtbDays>0.3</recoveryMtbDays><defName>BOT_ClaustrophobicBreak</defName><stateClass>More_Traits.BOTClaustrophobicBreakState</stateClass><label>claustrophobic panic attack</label><category>Misc</category><blockRandomInteraction>true</blockRandomInteraction><blockInteractionInitiationExcept /><blockInteractionRecipientExcept><li>Insult</li></blockInteractionRecipientExcept><moodRecoveryThought>BOT_ClaustrophobicBreakRecovered</moodRecoveryThought><blockNormalThoughts>true</blockNormalThoughts><nameColor>(0.6171, 0.2578, 0.957)</nameColor><beginLetter>{0} has gone into a claustrophobic panic attack.\n\n[PAWN_pronoun] will experience severe symptoms related to it.</beginLetter><beginLetterDef>ThreatSmall</beginLetterDef><maxTicksBeforeRecovery>30000</maxTicksBeforeRecovery><recoveryMessage>{0}'s panic attack has ended.</recoveryMessage><baseInspectLine>Mental state: Claustrophobic panic attack</baseInspectLine><stateEffecter>BOT_ClaustrophobicEffector</stateEffecter><tale>BOT_ClaustrophobicTale</tale><recoverFromSleep>true</recoverFromSleep><unspawnedCanDo>true</unspawnedCanDo></MentalStateDef>
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
fixed
joseasoler 18. dec. 2022 kl. 8:43 
An exception appeared in the logs after an enemy centipede killed one of my combat animals (Amaro from Erin's Final Fantasy Animals). The exception seems related to the Pacifist trait but there are no Pacifist pawns in the map. I also made sure that the centipede was the one who made the killing blow by checking the combat log.

https://gist.github.com/HugsLibRecordKeeper/0280253f0ed6c37fa1233eaa1196d466
Danimineiro  [udvikler] 18. dec. 2022 kl. 9:36 
Oprindeligt skrevet af joseasoler:
An exception appeared in the logs after an enemy centipede killed one of my combat animals (Amaro from Erin's Final Fantasy Animals). The exception seems related to the Pacifist trait but there are no Pacifist pawns in the map. I also made sure that the centipede was the one who made the killing blow by checking the combat log.

https://gist.github.com/HugsLibRecordKeeper/0280253f0ed6c37fa1233eaa1196d466

I identified a potential failure point and implemented some checks that should hopefully prevent this issue from occurring again, thank you for the report!
Kyrrisayo 28. jan. 2023 kl. 12:34 
I get this error when opening the mod menu, with dev mode enabled:

Exception loading file at https://github.com/Danimineiro/BundleOfTraits/tree/master/About/Manifest.xml. Loading defaults instead. Exception was: System.Xml.XmlException: '>' is an unexpected token. The expected token is '='. Line 16, position 76. at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String[] args) [0x00029] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken (System.String expectedToken1, System.String expectedToken2) [0x00036] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken (System.String expectedToken1) [0x00000] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlTextReaderImpl.ParseAttributes () [0x002ae] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlTextReaderImpl.ParseElement () [0x001df] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlTextReaderImpl.ParseElementContent () [0x0016f] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlTextReaderImpl.Read () [0x00085] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlLoader.LoadNode (System.Boolean skipOverWhitespace) [0x0025b] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlLoader.LoadDocSequence (System.Xml.XmlDocument parentDoc) [0x0001b] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlLoader.Load (System.Xml.XmlDocument doc, System.Xml.XmlReader reader, System.Boolean preserveWhitespace) [0x000b4] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlDocument.Load (System.Xml.XmlReader reader) [0x0002e] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00018] in <0f9699188f0c414ea6fb5557f5c16d15>:0 at Verse.DirectXmlLoader.ItemFromXmlString[T] (System.String xmlContent, System.String filePath, System.Boolean resolveCrossRefs) [0x0001a] in <2b4dc979801146029941a3014afa954d>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.DirectXmlLoader:ItemFromXmlString<ModManager.Manifest> (string,string,bool) ModManager.VersionCheck/<FetchManifest>d__19:MoveNext () System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run () System.Threading.Tasks.AwaitTaskContinuation:InvokeAction (object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback (System.Threading.ContextCallback,object,System.Threading.Tasks.Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run (System.Threading.Tasks.Task,bool) System.Threading.Tasks.Task:FinishContinuations () System.Threading.Tasks.Task:FinishStageThree () System.Threading.Tasks.Task`1<string>:TrySetResult (string) System.Threading.Tasks.TaskCompletionSource`1<string>:TrySetResult (string) System.Net.WebClient:HandleCompletion<System.Net.DownloadStringCompletedEventArgs, System.Net.DownloadStringCompletedEventHandler, string> (System.Threading.Tasks.TaskCompletionSource`1<string>,System.Net.DownloadStringCompletedEventArgs,System.Func`2<System.Net.DownloadStringCompletedEventArgs, string>,System.Net.DownloadStringCompletedEventHandler,System.Action`2<System.Net.WebClient, System.Net.DownloadStringCompletedEventHandler>) System.Net.WebClient/<>c__DisplayClass219_0:<DownloadStringTaskAsync>b__0 (object,System.Net.DownloadStringCompletedEventArgs) System.Net.WebClient:OnDownloadStringCompleted (System.Net.DownloadStringCompletedEventArgs) System.Net.WebClient:DownloadStringOperationCompleted (object) UnityEngine.UnitySynchronizationContext/WorkRequest:Invoke () UnityEngine.UnitySynchronizationContext:Exec () UnityEngine.UnitySynchronizationContext:ExecuteTasks ()

Relevant mods here would be Mod Manager.

If you need any more information, please let me know.
qux 9. mar. 2023 kl. 8:18 
Hi ! I have an error when I click on ''mods'' in game menu :
Exception loading file at https://github.com/Danimineiro/BundleOfTraits/tree/master/About/Manifest.xml . Loading defaults instead. Exception was: System.Xml.XmlException: '>' is an unexpected token. The expected token is '='. Line 16, position 76.
< >
Viser 1-15 af 39 kommentarer
Per side: 1530 50