[DiscordArchive] still working on that shit above, but i have also reversed the race info of the active player in 335
[DiscordArchive] still working on that shit above, but i have also reversed the race info of the active player in 335
Archived author: 4bhorrent • Posted: 2024-01-13T17:07:18.837000+00:00
Original source
still working on that shit above, but i have also reversed the race info of the active player in 335a.
there is a 4B value at 0x00c79e88, which gets loaded by a function (in cata it's called `ClientServices::GetCharacterRace`).
the lowest byte of that value is the race ID.
i have found these
```cpp
enum RaceID
{
HMN = 0x01,
ORC = 0x02,
DWF = 0x03,
NE = 0x04,
UD = 0x05,
TAU = 0x06,
GNM = 0x07,
TRL = 0x08,
BE = 0x0A,
DRA = 0x0B,
};
```
interestingly enough there is an entry missing for `0x09`
from what i can see, these are the same as stored in my azerothcore db.
any clue what is missing... was it that scrapped Naga race?
Archived author: Bench • Posted: 2024-01-13T17:12:15.565000+00:00
Original source
Goblin
Archived author: 4bhorrent • Posted: 2024-01-13T17:13:42.236000+00:00
Original source
seems the struct for that address is
```cpp
struct CharacterInfoOrWhateverYouWannaCallIt
{
byte _race;
byte _class;
byte _gender;
byte _skin;
}
```
Archived author: 4bhorrent • Posted: 2024-01-13T17:13:53.357000+00:00
Original source
thanks
![[Image: image.png?ex=690c2f27&is=690adda7&hm=c10...882a92302&]](https://cdn.discordapp.com/attachments/1086807686571642900/1195778383930478723/image.png?ex=690c2f27&is=690adda7&hm=c1061cd34d6ca10b097cd737b013a90ca2061e97f11c97c5aa57a62882a92302&)
Archived author: Titi • Posted: 2024-01-13T17:16:23.263000+00:00
Original source
it's just chrRaces.dbc
![[Image: image.png?ex=690c2f27&is=690adda7&hm=c10...882a92302&]](https://cdn.discordapp.com/attachments/1086807686571642900/1195778383930478723/image.png?ex=690c2f27&is=690adda7&hm=c1061cd34d6ca10b097cd737b013a90ca2061e97f11c97c5aa57a62882a92302&)