[1.3.0] Hospitality

Started by Orion, March 13, 2015, 11:19:16 AM

Previous topic - Next topic

Orion

Changelog

1.14g - 15.08.2016
- tweak: Scoring points for visitors (made harder)
- fix: Bedroom impressiveness
- tweak: Visitors will not drop silver when leaving, only to buy stuff


Here we go... integrated. Also made relationship scoring and dropping stuff less powerful. Let's see who complains next ::) :P

Zakhad

#976
Quote from: Orion on August 15, 2016, 05:40:56 PM
Quote from: Zakhad on August 15, 2016, 05:15:30 PM
Create leaderFactionLord Null reference? I'm not sure if this is hospitality's fault I'm just asking for a bit of help is the errorlog pointing towards a factionleader "diying?" and a replacement is trying to be made with invalid equipment in this case a backpack?
Looks like you're using Combat Realism... it changes so much stuff, I don't even know where to begin fixing it (again). Both mods definitely don't work well together (again).

That's fine, I'm testing hardcore SK mod pack and trying to help nail down whats causing this or that problem I appreciate the insight. I figured it had to be something to do with loadout's or something I completely forgot about CR changes loadouts.

organtrader

Since the update, my pawns just stand there, doing nothing. Not even eating. I can direct them around with Draft, but they don't do anything but go where I say. Worked fine yesterday. Disabled all other mods besides Core Panda, and it still throws these errors.

ReflectionTypeLoadException getting types in assembly Hospitality: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
  at Verse.ModAssemblyHandler.AssemblyIsUsable (System.Reflection.Assembly asm) [0x00000] in <filename unknown>:0

Loader exceptions:
   => System.TypeLoadException: Could not load type 'Hospitality.Hospitality_SpecialInjector' from assembly 'Hospitality, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null'.


(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find type named Hospitality.ThinkNode_FilterGuestRooms from node <li Class="Hospitality.ThinkNode_FilterGuestRooms"><subNodes><li Class="ThinkNode_PrioritySorter"><subNodes><li Class="Hospitality.JobGiver_Relax" /><li Class="JobGiver_GetFood" /><li Class="Hospitality.JobGiver_Sleep" /><li Class="JobGiver_Work" /></subNodes></li></subNodes></li>

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Exception loading list from XML: System.MissingMethodException: Cannot create an abstract class 'Verse.AI.ThinkNode'.
  at System.Activator.CheckAbstractType (System.Type type) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0
  at Verse.XmlToObject.ObjectFromXml[ThinkNode] (System.Xml.XmlNode xmlRoot, Boolean doPostLoad) [0x00000] in <filename unknown>:0
  at Verse.XmlToObject.ListFromXml[ThinkNode] (System.Xml.XmlNode listRootNode) [0x00000] in <filename unknown>:0
XML:
<subNodes><li Class="Hospitality.ThinkNode_FilterGuestRooms"><subNodes><li Class="ThinkNode_PrioritySorter"><subNodes><li Class="Hospitality.JobGiver_Relax" /><li Class="JobGiver_GetFood" /><li Class="Hospitality.JobGiver_Sleep" /><li Class="JobGiver_Work" /></subNodes></li></subNodes></li><!--li Class="JobGiver_WanderNearDutyLocation">
          <wanderRadius>8</wanderRadius>
        </li--></subNodes>

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.IncidentWorker_VisitorGroup

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.InteractionWorker_GuestDiplomacy

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.InteractionWorker_CharmGuestAttempt

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.JobDriver_CharmGuest

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.JobDriver_GuestImproveRelationship

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.JobDriver_BuyItem

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.JobDriver_BrowseItems

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.JoyGiver_BuyFood

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.JoyGiver_BuyStuff

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Found no usable data when trying to get defs from file ModHelperDef.xml

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.RoomRoleWorker_GuestRoom

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.StatWorker_PleaseGuestChance

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.StatWorker_RelationshipDamage

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.StatWorker_RecruitEffectivity

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.VisitorFlag

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.Building_GuestBed

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.ThoughtWorker_Expectations

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.WorkGiver_Recruiter

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Could not find a type named Hospitality.WorkGiver_Diplomat

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Non platform assembly: data-1936F010 (this message is har[/quote]mless)


Also, unrelated:
QuoteVerification:
The primary colors are red, green, and ______:
This is a trick question.

Orion

Thanks for the detailed report! Seems something slipped through the cracks somewhere (yikes).

The primary colors are cyan, magenta, yellow and black... every kid knows this.

Orion

@organtrader: Do you have CCL installed? If not, that's the problem.

harpo99999

orion,
the primary LIGHT colours ARE red, green and blue,
the primary PIGMENT colours are cyan, magenta, YELLOW  and black (assuming a WHITE surface is what the pigments are placed upon)


organtrader

I had previously just been running with CorePanda, which worked fine. Then when it didn't I tried it with nothing loaded but CCL and Hospitality, but got the same errors.

Will try it again later.

Teddy Ruxpin taught me that the primary colors are red and yellow and blue (precisely!). But apparently that's no longer accurate... I was lied to by a bear I thought I could trust.

sharpshot4321

I currently cannot rescue or capture anything.
This is my first time reporting anything for Rimworld and I am not sure if Hospitality is responsible for this at all.

If this is not Hospitality's issues, can you direct me to what might be causing this?

Initializing map from file Breinigsville with mods Core, 729577707, 704305425, 725576127, 725956940, Industrialisation, and 735106432

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Community Core Library :: Injection Controller :: Update :: Updated


(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

Exception filling window for Verse.FloatMenuMap: System.InvalidCastException: Cannot cast from source type to destination type.
  at RimWorld.RestUtility+<FindBedFor>c__AnonStorey23E.<>m__164 (Verse.Thing t) [0x00000] in <filename unknown>:0
  at RimWorld.RestUtility+<FindBedFor>c__AnonStorey23E.<>m__165 (Verse.Thing b) [0x00000] in <filename unknown>:0
  at Verse.GenClosest+<ClosestThingReachable>c__AnonStorey440.<>m__7F8 (Verse.Thing t) [0x00000] in <filename unknown>:0
  at Verse.GenClosest.ClosestThing_Global (IntVec3 center, IEnumerable searchSet, Single maxDistance, System.Predicate`1 validator) [0x00000] in <filename unknown>:0
  at Verse.GenClosest.ClosestThingReachable (IntVec3 root, ThingRequest thingReq, PathEndMode peMode, TraverseParms traverseParams, Single maxDistance, System.Predicate`1 validator, IEnumerable`1 customGlobalSearchSet, Int32 searchRegionsMax, Boolean forceGlobalSearch) [0x00000] in <filename unknown>:0
  at RimWorld.RestUtility.FindBedFor (Verse.Pawn sleeper, Verse.Pawn traveler, Boolean sleeperWillBePrisoner, Boolean checkSocialProperness, Boolean forceCheckMedBed) [0x00000] in <filename unknown>:0
  at RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey302.<>m__41F () [0x00000] in <filename unknown>:0
  at Verse.FloatMenuOption.Chosen (Boolean colonistOrdering) [0x00000] in <filename unknown>:0
  at Verse.FloatMenuOption.DoGUI (Rect rect, Boolean colonistOrdering) [0x00000] in <filename unknown>:0
  at Verse.FloatMenu.DoWindowContents (Rect rect) [0x00000] in <filename unknown>:0
  at Verse.FloatMenuMap.DoWindowContents (Rect inRect) [0x00000] in <filename unknown>:0
  at Verse.Window+<WindowOnGUI>c__AnonStorey241.<>m__175 (Int32 x) [0x00000] in <filename unknown>:0

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)


[attachment deleted by admin - too old]

JT

#984
Quote from: Orion on August 15, 2016, 05:47:01 PM
Changelog

1.14g - 15.08.2016
- tweak: Scoring points for visitors (made harder)
- fix: Bedroom impressiveness
- tweak: Visitors will not drop silver when leaving, only to buy stuff


Here we go... integrated. Also made relationship scoring and dropping stuff less powerful. Let's see who complains next ::) :P

Noooo!  That's horrible!  Now how am I going to make it through winter without all of my guests dropping half of their inventories?!  How am I going to give hospitality to traders if they no longer give back 80% of the traded things as gifts?!
[/font-sarcasm] =)

Haven't actually tested yet, but I love it!  The existing settings were swayed in the player's favour enough that you could do nothing more than build a shelter, clean the vomit and blood, and remove the boulders, and your guests would give rave reviews. ;-)

"My stay at the Sheraton Lepanto was definitely made better for the fact that there were no unsightly boulders in my room, and attention had been paid to cleaning off the patina of vomit and blood.  Although the faint aroma remained, it was of course completely understandable.  5 stars!" --Yelp.rim

Orion

Quote from: sharpshot4321 on August 16, 2016, 05:17:40 PM
I currently cannot rescue or capture anything.
This is my first time reporting anything for Rimworld and I am not sure if Hospitality is responsible for this at all.

If this is not Hospitality's issues, can you direct me to what might be causing this?

Thanks for the proper report! Unfortunately the error is ridiculously vague. From the looks of it you'd think it's a vanilla problem. I'll see what I can do. If you get a different error at some point, please let me know.

@JT: ;D They still might accidentally bring their priced uranium spear because they failed at calculating the true market value before heading off.

Topper

#986
This mod is great but it seems recruiting people is too easy. My social 9 person never seems to fail to convince people to join on the first try. Perhaps in order to recruit you need to have a faction rep of at least +50?

edit I was just reading the front page and I learned about beds and guest rooms..Ive never use that stuff but unless I recruit someone from them the visitors/traders always leave me gifts and have an amazing time. Something must not be working right ?

Adventurer

I have noticed it is pretty easy as well, yes.

chaotix14

Could you also make it so that visitors bring actual food with them to eat? Having a visitor eating your food because he brought kibble for himself to eat, is mildy annoying(especially when you don't exactly have a surplus of food).

Topper

Quote from: Topper on August 17, 2016, 04:21:04 AM
This mod is great but it seems recruiting people is too easy. My social 9 person never seems to fail to convince people to join on the first try. Perhaps in order to recruit you need to have a faction rep of at least +50?

edit I was just reading the front page and I learned about beds and guest rooms..Ive never use that stuff but unless I recruit someone from them the visitors/traders always leave me gifts and have an amazing time. Something must not be working right ?

In previous alphas hospitalty recruitment was much harder..you still usually got the person but it took a bunch of failures that dmged the rep..I literally recruit almost always on the first try in this version.