Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] should the mask start with 0 = 1? Wouldnt this start with 1 = 1, 2 = 2, 3 = 4, 4 = 8 ... etc?

[DiscordArchive] should the mask start with 0 = 1? Wouldnt this start with 1 = 1, 2 = 2, 3 = 4, 4 = 8 ... etc?

[DiscordArchive] should the mask start with 0 = 1? Wouldnt this start with 1 = 1, 2 = 2, 3 = 4, 4 = 8 ... etc?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
03-16-2022, 08:13 AM
#11
Archived author: AngryPenguinStudio • Posted: 2022-03-16T08:13:56.281000+00:00
Original source

right, so what was sent to me is all off by 1 int
rektbyfaith
03-16-2022, 08:13 AM #11

Archived author: AngryPenguinStudio • Posted: 2022-03-16T08:13:56.281000+00:00
Original source

right, so what was sent to me is all off by 1 int

rektbyfaith
Administrator
0
03-16-2022, 08:14 AM
#12
Archived author: Intemporel • Posted: 2022-03-16T08:14:04.406000+00:00
Original source

For 32 bit mask
rektbyfaith
03-16-2022, 08:14 AM #12

Archived author: Intemporel • Posted: 2022-03-16T08:14:04.406000+00:00
Original source

For 32 bit mask

rektbyfaith
Administrator
0
03-16-2022, 08:14 AM
#13
Archived author: Intemporel • Posted: 2022-03-16T08:14:53.479000+00:00
Original source

For 16 bit is 2^0 to 2^15
rektbyfaith
03-16-2022, 08:14 AM #13

Archived author: Intemporel • Posted: 2022-03-16T08:14:53.479000+00:00
Original source

For 16 bit is 2^0 to 2^15

rektbyfaith
Administrator
0
03-16-2022, 08:14 AM
#14
Archived author: AngryPenguinStudio • Posted: 2022-03-16T08:14:58.807000+00:00
Original source

thanks for clearing that up, its been causing massive issues being off. I would add in bitmask for 12 and it would be adding 11 instead.
rektbyfaith
03-16-2022, 08:14 AM #14

Archived author: AngryPenguinStudio • Posted: 2022-03-16T08:14:58.807000+00:00
Original source

thanks for clearing that up, its been causing massive issues being off. I would add in bitmask for 12 and it would be adding 11 instead.

rektbyfaith
Administrator
0
03-16-2022, 08:16 AM
#15
Archived author: Intemporel • Posted: 2022-03-16T08:16:02.759000+00:00
Original source

If you want for 12 bit, it is from 2^0 to 2^11 yes
rektbyfaith
03-16-2022, 08:16 AM #15

Archived author: Intemporel • Posted: 2022-03-16T08:16:02.759000+00:00
Original source

If you want for 12 bit, it is from 2^0 to 2^11 yes

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