Commit Graph
100 Commits
Author SHA1 Message Date
Nick Hastings 0e4b1ca4cf Revert "Update sourcepawn submodule (#2146)"
This reverts commit 1bcc5b8a44.
2024-06-08 09:26:13 -04:00
Nick Hastings 7c757ac119 Trigger build for hl2sdk-l4d2 changes 2024-05-15 09:36:23 -04:00
Nick Hastings 60b6a8dfb0 Revert "Trigger build for hl2sdk-tf2 changes"
This reverts commit ee51162c3f.
2024-04-22 21:31:14 -04:00
Nick Hastings 00f3970036 Revert "Trigger build for hl2sdk-tf2 changes"
This reverts commit 123ad7aab1.
2024-04-22 18:24:19 -04:00
Nick Hastings 123ad7aab1 Trigger build for hl2sdk-tf2 changes
(https://github.com/alliedmodders/hl2sdk/issues/231)
2024-04-21 12:04:44 -04:00
Nick Hastings ee51162c3f Trigger build for hl2sdk-tf2 changes
https://github.com/alliedmodders/hl2sdk/issues/231
2024-04-20 14:04:26 -04: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
Nick Hastings bb1431cd3b Fix Windows FireOutput signature for Nuclear Dawn (fixes #2084) 2023-11-27 09:53:25 -05: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
Nick Hastings 7747beb4cf Add remaining SDKHooks gamedata for Dystopia 2023-11-07 19:35:34 -05: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
Nick Hastings 2c6ef5825f Update from Clang 13 to Clang 14 for Linux build 2023-10-16 13:21:02 -04:00
Nick Hastings bc81361319 MCV: fix Linux tier0/vstdlib bin names 2023-09-24 13:31:55 -04:00
Nicholas Hastings 853bcf703a Update MCV platform support. (#2046) 2023-09-24 16:23:10 +00:00
Nicholas Hastings 8d60a46358 Revert "Update sourcepawn (#2011)" (#2032)
This reverts commit cb8541548b.
2023-07-29 16:01:25 +00:00
Nick Hastings 4c376cbcb7 Update PLAPI version for NormalSHook signature change (MAXPLAYERS increase) 2023-07-27 08:15:02 -04:00
Nicholas Hastings 680a198fa2 Fix quotes in UA translation. 2023-04-07 21:30:20 +00:00
Nick Hastings 397b70add0 Enable ShowMenu support for Reactive Drop (see #1938)
Note: Currently only works on beta version of game
2023-02-26 12:39:22 -05:00
Nicholas Hastings 6bd49ff415 Protect against server crash when DHooks cannot load from SDKHooks not being loaded. (#1930) 2023-02-09 00:10:14 +00:00
Nicholas Hastings cd6886319c Fix crash with IgniteEntity on MCV (#1924)
* Fix crash with IgniteEntity on MCV.

* Formatting.
2023-02-04 16:09:46 +00:00
Nicholas Hastings 30a2160839 Fix gamedata library search order in some cases. (#1914) 2023-01-29 20:24:34 +00:00
Nick Hastings d5a26adc49 Regression fix for CS:GO GivePlayerItem.
Regressed in https://github.com/alliedmodders/sourcemod/pull/1887
2023-01-20 10:09:22 -05:00
Nicholas Hastings 8922ed0c5d Add TE_WriteEnt and TE_ReadEnt natives to SDKTools. (#1905) 2023-01-14 14:48:05 +00:00
Nick Hastings 3a488f7041 Fix typo in b77e8c50 causing regression in loading on some games.
Fixes #1898
2023-01-01 20:04:56 -05:00
Nicholas Hastings b0799d3336 Move menu sound selection from core config to gamedata. (#1896) 2022-12-29 04:10:51 +00:00
Nicholas Hastings ecb707e38d Add support for other engine binaries in game configs (#1414). (#1626)
* Add support for other engine binaries in game configs (#1414).

* Add engine bin path for CRC bin lookup and filter out addons from GAMEBIN.

* MAX_PATH -> PLATFORM_MAX_PATH.

* Fix library lookup on Linux.

Before this, there was a bad assumption that, like on Windows, POSIX module
handle pointers were within the module's address space (and thus usable
with dladdr). That's not true!

Instead, to get a usable address on all platforms, we'll do a lookup of the
CreateInterface function that exists in all modules. This also has the
(arguable) benefit of further locking this implementation to modules owned
by the game.

To get a valid address inside the module now on both p
2022-12-28 22:58:30 +00:00
Nicholas Hastings 7e94bfb307 Fix asm.c compiler warnings on Windows. (#1897) 2022-12-28 22:50:51 +00:00
Nicholas Hastings 775d4f04f2 Add missing set of CBaseEntity::Teleport param on newer games (#1894)
* Add setting of missing CBaseEntity::Teleport param on newer games

* Rearrange SOURCE_ENGINE defines of games between Portal 2 and CS:GO.
2022-12-27 19:29:22 +00:00
Nicholas Hastings b77e8c50ac Add support for Military Conflict: Vietnam (#1887) 2022-12-20 21:46:18 +00:00
Nicholas Hastings 515df38b72 Throw error in ShowHudText or ShowSyncHudText if HudText params not yet set (#1890) 2022-12-20 01:26:38 +00:00
Nicholas Hastings c5e69900f9 Add "sm_dsay" command to basechat for sending HUD messages (#1889)
* Add "sm_dsay" command to basechat for sending HUD messages

* Add missing SetHudTextParams call
2022-12-20 00:00:43 +00:00
Nicholas Hastings 2d5bc4007f Add clarification to documentation for hud messages and engine dialogs (#1888)
with regard to game support.
2022-12-19 23:49:48 +00:00
Nick Hastings 83a29cf82b Trigger build against SDK update 2022-12-01 22:37:50 -05:00
Nick Hastings 89bd4d7329 Update TF2 gamedata. 2022-12-01 19:33:09 -05:00
Nick Hastings 721f348684 Trigger build for hl2sdk-csgo update 2022-10-23 18:24:24 -04:00
Nick Hastings eda9a42ee2 Trigger build for hl2sdk-csgo update 2022-10-21 22:28:35 -04:00
Nick Hastings b0e7407552 Trigger build against hl2sdk-csgo changes. 2022-06-26 11:01:39 -04:00
Nick Hastings 407c24cb14 Trigger build against hl2sdk-csgo changes.
(cherry picked from commit 5714e7695a653dcade1832cb482855e77b5f13dd)
2022-06-24 10:00:36 -04:00
Nick Hastings 65cb76e2f6 Merge branch 'master' of https://github.com/alliedmodders/sourcemod 2022-06-24 10:00:13 -04:00
Nick Hastings 28a5d4b342 Merge branch 'master' of https://github.com/alliedmodders/sourcemod 2022-06-21 21:48:36 -04:00
Nick Hastings 0dcfdf3d7e Update TF2 gamedata. 2022-06-21 21:48:25 -04:00
Nick Hastings 50eca8e60c Update Reactive Drop gamedata (closes #1771) 2022-05-30 20:28:55 -04:00
Nick Hastings 547ac5b026 Fix helpers module path lookup on newer Perl versions. 2021-12-13 13:16:14 -05:00
Nick Hastings 7328ce657b Missing ;s. 2021-12-13 12:59:20 -05:00
Nicholas Hastings 14c9ac8fdb [Buildbot] Delete package after successful upload. (#1665)
* [Buildbot] Delete package after successful upload.

* Use autodie.

* ;
2021-12-13 17:52:26 +00:00
Nick Hastings 93cd78a6c5 Remove dead code. 2021-12-13 10:00:42 -05:00
Nick Hastings b62f332611 Use SteamWorks C++ API in CStrike RulesFix, for better interface compatibility. 2021-12-13 09:34:00 -05:00
Nick Hastings 589fc96bc9 Update Contagion SDKHooks gamedata. 2021-11-15 21:26:23 -05:00
Nick Hastings 5787fca029 Disable Reserved Slots plugin on Contagion.
(It doesn't have sv_visiblemaxplayers).
2021-11-15 20:53:09 -05:00
Nick Hastings 09ea982bbd Make separate copy of makesig script for IDA 7.x. 2021-11-15 20:52:37 -05:00
Nick Hastings 3db7116620 Update Contagion SDKTools gamedata. 2021-11-15 20:31:54 -05:00
Nick Hastings f229badbfc Fix server binary name for CRC lookups. 2021-11-01 13:04:23 -04:00
Nick Hastings 9a6866d14a Invert CRC to match most popular implementations. 2021-11-01 13:04:23 -04:00
Nick Hastings 38a069b97a Throw error if unknown SDK call type specified. 2021-10-26 17:32:25 -04:00
Nick Hastings 4b58b9f673 Reorder SDKCallType enum for better compatibility with existing plugins. 2021-10-26 17:32:02 -04:00
Nick Hastings 3332da3489 Fix up OnClientSettingsChange logic order.
- Fixes bot name cache not getting updated (see #1579)
- Fixes IClientListener::OnClientSettingsChanged not being called for bots.
2021-10-24 10:07:55 -04:00
Nick Hastings 1a65b308d1 Add support for other Steam ID formats to admin-sql-threaded (#1520). 2021-10-24 09:57:03 -04:00
Nick Hastings f9309c83d2 Don't cache replay_enable value when evaling whether to use FileExists hook.
Speculative fix for #1581
2021-10-24 08:54:15 -05:00
Nick Hastings 636161e183 Mark unloaded extensions as not fully loaded (fixes #1574). 2021-10-24 08:52:32 -05:00
Nick Hastings 536750b428 Add missing parameters for CSWeaponDrop. 2021-10-22 23:42:45 -04:00
Nick Hastings 97383028e5 Add option to not bypass hooks with TakeDamage and DropWeapon natives. 2021-10-13 12:56:26 -04:00
Nick Hastings 4a6d263dad Remove obsolete core-legacy checks. 2021-10-13 12:56:26 -04:00
Nick Hastings 549e881ba4 Fix attempting to link win32 libprotobuf on win64. 2021-10-13 12:05:51 -04:00
Nick Hastings c72ea03a86 Use MM:S master for Windows builds (already doing for Linux/Mac). 2021-10-13 10:36:36 -04:00
Nicholas Hastings 9fed0724f7 Typo fix. 2021-10-13 09:57:09 -04:00
Nick Hastings ed96da1afc Fix incorrect param types in CS:GO GNI (otherwise broken for x64). 2021-10-12 20:56:51 -04:00
Nick Hastings da3146e294 Remove manual ptr math in vnatives for params not mapped to cell params. 2021-10-12 20:56:51 -04:00
Nick Hastings 5aa0cdfd45 Fix Blade Symphony GiveNamedItem call on x64. 2021-10-12 20:56:51 -04:00
Nick Hastings 0be7813398 Add ValveType_Object type.
This is for the few cases where we have function parameters to objects that
don't fit our other predefined types (CBaseEntity, CBasePlayer, string).

Most calls currently pass those as POD (which is incorrect, but works on
x86), or one of the other pointer types (which is also incorrect, and can
lead to confusion, but works on x86 and x86-64).

This type only works when manually buffering the parameter for calls, and
is not supported for return types.
2021-10-12 20:56:51 -04:00
Nick Hastings de84f47503 On Linux, link against server libs instead of client (fixes META_CONPRINT). 2021-10-12 20:56:51 -04:00
Nick Hastings 115e3d4392 Update multiple SDKTools calls to be x64-safe [sizeof(void*) != sizeof(int)] 2021-10-12 20:56:51 -04:00
Nick Hastings 9f101ce67f Add missing WriteBaselines signatures for Blade Symphony. 2021-10-12 20:56:51 -04:00
Nick Hastings 9295bc4fbb Fix crash with IBinTools calls on x64 for functions with void return. 2021-10-12 20:56:51 -04:00
Nick Hastings 9e083ec668 Use new GetIServer call and updated IServerTools calls on Blade Symphony. 2021-10-12 20:56:51 -04:00
Nick Hastings 68c8857410 Enable more CS:GO engine logic for Blade Symphony. 2021-10-12 20:56:51 -04:00
Nick Hastings 9323d1094f Blade Symphony gamedata updates, round 1. 2021-10-12 20:56:51 -04:00
Nick Hastings dc2967b2e7 Fix CS:GO transposing of GiveNamedItem last param and return. 2021-10-12 20:56:51 -04:00
Nick Hastings 6d85c09e69 Enable 64-bit builds for Blade Symphony. 2021-10-12 20:56:51 -04:00
Nick Hastings 6a8177145d Add .vs and .vscode dirs to .gitignore. 2021-10-12 20:38:44 -04:00
Nick Hastings 677697a168 Trigger build for TF2 SDK INetChannel changes. 2021-09-16 22:07:57 -04:00
Nick Hastings 0fd4fa7066 Trigger build for TF2 SDK changes. 2021-09-16 21:05:01 -04:00
ae485c3115 Add A2S_Rules fix for CS:GO to CStrike extension. (#614)
* Add A2S_Rules fix for CS:GO to CStrike extension.

* Dont force set the cvar. Add checks before patching.

* Remove incorrect and useless check.

* Remove checking value as it is in the signature.

* Update build script changes to AMBuild 2.1 API to fix build.

* Fix bad check and ConVarRef being resolved too early.

* Whoops. This line is kinda important. Got nuked when refactoring.

* Remove unused variable.

* Updatet gamedata.

* Switch to "Addresses" gamedata lookup

* Add linux64 gamedata

* Fix mac build

Co-authored-by: Ruben Gonzalez <[email protected]>
Co-authored-by: Peace-Maker <[email protected]>
2021-03-08 22:42:32 +00:00
Nicholas Hastings 8e7d41ec02 Add NULL check to GetEntPropString return. (#1376)
This can be NULL for non-interned strings that don't have a value set.
2020-10-27 18:51:12 -04:00
Nicholas Hastings 18d93ff677 Sendprop string fixes (#1372)
* Fix reading SendProp non-interned strings.

* Make Get/SetEntPropString for SendProps use same macros as other funcs.
2020-10-23 11:26:54 +00:00
Nicholas Hastings b364bf8b06 Merge pull request #1102 from nosoop/sf11
TF2: Add new condition from Scream Fortress XI
2020-06-29 09:01:59 -04:00
Nicholas Hastings dea3ef70a2 Add string_t SetEntPropString support for ep1 (fixes #1287) (#1299) 2020-06-28 20:09:57 -04:00
Nick Hastings 1cc7d37189 Fix Dark Messiah build. 2020-06-28 13:41:27 -04:00
Nick Hastings 4c8103a4e1 Add string_t SetEntPropString support for ep1 (fixes #1287) 2020-06-25 21:20:56 -04:00
Nick Hastings 2ebbf2774b Update Fortress Forever gamedata. 2020-06-25 12:49:31 -04:00
Nicholas Hastings 7e0dd1fd41 Update TF2 CanBeAutobalanced gamedata. 2020-06-17 00:50:43 +00:00
Nick Hastings 1d98c3a782 Fix Linux SetClientName/SetUserConVar gamedata on Nuclear Dawn (Fixes #1225). 2020-04-08 17:47:49 -04:00
Nicholas Hastings 1000d419fc Throw configuration error on unsupported compilers (#1029) 2019-11-15 16:40:39 -08:00
Nicholas Hastings 14227c04b8 Fix matchmaking_ds bin not being found for gamedata (#1006). (#1028) 2019-06-01 14:30:22 -04:00