Commit Graph

6933 Commits

Author SHA1 Message Date
Dysphie
9d6b0956b2 Fix LookupAttachment signature for NMRiH (#1940)
(cherry picked from commit 693e584dcd)
2023-03-01 11:32:48 -05:00
Nick Hastings
e764b7273c Enable ShowMenu support for Reactive Drop (see #1938)
Note: Currently only works on beta version of game
(cherry picked from commit 397b70add0)
2023-02-26 12:40:51 -05:00
Corey D
99a9948407 Fix LookupAttachment signature (#1933)
(cherry picked from commit a0eb6a9550)
2023-02-12 21:15:52 -05:00
Poggu
218b6969c3 Fix EntityFactoryCaller signature (#1925)
(cherry picked from commit 6e839a95c6)
2023-02-04 11:08:54 -05:00
El Diablo
b25b3ac9ac Linux [SDKTOOLS] Sigscan for FireOutput FIX (#1923)
Addie said:
test the signatures:
\x55\x89\xE5\x57\x56\x53\x81\xEC\x8C\x01\x00\x00\x8B\x55\x08
or
digby's \x55\x89\xE5\x57\x56\x53\x81\xEC\x8C\x01\x00\x00\x8B\x55\x2A\x65\xA1

\x55\x89\xE5\x57\x56\x53\x81\xEC\x8C\x01\x00\x00\x8B\x55\x08 fixed the issue for linux server.

(cherry picked from commit 2dcee81f22)
2023-02-04 09:52:43 -05:00
GAMMACASE
67b95f730b Gamedata update after 2/2/2023 CSGO update (#1921) 2023-02-03 17:59:52 +00:00
nosoop
7c1c352b2a Update TF2 gamedata for version 7757534 (2023-01-05) (#1901)
(cherry picked from commit 27b1817b10)
2023-01-05 18:57:06 -05:00
clague
fd63fff810 Fix ReadMapList ignoring file's last modified time (#1891)
(cherry picked from commit 0d6179299c)
2022-12-20 16:58:14 -05:00
zer0.k
7eddae977a Add missing null pointer check to protobuf messages (#1883)
(cherry picked from commit ef7d3abefd)
2022-12-20 16:58:14 -05:00
nosoop
01fa02826f entitylump: Output separator as spaces instead of tabs
On NMRiH and possibly other games that use the Maphacks system,
entries that are modified using that system are rendered with tab
characters stripped out - see CNMRiHMapHackManager::GetEntDataString.

That results in there being no separators at all between keys and
values, as Maphacks receives the serialized string from Entity Lump
Manager.

This commit changes the key / value separator character to use
spaces instead.

This discovery upsets me greatly.

Fixes #1833.
2022-12-06 20:43:46 +00:00
Erin
16da1f433b
Trigger build for TF2 SDK update 2022-12-02 08:51:29 +00:00
Nick Hastings
f9765981dc Trigger build against SDK update 2022-12-01 22:38:15 -05:00
nosoop
99ec71acbc Ensure gameconfig file uniqueness when reading master.games (#1859)
The extended gameconfig format reads the master gameconf file twice;
once each for the base engine and actual engine.  The file list
isn't checked for duplicates, so 'common.games.txt' is loaded in
twice, resulting in any 'common' file values potentially overriding
values listed under '#default' in other files due to
bShouldBeReadingDefault.  This happens in the case when matching
game versions by CRC (such as public game branches).

Required for #1857.

(cherry picked from commit 34c8220e5d)
2022-12-01 21:52:05 -05:00
Nick Hastings
d1be042143 Update TF2 gamedata.
(cherry picked from commit 89bd4d7329)
2022-12-01 19:36:31 -05:00
nosoop
e7c8c84d5d 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-11-25 19:55:43 +00:00
nosoop
3e14e93776 Add functions for working with entity lumps (#1673) 2022-11-25 19:55:43 +00:00
Erin Baker
58f0ca4758 Enable CI on release branches (#1854) 2022-10-29 17:38:56 +01:00
Maxim Telezhenko
b5e029d944 Fix DHooks jit code stack memory alignment (#1849) 2022-10-26 13:01:52 -07:00
Nick Hastings
a5b1311081 Trigger build for hl2sdk-csgo update 2022-10-23 18:24:37 -04:00
Vauff
0108354fd9 Correct missed team offsets in CheckRestartRound (#1844) 2022-10-22 10:36:49 -04:00
Nick Hastings
aec89ccd4e Trigger build for hl2sdk-csgo update 2022-10-21 22:29:42 -04:00
Vauff
a887cbec97 Update gamedata for 2022/10/21 CS:GO update (#1842) 2022-10-21 21:32:45 -04:00
David Anderson
2f0ba0f345 Update SourcePawn. 2022-08-06 16:19:45 -07:00
David Anderson
c6de1d6ea0 Fix build. 2022-08-06 16:01:12 -07:00
David Anderson
5d9ddeee2f Revert "Introduce a pbproxy library to solve macOS linker issues."
This reverts commit e5ddbd9886.
2022-08-06 16:00:58 -07:00
David Anderson
767c0f7423 Revert "Fix use-after-free when creating custom user messages"
This reverts commit 15450a6d0c.
2022-08-06 15:56:58 -07:00
David Anderson
2631b03bf2 Update SourcePawn on 1.11-dev. 2022-07-09 18:30:10 -07:00
42
aa4145c78e Fix support for SDKCall returning non-networked entity (#1797)
(cherry picked from commit 625c7a98f2)
2022-07-08 10:34:47 -04: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
Nick Hastings
50eca8e60c Update Reactive Drop gamedata (closes #1771) 2022-05-30 20:28:55 -04:00
Headline
c570150318
Lift raw pointers out of DatabaseConfBuilder (#1637)
* Lift raw pointers out of DatabaseConfBuilder

* Maybe: not
2022-05-24 11:41:15 +02:00