Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] but you are limited to the 32 phases of uint32, aren't you ?

[DiscordArchive] but you are limited to the 32 phases of uint32, aren't you ?

[DiscordArchive] but you are limited to the 32 phases of uint32, aren't you ?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
10-11-2022, 12:09 PM
#1
Archived author: jackpoz • Posted: 2022-10-11T12:09:11.345000+00:00
Original source

but you are limited to the 32 phases of uint32, aren't you ?
rektbyfaith
10-11-2022, 12:09 PM #1

Archived author: jackpoz • Posted: 2022-10-11T12:09:11.345000+00:00
Original source

but you are limited to the 32 phases of uint32, aren't you ?

rektbyfaith
Administrator
0
10-11-2022, 12:10 PM
#2
Archived author: <o> • Posted: 2022-10-11T12:10:01.347000+00:00
Original source

phases are completely serverside, so you can rewrite that logic to whatever you want. spell effects will still assume bitmasks of course, but generally what people do is _extend_ the phase system rather than replace it
rektbyfaith
10-11-2022, 12:10 PM #2

Archived author: <o> • Posted: 2022-10-11T12:10:01.347000+00:00
Original source

phases are completely serverside, so you can rewrite that logic to whatever you want. spell effects will still assume bitmasks of course, but generally what people do is _extend_ the phase system rather than replace it

rektbyfaith
Administrator
0
10-11-2022, 12:11 PM
#3
Archived author: <o> • Posted: 2022-10-11T12:11:23.190000+00:00
Original source

a dictionary based approach is very possible to do in 3.3.5, but there isn't much need for it and comes with its own set of caveats. for my fork, we've settled on giving users the usual 32-bit mask for things like quests and an additional 64-bit unique id that they can do whatever they want with
rektbyfaith
10-11-2022, 12:11 PM #3

Archived author: <o> • Posted: 2022-10-11T12:11:23.190000+00:00
Original source

a dictionary based approach is very possible to do in 3.3.5, but there isn't much need for it and comes with its own set of caveats. for my fork, we've settled on giving users the usual 32-bit mask for things like quests and an additional 64-bit unique id that they can do whatever they want with

rektbyfaith
Administrator
0
10-11-2022, 12:11 PM
#4
Archived author: Krutok • Posted: 2022-10-11T12:11:29.136000+00:00
Original source

not all quests are finished yet. The concept is clear, but everything around it still needs to be refined. But it's never wrong to think about possible mechanics beforehand so that you can plan better
rektbyfaith
10-11-2022, 12:11 PM #4

Archived author: Krutok • Posted: 2022-10-11T12:11:29.136000+00:00
Original source

not all quests are finished yet. The concept is clear, but everything around it still needs to be refined. But it's never wrong to think about possible mechanics beforehand so that you can plan better

rektbyfaith
Administrator
0
10-11-2022, 12:12 PM
#5
Archived author: <o> • Posted: 2022-10-11T12:12:25.321000+00:00
Original source

it's just a matter of writing down the phase bits you're using so you don't forget them later, it's very rare to run out of phase bits unless you try to do something crazy or stuff way too many quests into the same location
rektbyfaith
10-11-2022, 12:12 PM #5

Archived author: <o> • Posted: 2022-10-11T12:12:25.321000+00:00
Original source

it's just a matter of writing down the phase bits you're using so you don't forget them later, it's very rare to run out of phase bits unless you try to do something crazy or stuff way too many quests into the same location

rektbyfaith
Administrator
0
10-11-2022, 12:13 PM
#6
Archived author: <o> • Posted: 2022-10-11T12:13:04.446000+00:00
Original source

phase ids are typically only necessary for things like player/guild housing (unless you solve those with instances instead)
rektbyfaith
10-11-2022, 12:13 PM #6

Archived author: <o> • Posted: 2022-10-11T12:13:04.446000+00:00
Original source

phase ids are typically only necessary for things like player/guild housing (unless you solve those with instances instead)

rektbyfaith
Administrator
0
10-11-2022, 12:14 PM
#7
Archived author: Tea • Posted: 2022-10-11T12:14:47.845000+00:00
Original source

well, phase ids are easier to understand
rektbyfaith
10-11-2022, 12:14 PM #7

Archived author: Tea • Posted: 2022-10-11T12:14:47.845000+00:00
Original source

well, phase ids are easier to understand

rektbyfaith
Administrator
0
10-11-2022, 12:15 PM
#8
Archived author: Tea • Posted: 2022-10-11T12:15:05.591000+00:00
Original source

many people seem to have trouble understanding bit operations
rektbyfaith
10-11-2022, 12:15 PM #8

Archived author: Tea • Posted: 2022-10-11T12:15:05.591000+00:00
Original source

many people seem to have trouble understanding bit operations

rektbyfaith
Administrator
0
10-11-2022, 12:15 PM
#9
Archived author: <o> • Posted: 2022-10-11T12:15:34.154000+00:00
Original source

definitely, yeah. that's why we added them, but they're not very flexible for the kind of phasing you usually need in quests
rektbyfaith
10-11-2022, 12:15 PM #9

Archived author: <o> • Posted: 2022-10-11T12:15:34.154000+00:00
Original source

definitely, yeah. that's why we added them, but they're not very flexible for the kind of phasing you usually need in quests

rektbyfaith
Administrator
0
10-11-2022, 12:40 PM
#10
Archived author: bandysc • Posted: 2022-10-11T12:40:48.913000+00:00
Original source

That's why in the editor, when editing a spawn, you pick the phase mask from a list with checkboxes (phase 7 you could seen in the screenshot, is not a phasemask 7, it is actual phase 7 meaning phase mask 1<<(7-1)), to avoid confusion with phasemasks

And it works well, until someone who doesn't understand phasemasks, opens a spellwork. Or another place that has raw phasemask

<:clown:770403425158168596> probably just easier to learn it, rather than depend on tools
rektbyfaith
10-11-2022, 12:40 PM #10

Archived author: bandysc • Posted: 2022-10-11T12:40:48.913000+00:00
Original source

That's why in the editor, when editing a spawn, you pick the phase mask from a list with checkboxes (phase 7 you could seen in the screenshot, is not a phasemask 7, it is actual phase 7 meaning phase mask 1<<(7-1)), to avoid confusion with phasemasks

And it works well, until someone who doesn't understand phasemasks, opens a spellwork. Or another place that has raw phasemask

<:clown:770403425158168596> probably just easier to learn it, rather than depend on tools

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)