feat(property): zone position and build height come from PropertyTemplate

DownloadPropertyData sent the same zonePosition (548, 406, 178) and a
maxBuildHeight of 128 for every property. Both now come from the
property's PropertyTemplate row (zoneX/zoneY/zoneZ, maxBuildHeight), the
same row the template ID, vendor map and spawn name already come from.
A map with no row still sends the old values.

Live rows: Avant Gardens small (1150) keeps 548/406/178 and 128; Avant
Gardens medium (1151) is 428/413/82 with a build height of 256; the
Nimbus Station (1250, 1251), Gnarled Forest (1350) and Forbidden Valley
(1450) properties get their own positions with 128.

Check in game: on the medium Avant Gardens property (1151) models can be
placed higher than before (up to 256), and on the small one (1150) the
limit is unchanged; on the other worlds' properties the property screens
(plaque, news/claim UI) still show and building works as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-29 04:18:04 -05:00
parent 3ef7967512
commit 3b127cfa0e
3 changed files with 13 additions and 3 deletions

View File

@@ -946,8 +946,8 @@ void PropertyManagementComponent::OnQueryPropertyData(Entity* originator, const
message.lastLogoutTime = 0;
message.dayOfMonthPlaqueWasBought = 1;
message.repAchievementReq = 1;
message.zonePosition = { 548.0f, 406.0f, 178.0f };
message.maxBuildHeight = 128.0f;
message.zonePosition = { propertyTemplate.zoneX, propertyTemplate.zoneY, propertyTemplate.zoneZ };
message.maxBuildHeight = propertyTemplate.maxBuildHeight;
message.rentalDate = claimed;
message.accessType = static_cast<uint8_t>(privacy);
message.pathPositions = GetPaths();