Commit Graph

6359 Commits

Author SHA1 Message Date
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
Michael Flaherty
d685f30847 Add Translation Natives (#669)
* Add Translation Natives

See #626

* Fix vocab errors
* Better description
* Bump ITranslator Version
* Implement KyleS' Review Requests
* Improve documentation
2017-11-20 21:24:01 -08:00
Michael Flaherty
43cdf20fd3 Add FrameIterator to SourceMod (#716).
* Create FrameIterator type
This commit adds the FrameIterator type to core sm along with a few
methods around getting the information for each frame.

* Fix incorrect documentation
[skip ci]
* Implement KyleS's Changes
* A nit
2017-11-16 18:55:37 -08: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
BenediktKa
539adcb8a2 Fix typo in reservedslots.phrases.txt (#717) 2017-11-03 12:19:08 -04:00
Nicholas Hastings
3a1bb177fc Fix TF2IgnitePlayer not working after game update (fixes #713). 2017-10-28 16:17:21 -04:00
Asher Baker
f156d48f45
Include missing ctype header for macOS build 2017-10-28 12:51:55 +01:00
Michael Flaherty
404e96ad45 Add KeyValues.ExportToString (#706) 2017-10-28 12:47:00 +01:00
Michael Flaherty
90ddc16a4b Lowercase windows/mac paths to avoid plugin duplicate loadings (Bug 6491) (#709) 2017-10-28 12:44:25 +01:00
FlaminSarge
c3b25e54f8 Add convenience logic for "offset" to Address definitions in GameConf (#580)
Allows for the last "read" offset for an Address to instead be "offset", which doesn't deref the addr pointer after applying the offset
Shortens the necessary coding to get a particular Address inside a function (old: store offset in a separate GameConf Offsets entry, apply the offset to the Address in SP)
2017-10-28 12:11:32 +01: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
Asher Baker
4bab834716
Merge pull request #672 from peace-maker/null_natives_fixed
Add natives to check for NULL_VECTOR and NULL_STRING
2017-10-27 20:03:09 +01:00
Nicholas Hastings
8f6f881937 Update tf2 stun and death flags. 2017-10-27 08:03:39 -04:00
JRiipinen
8807939a14 Update TF2_IsPlayerInCondition (#712)
* Update TF2_IsPlayerInCondition

* Update conditions too
2017-10-27 07:02:38 -04:00
Scott Ehlert
27b69559a3 Really fix macOS build. 2017-10-26 20:38:25 -05:00
Scott Ehlert
373fb4f776 Update amtl to fix macOS build. 2017-10-26 19:36:30 -05:00
David Anderson
8c88614c2e Merge pull request #714 from Headline22/dvander-rednavd
Pin sourcepawn submodule to 1.9-dev
2017-10-24 20:09:00 -07:00
Michael Flaherty
858a0ba17d Pin sourcepawn submodule to 1.9-dev 2017-10-24 19:16:14 -07:00
Nicholas Hastings
5cf6a0c875 Fix MakeBleed native call (add damage custom param).. 2017-10-22 10:48:27 -04:00
Benoist3012
a5c213ae7d make bleed linux sig fix 2017-10-22 10:48:27 -04:00
Nicholas Hastings
23a1c5f952 Tyop fix. 2017-10-22 09:32:02 -04:00
Nicholas Hastings
5aaea4c2c5 Update TF2 enums. 2017-10-22 08:52:02 -04:00
Nicholas Hastings
ab303e7394 Gamedata for 2017-10-20 TF2 update. 2017-10-19 23:59:14 -04:00
Michael Flaherty
4f54df65e9 Switch C header & Fix warnings (#702) 2017-10-15 10:32:01 +01:00
Kyle Sanderson
36f9a8ed7a NPOTB: Remove unsupported packages line from Travis-CI. 2017-10-10 12:00:11 -07:00
Kyle Sanderson
2ccaa376ba NPOTB: Enable better coverage testing with toolchains (Travis-CI). (#703)
NPOTB: Enable better coverage testing with toolchains (Travis-CI).
2017-10-09 18:34:01 -07: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
Kyle Sanderson
22e3d2d198 Fix GCC build with SourcePawn. 2017-10-09 11:51:49 -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
65a8f3cbf8 Trigger build. 2017-10-03 03:24:44 -05:00
Scott Ehlert
82e6d00cea Fix build. 2017-10-02 07:40:58 -05:00
Scott Ehlert
bbdecceb4b Switch to AMBuild 2.1 API. (#694) 2017-10-02 07:18:57 -05:00
Andrew
f67e4ce610 Making rename's LogAction message consistent... (#696)
with the other plugin's messages.
2017-09-26 20:22:38 -04:00
Andrew
f289799c57 Making gravity's LogAction message consistent... (#695)
with the other plugin's messages.
2017-09-26 20:22:30 -04:00
Andrew
aac279322b Making blind's LogAction message consistent... (#697)
with the other plugin's messages.
2017-09-26 20:22:02 -04:00
Kyle Sanderson
5d234bb9d6 Fix OnPlayerRunCmd crashing with invalid CUserCmd ptr. (#693) 2017-09-23 23:27:32 -07:00
peace-maker
7e898ee530 Fix core config values not being cached (#673)
Valid core config options aren't cached to be retrieved using `GetCoreConfigValue` after they've been loaded from core.cfg or set through the `sm config` root console menu.

E.g. `sm config ServerLang` would return `[SM] No such config option "ServerLang" exists.` all the time.

Stop notifying other listeners if the config key was consumed, but don't skip adding it to the cache.

Also fix `FollowCSGOServerGuidelines` always showing as unhandled command when being changed through `sm config FollowCSGOServerGuidelines yes`.
2017-09-23 17:24:39 -07:00
Andrew
54565c92f7 Add target arg to LogAction in basechat sm_psay. (#690) 2017-09-23 10:45:41 -07:00
Asher Baker
4e996a116d Allow seeking to end of datapack (#687) 2017-09-19 23:27:35 +01:00
Ruben Gonzalez
8c8af88cee Add additional native, fix include file. 2017-09-19 12:37:11 -04:00
Ruben Gonzalez
8a36d0486b Add enum value for max regular items. 2017-09-10 10:16:23 -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
thewavelength
79ba2835f6 Fix build when product.version is mangled (#679)
Strip line breaks when reading product.version, as Git can mangle the line breaks if autocrlf is configured, resulting in `SM_BUILD_TAG` getting defined with a linebreak.
2017-09-10 01:17:35 +01:00
Ruben Gonzalez
3d461ecea1 Add support for CreateIitemEntityByName for CS:GO 2017-09-08 08:37:28 -04:00
Ruben Gonzalez
b4d34ef062 Merge pull request #671 from alliedmodders/csgo-weaponpricefix
Fix CS_GetWeaponPrice returning incorrect weapon prices.
2017-09-04 08:49:33 -04:00