[DiscordArchive] as far as I could see in the cmangos implementation, they do indeed modify the mmaps_generator, and
[DiscordArchive] as far as I could see in the cmangos implementation, they do indeed modify the mmaps_generator, and
Archived author: Piggymorph • Posted: 2025-01-07T18:18:00.724000+00:00
Original source
so even though TC may store the mapId for inside _transportMaps (analogous to cmangos saving the DisplayId for the model), TC doesn't (yet) extract the mmap for the transport
Archived author: Northstrider • Posted: 2025-01-07T18:18:42.228000+00:00
Original source
well, we don't extract mmap data for gameobjects atm so ye, you would have to fix that too and link the according transports to the maps
Archived author: Piggymorph • Posted: 2025-01-07T18:19:52.365000+00:00
Original source
thanks for the clearer explanations, hopefully didn't bother too much
Archived author: stoneharry • Posted: 2025-01-07T18:32:38.760000+00:00
Original source
And you've just solved 20 years of me wondering why those exist
Archived author: Northstrider • Posted: 2025-01-07T18:37:08.510000+00:00
Original source
https://tenor.com/view/mr-bean-gif-23140...f-23140940
Archived author: caweren • Posted: 2025-01-07T18:51:56.971000+00:00
Original source
I'm trying to make a "global loot table with personal loot". I've tried to hardcode some stuff into the core at specific points, but it always ends up in 1 of 3 states: Not dropping, dropping with group loot roles, or dropping at doesn't get added to the bags when looted.
I have tried for force it in `Loot::FillQuestLoot(Player*)` since i guess that would be the closest to personal loot in 335. It shows on the droptable ingame, but everyone can see it, and when looted it doesn't go into the bag.
I'm currently using this:
```cpp
uint32 itemID = 200005;
LootItem* l = new LootItem;
l->itemid = itemID;
l->AddAllowedLooter(player);
items.push_back(*l); // or quest_items.push_back
```
Any help is greatly appreciated
Archived author: Tea • Posted: 2025-01-07T18:52:44.581000+00:00
Original source
your item count is 0
Archived author: caweren • Posted: 2025-01-07T18:55:10.839000+00:00
Original source
testing, 1 sec
Archived author: caweren • Posted: 2025-01-07T19:14:38.989000+00:00
Original source
It kinda works. The loot gets added to my bags, and they bypass group loot roles. However, when killing a mob with a party member, they can see 1 item while i can see 2. I can loot both, they can only loot 1 item.
If they empty their loot table, my loot table gets wiped every second kill (i guess this is a hint?)
Archived author: caweren • Posted: 2025-01-07T19:32:09.395000+00:00
Original source
Got it working! For some reason i was stupid and set l->isLocked to true..... Thanks Shauren