there is a message id called every time you press tab. so you need to use s2s function and send it every sec.
After killing the player, the data is not refreshed and you must press TAB
Only after pressing TAB
Player data is refreshed
Including hp pos.....
i need help
Thanks for the help
Can the S2S function provide code
I need your help
Last edited by kingcame; 08-24-2021 at 06:46 PM.
there is a message id called every time you press tab. so you need to use s2s function and send it every sec.
kingcame (08-24-2021)
i think can't anyone share s2s function in here
but i can share idea
any help P.M MeCode:LTRESULT LTClient::SendToServer(ILTMessage_Read* pMsg, uint32 flags) { typedef signed int(__thiscall* SendToServerFn)(void*, ILTMessage_Read* pMsg, uint32 flags); return GetVFunc<SendToServerFn>(this, 127)(this, pMsg, flags);// 0x1F0 = 124 }
My Own Hack!!!
Code:void CPacket::SendPacketScoreInfo() { GAMEPROTO_CS_SCOREINFO_ONOFF PacketScoreInfo; PacketScoreInfo.param1 = 1; PacketScoreInfo.param2 = 0; PacketScoreInfo.SetPacketSequence((*GetInterface().Sequence)++); const CLTMsgRef_Write MessageScoreInfo = GetEngine().CreateMessage(); if (MessageScoreInfo != nullptr) { MessageScoreInfo->Writeuint16(MSG_CS_SCOREINFO_ONOFF); PacketScoreInfo.WriteData(MessageScoreInfo); if (Engine::SendToServer != nullptr) { Engine::SendToServer( MessageScoreInfo->Read(), MESSAGE_GUARANTEED ); } } }