[DiscordArchive] for example I would pull the mask for an instance, how could I check what encounters were completed?
[DiscordArchive] for example I would pull the mask for an instance, how could I check what encounters were completed?
Archived author: Chaz • Posted: 2024-01-07T00:25:03.119000+00:00
Original source
for example I would pull the mask for an instance, how could I check what encounters were completed?
Archived author: Chaz • Posted: 2024-01-07T00:26:07.089000+00:00
Original source
i noticed Yehonal wrote this code before but not sure if it’s pulling what I would need
Archived author: Chaz • Posted: 2024-01-07T00:26:09.651000+00:00
Original source
https://github.com/kaytotes/mod-azeroths...g.cpp#L781
Archived author: Chaz • Posted: 2024-01-07T00:32:22.492000+00:00
Original source
also this may be of some help
Archived author: Chaz • Posted: 2024-01-07T00:32:24.636000+00:00
Original source
https://github.com/azerothcore/azerothco....cpp#L3497
Archived author: 老爷爷 • Posted: 2024-01-07T02:48:43.612000+00:00
Original source
I just formatted the code and what went wrong. I haven't changed the files in the database
Archived author: 老爷爷 • Posted: 2024-01-07T02:48:58.829000+00:00
Original source
https://github.com/azerothcore/azerothco...1#step:9:1
[Embed: fix(Scripts/ScarletMonastery): improvement ScarletMonastery · azero...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...0231055021
Archived author: walkline • Posted: 2024-01-07T11:23:08.265000+00:00
Original source
Are you unfamiliar with bitmasks? Consider this variable as a set of bits, where each bit can be either 0 or 1. For instance, a bitmask might appear as 10010101. By knowing the index/position of a specific encounter(bit) in this mask, you can use bitwise operations to determine if it is completed or not.
Archived author: walkline • Posted: 2024-01-07T11:24:22.500000+00:00
Original source
But it’s my assumption, never worked with completedEncounterMask.
Archived author: Chaz • Posted: 2024-01-07T13:19:24.553000+00:00
Original source
got it working