Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. Находишь эту хуйню
  2. void MsgFunc_ServerRankRevealAll()
  3. {
  4. using tServerRankRevealAllFn = bool(__cdecl*)(int*);
  5. static tServerRankRevealAllFn ServerRankRevealAll = 0;
  6.  
  7. if (!ServerRankRevealAll)
  8. {
  9. ServerRankRevealAll = (tServerRankRevealAllFn)(
  10. CSX::Memory::FindPattern(CLIENT_DLL, "55 8B EC 8B 0D ? ? ? ? 85 C9 75 ? A1 ? ? ? ? 68 ? ? ? ? 8B 08 8B 01 FF 50 ? 85 C0 74 ? 8B C8 E8 ? ? ? ? 8B C8 EB ? 33 C9 89 0D ? ? ? ? 8B 45 ? FF 70 ? E8 ? ? ? ? B0 ? 5D", 0));
  11. }
  12.  
  13. if (ServerRankRevealAll)
  14. {
  15. int fArray[3] = { 0,0,0 };
  16. ServerRankRevealAll(fArray);
  17. }
  18. } //до выяснений
  19.  
  20. void CEsp::OnCreateMove(CUserCmd* cmd)
  21. {
  22. if (Settings::Esp::esp_Rank && cmd->buttons & IN_SCORE)
  23. MsgFunc_ServerRankRevealAll();
  24.  
  25. //g_pEsp->SoundEsp.Update();
  26. }
  27.  
  28. и свапаешь ее на эту хуйню
  29.  
  30. //тест ранк хуйни
  31. void MsgFunc_ServerRankRevealAll() { using tServerRankRevealAllFn = bool(__cdecl*)(int*); static tServerRankRevealAllFn ServerRankRevealAll = 0; if (!ServerRankRevealAll) { ServerRankRevealAll = (tServerRankRevealAllFn)(CSX::Memory::FindPattern(CLIENT_DLL, "55 8B EC 8B 0D ? ? ? ? 85 C9 75 ? A1 ? ? ? ? 68 ? ? ? ? 8B 08 8B 01 FF 50 ? 85 C0 74 ? 8B C8 E8 ? ? ? ? 8B C8 EB ? 33 C9 89 0D ? ? ? ? 8B 45 ? FF 70 ? E8 ? ? ? ? B0 ? 5D", 0)); }if (ServerRankRevealAll) { int fArray[3] = { 0,0,0 }; ServerRankRevealAll(fArray); } }
  32.  
  33.  
  34. void CEsp::OnCreateMove(CUserCmd* cmd)
  35. {
  36. if (Settings::Misc::antiuntrusted)
  37. {
  38. return;
  39. }
  40. else
  41. {
  42.  
  43. if (Settings::Esp::esp_Rank && cmd->buttons & IN_SCORE)
  44. MsgFunc_ServerRankRevealAll();
  45. g_pEsp->SoundEsp.Update();
  46. }
  47.  
  48.  
  49. }
  50.  
  51. Под сдк переписал, работать должно (наверное)
  52. Наверное у тебя встал вопрос, почему был закоменчен сауд есп? Забей, просто замени xd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement