Commit Graph
7381 Commits
Author SHA1 Message Date
ambaca 0cc33d4bad Add PlayerRunCmd offset to game.aoc.txt (#2495) 2026-07-02 22:09:57 +02:00
dependabot[bot] 731b9689bd Bump actions/cache from 5 to 6
Bumps [actions/cache](https://github.com/actions/cache) from 5 to 6.
- [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/v5...v6)

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

Signed-off-by: dependabot[bot] <[email protected]>
2026-06-29 08:27:03 -04:00
azzy c5dd056c84 Gamedata for TF2 Classified 3.0.11 (#2491) 2026-06-23 11:32:30 +02:00
dependabot[bot] e1f7d25603 Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [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/v6...v7)

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

Signed-off-by: dependabot[bot] <[email protected]>
2026-06-22 17:36:14 -04:00
Mikusch 1ed87af40c Fix SDKCall mis-decoding int64 Address parameters 2026-06-17 19:37:35 -04:00
Mikusch f5cea78b45 Fix x86 sign-extension of high pointers 2026-06-17 19:37:25 -04:00
Nicholas Hastings 87a325f68e Make dynamically build SDK static libs obey optimize flags 2026-06-10 20:54:19 -04:00
Nicholas Hastings 0cca99ea86 Fix cases of possible buffer overrun 2026-06-10 20:22:40 -04:00
David Anderson be89b25d96 Fix forward re-entrancy and update SourcePawn. 2026-06-06 18:43:47 -07:00
Benoist 434cb93dce Remove exception from Call_Finish (#2475) 2026-06-05 19:13:29 +02:00
David Anderson 46458cdbfe Revert Call_Finish() to correctly return an error code.
Bug: issue #2474
2026-06-04 19:33:54 -07:00
David Anderson 518f1f6f51 Update SourcePawn. 2026-06-04 19:33:54 -07:00
David Anderson 2c782ef842 Fix compatibility issue in Call_PushStringEx.
When we changed the C++ API, we forgot to add a compatibility workaround
for functions.inc which had matching constants. Fix that now in
smn_functions.cpp.

Bug: issue #2481
2026-06-04 19:33:54 -07:00
caxanga334 e6886ba565 Remove GroundEntChanged
Offset appears to be correct according to the vtable dumper but the server crashes when it's used.
2026-05-31 13:25:51 -04:00
caxanga334 98236c5fca Update The Ship Gamedata 2026-05-31 13:25:51 -04:00
SCP-076 0002aa228c clarify late load callbacks 2026-05-25 15:28:08 -04:00
Nicholas Hastings 0e017393d5 Merge branch 'master' of https://github.com/alliedmodders/sourcemod 2026-05-25 14:54:21 -04:00
Nicholas Hastings be192f9807 Fix GeoIP db package location 2026-05-25 14:54:12 -04:00
Nicholas Hastings 6cec5c95aa Stop leaking prepared statements in pgsql ext 2026-05-25 11:50:10 -04:00
Nicholas Hastings 1df5897c1a Maybe fix (and update) GeoIP db inclusion 2026-05-25 11:09:21 -04:00
Nicholas Hastings b8e7d0e373 Update hl2sdk-manifests 2026-05-25 11:08:28 -04:00
David Anderson a06f902ee1 Update SourcePawn.
Fixes issue #2470
2026-05-25 06:54:18 -07:00
David Anderson e87291362b Remove PushNull API from forwards/calls.
This appears to have no users, as it was not really possible to take
advantage of due to language constraints.
2026-05-24 13:25:34 -07:00
ProjectSkyandNicholas Hastings 483cd9f5a8 Update bundled PostgreSQL static libraries to 18.4 (#2468)
* Update PostgreSQL lib version and fix resource cleanup

- update the bundled PostgreSQL/libpq headers and static libraries to 18.4 (resolve #1802)
- adjust pgsql extension link inputs for the newer libpq split libraries, and drop unsupported macOS pgsql builds
- build connection parameters with  instead of manually formatting a connection string
- make  own and clear its , preventing leaks when prepared statements are executed repeatedly
- close prepared statements with  when statement handles are destroyed
- track copied vs borrowed prepared-statement parameter buffers so borrowed strings/blobs are not freed (resolve #1946)

* Rebuild libs

---------

Co-authored-by: Nicholas Hastings <[email protected]>
2026-05-24 17:37:03 +00:00
Nicholas Hastings 05878c1e83 Trigger build for hl2sdk-tf2 update (#2464) 2026-05-23 13:19:19 -04:00
Bakugo e4bdde6475 DHooks: Fix setting CBaseEntity* params (#2465) 2026-05-23 16:03:15 +00:00
Nicholas Hastings 7c5da6a658 Fix mock build (#2467)
* Fix mock build

* Align mock workflow with release setup
2026-05-23 15:05:49 +00:00
Nicholas Hastings 3fd0fc0a5c Remove spvm from BreakpadSymbols 2026-05-23 10:38:18 -04:00
Benoist 047dd0dec1 Fix usage of CBaseHandle for tf2 + Update compilation flags for clang (#2466) 2026-05-23 15:47:21 +02:00
David Anderson 5acd8c77c9 Bump the minimum extension version to 9. 2026-05-17 15:22:58 -07:00
David Anderson 468760c902 Switch ForwardSys to use ICallable.
This removes a ton of tech debt and will improve Forward performance.
2026-05-17 15:22:58 -07:00
David Anderson e70cddfe3e Use BaseRuntime instead of IPluginRuntime in PluginSys/ShareSys. 2026-05-17 15:22:58 -07:00
David Anderson 890c7119fe Use internal sp::Environment directly in core/logic.
Also remove ISourcePawnEngine and ISourcePawnEngine2 pointers since
they're now redundant.
2026-05-17 15:22:58 -07:00
David Anderson fba9d713b7 Statically link SourcePawn. (#2459)
This removes the SourcePawn shared library from the distrubtion, and
statically links the VM to sourcemod.logic instead. This means we can
stop designing public APIs that only SourceMod will ever use, since now
SourceMod can just peek directly inside the VM.

We still need a public API for extensions (and the "core" binary). But
that API surface is a lot smaller than what the logic binary needs.

Remove unused DebugReporter::GenerateCodeError function while we're
here, since this will allow removing IPluginDebugInfo.
2026-05-13 21:09:15 -07:00
SCP-076 5288927964 Use SafeStrcpy in OnConVarChanged to ensure a null-terminated buffer (#2458) 2026-05-12 23:46:07 -07:00
David Anderson 07735c1fe2 Remove use of HeapAlloc and HeapPop. (#2455) 2026-05-03 13:48:28 -07:00
David Anderson 6739b0c280 Update SourcePawn. (#2454)
This modifies smn_sorting to use the new 2D array access API.
2026-05-03 09:52:31 -07:00
Nicholas Hastings b1189479ed Disable KeyValues.Merge on swarm 2026-04-28 07:26:27 -04:00
Dolly 87d668afce Add AutoExecConfig generation (#2436)
* Refactor AutoExecConfig to support new cvars

* Fix identation

* Fix cfg recreation neglecting cvars original values

* Get rid of goto

* Resolve psychonic review

* Keep using the old syntax for nullptr

* Minor fixes
2026-04-28 01:05:10 -07:00
F1F88 707a6f5a00 Add format specifier "%lb" & "%lX" & "%lx" (#2448)
* Add format specifier "%lb" & "%lX" & "%lx"

* adjust brace style to match the rest of the file
2026-04-28 02:54:12 +00:00
Nicholas Hastings f51522d2c9 Disable KeyValues.Merge on darkm 2026-04-27 22:49:13 -04:00
c11164c4d9 Add KeyValues.Merge (#2184)
* Add KeyValues.Merge

* Disable for ep1

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Nicholas Hastings <[email protected]>
Co-authored-by: Copilot <[email protected]>
2026-04-28 01:58:49 +00:00
Nicholas HastingsandCopilot 9569066b6e Upgrade Clang to v22 (#2451)
* Upgrade Clang to v22

Co-authored-by: Copilot <[email protected]>

* Compatibility fixes for Clang 22

---------

Co-authored-by: Copilot <[email protected]>
2026-04-27 23:32:20 +00:00
Nicholas Hastings c6038c76a6 Fix syntax error in generate_headers 2026-04-26 23:00:00 -04:00
Accelerator 3258ad0781 Update libmaxminddb (#2393)
* Update libmaxminddb

* Update libmaxminddb 1.13.3

* Load the latest version of the database by file date.

* Update extension.cpp
2026-04-26 19:35:34 +00:00
Nicholas Hastings f0cb2ed5c2 CI Cleanup (#2450)
* Allow color in release build logs

* Update pr-checks flow to better match the release build flow/envs
2026-04-26 16:34:55 +00:00
BerkeandNicholas Hastings 5d28ea6162 Fix the funcommands plugin resetting all players' color and transparency on round end (#2446)
* Add check for client status before resetting

* Get rid of unnecessary color reset on beacon remove

* Fix firebomb/timebomb resetting color when effect was not active

* Fix firebomb toggling wrong client's active status

---------

Co-authored-by: Nicholas Hastings <[email protected]>
2026-04-26 16:34:37 +00:00
Nicholas Hastings af4bb473e7 Fix typo in updated rd gamedata (fixes #2447) 2026-04-26 09:47:17 -04:00
SCP-076 94adc98ef5 Fix out-of-bounds crash in PluginIterator_Next (#2445)
* Fix OOB dereference in PluginIterator methodmap (#1880)

This prevents the native from returning true when the iterator has already reached the end() of the list, which previously led to a crash when accessing the Plugin property.

* Add defense-in-depth safeguards to CMMPluginIterator

* Update PluginIterator.Next() @error documentation

Reflect the new NativeError thrown when calling Next() on an exhausted iterator.
2026-04-25 17:11:28 +00:00
Nicholas Hastings 7f2528d0fa Update Reative Drop LevelShutdown gamedata (fixes #2439) 2026-04-25 12:03:00 -04:00