OldSchoolHack

Register / Login English

inVincibleLib

  • Category: Sourcecode
  • Developer:
  • Uploaded by: System
  • Uploaded at:
  • System: Windows
Download (2.92 MB)

VirusTotal Result: 0/57

virustotal

Description

But what exactly is inVincibleLib?

inVincibleLib is a static library for beginners which can be used to create external cheats for Counter-Strike: Global Offensive.
Every function is commented, making it easy for you to understand how to use them.


Features:

ClientManager - A class to perform various tasks around the client

Example:

CPP Code:
  1. using namespace inVincibleLib;
  2.  
  3. if (ClientManager::GetAttack2())
  4. std::cout << "+attack2 is currently active!" << std::endl;
  5.  
  6. if (ClientManager::SetJump(1))
  7. std::cout << "+jump" << std::endl;
  8.  
  9. if (ClientManager::SetJump(0))
  10. std::cout << "-jump" << std::endl;
EntityManager - A class to perform various tasks around Entities, specifically Players

Example:

CPP Code:
  1. using namespace inVincibleLib;
  2.  
  3. if(EntityManager::GetTeam(RandomEntityID) != LocalPlayerManager::GetTeam())
  4. std::cout << "The Entity is not in your Team!" << std::endl;
  5.  
  6. for (int i = 0; i < 64; i++)
  7. {
  8. if(!EntityManager::GetbSpotted(i))
  9. EntityManager::SetbSpotted(i, 1);
  10. }
LocalPlayerManager - A class to perform various tasks around the LocalPlayer

Example:

CPP Code:
  1. using namespace inVincibleLib;
  2.  
  3. if(EntityManager::GetTeam(LocalPlayer::GetCrosshairID() - 1) != LocalPlayerManager::GetTeam())
  4. {
  5. ClientManager::SetAttack(1);
  6. Sleep(10);
  7. ClientManager::SetAttack(0);
  8. }
  9.  
  10. if(LocalPlayerManager::SetViewAngles(MyNewViewAngles))
  11. std::cout << "ViewAngles successfully set!" << std::endl;
LogManager - A class to perform various tasks around logging information to a file

Example:

CPP Code:
  1. using namespace inVincibleLib;
  2.  
  3. #define LOGPATH "C:\\MyCoolNewHack\\Logs\\Log.txt"
  4.  
  5. LogManager::NewLog("This is a Log!", LOGPATH);
  6.  
  7. LogManager::NewWarning("This is a Warning!", LOGPATH);
  8.  
  9. LogManager::NewError("This is an Error!", LOGPATH);
  10.  
Output:

Only registered and activated users can see links.

MemoryManager - A class to perform various tasks around memory management

Example:

CPP Code:
  1. using namespace inVincibleLib;
  2.  
  3. while (!MemoryManager::AttachProcess("csgo.exe"))
  4. {
  5. LogManager::NewError("Couldn't find CS:GO!", LOGFILE);
  6. }
  7. LogManager::NewLog("Found CS:GO!", LOGFILE);
  8.  
  9. ResourceManager::ClientDLL = MemoryManager::GetModuleBaseAddress("client.dll");
  10.  
  11. if (ResourceManager::ClientDLL == 0x0)
  12. {
  13. LogManager::NewWarning("Couldn't find client.dll!", LOGFILE);
  14. }
  15. LogManager::NewLog("Found client.dll!", LOGFILE);
  16.  
  17. DWORD a = MemoryManager::ReadMemory<DWORD>(ResourceManager::ClientDLL + OffsetManager::m_dwLocalPlayer);
  18.  
  19. if (MemoryManager::WriteMemory<bool>(EntityManager::GetEntityBaseAddress(3) + OffsetManager::m_bSpotted, 1)
  20. std::cout << "Successfully set bSpotted of Entity 3 to 1!" << std::endl;
  21. else
  22. std::cout << "Error, use GetLastError to specify the exact error!" << std::endl;
  23.  
OffsetManager - A class to store all the current offsets

Example:

CPP Code:
  1. using namespace inVincibleLib;
  2.  
  3. OffsetManager::GetOffsets("C:\\MyCoolHack\\Config\\Offsets.ini");
  4.  
  5. DWORD a = MemoryManager::ReadMemory<DWORD>(ResourceManager::ClientDLL + OffsetManager::m_dwLocalPlayer);
ResourceManager - A class to store various variables

Example:

CPP Code:
  1. using namespace inVincibleLib;
  2.  
  3. DWORD a = MemoryManager::ReadMemory<DWORD>(ResourceManager::ClientDLL + OffsetManager::m_dwLocalPlayer);
Vector2 - A vector class
Vector3 - A vector class

Example Project:

CPP Code:
  1. #include "inVincibleLib.h"
  2.  
  3. #define LOGFILE "C:\\MyCoolPublicHack\\Configs\\Log.txt"
  4.  
  5. #define FL_ONGROUND (1<<0)
  6.  
  7. using namespace inVincibleLib;
  8.  
  9. int main()
  10. {
  11. LogManager::InitDirectories("C:\\", "\\MyCoolPublicHack", "\\Configs");
  12. LogManager::InitializeNewLogSection("MyCoolPublicHack", LOGFILE);
  13.  
  14. OffsetManager::GetOffsets("C:\\MyCoolPublicHack\\Configs\\Offsets.ini");
  15.  
  16. while (!MemoryManager::AttachProcess("csgo.exe"))
  17. LogManager::NewError("Couldn't find CS:GO!", LOGFILE);
  18.  
  19. LogManager::NewLog("Found CS:GO!", LOGFILE);
  20.  
  21. while (MemoryManager::GetModuleBaseAddress("client.dll") == 0x0)
  22. LogManager::NewWarning("Couldn't find client.dll!", LOGFILE);
  23.  
  24. LogManager::NewLog("Found client.dll!", LOGFILE);
  25.  
  26.  
  27. while ("This is copy pasted" != "true")
  28. {
  29. if (LocalPlayerManager::GetFlags() & FL_ONGROUND)
  30. {
  31. ClientManager::SetJump(1);
  32.  
  33. Sleep(50);
  34.  
  35. ClientManager::SetJump(0);
  36. }
  37.  
  38. Sleep(1);
  39. }
  40.  
  41. return 0;
  42. }
Important Functions:

If you plan on making a new Project with inVincibleLib, this is the usual start routine for you in order to use every function:

CPP Code:
  1. LogManager::InitDirectories("HardDrive", "SubFolder", "SubSubFolder"); // Checks if these directories already exist and creates them if neccessary
  2.  
  3. LogManager::InitializeNewLogSection("MyCoolPublicHack", LOGFILE); // Seperates the old Logs from the new ones
  4.  
  5. OffsetManager::GetOffsets("C:\\MyCoolPublicHack\\Configs\\Offsets.ini"); // Gets the Offsets from an .ini file and saves them into variables to use
  6.  
  7. MemoryManager::AttachProcess("csgo.exe"); // Gets a handle to csgo.exe
  8.  
  9. ResourceManager::ClientDLL = MemoryManager::GetModuleBaseAddress("client.dll"); // Gets the Base Address of Client.dll // Important!
  10.  
  11. ResourceManager::EngineDLL = MemoryManager::GetModuleBaseAddress("engine.dll"); // Gets the Base Address of Engine.dll // Important!
  12.  


How to install / use:



Planned features:


  • Pattern Scanning to get Offsets dynamically
  • BSP Parsing
  • Description for every Offset
  • More functions based on requests

Download inVincibleLib