Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] the wiki says that `nameIndex` should be a 24 bit long value (https://wowdev.wiki/WMO#MODD_chunk) bu

[DiscordArchive] the wiki says that `nameIndex` should be a 24 bit long value (https://wowdev.wiki/WMO#MODD_chunk) bu

[DiscordArchive] the wiki says that `nameIndex` should be a 24 bit long value (https://wowdev.wiki/WMO#MODD_chunk) bu

rektbyfaith
Administrator
0
03-29-2024, 03:24 AM
#1
Archived author: badopsec • Posted: 2024-03-29T03:24:57.152000+00:00
Original source

the wiki says that `nameIndex` should be a 24 bit long value (https://wowdev.wiki/WMO#MODD_chunk) but doesn't give any edge case for when the value is that high -- is anyone familiar w/ how the client handles cases like this?
[Embed: WMO]
https://wowdev.wiki/WMO
rektbyfaith
03-29-2024, 03:24 AM #1

Archived author: badopsec • Posted: 2024-03-29T03:24:57.152000+00:00
Original source

the wiki says that `nameIndex` should be a 24 bit long value (https://wowdev.wiki/WMO#MODD_chunk) but doesn't give any edge case for when the value is that high -- is anyone familiar w/ how the client handles cases like this?
[Embed: WMO]
https://wowdev.wiki/WMO

rektbyfaith
Administrator
0
03-29-2024, 06:38 PM
#2
Archived author: kjarex • Posted: 2024-03-29T18:38:13.485000+00:00
Original source

Take it with a grain of salt as I know nothing about WoW, but I would guess it's actually -1 and not 65536 (and then probably with a meaning like "none" or whatever might be appropriate here, just simply saying "this is not an actual index", and as it has no other way of expressing that, it uses `-1`); *edit: I missed the "24bit" part - it'd be only `-1`if it were just 16bits - so who knows ‍♂️ *
rektbyfaith
03-29-2024, 06:38 PM #2

Archived author: kjarex • Posted: 2024-03-29T18:38:13.485000+00:00
Original source

Take it with a grain of salt as I know nothing about WoW, but I would guess it's actually -1 and not 65536 (and then probably with a meaning like "none" or whatever might be appropriate here, just simply saying "this is not an actual index", and as it has no other way of expressing that, it uses `-1`); *edit: I missed the "24bit" part - it'd be only `-1`if it were just 16bits - so who knows ‍♂️ *

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)