• Ну и что вы думаете? Мы взяли и создали свой собственный чат, с блекджеком и шлюхами, теперь все легенды в одном месте: даже те 1000 человек, которых мы забанили в старом чате 🫡 Будем публиковать там очень интересные подробности нового дизайна форума, oh yeah

    Вступай и становись легендой, пока это не стало поздно: жмякай на меня, ток не сильно(

Вопрос Guys how can i get all the chat messages ?

Начинающий
Статус
Оффлайн
Регистрация
11 Фев 2023
Сообщения
65
Реакции[?]
0
Поинты[?]
0
i wanna get the chat messages to make auto translation feature , how can i achieve something like that ?
 
Начинающий
Статус
Оффлайн
Регистрация
12 Мар 2025
Сообщения
18
Реакции[?]
4
Поинты[?]
4K
You can hook CreateNetChannel (NetworkSystemVersion001 26'th function) and then PostReceivedNetMessage.

C++:
INetChannel* CreateNetChannel(CNetworkSystem* thisptr, int unk, void* ns_addr, const char* str, unsigned int uUnk, unsigned int uUnk2) {
    INetChannel* ret = oCreateNetChannel(thisptr, unk, ns_addr, str, uUnk, uUnk2);
   
    // Here you can hook ret's 86's function
}

// ......
void PostReceivedNetMessage(INetChannel* thisptr, NetMessageHandle_t* messageHandle, google::protobuf::Message* msg, NetChannelBufType_t const* type, int bits) {
// ......
}
(Indexes could be outdated)

But you have to deal w\ google::protobuf and it's kinda headache.
 
Начинающий
Статус
Оффлайн
Регистрация
11 Фев 2023
Сообщения
65
Реакции[?]
0
Поинты[?]
0
the problems i had before was the protobuff there is no other ways to do that without protobuff ?
 
Похожие темы
Сверху Снизу