Commit Graph
7325 Commits
Author SHA1 Message Date
ambaca 337b755f34 Added a command to refresh mapchooser map list (#2431) 2026-04-09 15:55:55 +02:00
Max a3f0b99d67 Update TF2 gamedata for windows x64 (#2433) 2026-04-09 15:24:56 +02:00
Benoist 4f7b26f73b Fix SDKCall for int64 Address (#2435) 2026-04-09 14:24:12 +02:00
David Anderson 067ee97d99 Update SourcePawn. 2026-04-08 21:30:13 -07:00
Nicholas Hastings 98079197a0 Fix branch name in checkout_deps 2026-04-07 19:52:23 -04:00
Nicholas Hastings c3a8b0e127 Pin MM:S to 1.12 in checkout_deps to match release builds 2026-04-07 19:16:23 -04:00
Nicholas Hastings 5d0a208e34 Update workflow name [ci skip] 2026-04-06 22:49:40 -04:00
David Anderson 92db2a1987 Update SourcePawn. 2026-04-05 09:48:00 -07:00
David Anderson 16dc3daa8a Bump the SourcePawn version to fix int64 issues. (#2432) 2026-04-04 16:58:46 -07:00
Benoist d5cc622227 Bump sp module + address fix (#2430) 2026-04-02 21:33:38 +02:00
Benoist 59ecab555b Bump SourcePawn submodule (#2428) 2026-03-31 23:28:34 +02:00
dependabot[bot] b697537378 Bump docker/login-action from 3 to 4 (#2426)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  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-31 00:05:29 +00:00
dependabot[bot] eb323b7fa5 Bump actions/upload-artifact from 4 to 7 (#2425)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...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-31 00:04:56 +00:00
bottiger1 a327a80fcd Fix HookConVarChange giving stale convar pointers when a plugin made the convar longer, triggering realloc (#2423) 2026-03-29 20:11:12 +02:00
Nicholas Hastings 6bb0b3aaa6 Update release-action to fix deprecation warning 2026-03-29 13:33:28 -04:00
Nicholas Hastings e359863e10 Omit body on created releases 2026-03-29 13:31:29 -04:00
Nicholas Hastings 6162312fb7 Add retry with backoff to breakpad sym upload 2026-03-29 13:15:15 -04:00
Nicholas Hastings 0ecab49059 Fix dump_syms strerr getting swallowed 2026-03-29 11:53:02 -04:00
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