Very few houses for sale.
-
- Posts: 2
- Joined: Wed Aug 07, 2019 1:40 pm
Very few houses for sale.
There's but a single house for sell in all of the city of Daggerfall, and no houses for sell in the town that I, a young stupid lad, always bought a specific house in, Penwold in Daggerfall.
Is this possibly a bug because of mods (I uninstalled all mods, or at least tried to, Mountains and Hills still seems to be applying despite my best efforts), or is this a possible known bug in Alpha .10?
Is this possibly a bug because of mods (I uninstalled all mods, or at least tried to, Mountains and Hills still seems to be applying despite my best efforts), or is this a possible known bug in Alpha .10?
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Very few houses for sale.
This is a known issue, rather than bug. Currently the list of houses for sale is only populated by the buildings marked as such in the world data. They are few and far between. Unfortunately we don't know how DF populates this list yet with other houses, and as yet no one has reverse engineered that part of the original binary. It's definitely nothing to do with any mods though.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
-
- Posts: 2
- Joined: Wed Aug 07, 2019 1:40 pm
Re: Very few houses for sale.
Ah, that makes sense. Thanks for the answer!
- Ferital
- Posts: 282
- Joined: Thu Apr 05, 2018 8:01 am
Re: Very few houses for sale.
Just to inform I found the classic function which populates a given town house for sales list. I now need to understand it, this may still require some time...
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Very few houses for sale.
YAAAAAAAY! Ferital once again to the rescue! Take your time, it's just good to know that at some point there's going to be a solution.
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Very few houses for sale.
Even if you don't understand everything, clues can often be enough so post whatever you find. Great news!
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Very few houses for sale.
Well done Ferital!
- Ferital
- Posts: 282
- Joined: Thu Apr 05, 2018 8:01 am
Re: Very few houses for sale.
I mostly need to figure out a bunch of global variables as the algorithm in itself seems pretty straightforward, I'll be back there as soon as I get enough information.
- Ferital
- Posts: 282
- Joined: Thu Apr 05, 2018 8:01 am
Re: Very few houses for sale.
A little update: the algorithm only checks if a building type is equal to 1 (House for Sale) to populate the list until it reaches at most 20 houses. So I now need to find where DF changes some houses building type field...
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Very few houses for sale.
Ah, very interesting. I'd assumed other building types were used rather than some of the houses had their type changed from the game data.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods