Commit Graph
7156 Commits
Author SHA1 Message Date
Ryan Blackham 7bb9da2a26 Fixed typo in reservedslots.sp (#2109) 2024-02-01 10:36:28 +01:00
BenoistandKenzzer b5b9b8388c Fixup entinfo offset + sdktools tf2 x64 gamedata (#2108)
* fixup entinfo offset

* added missing tf gamedata

---------

Co-authored-by: Kenzzer <[email protected]>
2024-01-29 01:08:33 +00:00
BenoistandKenzzer e7e92d4e40 update manifests (#2106)
Co-authored-by: Kenzzer <[email protected]>
2024-01-26 21:18:14 +00:00
BenoistandKenzzer 33e869a4e5 Update gamedata for TF2 x64 (#2105)
Co-authored-by: Kenzzer <[email protected]>
2024-01-26 13:30:08 +00:00
NotnHeavy 0bc9aa46e6 Update checkout-deps files to install hl2sdk-mock (#2102) 2024-01-22 15:30:15 +00:00
Angel Bot 80ad76a563 Fix teleportation offsets for tf2classic (#2100) 2024-01-01 23:55:23 +00:00
NotnHeavy 7e29f22f8f Fix typo in ArrayList.Clone docs (#2098)
very useful update of: grammar in comment
2023-12-22 20:35:26 +01:00
daniandNicholas Hastings a9eb3a0d45 Add gamedata for Pre-Fortress 2 (#2091)
* Added gamedated for pf2

* added support for beta testing

---------

Co-authored-by: Nicholas Hastings <[email protected]>
2023-12-18 23:59:41 +00:00
Ivan Zaitsev ab6b45b81c Add void function prototypes to NativeCall and MenuHandler (#2081)
* Add void prototype to NativeCall typeset

`void` prototype can be used for simple natives which don't return any value.
This is done to silence compiler warnings 209 (`function has explicit 'int' tag but does not return a value`) and 242 (`function "NativeCallback" should return an explicit value`).

* Make MenuHandler into typeset and add void prototype

This can be used for basic menu handlers that don't return modified item styles and don't redraw menu items.
2023-12-18 23:57:58 +00:00
bt 385eae892c Add gmod9 gamedata. (#2093) 2023-12-18 23:52:54 +00:00
dependabot[bot] 5f309f45f8 Bump actions/setup-python from 4 to 5 (#2095)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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>
2023-12-18 23:18:36 +00:00
dependabot[bot] a2e5e2a442 Bump actions/upload-artifact from 3 to 4 (#2097)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2023-12-18 23:17:52 +00:00
Nicholas Hastings b42e5ac922 Convert AMBuild scripts to use hl2sdk-manifests (#2096)
* Add hl2sdk-manifests submodule

* Update AMBuild scripts to utilize hl2sdk-manifests

* Add build*/ to .gitignore
2023-12-18 23:15:44 +00:00
Nick Hastings 544204654d Hack fix for broken --gen=vs 2023-12-16 12:19:10 -05:00
sapphoandazzy 5c971fd51b add gamedata for tf2classic (#2088)
* add gamedata skeleton for tf2classic

* Update game.tf2classic.txt

* Update game.tf2classic.txt

---------

Co-authored-by: azzy <[email protected]>
2023-12-05 00:50:08 +00:00
B3none 6507d947cc Updated sourcepawn.php to latest array syntax 2023-11-30 21:58:49 -08:00
B3none 30415e299e Updated ProfFileParser.class.php to PSR-12 2023-11-30 21:58:49 -08:00
Mart 8eeea2aba1 Update funcommands.games.txt (#2085)
Changes for Nuclear Dawn

*Correct beacon team colors (Consortium = blue / Empire = red)
*Change beacon .vmt sprite to an existing one similar to the usual "laser.vmt" (white and 32x64 size)
2023-11-28 21:59:54 +00:00
Nick Hastings bb1431cd3b Fix Windows FireOutput signature for Nuclear Dawn (fixes #2084) 2023-11-27 09:53:25 -05:00
rop_rop a2aec9b42e Update Hebrew translation phrases (#2050)
* Update basebans.phrases.txt

added all the missing Phrase

* Update basebans.phrases.txt

update of the missing phrase as a parameter
2023-11-24 16:56:14 +01:00
Nick Hastings ef74b51c8b Probably fix build 2023-11-20 19:54:41 -05:00
Nick Hastings e74aa099bc Add debugging to bootstrap script 2023-11-20 19:40:09 -05:00
Nick Hastings 8140cb2d6b Tweak build script 🐍 2023-11-20 19:37:22 -05:00
Nick Hastings d981e252d2 Fix regression that breaks loading on mcv, blade, and csgo (fixes #2082) 2023-11-20 09:23:02 -05:00
Nick Hastings e6a04abc9e Remove unused var 2023-11-20 09:21:00 -05:00
Nick Hastings c90477a720 Fix warning in build script 2023-11-20 09:20:38 -05:00
11c8084ccd Deprecate CreateInterface (#2001)
* Deprecate CreateInterface

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

* Expose the 'newer' data

* Update smsdk_ext.cpp

---------

Co-authored-by: Kenzzer <[email protected]>
Co-authored-by: KitRifty <[email protected]>
2023-11-11 16:59:22 +00:00
Nick Hastings 7747beb4cf Add remaining SDKHooks gamedata for Dystopia 2023-11-07 19:35:34 -05:00
Rain 9fa7421122 Update gamedata for Dystopia (#2080)
Add the offsets for OnTakeDamage and OnTakeDamage_Alive for the game Dystopia, for Linux and Windows platforms. This change adds game support for the SDKHook_OnTakeDamage, and its variants.
2023-11-07 13:20:45 +00:00
bauxite f2ca671d1f Update basetriggers.sp for Dystopia compatibility (#2075)
* Update basetriggers.sp for Dystopia compatibility

Dystopia has a built-in command called nextmap which breaks due to the Sourcemod nextmap command. This modification is intended to restore Dystopia compatibility.

* Update basetriggers.sp

* Update basetriggers.sp

* Update basetriggers.sp

* Update basetriggers.sp
2023-11-06 16:10:46 +00:00
sappho d4da21b07f Add more context to Format etc documentation (#2079) 2023-11-06 16:07:00 +00:00
David Anderson 4b2d8b53fa Fix macOS scripting SDK build.
This also enables universal spcomp binaries with arm64 support.
2023-11-04 23:01:44 -07:00
David Anderson 7bfd5e521e Update SourcePawn.
This updates float.inc and smn_float.cpp to compensate for alias
removal.
2023-11-03 17:46:48 -10:00
David Anderson 060c832f89 Update SourcePawn.
This brings in a few breaking changes.

One, INVALID_FUNCTION is now 0 instead of -1. This is long overdue.
Plugins should transparently work except in two cases:

  1. Third-party extensions that have a hardcoded test for -1 will no
     longer work. A new API has been provided for this,
     GetFunctionByIdOrNull.
  2. If a plugin "framework" uses INVALID_FUNCTION anywhere in its
     exported API, then all plugins using that framework need to be
     recompiled together, so they agree on the value of
     INVALID_FUNCTION.

Hopefully the damage here is minimal. The core plugin version has been
bumped to 7 to try and limit conflicts.

Second, braceless functions are no longer supported. There wasn't really
any way around this and it's better to bite the bullet now. This affects
source compatibility, but not binary compatibility.

Third, the "using" keyword is no longer implemented. SourceMod now has a
Handle methodmap again. Plugins compiled against this new methodmap will
require a "Handle.~Handle" native, which 1.12 now provides.
2023-11-02 18:38:30 -10:00
PlayBoy31 8c9fd3746b Fix missing submodules (#2074)
* add --recursive for missing submodules
2023-11-02 21:02:15 -07:00
Nick Hastings 314184beea Merge branch 'master' of https://github.com/alliedmodders/sourcemod 2023-10-21 19:03:09 -04:00
Nicholas Hastings 17462cbe5a Fix build using wrong dir in bootstrapping 2023-10-21 19:02:51 -04:00
David Anderson ae4e043c3e Enable C++17. 2023-10-21 19:02:51 -04:00
David Anderson 6def79ff23 Merge pull request #2063 from alliedmodders/cxx17
Enable C++17.
2023-10-19 20:33:14 -07:00
Jonathan 1ba7024a3a Fix Japanese translations (#2053) 2023-10-17 12:50:55 +02:00
rop_rop 44aaaf8b10 Update Hebrew playercommands.phrases.txt (#2051)
added the missing Phrase
2023-10-17 12:35:36 +02:00
XeroX 62754333cd Increase lastMap buffer (#2062)
Fixes #2061
2023-10-17 12:31:04 +02:00
Rain 8938a29904 Ignore chat triggers for interactive ban reason (#2067)
* Ignore chat triggers for interactive ban reason

If the admin types a chat trigger for a command while BaseBans is
waiting for them to type a ban reason, don't treat that message as the
ban reason.

This fixes a problem where the admin decides to cancel their ban with
"!abortban", "/abortban" etc, but ends up accidentally banning the
player with the ban reason "!abortban" (or by attempting to access any
other command via a chat trigger before typing the ban reason).

* Optimize

Check if we're actually waiting for chat reason before calling the native
2023-10-16 19:43:00 +02:00
Nick Hastings 2c6ef5825f Update from Clang 13 to Clang 14 for Linux build 2023-10-16 13:21:02 -04:00
sappho b090aa36bf Add support for open fortress (#2057)
* Run timers every tick instead of arbitrarily on 100ms thinks, adding a significantly higher amount of precision

* undo force push

* add open fortress support

* undo leftover timersys changes

* Add fireoutput sig and remove engine gamedata

* Update master.games.txt

* Update master.games.txt
2023-10-16 00:29:44 +00:00
David Anderson cb1dae5aab Fix minimal rebuilds on buildbot. 2023-10-13 21:28:33 -07:00
David Anderson c9e824632f Enable C++17. 2023-10-13 21:25:24 -07:00
David Anderson 0436fb0ab3 Fix linkage. 2023-10-13 20:59:55 -07:00
David Anderson 767c5cf468 Fix build. 2023-10-13 15:32:45 -07:00
David Anderson f01ad5317a Fix linker issues on Linux. 2023-10-13 15:26:05 -07:00