Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] So internally wow mainly has a wrapper for all the CDatastore stuff namely Jam I am busy messing aro

[DiscordArchive] So internally wow mainly has a wrapper for all the CDatastore stuff namely Jam I am busy messing aro

[DiscordArchive] So internally wow mainly has a wrapper for all the CDatastore stuff namely Jam I am busy messing aro

rektbyfaith
Administrator
0
09-04-2024, 02:13 PM
#1
Archived author: _mrfade_ • Posted: 2024-09-04T14:13:39.006000+00:00
Original source

So internally wow mainly has a wrapper for all the CDatastore stuff namely Jam I am busy messing around with it and it's pretty interesting so far :
```cpp
struct ReClaimCorpse : Packet {
GUID Corpse = { 0,0 };
ReClaimCorpse(GUID GUID)
{
this->VMT = reinterpret_cast<void*>(base + RECLAIM_CORPSE_VMT);
this->Corpse = GUID;
}
};
```

I can't really seem to figure out the jam structures for more complex packets like movements or anything like that, I am wondering if you guys reverse this info some how ?
rektbyfaith
09-04-2024, 02:13 PM #1

Archived author: _mrfade_ • Posted: 2024-09-04T14:13:39.006000+00:00
Original source

So internally wow mainly has a wrapper for all the CDatastore stuff namely Jam I am busy messing around with it and it's pretty interesting so far :
```cpp
struct ReClaimCorpse : Packet {
GUID Corpse = { 0,0 };
ReClaimCorpse(GUID GUID)
{
this->VMT = reinterpret_cast<void*>(base + RECLAIM_CORPSE_VMT);
this->Corpse = GUID;
}
};
```

I can't really seem to figure out the jam structures for more complex packets like movements or anything like that, I am wondering if you guys reverse this info some how ?

rektbyfaith
Administrator
0
09-04-2024, 02:18 PM
#2
Archived author: Fabian • Posted: 2024-09-04T14:18:29.840000+00:00
Original source

There is a whole video about jam itself too. But in general its simply a struct holding the required fields which gets serialized. Thats all. No big magic
rektbyfaith
09-04-2024, 02:18 PM #2

Archived author: Fabian • Posted: 2024-09-04T14:18:29.840000+00:00
Original source

There is a whole video about jam itself too. But in general its simply a struct holding the required fields which gets serialized. Thats all. No big magic

rektbyfaith
Administrator
0
09-04-2024, 02:19 PM
#3
Archived author: Tea • Posted: 2024-09-04T14:19:49.903000+00:00
Original source

only fools try to fix packet structures without reversing
rektbyfaith
09-04-2024, 02:19 PM #3

Archived author: Tea • Posted: 2024-09-04T14:19:49.903000+00:00
Original source

only fools try to fix packet structures without reversing

rektbyfaith
Administrator
0
09-04-2024, 02:19 PM
#4
Archived author: Tea • Posted: 2024-09-04T14:19:56.207000+00:00
Original source

so yes, obviously
rektbyfaith
09-04-2024, 02:19 PM #4

Archived author: Tea • Posted: 2024-09-04T14:19:56.207000+00:00
Original source

so yes, obviously

rektbyfaith
Administrator
0
09-04-2024, 02:20 PM
#5
Archived author: _mrfade_ • Posted: 2024-09-04T14:20:19.085000+00:00
Original source

Ye I think I found that video a while back. Just wondering if there was a common way of getting the structures, I've tried working backwards from the info in TC and PacketParser to define my structures but the byte buffer in the end is always a mess.
rektbyfaith
09-04-2024, 02:20 PM #5

Archived author: _mrfade_ • Posted: 2024-09-04T14:20:19.085000+00:00
Original source

Ye I think I found that video a while back. Just wondering if there was a common way of getting the structures, I've tried working backwards from the info in TC and PacketParser to define my structures but the byte buffer in the end is always a mess.

rektbyfaith
Administrator
0
09-04-2024, 02:27 PM
#6
Archived author: _mrfade_ • Posted: 2024-09-04T14:27:37.396000+00:00
Original source

Are you reversing the serializing method and working it backwards or do the jam structures get initialized somewhere ?
rektbyfaith
09-04-2024, 02:27 PM #6

Archived author: _mrfade_ • Posted: 2024-09-04T14:27:37.396000+00:00
Original source

Are you reversing the serializing method and working it backwards or do the jam structures get initialized somewhere ?

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