Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Does anyone know if Languages are limited by client?

[DiscordArchive] Does anyone know if Languages are limited by client?

[DiscordArchive] Does anyone know if Languages are limited by client?

rektbyfaith
Administrator
0
09-28-2022, 05:57 PM
#1
Archived author: Deleted User • Posted: 2022-09-28T17:57:46.615000+00:00
Original source

Does anyone know if Languages are limited by client?
```
#define LANGUAGES_COUNT 19
```
I'm trynna add a new Language but the function `void WorldSession::HandleMessagechatOpcode(WorldPacket& recvData)` is receiving a Packet with trash data.
```
recvData >> type;
recvData >> lang;
```
The type is received as 7 (Whisper) and the lang is received as MAX UINT32 VALUE (4,294,967,295 Or some like that).

I guess the client function that sends the packet is hardcoding the language count?
rektbyfaith
09-28-2022, 05:57 PM #1

Archived author: Deleted User • Posted: 2022-09-28T17:57:46.615000+00:00
Original source

Does anyone know if Languages are limited by client?
```
#define LANGUAGES_COUNT 19
```
I'm trynna add a new Language but the function `void WorldSession::HandleMessagechatOpcode(WorldPacket& recvData)` is receiving a Packet with trash data.
```
recvData >> type;
recvData >> lang;
```
The type is received as 7 (Whisper) and the lang is received as MAX UINT32 VALUE (4,294,967,295 Or some like that).

I guess the client function that sends the packet is hardcoding the language count?

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