[DiscordArchive] I mean it still works, no?
[DiscordArchive] I mean it still works, no?
Archived author: MaxtorCoder • Posted: 2024-08-17T16:25:53.171000+00:00
Original source
I mean it still works, no?
Archived author: Tea • Posted: 2024-08-17T16:25:57.699000+00:00
Original source
you could get that logic if you analyzed code but you are not going to be able to do it with just hooking the client functions
Archived author: MaxtorCoder • Posted: 2024-08-17T16:26:04.134000+00:00
Original source
^
Archived author: MaxtorCoder • Posted: 2024-08-17T16:26:58.125000+00:00
Original source
Tbf I thought you supported for loops and conditions
Archived author: Tea • Posted: 2024-08-17T16:27:18.704000+00:00
Original source
nope
Archived author: _mrfade_ • Posted: 2024-08-17T16:29:38.533000+00:00
Original source
Thanks for the help I'll try do a little more digging around
Archived author: MaxtorCoder • Posted: 2024-08-17T16:30:38.169000+00:00
Original source
```c
void __fastcall sub_1408CADB0(ClientCraftingOrderUpdateState::Inner *a1, CDataStore *a2)
{
__int64 v4; // [rsp+30h] [rbp+10h] BYREF
v4 = 0LL;
CDataStore::ReadUInt64(a2, &v4);
a1->OrderID = v4;
LOBYTE(v4) = 0;
CDataStore::ReadUInt8(a2, &v4);
a1->PrevState = v4;
LOBYTE(v4) = 0;
CDataStore::ReadUInt8(a2, &v4);
a1->NewState = v4;
SmartGuid::Unpack(a2, &a1->CrafterGUID);
SmartGuid::Unpack(a2, &a1->PlayerGUID);
LODWORD(v4) = 0;
CDataStore::ReadInt32(a2, &v4);
a1->SkillLineAbilityID = v4;
LODWORD(v4) = 0;
CDataStore::ReadInt32(a2, &v4);
a1->CraftingQualityID = v4;
LOBYTE(v4) = 0;
CDataStore::ReadUInt8(a2, &v4);
a1->byte38 = v4;
LODWORD(v4) = 0;
CDataStore::ReadInt32(a2, &v4);
a1->dword3C = v4;
LODWORD(v4) = 0;
CDataStore::ReadInt32(a2, &v4);
a1->dword40 = v4;
}
```
Archived author: MaxtorCoder • Posted: 2024-08-17T16:30:40.202000+00:00
Original source
Example
Archived author: _mrfade_ • Posted: 2024-08-17T16:32:42.571000+00:00
Original source
Ye that makes a bit more sense thanks
Archived author: _mrfade_ • Posted: 2024-08-17T16:39:55.218000+00:00
Original source
So apart from reversing the structures. If I wanted to just read the data from the CDatastore I could basically just copy what Wpp is doing ?
https://github.com/TrinityCore/TrinityCo...ets.h#L582
I found an older source of a sniffer that claims to support the Wpp and they just seem to dump out the byte buffer.
https://github.com/Anubisss/SzimatSzatyo...ump.h#L250