0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room [RESOLVED]

Bug topics that have been resolved.
Locked
willershuh
Posts: 30
Joined: Tue Nov 13, 2018 10:05 pm

0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room [RESOLVED]

Post by willershuh » Mon Dec 31, 2018 5:47 am

Here's a fun one! I can't seem to reproduce this on a fresh save, so I wasn't sure where to put it.

I can sleep at any inn (that I've tested), despite not having even visited them before. Even tried going to a nearby unvisited town and I could stay at an inn there, too.

Well, the relevant gameplay leading up to this looked something like:
-save
-buy room
-load

But all I get when trying that on a fresh save, is the room rental text. ("You have a room at [inn] for [duration].") Which is a minor bug in itself I suppose.

Anyway, I will keep trying to reproduce this on a fresh save, but I just wanted to get it out there. Maybe the bugged savegame will be enough?
Attachments
SAVE25.zip
(230.16 KiB) Downloaded 17 times
Last edited by willershuh on Sun Jan 06, 2019 4:18 am, edited 1 time in total.

User avatar
Hazelnut
Posts: 1785
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: 0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room

Post by Hazelnut » Fri Jan 04, 2019 7:30 pm

I'll take a look. Probably something I forgot to properly reset.

willershuh
Posts: 30
Joined: Tue Nov 13, 2018 10:05 pm

Re: 0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room

Post by willershuh » Sun Jan 06, 2019 4:18 am

It seems that this bug is with me for the long haul on this playthrough. I'm pretty sure it has been weeks in-game, and I am still free to stay anywhere I like. Not that I'm complaining much. :D

It is interesting that I don't see the "You have a room at [inn] for [duration]" text on any saves in this run.

User avatar
Hazelnut
Posts: 1785
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: 0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room

Post by Hazelnut » Thu Jan 10, 2019 9:27 pm

The rented rooms is reset like everything else, but PlayerGPS.Update() is firing before the data is reset which only happens on loading.

Easy fix would be to reset the player entity before anything else happens. Interkarma, is there a reason that PlayerEntity.Reset() is only called when starting a new game and not when loading a game? If not, can I add this?

User avatar
Interkarma
Posts: 5007
Joined: Sun Mar 22, 2015 1:51 am

Re: 0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room

Post by Interkarma » Thu Jan 10, 2019 9:49 pm

Probably just an oversight, should be no problems calling reset when loading a game.

User avatar
Hazelnut
Posts: 1785
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: 0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room

Post by Hazelnut » Fri Jan 11, 2019 9:00 pm

I found another cause, all taverns seem to be marked as fighters guild faction so if you join the guild you get to rest for free in all taverns. :shock:

This will be fixed momentarily.

BansheeXYZ
Posts: 527
Joined: Fri Oct 23, 2015 8:19 pm

Re: 0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room

Post by BansheeXYZ » Sat Jan 12, 2019 4:20 am

I don't know if this is what you're all talking about, but the issue seems to be that if you load a save with your char inside a building, you can immediately rest in that building without getting the "You have not rented a room here" message. This goes for any building, inn or otherwise.

As soon as you leave the building and re-enter, the message fires as normal and you are blocked from resting.

The other issue (in the grander scope of things), is that vagrancy just isn't implemented yet. You're not supposed to get that message in non-inns because it doesn't apply. The rest attempt fails and the guards simply come after you.

User avatar
Hazelnut
Posts: 1785
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: 0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room

Post by Hazelnut » Sat Jan 12, 2019 11:16 am

First issue is fixed now, second issue definitely used to work (just checked using build 140) but maybe has broken as well. I'll take a look when I get some time later today.

Seems to be working again now - it was caused by the same issues.

User avatar
Interkarma
Posts: 5007
Joined: Sun Mar 22, 2015 1:51 am

Re: 0.7.2 Win x64 - PC Can Stay At Any Inn Without Buying A Room [RESOLVED]

Post by Interkarma » Tue Jan 15, 2019 7:50 am

Thank you for fixes Hazelnut. :)

Locked