Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] mmm so this is what I am working with atm :

[DiscordArchive] mmm so this is what I am working with atm :

[DiscordArchive] mmm so this is what I am working with atm :

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
02-22-2024, 05:34 PM
#1
Archived author: _mrfade_ • Posted: 2024-02-22T17:34:37.704000+00:00
Original source

mmm so this is what I am working with atm :
```cpp
char __fastcall NetClient:TonguerocessMessage(__int64 a1, unsigned int a2, unsigned int a3, CDatastore* CDatastore, __int64 a5)
```
I've managed to hook that so far, but I am struggling to read the Opcode from the CDatastore wow just crashes out after :

```cpp
std::cout << "Opcode : " << std::hex << *(WORD*)(CData->m_buffer + 0x10) << std::endl;
```

The above is how I read it out of NetSend2 but perhaps I'll have to reverse the CDatastore::Get ?
rektbyfaith
02-22-2024, 05:34 PM #1

Archived author: _mrfade_ • Posted: 2024-02-22T17:34:37.704000+00:00
Original source

mmm so this is what I am working with atm :
```cpp
char __fastcall NetClient:TonguerocessMessage(__int64 a1, unsigned int a2, unsigned int a3, CDatastore* CDatastore, __int64 a5)
```
I've managed to hook that so far, but I am struggling to read the Opcode from the CDatastore wow just crashes out after :

```cpp
std::cout << "Opcode : " << std::hex << *(WORD*)(CData->m_buffer + 0x10) << std::endl;
```

The above is how I read it out of NetSend2 but perhaps I'll have to reverse the CDatastore::Get ?

rektbyfaith
Administrator
0
02-22-2024, 05:37 PM
#2
Archived author: _mrfade_ • Posted: 2024-02-22T17:37:24.323000+00:00
Original source

The sub that I believe is ProcessMessage
ProcessMessage.html
rektbyfaith
02-22-2024, 05:37 PM #2

Archived author: _mrfade_ • Posted: 2024-02-22T17:37:24.323000+00:00
Original source

The sub that I believe is ProcessMessage
ProcessMessage.html

rektbyfaith
Administrator
0
02-22-2024, 05:50 PM
#3
Archived author: MaxtorCoder • Posted: 2024-02-22T17:50:42.303000+00:00
Original source

It's at 0x18 iirc
rektbyfaith
02-22-2024, 05:50 PM #3

Archived author: MaxtorCoder • Posted: 2024-02-22T17:50:42.303000+00:00
Original source

It's at 0x18 iirc

rektbyfaith
Administrator
0
02-22-2024, 05:51 PM
#4
Archived author: MaxtorCoder • Posted: 2024-02-22T17:51:19.570000+00:00
Original source

Nvm that is a custom struct
rektbyfaith
02-22-2024, 05:51 PM #4

Archived author: MaxtorCoder • Posted: 2024-02-22T17:51:19.570000+00:00
Original source

Nvm that is a custom struct

rektbyfaith
Administrator
0
02-22-2024, 05:51 PM
#5
Archived author: MaxtorCoder • Posted: 2024-02-22T17:51:20.904000+00:00
Original source

<:Kappa:857703209085435914>
rektbyfaith
02-22-2024, 05:51 PM #5

Archived author: MaxtorCoder • Posted: 2024-02-22T17:51:20.904000+00:00
Original source

<:Kappa:857703209085435914>

rektbyfaith
Administrator
0
02-22-2024, 05:51 PM
#6
Archived author: _mrfade_ • Posted: 2024-02-22T17:51:35.688000+00:00
Original source

oh ye mb
rektbyfaith
02-22-2024, 05:51 PM #6

Archived author: _mrfade_ • Posted: 2024-02-22T17:51:35.688000+00:00
Original source

oh ye mb

rektbyfaith
Administrator
0
02-22-2024, 05:51 PM
#7
Archived author: _mrfade_ • Posted: 2024-02-22T17:51:37.413000+00:00
Original source

```
typedef struct {
uint64_t* vmt; // 0x0
uint8_t* m_buffer; // 0x8
unsigned int m_base; // 0x10
int m_alloc; // 0x14
unsigned int m_size; // 0x18
unsigned int m_read; // 0x1C
} CDataStore;
```
rektbyfaith
02-22-2024, 05:51 PM #7

Archived author: _mrfade_ • Posted: 2024-02-22T17:51:37.413000+00:00
Original source

```
typedef struct {
uint64_t* vmt; // 0x0
uint8_t* m_buffer; // 0x8
unsigned int m_base; // 0x10
int m_alloc; // 0x14
unsigned int m_size; // 0x18
unsigned int m_read; // 0x1C
} CDataStore;
```

rektbyfaith
Administrator
0
02-22-2024, 05:51 PM
#8
Archived author: MaxtorCoder • Posted: 2024-02-22T17:51:54.478000+00:00
Original source

It's at the start of the buffer it seems
rektbyfaith
02-22-2024, 05:51 PM #8

Archived author: MaxtorCoder • Posted: 2024-02-22T17:51:54.478000+00:00
Original source

It's at the start of the buffer it seems

rektbyfaith
Administrator
0
02-22-2024, 05:52 PM
#9
Archived author: MaxtorCoder • Posted: 2024-02-22T17:52:13.024000+00:00
Original source

So at the start of the buffer is the opcode and then payload data
rektbyfaith
02-22-2024, 05:52 PM #9

Archived author: MaxtorCoder • Posted: 2024-02-22T17:52:13.024000+00:00
Original source

So at the start of the buffer is the opcode and then payload data

rektbyfaith
Administrator
0
02-22-2024, 05:52 PM
#10
Archived author: MaxtorCoder • Posted: 2024-02-22T17:52:14.151000+00:00
Original source

rektbyfaith
02-22-2024, 05:52 PM #10

Archived author: MaxtorCoder • Posted: 2024-02-22T17:52:14.151000+00:00
Original source

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