Guest User

Untitled

a guest
Feb 25th, 2026
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.42 KB | None | 0 0
  1. InstanceBase.cpp ekle
  2. #ifdef __AUTO_HUNT__
  3. bool CInstanceBase::IsAutoHuntGhostModeActive()
  4. {
  5.     return CPythonPlayer::Instance().GetAutoHuntStatus();
  6. }
  7. #endif
  8. /////////////////////////////////////////////////////////////
  9. InstanceBase.h ekle
  10. #ifdef __AUTO_HUNT__
  11.         bool IsAutoHuntGhostModeActive();
  12. #endif
  13. /////////////////////////////////////////////////////////////
  14. InstanceBaseBattle.cpp arat ekle
  15.  
  16. BOOL CInstanceBase::CheckAdvancing()
  17. {
  18. Buraya ekle
  19. ..
  20. #ifdef __AUTO_HUNT__
  21.     if (IsPC() && IsAutoHuntGhostModeActive() && IsWalking()) // Yürürken
  22.     //if (IsPC() && IsAutoHuntGhostModeActive() && (IsWalking() || IsAttacking())) // Saldırı Yaparken
  23.         return false;
  24. #endif
  25. ////////////////////////////////////////////////////////////////////////////////////////////////////////
  26. PythonBackground.cpp // arat ekle
  27.  
  28. bool CPythonBackground::CheckAdvancing(CInstanceBase * pInstance) // ORHAN
  29. {
  30. buraya ekle
  31. ...
  32. #ifdef __AUTO_HUNT__
  33.     if (pInstance && pInstance->IsPC() && pInstance->IsAutoHuntGhostModeActive() && pInstance->IsWalking()) // yürürken
  34.     //if (pInstance && pInstance->IsPC() && pInstance->IsAutoHuntGhostModeActive() && (pInstance->IsWalking() || pInstance->IsAttacking())) // Saldırı yaparken
  35.         return false;
  36. #endif
  37. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  38. dry oto av // bunlara ekle klavye ve mause kontrolleri de eklenmesi gerekiyor.
  39.  
Advertisement
Add Comment
Please, Sign In to add comment