OrionFive / Hospitality

Orion's "Hospitality" and more
https://www.patreon.com/orionmods
GNU General Public License v3.0
91 stars 52 forks source link

Hospitality: Hunting party Event from VEE creates guests #637

Closed Danimineiro closed 3 years ago

Danimineiro commented 3 years ago

Describe the bug When a hunting party event gets triggered, there is a high chance that any pawns involved will become guests.

To Reproduce Steps to reproduce the behavior:

  1. Enable required mods: Harmony, Core, HugsLib, Vanilla Expanded Framework, Vanilla Events Expanded (VEE), Hospitality
  2. Using the Debug Menu: Do Incident (Map)...
  3. Select VEE_HuntingParty
  4. Wait (sometimes it happens instantly, other times some of them already leave, I suppose there is a chance the event finishes before they become guests)

Console log

Error stacktrace The error has extra information that is not included in the log. Please select it in the console and copy the whole error message. (There was no error, but this message got spawned for each hunting party pawn)

Creating a temporary lord for Maria, Barkeep of faction The Exodus Empire.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
Hospitality.Utilities.GuestUtility:CreateLordForPawn (Verse.Pawn)
Hospitality.Utilities.GuestUtility:CheckForRoguePawn (Verse.Pawn,Verse.Map)
Hospitality.Utilities.GuestUtility:CheckForRogueGuests (Verse.Map)
Hospitality.Hospitality_MapComponent:MapComponentTick ()
Verse.MapComponentUtility:MapComponentTick (Verse.Map)
Verse.Map:MapPostTick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

Screenshots image

Fixing bugs takes a lot of time. Please consider becoming a patron to support development.

OrionFive commented 3 years ago

This issue should be fixed now. Thanks for reporting. The fix will be included with the next update on Steam. In the meantime you can use this version: https://github.com/OrionFive/Hospitality/archive/refs/heads/develop.zip