dufernst / LegionCore-7.3.5

World of Warcraft - Legion (7.3.5 26972) source, based on leaked source from uwow.biz.
GNU General Public License v2.0
228 stars 230 forks source link

Closed #32

Closed Elgrimm closed 3 years ago

Elgrimm commented 3 years ago

The project was closed?

fluxurion commented 3 years ago

I switched to shadowlands

Elgrimm commented 3 years ago

I switched to shadowlands

Don't know how to fix an Architectural table in the Garrison? It is not clickable.

Elgrimm commented 3 years ago

unknown

fluxurion commented 3 years ago

Change flags to corect flag id

fluxurion commented 3 years ago

8589934592

Elgrimm commented 3 years ago

8589934592 This flag is not present in the source code

Elgrimm commented 3 years ago

And when I put it down, the table disappears

Elgrimm commented 3 years ago

8589934592

Do you know what else might be the problem?

void WorldSession::HandleGarrisonPurchaseBuilding(WorldPackets::Garrison::GarrisonPurchaseBuilding& packet) { if (!_player->GetNPCIfCanInteractWith(packet.NpcGUID, UNIT_NPC_FLAG_NONE, UNIT_NPC_FLAG2_GARRISON_ARCHITECT)) return;

if (Garrison* garrison = _player->GetGarrison())
    garrison->PlaceBuilding(packet.PlotInstanceID, packet.BuildingID);

}

Where UNIT_NPC_FLAG2_GARRISON_ARCHITECT = 2

Elgrimm commented 3 years ago

I did it!