[1.0] (WIP) Tenants (2019-11-10)

Started by LimeTreeSnake, September 05, 2019, 04:35:26 PM

Previous topic - Next topic

Kori

At some point (the update including the mailbox and couriers?) the mod stopped working for me, I don't get tenants anymore.

I can send invitations and call for a courier. Sometimes a random courier will appear but never delivers anything and my mailbox is always empty. The raids happen too, there just won't be any tenants.

Sometimes my game starts to stutter for a while and it spams this error:

System.ArgumentNullException: Argument cannot be null.
Parameter name: source
at Verse.GenCollection.RandomElement<string> (System.Collections.Generic.IEnumerable`1<string>) <0x001cc>
at Tenants.Utility.GenerateNewTenant () <0x000a3>
at Tenants.Utility.FindRandomTenant () <0x00130>
at Tenants.Events.ContractTenancy (Verse.Map) <0x0006f>
at Tenants.IncidentWorker_TenantProposition.TryExecuteWorker (RimWorld.IncidentParms) <0x001ec>
at (wrapper dynamic-method) RimWorld.IncidentWorker.TryExecute_Patch1 (object,RimWorld.IncidentParms) <0x0005c>
at RimWorld.Storyteller.TryFire (RimWorld.FiringIncident) <0x0008e>
at (wrapper dynamic-method) RimWorld.IncidentQueue.IncidentQueueTick_Patch1 (object) <0x000d4>
at RimWorld.Storyteller.StorytellerTick () <0x0002f>
at Verse.TickManager.DoSingleTick () <0x00610>

Verse.Log:Error(String, Boolean)
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()


I need your help again!

LimeTreeSnake

Ah that sucks, yeah the I still have no idea why this happens. Am trying to find the issue and been working on an update lately.
Sadly, there are a few things to do, remove the mod settings file, remove the mailbox. That tends to solve the issue.

Kori

I will try deleting the file and the mailbox, thanks. :)

Sebsax

#48
Hello! Yes mod doesn't work :( Even in dev/debug mode, after clicking RequestForTenancy nothing happened, absolutely nothing.
Also courier by request never show up.

I tested this with version v1.0.2282 and v1.0.2150, the same thing.

I hope you will not give up! It was one of the reasons why I switched to 1.0v version, second reason was RimCities mod.
I want conquer city from pirates faction and populate this with "Tenants" converting poor city in to rich and prosperous metropolis with many living people.
Without this mod it will be not possible.  :'(

LimeTreeSnake if I can ask, you have backups from older versions of the mod?

LimeTreeSnake

Ah, remove the settings file or have you built a mailbox?
It's not quite clear yet and next patch will improve the implementation.
You can access all version on my git.

Sebsax

Oh i'm stupid, yes after placing mailbox actual version of the mod works fine!
Now I can make my city! Thank you!  :)

Ruisuki


Kori

Do you have news about the future of this mod?
The Royalty guests are a good addition, but I really miss the variety that the tenants added to the game...
The guests from Royalty can't really replace that. :(

LimeTreeSnake

Well, basically am intending to create a little something like it in the future thus I have no ETA :/

Kori

Would updating the existing mod not be feasible? I would use it with Royalty.
In any case I am looking forward to whatever it will be! :)