[DiscordArchive] so with a 32-bit bitmask you technically have 4,294,967,295 unique phase IDs that shouldn’t have ove
[DiscordArchive] so with a 32-bit bitmask you technically have 4,294,967,295 unique phase IDs that shouldn’t have ove
Archived author: Barnes • Posted: 2023-08-17T03:33:55.081000+00:00
Original source
so with a 32-bit bitmask you technically have 4,294,967,295 unique phase IDs that shouldn’t have overlap… right? why would there be overlap with such an extensive BitMask? unless the 1s signify like with professions if the phase is active or not??
Archived author: Vale the Violet Mote • Posted: 2023-08-17T03:34:48.360000+00:00
Original source
correct with the latter part
Archived author: Rymercyble • Posted: 2023-08-17T03:34:49.731000+00:00
Original source
bcs that is how bitmask works
Archived author: Vale the Violet Mote • Posted: 2023-08-17T03:35:06.675000+00:00
Original source
there are many cases where you want an NPC or GOB etc to be visible to multiple phases
Archived author: Vale the Violet Mote • Posted: 2023-08-17T03:35:54.694000+00:00
Original source
so the bitmask only tells you how many, if any, of the 32 phases you're in
Archived author: Vale the Violet Mote • Posted: 2023-08-17T03:36:09.788000+00:00
Original source
just like the profession bitmask tells you how many, if any, of the 8 professions you have
Archived author: Rymercyble • Posted: 2023-08-17T03:38:54.273000+00:00
Original source
issue is if u want to have that feature but many phases and while u can use lets say int256 it will be ever so slightly slower
Archived author: Vale the Violet Mote • Posted: 2023-08-17T03:40:14.928000+00:00
Original source
For example, let's say you transformed the Northshire starting experience into a dynamic experience, with different phases that have different enemies. In Phase 1, there's a wolf threat. In phase 2, there's a kobold threat, and in phase 3, there's a Defias threat.
So while in Phase 1, you shouldn't be able to see kobolds or Defias, only wolves. So the wolves have a bitmask of 0001. The kobolds have a bitmask of 0010 ( which is 2). The Defias have a bitmask of 0100 (which is 4).
You want Marshal McBride to be present in the same spot on all phases, so he gets a phase of 0111 ( 1 + 2 + 4 = 7 ).
You want the merchants to be present during the first two phases, but gone during the last one, so they have a phase of 0011 ( 1 + 2 = 3)
Archived author: Barnes • Posted: 2023-08-17T04:38:46.153000+00:00
Original source
hmmm ok. I think a way to circumvent this without changing the bitmask properties is to designate each “location” that i deem to be a guild house as only available to 32 guilds (31 if i want to make a touring phase) and then as the server gets bigger explore the aspect of having different guild house locations across the 32 unique phases that way there’s a limited availability for certain guild house (like if i make, for example, a zoned off area of a PoI as a guild house) then that poi can only be used by 32 guilds until the plot is “bought up.” or “full.”
Archived author: Vale the Violet Mote • Posted: 2023-08-17T04:43:52.103000+00:00
Original source
yeah