I hate to ask this because it seems like a pretty simple thing to figure out but I've been banging my head here.
Trying to figure out the proper payload to send to
k_EMsgGCNameBaseItem
using this as a starting point
k_EMsgGCNameItem
I've used NetHook2 to capture the payload sent when naming a base item, as well as when naming a storage casket.
NameItem was 0100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000B873BC9706000000003F00 and NameBaseItem was 0100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCD63BD97060000003B000000003F00
I was able to extract the part of the payload that's the ID of the base item (3B000000) thing is I have no earthly idea what that is as a unsigned 64 int.
the base item ID is 17293822569102704699, which is longer than the typical item id (12345678901). There's no way that's what's being sent to GC because the id being sent is shorter: 8 bytes instead of 16.
The beginning of the id is also irrelevant honestly, it was the exact same on a different account (172938225691)
my latest attempt has been:
GlobalOffensive.prototype.nameBaseItem = function(nameTagId, baseItemId, name) {
let buffer = new ByteBuffer(14 + Buffer.byteLength(name), ByteBuffer.LITTLE_ENDIAN);
buffer.writeUint64(nameTagId);
buffer.writeUint64(baseItemId);
buffer.writeByte(0x00); // unknown
buffer.writeCString(name);
this._send(Language.NameBaseItem, null, buffer);
};
I've tried: 17293822569102704699, 02704699, 4699, and 4001 (the def_index) as the baseItemId.
Appreciate any help!