Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] So to get like the first 8?

[DiscordArchive] So to get like the first 8?

[DiscordArchive] So to get like the first 8?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
06-03-2018, 09:05 PM
#11
Archived author: Skarn • Posted: 2018-06-03T21:05:36.675000+00:00
Original source

I like python
rektbyfaith
06-03-2018, 09:05 PM #11

Archived author: Skarn • Posted: 2018-06-03T21:05:36.675000+00:00
Original source

I like python

rektbyfaith
Administrator
0
06-03-2018, 09:05 PM
#12
Archived author: Kavligula • Posted: 2018-06-03T21:05:49.723000+00:00
Original source

Alright give me a minute to try and think this one down
rektbyfaith
06-03-2018, 09:05 PM #12

Archived author: Kavligula • Posted: 2018-06-03T21:05:49.723000+00:00
Original source

Alright give me a minute to try and think this one down

rektbyfaith
Administrator
0
06-03-2018, 09:05 PM
#13
Archived author: Skarn • Posted: 2018-06-03T21:05:49.981000+00:00
Original source

it just lacks good binary IO
rektbyfaith
06-03-2018, 09:05 PM #13

Archived author: Skarn • Posted: 2018-06-03T21:05:49.981000+00:00
Original source

it just lacks good binary IO

rektbyfaith
Administrator
0
06-03-2018, 09:06 PM
#14
Archived author: Skarn • Posted: 2018-06-03T21:06:05.450000+00:00
Original source

<@192452267683610624> thx, for the code, now I get it
rektbyfaith
06-03-2018, 09:06 PM #14

Archived author: Skarn • Posted: 2018-06-03T21:06:05.450000+00:00
Original source

<@192452267683610624> thx, for the code, now I get it

rektbyfaith
Administrator
0
06-03-2018, 09:06 PM
#15
Archived author: Skarn • Posted: 2018-06-03T21:06:13.737000+00:00
Original source

In fact i actually needed to understand this only
rektbyfaith
06-03-2018, 09:06 PM #15

Archived author: Skarn • Posted: 2018-06-03T21:06:13.737000+00:00
Original source

In fact i actually needed to understand this only

rektbyfaith
Administrator
0
06-03-2018, 09:06 PM
#16
Archived author: Skarn • Posted: 2018-06-03T21:06:17.598000+00:00
Original source

other_value = 16_bit_value & (1111111100000000 >> 7) // This *should* get you the 7 bits
rektbyfaith
06-03-2018, 09:06 PM #16

Archived author: Skarn • Posted: 2018-06-03T21:06:17.598000+00:00
Original source

other_value = 16_bit_value & (1111111100000000 >> 7) // This *should* get you the 7 bits

rektbyfaith
Administrator
0
06-03-2018, 09:06 PM
#17
Archived author: Kavligula • Posted: 2018-06-03T21:06:38.980000+00:00
Original source

Wait okay
rektbyfaith
06-03-2018, 09:06 PM #17

Archived author: Kavligula • Posted: 2018-06-03T21:06:38.980000+00:00
Original source

Wait okay

rektbyfaith
Administrator
0
06-03-2018, 09:06 PM
#18
Archived author: Skarn • Posted: 2018-06-03T21:06:39.627000+00:00
Original source

the first 8 bits we can get by doing 16_bit_value >> 8
rektbyfaith
06-03-2018, 09:06 PM #18

Archived author: Skarn • Posted: 2018-06-03T21:06:39.627000+00:00
Original source

the first 8 bits we can get by doing 16_bit_value >> 8

rektbyfaith
Administrator
0
06-03-2018, 09:06 PM
#19
Archived author: Kavligula • Posted: 2018-06-03T21:06:45.751000+00:00
Original source

Yeah
rektbyfaith
06-03-2018, 09:06 PM #19

Archived author: Kavligula • Posted: 2018-06-03T21:06:45.751000+00:00
Original source

Yeah

rektbyfaith
Administrator
0
06-03-2018, 09:06 PM
#20
Archived author: Kavligula • Posted: 2018-06-03T21:06:51.497000+00:00
Original source

```
# getting your message as int
i = int("140900793d002327", 16)
# getting bit at position 28 (counting from 0 from right)
i >> 28 & 1
# getting bits at position 24-27
bin(i >> 24 & 0b111)
```
rektbyfaith
06-03-2018, 09:06 PM #20

Archived author: Kavligula • Posted: 2018-06-03T21:06:51.497000+00:00
Original source

```
# getting your message as int
i = int("140900793d002327", 16)
# getting bit at position 28 (counting from 0 from right)
i >> 28 & 1
# getting bits at position 24-27
bin(i >> 24 & 0b111)
```

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)