Commit Graph
6935 Commits
Author SHA1 Message Date
Maxime Leroy 4989666d72 Add logging to all basevote vote results (#1794) 2022-10-30 23:26:17 +01:00
Erin f7fda0023c Enable CI on release branches (#1854) 2022-10-29 17:36:04 +01:00
Erin 13be211e9a Bump minimum MM:S version for build to 1.12 (#1855)
PVKII changes require at least MM:S 1.12 to build SM.
2022-10-29 15:48:38 +01:00
Spirrwell f6b39720ec Make sure 'pvkii' gets 'GetDataDescMap' offset (#1852) 2022-10-27 21:57:21 +00:00
Maxim Telezhenko 764e38a58f Fix DHooks jit code stack memory alignment (#1849) 2022-10-26 20:41:40 +02:00
Spirrwell e34e9b9869 Split PVKII into its own engine branch (#1847)
* Initial PVKII branch support

* Change PVKII code to 23, DOTA uses 22 in MM

* Bunch more SE_PVKII preprocessor that was missed

* Add some missing SOURCE_ENGINE_PVKII cases

* Update PVKII FireOutput signature for Linux

* Update checkout-deps with 'pvkii'

* Fix FireOutput signature for PVKII, accidentally used one from newer build

* Change PVKII code to 10, and bump others by 1

* Only check against SE_SDK2013 here, like Metamod

* More SE_PVKII preprocessor cleanup
2022-10-24 19:27:32 +00:00
Nick Hastings 721f348684 Trigger build for hl2sdk-csgo update 2022-10-23 18:24:24 -04:00
Vauff 9ddcd335af Correct missed team offsets in CheckRestartRound (#1844) 2022-10-22 09:30:33 -05:00
Nick Hastings eda9a42ee2 Trigger build for hl2sdk-csgo update 2022-10-21 22:28:35 -04:00
Vauff 22a964d89a Update gamedata for 2022/10/21 CS:GO update (#1842) 2022-10-21 20:13:57 -05:00
nosoop 855ece1d3b entitylump: Fix behavior of append (#1836)
This change ensures that the iterator values used by `std::distance`
is correct.  Having the emplace within leads to the possibility of
`m_Entities.begin()` being invalidated due to reallocations.
2022-09-20 16:24:08 +02:00
Vauff 568da23c96 Allow gamedata to use vscript binary (#1826) 2022-09-20 09:46:03 +02:00
Bara 4015f9c1c9 Replace old link with newer working one (#1837) 2022-09-19 22:35:49 +02:00
nosoop 21740d9a26 Add functions for working with entity lumps (#1673) 2022-09-05 15:44:58 -07:00
Impact 05aa3fd39d Update CreateDirectory (#1813)
* Update CreateDirectory docs

Add default arguments and a note about deep paths.

* Update note

* Add note about use_valve_fs
2022-08-27 01:59:43 +02:00
Vladimir 3100e23b87 Add support for gamedata lookups from soundemittersystem library (#1787)
* Add `soundemittersystem` library to game config signatures

* Remove `GAMEBIN` by `soundemittersystem` module load
2022-08-04 16:32:26 +02:00
David Anderson da3e868df5 Merge pull request #1812 from alliedmodders/revert-pbproxy
Revert "Introduce a pbproxy library to solve macOS linker issues."
2022-07-31 11:50:56 -07:00
David Anderson 63e0e2bc82 Fix build. 2022-07-31 11:22:10 -07:00
David Anderson a35ecde538 Revert "Introduce a pbproxy library to solve macOS linker issues."
This reverts commit e5ddbd9886.
2022-07-31 11:17:42 -07:00
David Anderson 81ad870def Revert "Fix use-after-free when creating custom user messages"
This reverts commit 15450a6d0c.
2022-07-31 11:16:50 -07:00
eyal282 24f1c89b96 Add Clientprefs helpers for integers and strings (#1727)
* Update clientprefs.inc

* Update clientprefs.inc

* Update clientprefs.inc

* Update clientprefs.inc

* Update clientprefs.inc

* Update clientprefs.inc

* Update clientprefs.inc

* Update clientprefs.inc

* Update clientprefs.inc

* Update clientprefs.inc

* Update clientprefs.inc
2022-07-31 11:59:25 +02:00
Kevin Yonan a761194917 Update operator% forwards to newdecls (#1763) 2022-07-28 18:12:00 -07:00
Corey D 9321229321 Add GetClientOriginalLanguage (#1810)
Creates a native which will return the language the client connected with.
2022-07-28 18:10:51 -07:00
Accelerator e5ebd65176 Exposed SDKCall_Engine call type to use CVEngineServer methods (#1648)
* Update vdecoder.h

* Update vcaller.cpp

* Update sdktools.inc
2022-07-26 22:14:49 +02:00
Dysphie 5f7b22d2a4 Allow using sm_nominate without args from console (#1803) 2022-07-26 22:09:48 +02:00
David Anderson 52da989762 Update SourcePawn on master. 2022-07-09 18:32:51 -07:00
42 625c7a98f2 Fix support for SDKCall returning non-networked entity (#1797) 2022-07-08 14:33:43 +00:00
Mikusch 278998f7d0 SDKTools: Add explode parameter to ForcePlayerSuicide native (#1782)
* Expose CommitSuicide params

* A single space

* Validate param count

* Set force param to true by default
2022-07-07 14:14:50 +02:00
peace-maker c29e185d2a Bump version to 1.12 for manual builds (#1795) 2022-07-05 15:13:52 +02:00
David Anderson 5c66a78763 Bump master to 1.12. 2022-07-02 17:02:08 -07:00
peace-maker 5e3a189642 Log a notice if the geoip database gets too old (#1791)
Since we ship an ancient version of the database, help server operators keep track of the database version.
2022-06-30 08:22:51 +02:00
peace-maker 7b89f5fab3 Update SQLite library to 3.38.5 (#1792)
Bring in the changes of the last four years of SQLite development.

Fixes #1728
Fixes #1592
2022-06-30 08:22:28 +02: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
dysphie 678ad74bf4 Add sdktools gamerules support for NMRiH (#1784) 2022-06-24 10:00:02 -04:00
David Anderson 12e20eecf7 Update SourcePawn. 2022-06-24 10:00:02 -04:00
Margen67 a5ae01a2f4 .gitmodules: Make submodules shallow (#1769) 2022-06-24 10:00:02 -04:00
Vauff 614c7d8332 Expand ShowHudText message buffer for Protobuf games (#1777)
* Expand ShowHudText message buffer for CS:GO

* Expand buffer on Blade Symphony too
2022-06-24 10:00:02 -04:00
peace-maker 9121472061 DHooks: Error on argument passflags for detours (#1773)
The passflags are only supported by SourceHook for virtual hooks and are ignored for detours with DynamicDetours. This caused confusion, so throw an error when trying to set e.g. the DHookPass_ByRef flag on detour arguments.
2022-06-24 10:00:02 -04:00
peace-maker 54fd778830 DHooks: Fix changing of byref vector parameters (#1772)
We always created a new vector object instead of changing the passed in vector directly. This works for the function being called using our changed values - but the caller doesn't see the changed values if it's passing a vector by reference.

Only create a new vector if there isn't one being passed in and set the values directly in the passed in vector otherwise.
2022-06-24 10:00:01 -04:00
Deathreus 37c2a83523 Add a PluginIterator methodmap (#1779)
* Add a PluginIterator methodmap

* Follow convention

* Update sourcemod.inc

* Turn method ReadPlugin into property Plugin

* Requested change

* Update sourcemod.inc

* Curse you VSC

* Follow behavior of other iterators instead of the natives

* Fix a stray space

* Implement a hacked CPluginIterator

* Oops

Copy paste go brr

* Revert a change made before the custom impl
2022-06-24 11:46:03 +02: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
dysphie 0f7f9dad97 Add sdktools gamerules support for NMRiH (#1784) 2022-06-20 16:47:11 +00:00
David Anderson 4276301499 Update SourcePawn. 2022-06-18 15:35:30 -07:00
Margen67 d41ffaad7e .gitmodules: Make submodules shallow (#1769) 2022-06-15 13:49:57 +02:00
Vauff 5c0ae11a46 Expand ShowHudText message buffer for Protobuf games (#1777)
* Expand ShowHudText message buffer for CS:GO

* Expand buffer on Blade Symphony too
2022-06-06 12:45:35 +00:00
peace-maker 7424deefb9 DHooks: Error on argument passflags for detours (#1773)
The passflags are only supported by SourceHook for virtual hooks and are ignored for detours with DynamicDetours. This caused confusion, so throw an error when trying to set e.g. the DHookPass_ByRef flag on detour arguments.
2022-05-31 14:58:36 +02:00
peace-maker c92354debb DHooks: Fix changing of byref vector parameters (#1772)
We always created a new vector object instead of changing the passed in vector directly. This works for the function being called using our changed values - but the caller doesn't see the changed values if it's passing a vector by reference.

Only create a new vector if there isn't one being passed in and set the values directly in the passed in vector otherwise.
2022-05-31 14:55:47 +02:00