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): 1 2 Next
rektbyfaith
Administrator
0
03-16-2022, 07:27 AM
#1
Archived author: AngryPenguinStudio • Posted: 2022-03-16T07:27:45.093000+00:00
Original source

should the mask start with 0 = 1? Wouldnt this start with 1 = 1, 2 = 2, 3 = 4, 4 = 8 ... etc?
rektbyfaith
03-16-2022, 07:27 AM #1

Archived author: AngryPenguinStudio • Posted: 2022-03-16T07:27:45.093000+00:00
Original source

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

rektbyfaith
Administrator
0
03-16-2022, 07:55 AM
#2
Archived author: Thiaz • Posted: 2022-03-16T07:55:04.687000+00:00
Original source

I found 236 to "control" vehicle, but not turn into a vehicle
rektbyfaith
03-16-2022, 07:55 AM #2

Archived author: Thiaz • Posted: 2022-03-16T07:55:04.687000+00:00
Original source

I found 236 to "control" vehicle, but not turn into a vehicle

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

22 is :
16 + 4 + 2,
Or 2^4 + 2*2 + 2^1,
Or 0x10 + 0x04 + 0x02,
Or 0x16,
Or 10110
rektbyfaith
03-16-2022, 08:11 AM #3

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

22 is :
16 + 4 + 2,
Or 2^4 + 2*2 + 2^1,
Or 0x10 + 0x04 + 0x02,
Or 0x16,
Or 10110

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

Right, i was making reference to the list that was sent. It starts at zero and i wanted to make sure thats where it should start. If it should start at 1, then, all my bitmasks would be off by 1
rektbyfaith
03-16-2022, 08:12 AM #4

Archived author: AngryPenguinStudio • Posted: 2022-03-16T08:12:57.796000+00:00
Original source

Right, i was making reference to the list that was sent. It starts at zero and i wanted to make sure thats where it should start. If it should start at 1, then, all my bitmasks would be off by 1

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

The mask start with 1 = 2^0
rektbyfaith
03-16-2022, 08:13 AM #5

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

The mask start with 1 = 2^0

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

2 = 2^1
rektbyfaith
03-16-2022, 08:13 AM #6

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

2 = 2^1

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

4 = 2^2
rektbyfaith
03-16-2022, 08:13 AM #7

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

4 = 2^2

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

8 = 2^3
rektbyfaith
03-16-2022, 08:13 AM #8

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

8 = 2^3

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

Etc..
rektbyfaith
03-16-2022, 08:13 AM #9

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

Etc..

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

Until 2^31
rektbyfaith
03-16-2022, 08:13 AM #10

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

Until 2^31

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