Commit Graph

6260 Commits

Author SHA1 Message Date
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
Ruben Gonzalez
847261b6c9 Merge pull request from alliedmodders/show-required-exts
Address issue 
2017-12-31 11:17:44 -05:00
Scott Ehlert
309e6ae959 Update CS:GO TerminateRound signature for Linux. 2017-12-19 23:28:19 -06:00
Nicholas Hastings
1de6dbacad
Update TF2 CalcIsAttackCritical gamedata. 2017-12-14 08:27:37 -05:00
Michael Flaherty
64ab3a08b5 Add missing const to usermessage function parameters () 2017-12-14 11:27:07 +00:00
Nicholas Hastings
4007ec8cf8 Temp fix for load issues on Linux. 2017-12-05 20:44:53 -05:00
Asher Baker
c33bf330a0
Add doi, remove dota 2017-12-04 21:47:00 +00:00
Michael Flaherty
830c3f36d3 Block reserved device names on windows () 2017-12-03 11:38:56 +00:00
Michael Flaherty
a5583882f4 fix bad english 🍋 () 2017-12-03 11:37:50 +00:00
Ruben Gonzalez
6896ef739d
Merge pull request from alliedmodders/show-required-exts
Split optional extensions into their own block if not found.
2017-11-30 16:02:33 -05:00
Ruben Gonzalez
c87afde1bd Add optional extensions not found to sm exts list in a seperate list. 2017-11-30 14:21:19 -05:00
Ruben Gonzalez
51cea0e04e Only show extensions that failed to load if the extension is required. 2017-11-30 12:57:12 -05:00
Nicholas Hastings
89732f7935 Revert "Update pushbuild.txt"
This reverts commit 8589a091dd.
2017-11-27 20:57:18 -05:00
Kyle Sanderson
8589a091dd
Update pushbuild.txt
Force build.
2017-11-27 17:49:01 -08:00
Nicholas Hastings
d9bf0a816e Fix CreateInterface missing in loader. 2017-11-27 19:21:25 -05:00