Scags
6c2be9bdcc
Add sm_dump_datamaps_xml ( #1409 )
2021-03-08 14:28:43 -08:00
BotoX
1a11d92fd9
core: Add client id to MultiTargetFilter forward ( #1070 )
...
* Added client id to MultiTargetFilter forward.
* Add CapabilityProvider for MultiTargetFilter client param
2021-03-08 10:04:11 -08:00
Loïc
52c4d08e15
Improve logging on map/generic votes ( #1362 )
2021-03-08 05:02:20 -08:00
peace-maker
6ea1e39ee4
core/sm: Harden plugin loading path requirements ( #1437 )
...
* Harden plugin loading path requirements
Restrict loading of plugins to the `sourcemod/plugins` folder and require the `.smx` file extension.
Symlinks inside the `plugins` folder are fine.
This behavior was abused as part of justCTF 2020 in the PainterHell challenge by cypis. Thank you!
* Restrict extension loading to extensions folder
* Add NULL file extension check in LoadExtension
hi @KyleS
2021-03-07 14:33:33 -08:00
Deathreus
f9633a5f6f
Universalize a single call to srand() on map init ( #1422 )
2021-03-07 04:54:27 -08:00
peace-maker
5bc48b2ab3
Prefer python3 over python(2) in checkout-deps ( #1424 )
...
* Prefer python3 over python(2) in checkout-deps
We require Python 3 and don't want to accidentally use Python 2 if both are available.
* Use python3 in travis build
* Install python3-pip package on travis trusty image
* Fix pip detection in checkout-deps.sh
2021-03-07 13:50:15 +01:00
Arron Vinyard
70b6e96f95
Fix documentation constant reference
2021-03-07 13:45:16 +01:00
Peace-Maker
91a1fd074b
Fix sql injection in sql-admin-manager plugin
...
This bug was found as part of justCTF 2020 in the PainterHell challenge by cypis. Thank you!
Admins with the root flag could inject their own queries towards the admin database connection.
The sql-admin-manager plugin is disabled by default.
2021-02-02 11:20:02 +01:00
Impact
a615c139e6
Update note about non-existing SQL_MoreResults ( #1416 )
2021-01-14 14:50:15 +00:00
komashchenko
978fa6b252
Fix detour HandleCommand_Buy_Internal ( #1406 )
2020-12-18 12:10:10 +00:00
c0rp3n
24f90449ad
[CS:GO] Remove control chars from gamedata
2020-12-16 16:17:14 +01:00
Peace-Maker
ba8753836e
Cleanly remove all hooks on extension unload
...
Allows to e.g. reload sdktools during runtime without crashing. Useful for fast development cycles.
2020-12-16 15:52:48 +01:00
kidfearless
e59fd9de96
Fix missed old syntax parameter in menus
2020-12-13 20:12:07 +01:00
Loïc
6c4079cb94
Fix error description
...
As coded in aae7161273/core/logic/smn_players.cpp (L1405)
, its a "client not in game", not "client not connected".
2020-12-13 20:10:11 +01:00
Natanel Shitrit
c2b806563e
Update 'CScore' offset for CS:GO ( #1394 )
2020-12-04 17:13:10 +00:00
Vauff
15d912df38
Update TerminateRound signature for CS:GO linux ( #1392 )
2020-12-04 00:10:51 +00:00
Einyux
a191a907e9
Add new trie native: ContainsKey() ( #1390 )
2020-11-30 20:51:47 -08:00
Arron Vinyard
0caa349f6a
Update cookie funcs to return newdecl Cookie ( #1379 )
2020-11-07 13:16:29 -08:00
Headline
1cd0efad41
NPOTB: Fix no SDK target exception ( #1359 )
2020-11-07 13:14:58 -08:00
Mustafa Enes AKDENİZ
9d49bbfaf0
Fixed unauthorized menu usages ( #1374 )
...
* Fixed unauthorized menu usages
Let's say we have kick flag but don't have admin menu flag.
When we type !kick, menu opens with a back button, when we click back button, we go parent menu without admin menu flag
* Update ban.sp
2020-11-05 11:34:00 +01:00
Peace-Maker
3eb2cd2971
Remove verbose hl2sdk-X not found
warning
...
None of the available usage options have any use for such a warning.
2020-10-28 20:55:00 +01: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
Mustafa Enes AKDENİZ
94ea925152
Improvements on !admin menu flags ( #1364 )
...
* Improvements on !admin menu flags
Lets say we have override the sm_unmute command and changed it to ADMFLAG_CUSTOM1.
Then create an admin, we gived our admin ADMFLAG_Chat flag, admin can't use sm_unmute command cause it doesnt have access to this command.
But if admin go into "!admin" menu then, he will able to run sm_unmute on "player command" menus
* removed unauthorized menu items
* Deleted Whitespace and ITEMDRAW_DEFAULT
2020-10-24 23:52:35 +00: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
David Anderson
d48cf93a94
Fix builder.target usage.
2020-10-22 23:41:01 -07:00
Mr. Silence
104b6b878a
[ZPS] Gamedata update for sdktools/sdkhooks ( #1369 )
...
* Gamedata update for ZPS 3.1
Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>
* Offset updates for ZPS 3.1
Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>
* Updated offsets and signatures.
Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>
2020-10-20 03:58:35 +00:00
Erik Minekus
90b68f095f
Fix spcomp64 filename for Windows #1368
2020-10-19 19:02:20 +02:00
Asher Baker
6a4364d404
Update credits ( #1367 )
2020-10-16 21:41:21 +01:00
peace-maker
5e819f6596
Update SourcePawn ( #1365 )
2020-10-14 18:15:35 -07:00
Mikusch
eef96da641
tf2: Add TFCond_PowerupModeDominant ( #1361 )
...
* Add TFCond_PowerupMode_Dominant
* comma
* Consistency
2020-10-02 17:33:57 -07:00
Rostu13
c38b392fdf
sdktools: permit symbol signatures on win32 ( #1346 )
...
* Fix sig scanner for windows
* fix linux build
* Update vcaller.cpp
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-10-02 17:33:05 -07:00
David Anderson
e0d9dfb68e
sourcepawn: uplift FakeNative to DynamicNative. ( #1338 )
...
This removes calls to CreateFakeNative.
2020-10-02 16:42:31 -07:00
Scags
589d6df75d
gamedata: implement GetMemSig ( #1345 )
2020-10-02 16:40:13 -07:00
Scags
6fd9d1ce11
gamedata: automate reparsing on load ( #1348 )
...
* Add sm_reload_gamedata
* Remove redundant cast
* Automate gamedata reparsing
* Update GameConfigs.cpp
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-10-02 16:25:27 -07:00
Headline
ef36604666
datapack: remove legacy cache ( #1357 )
2020-10-02 16:04:30 -07:00
Headline
db56b14637
loader: preserve binary path for amd64 ( #1358 )
2020-10-02 16:01:30 -07:00
Scags
b14c18ee64
Fix invalid sm_dump_netprops_xml output ( #1360 )
2020-10-01 14:28:07 -07:00
Michael Busby
2c94ab3b1c
Update L4D2 Gamedata for 2.2.0.0 ( #1351 )
2020-09-24 18:52:24 +01:00
Sikari
f12b3a2e13
Fix "Command Group" override type admin flags ( #1349 )
2020-09-07 10:41:59 +01:00
Asher Baker
ea3f55f030
Remove OnEntitySpawned C++ listener ( #1342 )
...
This is causing crashes with existing extensions using entity listeners.
Currently no one is asking for a C++ hook here, if it is desired it
needs to be done with proper versioning of the listener interface, which
is going to be a little bit more complicated without an initial hard
break.
https://forums.alliedmods.net/showpost.php?p=2715337&postcount=789
https://discordapp.com/channels/335290997317697536/335290997317697536/748101258186850334
This is a partial revert of #1078 .
2020-08-26 12:53:31 +01:00
David Anderson
6e2c5a66b3
Remove use of the Dep API.
...
This is going away.
2020-08-24 20:48:57 -07:00
David Anderson
0bed34e0c7
Add x64 to official Windows builds.
2020-08-20 23:17:21 -07:00
David Anderson
f0d8a70b38
Fix tabs in BreakpadSymbols.
2020-08-19 00:43:12 -07:00
David Anderson
9acf2b5cda
Use Python 3.8 on the Windows buildbot.
2020-08-19 00:39:54 -07:00
David Anderson
d49b92603a
Another BreakpadSymbols fix.
2020-08-19 00:12:40 -07:00
David Anderson
aa01a22416
Fix BreakpadSymbols again.
2020-08-19 00:09:08 -07:00
David Anderson
50e43a9f98
Fix BreakpadSymbols.
2020-08-18 23:45:30 -07:00
David Anderson
ed325c7208
Trigger a full rebuild.
2020-08-18 23:42:36 -07:00
David Anderson
aac2c4a080
Trigger full reconfigures when requested.
2020-08-18 23:29:24 -07:00
David Anderson
785c6aa1cf
Update to AMBuild 2.2.
...
This is a pretty big diff because SourceMod had lots of multi-arch
workarounds that can now go away. I've also changed 'x64' to 'x86_64' in
many places since this is how AMBuild normalizes it, and it's far too
late to pick the shorter string, so we might as well suck it up.
The --target-archs parameter has been replaced with --targets. It works
the same way.
The default behavior for SDK inclusion is now "present" instead of
"all" since this lowers the burden of storing many SDKs. Official builds
will still be made with --sdks=all.
2020-08-18 23:09:43 -07:00