Skip to content

Commit

Permalink
For CS2 ver[8934826]
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteCorum committed May 30, 2024
1 parent 76d82f3 commit a49f00d
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 96 deletions.
2 changes: 1 addition & 1 deletion DragonBurn/Offsets.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace offsetsInput = cs2_dumper::offsets::inputsystem_dll;

namespace Offset
{
inline long long CS2ver = 8926190;
inline long long CS2ver = 8934826;

//https://github.com/a2x/cs2-dumper/blob/main/output/offsets.hpp
inline DWORD EntityList = offsets::dwEntityList;
Expand Down
137 changes: 64 additions & 73 deletions DragonBurn/OffsetsList/Client.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-05-25 01:48:22.657979400 UTC
// 2024-05-30 01:25:57.219187800 UTC

#pragma once

#include <cstddef>
//#include <cstdint>

namespace cs2_dumper {
namespace schemas {
Expand Down Expand Up @@ -199,13 +198,9 @@ namespace cs2_dumper {
namespace C_WeaponM4A1 {
}
// Parent: C_EconEntity
// Fields count: 2
//
// Metadata:
// NetworkVarNames: m_bShouldGlow (bool)
// Fields count: 1
namespace C_Item {
constexpr std::ptrdiff_t m_bShouldGlow = 0x15B0; // bool
constexpr std::ptrdiff_t m_pReticleHintTextName = 0x15B1; // char[256]
constexpr std::ptrdiff_t m_pReticleHintTextName = 0x15B0; // char[256]
}
// Parent: C_SoundEventEntity
// Fields count: 1
Expand Down Expand Up @@ -764,21 +759,21 @@ namespace cs2_dumper {
// NetworkVarNames: m_flNextHoldFrac (float)
// NetworkVarNames: m_hSwitchToWeaponAfterThrow (CHandle<CCSWeaponBase>)
namespace C_BaseCSGrenade {
constexpr std::ptrdiff_t m_bClientPredictDelete = 0x1A80; // bool
constexpr std::ptrdiff_t m_bRedraw = 0x1A81; // bool
constexpr std::ptrdiff_t m_bIsHeldByPlayer = 0x1A82; // bool
constexpr std::ptrdiff_t m_bPinPulled = 0x1A83; // bool
constexpr std::ptrdiff_t m_bJumpThrow = 0x1A84; // bool
constexpr std::ptrdiff_t m_bThrowAnimating = 0x1A85; // bool
constexpr std::ptrdiff_t m_fThrowTime = 0x1A88; // GameTime_t
constexpr std::ptrdiff_t m_flThrowStrength = 0x1A8C; // float32
constexpr std::ptrdiff_t m_flThrowStrengthApproach = 0x1A90; // float32
constexpr std::ptrdiff_t m_fDropTime = 0x1A94; // GameTime_t
constexpr std::ptrdiff_t m_fPinPullTime = 0x1A98; // GameTime_t
constexpr std::ptrdiff_t m_bJustPulledPin = 0x1A9C; // bool
constexpr std::ptrdiff_t m_nNextHoldTick = 0x1AA0; // GameTick_t
constexpr std::ptrdiff_t m_flNextHoldFrac = 0x1AA4; // float32
constexpr std::ptrdiff_t m_hSwitchToWeaponAfterThrow = 0x1AA8; // CHandle<C_CSWeaponBase>
constexpr std::ptrdiff_t m_bClientPredictDelete = 0x1A60; // bool
constexpr std::ptrdiff_t m_bRedraw = 0x1A61; // bool
constexpr std::ptrdiff_t m_bIsHeldByPlayer = 0x1A62; // bool
constexpr std::ptrdiff_t m_bPinPulled = 0x1A63; // bool
constexpr std::ptrdiff_t m_bJumpThrow = 0x1A64; // bool
constexpr std::ptrdiff_t m_bThrowAnimating = 0x1A65; // bool
constexpr std::ptrdiff_t m_fThrowTime = 0x1A68; // GameTime_t
constexpr std::ptrdiff_t m_flThrowStrength = 0x1A6C; // float32
constexpr std::ptrdiff_t m_flThrowStrengthApproach = 0x1A70; // float32
constexpr std::ptrdiff_t m_fDropTime = 0x1A74; // GameTime_t
constexpr std::ptrdiff_t m_fPinPullTime = 0x1A78; // GameTime_t
constexpr std::ptrdiff_t m_bJustPulledPin = 0x1A7C; // bool
constexpr std::ptrdiff_t m_nNextHoldTick = 0x1A80; // GameTick_t
constexpr std::ptrdiff_t m_flNextHoldFrac = 0x1A84; // float32
constexpr std::ptrdiff_t m_hSwitchToWeaponAfterThrow = 0x1A88; // CHandle<C_CSWeaponBase>
}
// Parent: C_FuncBrush
// Fields count: 8
Expand Down Expand Up @@ -1363,8 +1358,8 @@ namespace cs2_dumper {
// NetworkVarNames: m_SequenceCompleteTimer (CountdownTimer)
// NetworkVarNames: m_bRedraw (bool)
namespace C_WeaponBaseItem {
constexpr std::ptrdiff_t m_SequenceCompleteTimer = 0x1A80; // CountdownTimer
constexpr std::ptrdiff_t m_bRedraw = 0x1A98; // bool
constexpr std::ptrdiff_t m_SequenceCompleteTimer = 0x1A60; // CountdownTimer
constexpr std::ptrdiff_t m_bRedraw = 0x1A78; // bool
}
// Parent: None
// Fields count: 21
Expand Down Expand Up @@ -1989,12 +1984,12 @@ namespace cs2_dumper {
// NetworkVarNames: m_iBurstShotsRemaining (int)
// NetworkVarNames: m_bNeedsBoltAction (bool)
namespace C_CSWeaponBaseGun {
constexpr std::ptrdiff_t m_zoomLevel = 0x1A80; // int32
constexpr std::ptrdiff_t m_iBurstShotsRemaining = 0x1A84; // int32
constexpr std::ptrdiff_t m_iSilencerBodygroup = 0x1A88; // int32
constexpr std::ptrdiff_t m_silencedModelIndex = 0x1A98; // int32
constexpr std::ptrdiff_t m_inPrecache = 0x1A9C; // bool
constexpr std::ptrdiff_t m_bNeedsBoltAction = 0x1A9D; // bool
constexpr std::ptrdiff_t m_zoomLevel = 0x1A60; // int32
constexpr std::ptrdiff_t m_iBurstShotsRemaining = 0x1A64; // int32
constexpr std::ptrdiff_t m_iSilencerBodygroup = 0x1A68; // int32
constexpr std::ptrdiff_t m_silencedModelIndex = 0x1A78; // int32
constexpr std::ptrdiff_t m_inPrecache = 0x1A7C; // bool
constexpr std::ptrdiff_t m_bNeedsBoltAction = 0x1A7D; // bool
}
// Parent: C_BaseEntity
// Fields count: 4
Expand Down Expand Up @@ -2408,17 +2403,17 @@ namespace cs2_dumper {
// NetworkVarNames: m_bIsPlantingViaUse (bool)
// NetworkVarNames: m_entitySpottedState (EntitySpottedState_t)
namespace C_C4 {
constexpr std::ptrdiff_t m_szScreenText = 0x1A80; // char[32]
constexpr std::ptrdiff_t m_activeLightParticleIndex = 0x1AA0; // ParticleIndex_t
constexpr std::ptrdiff_t m_eActiveLightEffect = 0x1AA4; // C4LightEffect_t
constexpr std::ptrdiff_t m_bStartedArming = 0x1AA8; // bool
constexpr std::ptrdiff_t m_fArmedTime = 0x1AAC; // GameTime_t
constexpr std::ptrdiff_t m_bBombPlacedAnimation = 0x1AB0; // bool
constexpr std::ptrdiff_t m_bIsPlantingViaUse = 0x1AB1; // bool
constexpr std::ptrdiff_t m_entitySpottedState = 0x1AB8; // EntitySpottedState_t
constexpr std::ptrdiff_t m_nSpotRules = 0x1AD0; // int32
constexpr std::ptrdiff_t m_bPlayedArmingBeeps = 0x1AD4; // bool[7]
constexpr std::ptrdiff_t m_bBombPlanted = 0x1ADB; // bool
constexpr std::ptrdiff_t m_szScreenText = 0x1A60; // char[32]
constexpr std::ptrdiff_t m_activeLightParticleIndex = 0x1A80; // ParticleIndex_t
constexpr std::ptrdiff_t m_eActiveLightEffect = 0x1A84; // C4LightEffect_t
constexpr std::ptrdiff_t m_bStartedArming = 0x1A88; // bool
constexpr std::ptrdiff_t m_fArmedTime = 0x1A8C; // GameTime_t
constexpr std::ptrdiff_t m_bBombPlacedAnimation = 0x1A90; // bool
constexpr std::ptrdiff_t m_bIsPlantingViaUse = 0x1A91; // bool
constexpr std::ptrdiff_t m_entitySpottedState = 0x1A98; // EntitySpottedState_t
constexpr std::ptrdiff_t m_nSpotRules = 0x1AB0; // int32
constexpr std::ptrdiff_t m_bPlayedArmingBeeps = 0x1AB4; // bool[7]
constexpr std::ptrdiff_t m_bBombPlanted = 0x1ABB; // bool
}
// Parent: C_BaseModelEntity
// Fields count: 13
Expand Down Expand Up @@ -3913,7 +3908,7 @@ namespace cs2_dumper {
// Metadata:
// NetworkVarNames: m_flDisplayHealth (float)
namespace C_WeaponShield {
constexpr std::ptrdiff_t m_flDisplayHealth = 0x1AA0; // float32
constexpr std::ptrdiff_t m_flDisplayHealth = 0x1A80; // float32
}
// Parent: C_PointClientUIWorldPanel
// Fields count: 1
Expand Down Expand Up @@ -4924,8 +4919,8 @@ namespace cs2_dumper {
// NetworkVarNames: m_OwningPlayer (CHandle<CCSPlayerPawn>)
// NetworkVarNames: m_KillingPlayer (CHandle<CCSPlayerPawn>)
namespace C_ItemDogtags {
constexpr std::ptrdiff_t m_OwningPlayer = 0x16B8; // CHandle<C_CSPlayerPawn>
constexpr std::ptrdiff_t m_KillingPlayer = 0x16BC; // CHandle<C_CSPlayerPawn>
constexpr std::ptrdiff_t m_OwningPlayer = 0x16B0; // CHandle<C_CSPlayerPawn>
constexpr std::ptrdiff_t m_KillingPlayer = 0x16B4; // CHandle<C_CSPlayerPawn>
}
// Parent: C_CSGO_TeamPreviewCamera
// Fields count: 0
Expand Down Expand Up @@ -4969,8 +4964,8 @@ namespace cs2_dumper {
// Metadata:
// NetworkVarNames: m_fFireTime (GameTime_t)
namespace C_WeaponTaser {
constexpr std::ptrdiff_t m_fFireTime = 0x1AA0; // GameTime_t
constexpr std::ptrdiff_t m_nLastAttackTick = 0x1AA4; // int32
constexpr std::ptrdiff_t m_fFireTime = 0x1A80; // GameTime_t
constexpr std::ptrdiff_t m_nLastAttackTick = 0x1A84; // int32
}
// Parent: C_CSWeaponBase
// Fields count: 2
Expand All @@ -4979,8 +4974,8 @@ namespace cs2_dumper {
// NetworkVarNames: m_bPlayingUninterruptableAct (bool)
// NetworkVarNames: m_nUninterruptableActivity (PlayerAnimEvent_t)
namespace C_Fists {
constexpr std::ptrdiff_t m_bPlayingUninterruptableAct = 0x1A80; // bool
constexpr std::ptrdiff_t m_nUninterruptableActivity = 0x1A84; // PlayerAnimEvent_t
constexpr std::ptrdiff_t m_bPlayingUninterruptableAct = 0x1A60; // bool
constexpr std::ptrdiff_t m_nUninterruptableActivity = 0x1A64; // PlayerAnimEvent_t
}
// Parent: C_PhysicsProp
// Fields count: 0
Expand Down Expand Up @@ -5518,7 +5513,7 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t m_SpotRadius = 0xCDC; // float32
}
// Parent: C_BasePlayerWeapon
// Fields count: 76
// Fields count: 72
//
// Metadata:
// MNetworkExcludeByName
Expand Down Expand Up @@ -5604,29 +5599,25 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t m_bClearWeaponIdentifyingUGC = 0x17E8; // bool
constexpr std::ptrdiff_t m_bVisualsDataSet = 0x17E9; // bool
constexpr std::ptrdiff_t m_bOldFirstPersonSpectatedState = 0x17EA; // bool
constexpr std::ptrdiff_t m_hOurPing = 0x17EC; // CHandle<C_BaseEntity>
constexpr std::ptrdiff_t m_nOurPingIndex = 0x17F0; // CEntityIndex
constexpr std::ptrdiff_t m_vecOurPingPos = 0x17F4; // Vector
constexpr std::ptrdiff_t m_bGlowForPing = 0x1800; // bool
constexpr std::ptrdiff_t m_bUIWeapon = 0x1801; // bool
constexpr std::ptrdiff_t m_nCustomEconReloadEventId = 0x1804; // int32
constexpr std::ptrdiff_t m_hPrevOwner = 0x1810; // CHandle<C_CSPlayerPawn>
constexpr std::ptrdiff_t m_nDropTick = 0x1814; // GameTick_t
constexpr std::ptrdiff_t m_donated = 0x1834; // bool
constexpr std::ptrdiff_t m_fLastShotTime = 0x1838; // GameTime_t
constexpr std::ptrdiff_t m_bWasOwnedByCT = 0x183C; // bool
constexpr std::ptrdiff_t m_bWasOwnedByTerrorist = 0x183D; // bool
constexpr std::ptrdiff_t m_gunHeat = 0x1840; // float32
constexpr std::ptrdiff_t m_smokeAttachments = 0x1844; // uint32
constexpr std::ptrdiff_t m_lastSmokeTime = 0x1848; // GameTime_t
constexpr std::ptrdiff_t m_flNextClientFireBulletTime = 0x184C; // float32
constexpr std::ptrdiff_t m_flNextClientFireBulletTime_Repredict = 0x1850; // float32
constexpr std::ptrdiff_t m_IronSightController = 0x1930; // C_IronSightController
constexpr std::ptrdiff_t m_iIronSightMode = 0x19E0; // int32
constexpr std::ptrdiff_t m_flLastLOSTraceFailureTime = 0x19F0; // GameTime_t
constexpr std::ptrdiff_t m_iNumEmptyAttacks = 0x19F4; // int32
constexpr std::ptrdiff_t m_flLastMagDropRequestTime = 0x1A70; // GameTime_t
constexpr std::ptrdiff_t m_flWatTickOffset = 0x1A74; // float32
constexpr std::ptrdiff_t m_bUIWeapon = 0x17EB; // bool
constexpr std::ptrdiff_t m_nCustomEconReloadEventId = 0x17EC; // int32
constexpr std::ptrdiff_t m_hPrevOwner = 0x17F8; // CHandle<C_CSPlayerPawn>
constexpr std::ptrdiff_t m_nDropTick = 0x17FC; // GameTick_t
constexpr std::ptrdiff_t m_donated = 0x181C; // bool
constexpr std::ptrdiff_t m_fLastShotTime = 0x1820; // GameTime_t
constexpr std::ptrdiff_t m_bWasOwnedByCT = 0x1824; // bool
constexpr std::ptrdiff_t m_bWasOwnedByTerrorist = 0x1825; // bool
constexpr std::ptrdiff_t m_gunHeat = 0x1828; // float32
constexpr std::ptrdiff_t m_smokeAttachments = 0x182C; // uint32
constexpr std::ptrdiff_t m_lastSmokeTime = 0x1830; // GameTime_t
constexpr std::ptrdiff_t m_flNextClientFireBulletTime = 0x1834; // float32
constexpr std::ptrdiff_t m_flNextClientFireBulletTime_Repredict = 0x1838; // float32
constexpr std::ptrdiff_t m_IronSightController = 0x1910; // C_IronSightController
constexpr std::ptrdiff_t m_iIronSightMode = 0x19C0; // int32
constexpr std::ptrdiff_t m_flLastLOSTraceFailureTime = 0x19D0; // GameTime_t
constexpr std::ptrdiff_t m_iNumEmptyAttacks = 0x19D4; // int32
constexpr std::ptrdiff_t m_flLastMagDropRequestTime = 0x1A50; // GameTime_t
constexpr std::ptrdiff_t m_flWatTickOffset = 0x1A54; // float32
}
// Parent: C_BaseModelEntity
// Fields count: 0
Expand Down
44 changes: 22 additions & 22 deletions DragonBurn/OffsetsList/Offsets.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-05-25 01:48:22.657979400 UTC
// 2024-05-30 01:25:57.219187800 UTC

#pragma once

Expand All @@ -9,39 +9,39 @@ namespace cs2_dumper {
namespace offsets {
// Module: client.dll
namespace client_dll {
constexpr std::ptrdiff_t dwCSGOInput = 0x1A0D080;
constexpr std::ptrdiff_t dwEntityList = 0x19A3328;
constexpr std::ptrdiff_t dwGameEntitySystem = 0x1AC2028;
constexpr std::ptrdiff_t dwCSGOInput = 0x1A0E270;
constexpr std::ptrdiff_t dwEntityList = 0x19A4380;
constexpr std::ptrdiff_t dwGameEntitySystem = 0x1AC3208;
constexpr std::ptrdiff_t dwGameEntitySystem_getHighestEntityIndex = 0x1510;
constexpr std::ptrdiff_t dwGameRules = 0x1A00D08;
constexpr std::ptrdiff_t dwGlobalVars = 0x1801BF0;
constexpr std::ptrdiff_t dwGlowManager = 0x1A00420;
constexpr std::ptrdiff_t dwLocalPlayerController = 0x19F3298;
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x180DB18;
constexpr std::ptrdiff_t dwPlantedC4 = 0x1A0A3F8;
constexpr std::ptrdiff_t dwPrediction = 0x180D9D0;
constexpr std::ptrdiff_t dwSensitivity = 0x1A019B8;
constexpr std::ptrdiff_t dwGameRules = 0x1A01EE8;
constexpr std::ptrdiff_t dwGlobalVars = 0x1802BF8;
constexpr std::ptrdiff_t dwGlowManager = 0x1A01600;
constexpr std::ptrdiff_t dwLocalPlayerController = 0x19F4468;
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x180EFB8;
constexpr std::ptrdiff_t dwPlantedC4 = 0x1A0B5E8;
constexpr std::ptrdiff_t dwPrediction = 0x180EE70;
constexpr std::ptrdiff_t dwSensitivity = 0x1A02BA8;
constexpr std::ptrdiff_t dwSensitivity_sensitivity = 0x40;
constexpr std::ptrdiff_t dwViewAngles = 0x1A12498;
constexpr std::ptrdiff_t dwViewMatrix = 0x1A052D0;
constexpr std::ptrdiff_t dwViewRender = 0x1A05AE0;
constexpr std::ptrdiff_t dwWeaponC4 = 0x19A71B0;
constexpr std::ptrdiff_t dwViewAngles = 0x1A13688;
constexpr std::ptrdiff_t dwViewMatrix = 0x1A06530;
constexpr std::ptrdiff_t dwViewRender = 0x1A06E48;
constexpr std::ptrdiff_t dwWeaponC4 = 0x19A8390;
}
// Module: engine2.dll
namespace engine2_dll {
constexpr std::ptrdiff_t dwBuildNumber = 0x51D784;
constexpr std::ptrdiff_t dwEngineViewData = 0x5D99DC;
constexpr std::ptrdiff_t dwNetworkGameClient = 0x51CB58;
constexpr std::ptrdiff_t dwBuildNumber = 0x5207C4;
constexpr std::ptrdiff_t dwEngineViewData = 0x5DCB7C;
constexpr std::ptrdiff_t dwNetworkGameClient = 0x51FB70;
constexpr std::ptrdiff_t dwNetworkGameClient_clientTickCount = 0x178;
constexpr std::ptrdiff_t dwNetworkGameClient_deltaTick = 0x278;
constexpr std::ptrdiff_t dwNetworkGameClient_isBackgroundMap = 0x28145F;
constexpr std::ptrdiff_t dwNetworkGameClient_localPlayer = 0xF0;
constexpr std::ptrdiff_t dwNetworkGameClient_maxClients = 0x270;
constexpr std::ptrdiff_t dwNetworkGameClient_serverTickCount = 0x174;
constexpr std::ptrdiff_t dwNetworkGameClient_signOnState = 0x260;
constexpr std::ptrdiff_t dwSoundService = 0x5D9940;
constexpr std::ptrdiff_t dwWindowHeight = 0x5DD2B4;
constexpr std::ptrdiff_t dwWindowWidth = 0x5DD2B0;
constexpr std::ptrdiff_t dwSoundService = 0x5DCAE0;
constexpr std::ptrdiff_t dwWindowHeight = 0x5E045C;
constexpr std::ptrdiff_t dwWindowWidth = 0x5E0458;
}
// Module: inputsystem.dll
namespace inputsystem_dll {
Expand Down

0 comments on commit a49f00d

Please sign in to comment.