Commit Graph

6274 Commits

Author SHA1 Message Date
Michael Flaherty
266532f18c
Prevent FrameIterator OOB Errors () 2019-01-13 13:37:41 -08:00
Nick Hastings
95027e0ae8 Fix BfRead.BytesLeft not being able to be optional. (fixes ). 2019-01-01 15:37:01 -05:00
Nicholas Hastings
b5a0332181
Fix Mac build. 2018-12-30 19:56:19 -05:00
Asher Baker
ff935b4707
Backport ()
Backport  to 1.9-dev, to fix build on updated versions of VS 2017.
2018-12-29 15:43:59 +00:00
Deathreus
793c603826 Bump non-critical versioning to 1.9 () 2018-12-27 20:27:47 -05:00
David Anderson
03b270cf18 Don't double-format in ReplyToCommand. 2018-12-12 23:30:55 -08:00
Ruben Gonzalez
3c1c6f6c79
Add new CSGO weapon id's/itemdefs. () 2018-12-12 11:39:30 -08:00
Nick Hastings
81766d31f7 Typo fix for CS:GO POSIX Extinguish gamedata. 2018-12-08 09:10:28 -05:00
Nick Hastings
cb886d4524 Update CS:GO contribution score offset. 2018-12-07 07:26:20 -05: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
Nick Hastings
5215abe5c5 Update CS:GO SDKTools and SDKHooks offsets. 2018-12-06 20:50:14 -05:00
Ruben Gonzalez
d34d232682 Update csgo gamedata part 1 2018-12-06 20:44:47 -05:00
Dr!fter
a084b3295e Update CS:GO SetClanTag. 2018-11-07 18:14:52 -05:00
Asher Baker
48f7e6bcd5
Update game.empires.txt 2018-10-14 13:07:10 +01:00
Asher Baker
74195870e2 Add a note about FormatTime platform dependence ()
This has been another constant source of confusion since the C99 ones were added to the strftime documentation we link.

It'd be nice to have a consistent implementation inside SM in the future.
2018-10-11 11:07:58 +01:00
Asher Baker
e27e75b197 Handle NULLs in SDKCall string return (Fixes ) ()
`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
Ruben Gonzalez
0cdc3616f2 Update CS:GO gamedata. () 2018-10-09 20:21:11 -04:00
Nick Hastings
92e9ca7153 Merge branch '1.9-dev' of https://github.com/alliedmodders/sourcemod into 1.9-dev 2018-10-05 07:12:14 -04:00
Michael Flaherty
ff727d537a [NMRiH] Gamedata update (Fixes ) () 2018-10-05 07:11:55 -04:00
Michael Flaherty
8803219dd5
Fix regression in vstk size ()
* 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 () 2018-10-04 11:14:41 -07:00
Ruben Gonzalez
14eaa097cb Add new weapons to CSWeaponID enum. () 2018-09-12 10:34:50 -04:00
Michael Flaherty
98be188cbe Fix SetClanTag CS:GO Windows Signature () 2018-08-15 18:06:49 -07:00
Asher Baker
3a61446626
Update blacklist.plugins.txt 2018-08-12 22:33:19 +01:00
Michael Flaherty
dd456dcb19 Individualize NameHashSet Hashing & Revisit () (1.9-dev) ()
This is a clone of , 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  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
Nick Hastings
c6303d1ec3 Trigger build against hl2sdk-tf2 update. 2018-08-02 17:30:20 -04:00
Michael Flaherty
ece57df986 Revert "Individualize NameHashSet Hashing & Revisit ()"
This reverts commit 3803fbfe20.
2018-07-27 20:36:16 -07:00
Michael Flaherty
3803fbfe20 Individualize NameHashSet Hashing & Revisit ()
* Make mac/win lookups lowercase'd

* Revert  & 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
Dr!fter
50b5bb1970 Fix CS:GO weaponPrice offset. 2018-07-13 07:47:28 -04:00
Nick Hastings
047e0280ca Enable radio menus for IOSoccer. 2018-07-10 20:19:54 -04:00
Mr. Silence
afc493394d Updated some offsets and all signatures for ZPS. ()
Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>
2018-07-10 20:16:05 -04:00
Joël Troch
54a32e979f [ZPS] Update gamedata and engine migration ()
* Migrate ZPS from EP2 to SDK 2013 engine

* Update ZPS gamedata (for version 3.0.7-Hotfix3)
2018-07-10 20:15:41 -04:00
Nick Hastings
07f8043bce Update SDKTools sound functionality for hl2sdk-csgo changes. 2018-07-07 09:07:38 -04:00
Nick Hastings
0a7a01e617 Trigger build for hl2sdk-csgo update. 2018-07-06 21:06:44 -04:00
Ruben Gonzalez
a68b21369c Update SetClanTag signature 2018-07-06 19:22:03 -04:00
Nick Hastings
9a53fc4425 Update SDKTools gamedata for IOSoccer (fixes ). 2018-06-22 16:31:42 -04:00
Nick Hastings
ab68d046c8 Fix oops with SetConVarBounds. 2018-06-03 12:37:32 -04:00
Dr!fter
cdb9851da6 Fix/Update regex extension and docs (, ) 2018-05-28 15:05:37 -04:00
Nick Hastings
93e9a29353 Merge branch '1.9-dev' of https://github.com/alliedmodders/sourcemod into 1.9-dev 2018-05-20 19:50:58 -04:00
Nick Hastings
fba6997c67 Missed converting a GetFlags instance. 2018-05-20 19:50:52 -04:00
Nick Hastings
880f8869a6 Out with the old ConVar accessibility hacks, in with the new.
Cherry-picked from 467d5705.
2018-05-20 19:50:33 -04:00
Nicholas Hastings
e71497eaa6
Update pushbuild.txt 2018-05-11 08:54:45 -04:00
Nick Hastings
256b33f75a Update BM:S gamedata. 2018-05-06 12:18:02 -04:00
Nick Hastings
c316d8fccd Fix wrong matchmaking_ds bin path being used in some instances. 2018-05-06 10:31:25 -04:00
Nick Hastings
bc09b06166 Update Insurgency FireOutput gamedata. 2018-05-05 11:52:08 -04:00
Nick Hastings
208299f703 Update ConVar hacks for BMS.
This is also to trigger an MM:S build for hl2sdk changes in multiple branches.
2018-05-05 11:52:02 -04:00
Spirrwell
523befc238 Update Function Offsets For PVKII ()
* Update Function Offsets For PVKII

-Updates offsets
-Removes "Reload" as no corresponding function actually exists

* Offset Fixes

-Re-add "Reload" as it's defined for CBaseCombatWeapon
-Fix Linux\Mac offsets for GroundEntChanged
2018-05-05 11:51:51 -04:00
Asher Baker
2098a36d4b
Update blacklist.plugins.txt 2018-02-15 22:37:13 +00:00
Nicholas Hastings
083ab81035 Add RemoveEntity native. (bug 5714) () 2018-01-07 13:56:30 -05:00