Commit Graph

6937 Commits

Author SHA1 Message Date
Your Name
0cf8f2b11f update amtl 2023-08-30 22:18:47 +02:00
BotoX
91cc6b300c Add "Restart Current Map" to sm_map menu. 2023-08-30 22:08:46 +02:00
BotoX
ec3351a320 Fix GetClientCount(false) 2023-08-30 22:08:46 +02:00
Your Name
aa2a71fc67 Add damageCustom argument to SDKHooks_TakeDamage native.
# Conflicts:
#	extensions/sdkhooks/natives.cpp
#	plugins/include/sdkhooks.inc
2023-08-30 22:08:46 +02:00
BotoX
142e76bd92 fix IsMapValid behavior change by a2246af121 2023-08-30 22:08:46 +02:00
BotoX
632429700b Changes on sm_*say 2023-08-30 22:08:46 +02:00
BotoX
a8d95ca044 Add GetClientIClient native. 2023-08-30 22:08:46 +02:00
Your Name
28b4b248f7 Extend function calling API for natives and allow catching exceptions.
Change sourcepawn url.

# Conflicts:
#	.gitmodules
#	core/logic/AMBuilder
2023-08-30 22:08:46 +02:00
BotoX
964c9ae835 Fix @spec not targeting clients in unassigned team. 2023-08-30 22:08:46 +02:00
Your Name
d099dbb659 Added hack to make plugins open a menu with all possible targets on ReplyToTargetError COMMAND_TARGET_AMBIGUOUS.
Explanation:
There are two clients in the server, one named gene, the other one "Ene ~special characters~".
An admin issues "sm_slay Ene" and gets following error message: More than one client matched the given pattern.
What this hack will do is: Use GetCmdArg(0, ...); to get the command name "sm_slay".
Use GetCmdArgString(...); to get the arguments supplied to the command.
Use GetLastProcessTargetString(...); (which was implemented in this commit) to retrieve the arguments that were passed to the last ProcessTargetString call.
It will then pass this data to the DynamicTargeting plugin through its AmbiguousMenu native.
The plugin will open up a menu on the client and list all targets which match the pattern that was supplied to ProcessTargetString.
If the client selects a menu entry, FakeClientCommand will be used to re-execute the command with the correct target.

# Conflicts:
#	tools/buildbot/PackageScript
2023-08-30 22:08:46 +02:00
BotoX
688e274c30 Add more macros to CDetour. 2023-08-30 22:08:46 +02:00
Mikusch
a5ff53f00f TF2: Add TFCond_ImmuneToPushback condition (#2023)
(cherry picked from commit 531b053096)
2023-08-30 22:08:46 +02:00
Mikusch
38fc001a1d TF2: Update StunPlayer signature (#2024) (fixes #2022)
(cherry picked from commit 0dafe04899)
2023-08-30 22:08:46 +02:00
data-bomb
4b949e8228 Add LookupAttachment signature for ND (#1942)
Adds the LookupAttachment signature for Nuclear Dawn

(cherry picked from commit a9a1939f75)
2023-08-30 22:08:46 +02:00
Dysphie
080c4bb8e2 Fix LookupAttachment signature for NMRiH (#1940)
(cherry picked from commit 693e584dcd)
2023-08-30 22:08:46 +02:00
Nick Hastings
149b16cbf3 Enable ShowMenu support for Reactive Drop (see #1938)
Note: Currently only works on beta version of game
(cherry picked from commit 397b70add0)
2023-08-30 22:08:46 +02:00
Corey D
b940b01be4 Fix LookupAttachment signature (#1933)
(cherry picked from commit a0eb6a9550)
2023-08-30 22:08:46 +02:00
Poggu
45258b8561 Fix EntityFactoryCaller signature (#1925)
(cherry picked from commit 6e839a95c6)
2023-08-30 22:08:46 +02:00
El Diablo
ab7b9b231d 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-08-30 22:08:46 +02:00
GAMMACASE
76c2addeb9 Gamedata update after 2/2/2023 CSGO update (#1921) 2023-08-30 22:08:46 +02:00
nosoop
7cb7703cf9 Update TF2 gamedata for version 7757534 (2023-01-05) (#1901)
(cherry picked from commit 27b1817b10)
2023-08-30 22:08:46 +02:00
clague
c2b204e810 Fix ReadMapList ignoring file's last modified time (#1891)
(cherry picked from commit 0d6179299c)
2023-08-30 22:08:46 +02:00
zer0.k
24c92c021c Add missing null pointer check to protobuf messages (#1883)
(cherry picked from commit ef7d3abefd)
2023-08-30 22:08:46 +02:00
nosoop
dd370c3904 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.
2023-08-30 22:08:46 +02:00
Erin
384fb668d1 Trigger build for TF2 SDK update 2023-08-30 22:08:46 +02:00
Nick Hastings
1903c0bd2b Trigger build against SDK update 2023-08-30 22:08:46 +02:00
nosoop
13034eff05 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)
2023-08-30 22:08:46 +02:00
Nick Hastings
a4703722be Update TF2 gamedata.
(cherry picked from commit 89bd4d7329)
2023-08-30 22:08:46 +02:00
nosoop
2e13460823 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.
2023-08-30 22:08:46 +02:00
nosoop
d356d80537 Add functions for working with entity lumps (#1673) 2023-08-30 22:08:45 +02:00
Erin Baker
412759cbc4 Enable CI on release branches (#1854) 2023-08-30 22:08:45 +02:00
Maxim Telezhenko
08841227a4 Fix DHooks jit code stack memory alignment (#1849) 2023-08-30 22:08:45 +02:00
Nick Hastings
18b2ffa786 Trigger build for hl2sdk-csgo update 2023-08-30 22:08:45 +02:00
Vauff
3e9a48c778 Correct missed team offsets in CheckRestartRound (#1844) 2023-08-30 22:08:45 +02:00
Nick Hastings
339fd85c6f Trigger build for hl2sdk-csgo update 2023-08-30 22:08:45 +02:00
Vauff
59144cf868 Update gamedata for 2022/10/21 CS:GO update (#1842) 2023-08-30 22:08:45 +02:00
David Anderson
ad3a44427a Update SourcePawn. 2023-08-30 22:08:45 +02:00
David Anderson
737d8c3240 Fix build. 2023-08-30 22:08:45 +02:00
David Anderson
4688783baf Revert "Introduce a pbproxy library to solve macOS linker issues."
This reverts commit e5ddbd9886.
2023-08-30 22:08:45 +02:00
David Anderson
ba5c6ad07c Revert "Fix use-after-free when creating custom user messages"
This reverts commit 15450a6d0c.
2023-08-30 22:08:45 +02:00
David Anderson
69045ccd52 Update SourcePawn on 1.11-dev. 2023-08-30 22:08:45 +02:00
42
cf39d4b820 Fix support for SDKCall returning non-networked entity (#1797)
(cherry picked from commit 625c7a98f2)
2023-08-30 22:08:45 +02:00
peace-maker
cb218a4911 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.
2023-08-30 22:08:45 +02:00
peace-maker
344284196c Update SQLite library to 3.38.5 (#1792)
Bring in the changes of the last four years of SQLite development.

Fixes #1728
Fixes #1592
2023-08-30 22:08:45 +02:00
Nick Hastings
e7c0726acd Trigger build against hl2sdk-csgo changes. 2023-08-30 22:08:45 +02:00
Nick Hastings
d0b34e783d Trigger build against hl2sdk-csgo changes.
(cherry picked from commit 5714e7695a653dcade1832cb482855e77b5f13dd)
2023-08-30 22:08:45 +02:00
Deathreus
d481e5fcb7 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
2023-08-30 22:08:45 +02:00
dysphie
1459c10112 Add sdktools gamerules support for NMRiH (#1784) 2023-08-30 22:08:45 +02:00
David Anderson
8b9131f6e4 Update SourcePawn. 2023-08-30 22:08:45 +02:00
Margen67
ce1a21ba0b .gitmodules: Make submodules shallow (#1769) 2023-08-30 22:08:45 +02:00