Compare commits

..
16 Commits
Author SHA1 Message Date
IMXNOOBX 0fb4deb382 Merge pull request #317 from IMXNOOBX/offset-update
Update Offsets / update_offsets (push) Has been cancelled
Typo Check CI / Spell Check with Typos (push) Has been cancelled
2025-12-10 07:14:38 +01:00
IMXNOOBX 52f087c7a1 Automatically updated offsets from a2x/cs2-dumper 2025-12-10 03:23:11 +00:00
IMXNOOBX f8fb642252 Merge pull request #316 from IMXNOOBX/offset-update 2025-12-06 21:19:59 +01:00
IMXNOOBX 50468d45d0 Automatically updated offsets from a2x/cs2-dumper 2025-12-06 18:28:21 +00:00
IMXNOOBX a21df75c54 Merge pull request #315 from IMXNOOBX/offset-update 2025-11-29 09:50:05 +01:00
IMXNOOBX 134ab268ff Automatically updated offsets from a2x/cs2-dumper 2025-11-29 01:39:56 +00:00
IMXNOOBX 1be4554063 Merge pull request #314 from IMXNOOBX/offset-update
Automatically updated offsets
2025-11-26 18:48:27 +01:00
IMXNOOBX 3d93c4b112 Automatically updated offsets from a2x/cs2-dumper 2025-11-26 17:46:40 +00:00
IMXNOOBX 2004e0ba39 Merge branch 'main' of https://github.com/IMXNOOBX/cs2-external-esp 2025-11-26 18:44:10 +01:00
IMXNOOBX e0cfb65964 Updated update offsets script, to properly fetch game version from the info json 2025-11-26 18:43:26 +01:00
IMXNOOBX d8ecc9333c Merge pull request #310 from IMXNOOBX/offset-update 2025-11-14 06:54:49 +01:00
IMXNOOBX 30a1456e6f Automatically updated offsets from a2x/cs2-dumper 2025-11-14 05:20:10 +00:00
IMXNOOBX dd23699fb8 Merge pull request #309 from IMXNOOBX/offset-update 2025-11-13 13:57:45 +01:00
IMXNOOBX 5a33357416 Automatically updated offsets from a2x/cs2-dumper 2025-11-13 08:28:02 +00:00
IMXNOOBX ad6f9facbf Merge pull request #308 from IMXNOOBX/offset-update
Automatically updated offsets
2025-11-13 07:58:47 +01:00
IMXNOOBX 0d3e39e87b Automatically updated offsets from a2x/cs2-dumper 2025-11-13 05:20:56 +00:00
7 changed files with 22 additions and 22 deletions
+2 -1
View File
@@ -6,8 +6,9 @@
# Ignore all the offsets.json files but the one in the folder offsets for the auto updater
offsets.json
config.json
!offsets/offsets.json
typos
!offsets/offsets.json
.vscode
# User-specific files
*.rsuser
+7 -7
View File
@@ -1,10 +1,10 @@
{
"build_number": 14121,
"dwBuildNumber": 6226916,
"dwEntityList": 30473192,
"dwLocalPlayer": 29273784,
"dwPlantedC4": 31667600,
"dwViewMatrix": 31645936,
"build_number": 14128,
"dwBuildNumber": 6231012,
"dwEntityList": 30489832,
"dwLocalPlayer": 29290280,
"dwPlantedC4": 31681512,
"dwViewMatrix": 31663056,
"m_ArmorValue": 10060,
"m_bIsDefusing": 10010,
"m_flC4Blow": 4496,
@@ -22,7 +22,7 @@
"m_szName": 1824,
"m_vOldOrigin": 5536,
"m_vecAbsOrigin": 208,
"dwLocalPlayerController": 31562448,
"dwLocalPlayerController": 31579160,
"m_hController": 5560,
"m_iszPlayerName": 1768
}
+9 -14
View File
@@ -1,25 +1,20 @@
import sys
import requests
import json
import re
import os
import json
import requests
urls = {
"commits": "https://api.github.com/repos/a2x/cs2-dumper/commits",
"offsets": "https://raw.githubusercontent.com/a2x/cs2-dumper/main/output/offsets.json",
"info": "https://github.com/a2x/cs2-dumper/raw/refs/heads/main/output/info.json",
"offsets": "https://github.com/a2x/cs2-dumper/raw/refs/heads/main/output/offsets.json",
"client_dll": "https://github.com/a2x/cs2-dumper/raw/refs/heads/main/output/client_dll.json",
}
def get_build_number():
response = requests.get(urls["commits"])
response = requests.get(urls["info"])
if response.status_code == 200:
commit_data = response.json()
if commit_data:
for commit in commit_data:
commit_message = commit['commit']['message']
build_match = re.search(r'\bGame [Uu]pdate \((\d+)(?: \(\d+\))?\b', commit_message)
if build_match:
return int(build_match.group(1))
game_info = response.json()
if game_info:
version = game_info['build_number']
return int(version)
return 0
def get_raw_file(url):
Vendored Submodule
+1
Submodule src/external/AsyncLogger added at 25b5ed31b3
Vendored Submodule
+1
Submodule src/external/curl added at 217f0e4d59
Vendored Submodule
+1
Submodule src/external/imgui added at 1d942eb6c9
Vendored Submodule
+1
Submodule src/external/json added at af524ab666