OldSchoolHack

Registrieren / Anmelden Deutsch

Rainbow Six: Siege SDK

  • Kategorie: Sourcecode
  • Entwickler:
  • Hochgeladen von: System
  • Hinzugefügt am:
  • System: Windows
Download (4.72 KB)

VirusTotal Ergebnis: 0/55

virustotal

Beschreibung

The simple SDK for internal R6S hack.

Entity class at the moment has only 2 functions
TEXT Code:
  1.  
  2. Vector3& Entity::GetPosition();
  3. Vector3& Entity::GetHeadPosition();
  4.  

Example of usage with my renderer:
TEXT Code:
  1.  
  2. #include "Engine/GameManager.h"
  3. #include "Engine/GameRenderer.h"
  4.  
  5. auto pGameManager = Engine::GameManager::GetInstance();
  6. auto pCamera = Engine::GameRenderer::GetInstance()->GetCamera();
  7.  
  8. for (uint64_t i = 0; i < pGameManager->GetEntities().GetSize(); i++)
  9. {
  10. Engine::Entity* pEntity = pGameManager->GetEntities()[i];
  11. Engine::Vector3 screenPosition = pCamera->WorldToScreen(pEntity->GetPosition());
  12. float distance = pCamera->GetViewTranslation().Distance(pEntity->GetPosition());
  13.  
  14. if (screenPosition.z >= 1.0f)
  15. {
  16. DrawText(m_pFont,
  17. TextFormat(META_STRING("Entity [%.0f m]"), distance),
  18. ImVec2(screenPosition.x, screenPosition.y), 16.0f, 0xFF047BF9, true);
  19. }
  20. }
  21.  

Note: Camera.cpp uses ImGui to get display size.
TEXT Code:
  1.  
  2. ImGuiIO& io = ImGui::GetIO();
  3.  
  4. return *(new Vector3(
  5. (io.DisplaySize.x / 2) * (1 + x / GetViewFovX() / z),
  6. (io.DisplaySize.y / 2) * (1 - y / GetViewFovY() / z),
  7. z));
  8.  

Download Rainbow Six: Siege SDK