Commit Graph
7307 Commits
Author SHA1 Message Date
Nicholas Hastings acaa301eda Fix dump_syms call on Linux for updated dump_syms version 2026-03-29 11:51:57 -04:00
Nicholas Hastings 8d3bec0ca0 Fix gitignore rule applying for tools/buildbot 2026-03-29 11:51:33 -04:00
Nicholas Hastings 1b32e25d20 Add GitHub Actions release CI and spcomp container build (#2422)
Add build-release.yml: full Linux + Windows release pipeline that
dynamically discovers SDKs from hl2sdk-manifests, builds both
platforms, creates GitHub Releases with packaged artifacts, uploads
PDB artifacts for symbol server ingestion, and handles breakpad
symbol upload on Linux.

Add build-spcomp.yml + Containerfile: builds and publishes a
container image with the SourcePawn compiler for use by the forum
on-demand compilation integration.

The existing ci.yml (build verification) is left intact.
2026-03-29 13:42:27 +00:00
Nicholas Hastings 0c9a476851 Remove the long-deprecated IsValidHandle from API 2026-03-24 20:49:43 -04:00
Nicholas Hastings ce8125b896 Bump SourcePawn for Windows build fix. 2026-03-22 13:21:39 -04:00
Benoist 155cdc318c Re-introduce Address as int64 and remove the opt-in (#2414) 2026-03-15 00:43:25 +01:00
Nicholas Hastings b492426a79 Revert "Make Address a int64 if <virtual_address> is included (#2407)"
This reverts commit 2b5554a21d.
2026-03-12 20:01:31 -04:00
Benoist 2b5554a21d Make Address a int64 if <virtual_address> is included (#2407) 2026-03-12 21:02:12 +01:00
Leigh MacDonald 2e395c6787 Supress pg error with on conflict (#2409) 2026-03-07 19:24:59 +00:00
Benoist c8a9ae2f81 Update gamedata (#2410) 2026-03-06 21:16:06 -05:00
dependabot[bot] 61d7e53cca Bump actions/upload-artifact from 6 to 7 (#2406)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 02:06:54 +00:00
caxanga334 465a3ff10b Add Missing SetOwnerEntity For DoD:S (#2408) 2026-03-02 22:56:22 +00:00
David Anderson 617ee1c98e Update float.inc to work with the latest spcomp. (#2405) 2026-02-27 15:26:59 -08:00
Benoist a5a8e03d2d Revert "Guard IClient Netchan Path by GamedData (#2397)" (#2404) 2026-02-26 08:02:04 -05:00
Mykola 0d299402b9 Guard IClient Netchan Path by GamedData (#2397)
* Guard IClient Netchan Path by Gamedir

Prevent crash on Source 2007 forks where GetPlayerNetInfo()->GetMsgHandler() is not compatible with IClient.

Only attempt the netchan/IClient path for known-safe game folders; otherwise leave m_pIClient null.

* Update PlayerManager.cpp

* Update PlayerManager.cpp

* Update PlayerManager.cpp

* Update PlayerManager.cpp

* Guard IClient Netchan Path by GameData

* Update common.games.txt

* Update PlayerManager.cpp

* Update common.games.txt
2026-01-31 17:23:54 +00:00
caxanga334 eddc83054c Fix TF2 Classified Gamedata (#2400)
Adds missing master file entry.
2026-01-31 13:55:29 +01:00
azzy ea1e3ac8d6 Final Gamedata for TF2 Classified (#2399)
* Final Gamedata for TF2 Classified

now with signatures!!

* sdktools offsets
2026-01-29 22:22:13 +00:00
azzy 86fde36542 Gamedata for TF2 Classified (#2398) 2026-01-28 02:22:07 +00:00
BenoistandFyren 29386a72f6 Another OpenFile fix (#2395)
Co-authored-by: Fyren <[email protected]>
2026-01-26 15:13:20 +01:00
Benoist 8907569dd8 Correct OpenFile filemode check (#2390) 2026-01-21 15:58:24 +01:00
Benoist 22d740ef61 Fix running out of virtual address with the heap on linux (#2391) 2026-01-20 22:39:23 +01:00
Bradasparky 6baf01ac3b Fixed KvDeleteKey and KvGetNameSymbol not working from the root node (#2388) 2026-01-15 19:31:01 -05:00
Benoist c310db4b95 Throw error if using invalid open mode with OpenFile native (#2387) 2026-01-14 02:02:27 +00:00
Lukáš Č. 733e33e82a Fix a bug where ban reason is used as ban duration (#2383)
In basebans there are 3 commands for banning: banip,addban,ban
They have required arguments for ban duration and optional arguments for ban reason. However the functions that process the arguments do not properly validate the duration and if reason is provided instead of duration, the functions just convert that string into an integer and use it as the ban duration. This usually results in a permaban with an empty reason. This commit adds a loop for checking duration chars to be numeric before converting them to an int.
2026-01-01 13:01:24 +01:00
dependabot[bot] 6e6f6e7479 Bump actions/upload-artifact from 5 to 6 (#2381)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 22:36:43 +00:00
dependabot[bot] 865dd3ecd6 Bump actions/cache from 4 to 5 (#2380)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 22:36:35 +00:00
Nicholas Hastings 69f694d47c Fix some blade gamedata 2025-12-04 19:17:34 -05:00
dependabot[bot] 1819f491b5 Bump actions/checkout from 5 to 6 (#2378)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 15:55:07 +00:00
caxanga334 c4d5235217 Update DoD:S Gamedata (#2377)
Adds missing GetAttachment vtable offset.
2025-11-20 23:43:49 +00:00
Benoist 6439769d50 Introduce Virtual Address (#2226)
In the current ongoing effort for sourcemod to fully support 64 bits, we are introducing "virtual address".

# Explanation

Because SourcePawn does not yet support a 64 bits-wide type it's been impossible for any plugins to hold addresses in regular 32-bits wide variable.

A first attempt at solving this issue was made in commit ce1a4dcac0 therein dubbed "PseudoAddress", however this turned out to be an unsatisfactory solution, as any 'high' address if offsetted could turn invalid (or outright be impossible to map).

This leaves us with three alternatives :
- New type
- Convert Address into a handle
- Virtual Address

A new type is the most destructive solution, as it entails breaking every single Address related method. While that solution is still not off the table, we're reserving it as the last attempt should this commit fail.

Converting into a handle type is a good compromise between a brand new type whilst also preserving the Address methods. However, this comes with two issues: the first being that you can no longer offset Address, the second is that we would require authors to free the handle type which will be very confusing. This will likely not be implemented.

# Virtual address

Under a reasonable assumption, we've noted that the average plugin is unlikely to play with more than 4 GB of memory; this shouldn't be too surprising as all valve games were once 32bits and therefore limited to 4GB. Assuming this stays mostly true and a plugin isn't interested with the mapped memory of lesser known modules (like soundlib or matlib), it is fair to assume plugins are unlikely to access more than 4GB of mapped memory. Working with this in mind, we map the memory the plugins are likely to access to our custom virtual address ranges (from 0 to 4Gb, the values of which can fit on 32bits variable). If any memory was missed and plugins were to try an access it later those ranges will be late-mapped to our virtual address ranges until we run out of them.

In order to use virtual addressing, whether on 32 bits or 64 bits. Plugins must now "#include <virtual_address>", as well as use the new SDKCall_VirtualAddress, SDKType_VirtualAddress, LoadAddressFromAddress & StoreAddressToAddress where it's appropriate to.
2025-11-13 13:23:13 +01:00
solidDoWant 0c900be7fc Make PostgreSQL setup scripts idempotent (#2376)
Signed-off-by: solidDoWant <[email protected]>
2025-11-10 15:39:08 +00:00
F1F88 bc8d02c998 Add format specifier "%E" (#2099) (#2330)
* Add format specifier "%E" (#2099)

* style: Remove extra blank lines
2025-11-08 17:09:57 +00:00
caxanga334andNicholas Hastings 1fc841713e Allow the time format used by SM log files to be configured by server ops. (#2372)
* Log Time Format Config

* Remove extra space

* Fix formatting inconsistency

---------

Co-authored-by: Nicholas Hastings <[email protected]>
2025-11-08 17:08:32 +00:00
Alienmario 84f67fcd2d Add new options to ArrayList FindString, FindValue (#2216) 2025-11-08 17:03:42 +00:00
BenoistandNicholas Hastings eb3b4d9822 Build tier1 & mathlib (#2368)
* Build tier1 & mathlib instead of statically linking

* update hl2sdk-manifests

* update hl2sdk-manifests

* update hl2sdk-manifests

* update hl2sdk-manifests

* Update hl2sdk-manifests

* Fix sdkhooks compilation

---------

Co-authored-by: Nicholas Hastings <[email protected]>
2025-11-08 16:47:35 +00:00
Nicholas Hastings a401d97b09 Update hl2sdk-manifests 2025-11-08 11:42:34 -05:00
F1F88 74e9cdd709 Fixed "%s" always being left justify (#2331) (#2332) 2025-11-08 16:36:01 +00:00
F1F88 2ae0d05a23 Fixed when the int value of "%0[width]d" is negative, the minus sign should be formatted before the padding '0' (#2329) 2025-11-08 16:33:30 +00:00
F1F88 22cc68808c Supports "%f" formatting value as inf float (#2324)
* Fixed when the float value of "%f" is inf, it should be formatted as "Inf" instead of "0.0"

* Replace std::isinf with ke::IsInfinite
2025-11-08 16:32:09 +00:00
Nicholas Hastings 9952f62a33 Fix up GetGameBinArchSubdirectory 2025-11-08 11:26:03 -05:00
Nicholas Hastings f382c3fb5b Fix gamedata gamebin paths for x64, CS:GO-based games (#2370) (#2374) 2025-11-07 15:30:46 +00:00
Benoist 4374cb2168 Update Python version from 3.8 to 3.12 (#2375) 2025-11-07 15:30:17 +00:00
A1m` 98831a8667 Add the ability to work with the |this| parameter under dhooks callback (#2219) 2025-11-06 16:33:41 +01:00
dependabot[bot] 66d3f5e60e Bump actions/upload-artifact from 4 to 5 (#2369)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-01 16:32:21 +00:00
caxanga334 0ccf21ecb6 Update ZPS Gamedata (#2371)
Updates virtual offsets of SDKHooks and SDKTools for ZPS version 3.3
2025-10-30 23:23:46 +01:00
Benoist c9ee066a1d Update python version for gh ci (#2367) 2025-10-27 17:10:04 +00:00
Benoist 42c5444a10 Fix issues with -fPIC thunks (#2366) 2025-10-26 17:33:38 +01:00
caxanga334 e4fda1bd78 Fix HL1MP Gamedata (#2364) 2025-10-15 11:11:52 -07:00
caxanga334 e55747a9e4 Update Synergy Gamedata (#2361)
Adds some missing virtual offsets for SDKHooks and SDKTools.
Updates some Windows signatures.
2025-10-03 19:58:28 +00:00
Mikusch 351917be35 Add new TF_CUSTOM_* values (#2360) 2025-10-02 10:43:37 +02:00