PerfectLaugh
c2d4643204
Remove unneeded paramter in CS_DropWeapon ( #988 )
...
Updated in 4/30/2019 csgo update
2019-05-01 15:11:22 -07:00
Nick Hastings
31836d2667
Hmm...
2018-12-06 20:50:47 -05:00
Nick Hastings
5dcd01801c
Add new GiveNamedItem param for CS:GO.
2018-12-06 20:50:40 -05:00
Asher Baker
e27e75b197
Handle NULLs in SDKCall string return ( Fixes #874 ) ( #906 )
...
`SDKCall` has existing semantics that a `-1` retval indicates null, so use that and writes an empty string to the buffer.
Consumers can tell the difference between `""` and `NULL` by checking if the return value is `0` or `-1`.
2018-10-11 00:19:08 +01:00
Michael Flaherty
8803219dd5
Fix regression in vstk size ( #894 )
...
* Fix regression in vstk size
* Fix macro comment mistake
* More macro comment removals
2018-10-04 11:14:56 -07:00
Michael Flaherty
ada56b06bb
Fix CS_TerminateRound calls & detour ( #893 )
2018-10-04 11:14:41 -07:00
Ruben Gonzalez
14eaa097cb
Add new weapons to CSWeaponID enum. ( #869 )
2018-09-12 10:34:50 -04:00
Michael Flaherty
dd456dcb19
Individualize NameHashSet Hashing & Revisit #709 ( #740 ) (1.9-dev) ( #866 )
...
This is a clone of #740 , but without the amtl ke::AString lowercase which was implemented in a new version of amtl that 1.9-dev isn't pinned to. Updating this pin and moving fixes is beyond what should go in 1.9, and this fixes a annoying and user-impactful bug with reload/unloading plugins on windows.
Currently in 1.9, once a plugin is loaded into the pluginsys, they must be used with lowercase characters *only*, since pr #709 ignorantly modified their names.
```
// test.smx exists in /plugins/
sm plugins load TEST.smx // successful
sm plugins unload TEST.smx // TEST.smx not found, it's actually test.smx
```
This pr fixes that error by converting *all* lookups, not just loads.
2018-08-11 13:37:05 +01:00
Michael Flaherty
ece57df986
Revert "Individualize NameHashSet Hashing & Revisit #709 ( #740 )"
...
This reverts commit 3803fbfe20
.
2018-07-27 20:36:16 -07:00
Michael Flaherty
3803fbfe20
Individualize NameHashSet Hashing & Revisit #709 ( #740 )
...
* Make mac/win lookups lowercase'd
* Revert #709 & 81042cc
* Adjust HashPolicy implementation across sourcemod
Basically, in order to implement our own (actual) hash policy in
`PluginSys.h`, we needed to remove the blanket implementation of `hash`
that was used before. Now, each policy must implement `hash` along with
`matches` in order to be used with `NameHashSet`. While this does force
us to change every implementation of policies across the entirety of
sourcemod, it allows core to use flexible implementations of `hash`.
* Remove logic duplication
* Improve lowercase checks
2018-07-27 18:59:50 -07:00
Nick Hastings
07f8043bce
Update SDKTools sound functionality for hl2sdk-csgo changes.
2018-07-07 09:07:38 -04:00
Dr!fter
cdb9851da6
Fix/Update regex extension and docs ( #775 , #767 )
2018-05-28 15:05:37 -04:00
Ruben Gonzalez
8e6ca1ce09
Revert "Make CS:GO specific natives exist only on CS:GO"
...
This reverts commit 687db96b38
.
2017-11-27 12:58:24 -05:00
Ruben Gonzalez
7507672895
Merge pull request #701 from alliedmodders/csgo-hashmap
...
CStrike extension changes for CS:GO
2017-11-03 19:48:55 -04:00
Nicholas Hastings
95afe72307
Separate out DOI build. ( #718 )
2017-11-03 15:45:16 -04:00
Nicholas Hastings
3a1bb177fc
Fix TF2IgnitePlayer not working after game update ( fixes #713 ).
2017-10-28 16:17:21 -04:00
Ruben Gonzalez
b6a2f72e95
Merge branch 'master' into csgo-hashmap
2017-10-27 18:57:28 -04:00
Ruben Gonzalez
6085afbaae
Fix comment info
2017-10-27 18:55:02 -04:00
Kyle Sanderson
2658636377
Fix unsigned compiler warning.
2017-10-27 18:53:49 -04:00
JRiipinen
8807939a14
Update TF2_IsPlayerInCondition ( #712 )
...
* Update TF2_IsPlayerInCondition
* Update conditions too
2017-10-27 07:02:38 -04:00
Nicholas Hastings
5cf6a0c875
Fix MakeBleed native call (add damage custom param)..
2017-10-22 10:48:27 -04:00
Michael Flaherty
4f54df65e9
Switch C header & Fix warnings ( #702 )
2017-10-15 10:32:01 +01:00
Kyle Sanderson
65bf85fcbe
(Re-)Add support for gcc and clang3.9, 4.0, and 5.0.
2017-10-09 16:53:19 -07:00
Kyle Sanderson
30f061e818
Fix unsigned comparison warnings (-Werror + GCC5) from CS:GO fixes.
2017-10-09 13:00:52 -07:00
Ruben Gonzalez
687db96b38
Make CS:GO specific natives exist only on CS:GO
2017-10-04 18:20:06 -04:00
Ruben Gonzalez
588e88c7ee
Fix build error.
2017-10-04 14:42:07 -04:00
Scott Ehlert
bbdecceb4b
Switch to AMBuild 2.1 API. ( #694 )
2017-10-02 07:18:57 -05:00
Kyle Sanderson
5d234bb9d6
Fix OnPlayerRunCmd crashing with invalid CUserCmd ptr. ( #693 )
2017-09-23 23:27:32 -07:00
Ruben Gonzalez
8c8af88cee
Add additional native, fix include file.
2017-09-19 12:37:11 -04:00
Ruben Gonzalez
1f3b14367d
Add new native to get enum value based on item definition index.
2017-09-09 23:27:32 -04:00
Ruben Gonzalez
3d461ecea1
Add support for CreateIitemEntityByName for CS:GO
2017-09-08 08:37:28 -04:00
Ruben Gonzalez
a341a0e85c
Use implemented function to get weapon name.
2017-09-03 19:31:23 -04:00
Ruben Gonzalez
d8f0484327
Make IsValidWeaponID check weapon info on CS:S
2017-09-03 19:30:35 -04:00
Ruben Gonzalez
453e9da7c5
Intial CS:Go changes and slight changes for CS:S WeaponID related function.
2017-09-03 09:19:12 -04:00
Ruben Gonzalez
0e7a3b0173
Use keyvalue to get weapon price, change void * to appropriate class names.
2017-08-28 10:17:12 -04:00
Ruben Gonzalez
22033c21f2
Fix CS_GetWeaponPrice returning incorrect weapon prices.
2017-08-25 10:26:28 -04:00
Ruben Gonzalez
5f9d571e12
Fix trying to use signature function for WeaponIDToAlias on linux.
2017-08-21 15:00:22 -04:00
Ruben Gonzalez
f7d3e44b19
Fix CS:S build
2017-08-21 10:48:54 -04:00
Ruben Gonzalez
a01e9e510c
Fix using Q_strcpy instead of Q_strncpy
2017-08-21 10:35:58 -04:00
Ruben Gonzalez
3eb297bee1
Fix cstrike extension natives/forwards due to update
2017-08-21 10:28:59 -04:00
Ruben Gonzalez
cbb5c6d740
Fix Handle buy call
2017-08-18 15:24:17 -04:00
Ruben Gonzalez
955a29a4aa
Fix HandleCommand_Buy_Internal param order.
2017-08-18 15:06:20 -04:00
Asher Baker
902cae595b
Include function name in cstrike ext error messages
2017-08-18 13:00:50 +01:00
Nicholas Hastings
29d1187434
Cache created entities by reference instead of index in SDKHooks ( #634 )
...
Fixes #663 .
2017-07-06 13:33:34 -04:00
Ruben Gonzalez
2f0272f864
Use the same weapon drop function in CS:GO as in CS:S
2017-06-12 08:39:27 -04:00
peace-maker
1351df4260
Add OnPlayerRunCmdPost forward ( #591 )
...
* Add OnPlayerRunCmdPost forward
Allow plugins to catch the values that are actually used by the game
after some eventual changes by other plugins.
* Add |const| qualifier to arrays in OnPlayerRunCmdPost forward
2017-05-09 15:16:05 +01:00
peace-maker
0961e5dde3
Fix crash when accessing gamerules during mapchange ( #593 )
...
If the gamerules proxy entity doesn't exist, don't try to generate the
reference for it.
2017-03-11 08:54:38 -08:00
Ruben Gonzalez
89c4be525b
Ignore replay and sourcetv in @spec targeting. ( #595 )
2017-03-11 16:12:43 +00:00
Benoist3012
08238a8036
Add FireEntityOutput native. ( #587 )
...
* AcceptEntityOutput native
* define fix
* MSVC fix and renamed native
* Added requested changes.
* tab/space fix
2017-02-15 19:29:43 -05:00
Nicholas Hastings
04055c411e
Fix startup crash on CS:GO caused by PR #514
2017-02-06 08:25:51 -05:00