[DiscordArchive] could anyone point me in the direction of where phasing is handled?
[DiscordArchive] could anyone point me in the direction of where phasing is handled?
Archived author: Pandaros • Posted: 2023-09-30T08:42:27.410000+00:00
Original source
could anyone point me in the direction of where phasing is handled?
Archived author: Pandaros • Posted: 2023-09-30T08:54:17.701000+00:00
Original source
I see, phase masks are on each unit and handled on a case by case basis, as part of the map update loop
Archived author: Honey • Posted: 2023-09-30T09:01:59.731000+00:00
Original source
In short, if a player and a world object have any matching phase, the world object is sent to the client.
Otherwise not.
Archived author: Pandaros • Posted: 2023-09-30T09:02:07.952000+00:00
Original source
yeah
Archived author: Pandaros • Posted: 2023-09-30T09:02:58.810000+00:00
Original source
Im about to do a bit of re-factoring here, I want the map to be aware of all phases to thread ones that have a specific player count in them
Archived author: Pandaros • Posted: 2023-09-30T09:03:11.112000+00:00
Original source
to handle large towns for example
Archived author: Pandaros • Posted: 2023-09-30T09:05:08.933000+00:00
Original source
update tick -> Evaluate phases -> dispatch work to threads -> join work back -> continue update when they are all done
Archived author: Pandaros • Posted: 2023-09-30T09:09:18.587000+00:00
Original source
Looks like WorldObject has `SetPhaseMask` so it will be easy to tell the map
Archived author: KJack • Posted: 2023-09-30T09:11:54.782000+00:00
Original source
anyone know what i can look for to see if a creature came from a player's item? For instance, Dog Whistle (https://www.wowhead.com/wotlk/item=3456/dog-whistle) creates a Lvl 30 Tracking Hound (6867). However, none of these seem to catch:
[Embed: Dog Whistle]
It is looted from Houndmaster Loksey. In the Consumables category. An item from Classic World of Warcraft. Always up to date with the latest patch.
https://www.wowhead.com/wotlk/item=3456/dog-whistle
Archived author: KJack • Posted: 2023-09-30T09:12:01.760000+00:00
Original source
`if (creature->IsCreatedByPlayer() || creature->IsPet() || creature->IsHunterPet() || creature->IsTotem())`