akowald
283bdad552
Makes sending the change the default behavior with the GameRules_Set* natives.
2016-03-25 00:43:39 -04:00
Nicholas Hastings
0c8e6e2918
Fix FollowCSGOServerGuidelines setting being ignored in SDKTools (always on).
2016-03-21 15:29:48 -04:00
Kyle Sanderson
8924a9744e
Only hook IBaseFileSystem::FileExists if we're also hooking INetChannel::SendFile or INetChannel::ProcessPacket.
...
This works around a TF Replay SourceHook crash that Johns was seeing when using 1.8.
SourceHook is not thread-safe at the time of this writing.
2016-03-20 14:07:08 -07:00
Nicholas Hastings
5815e49d93
Merge pull request #491 from alliedmodders/travis-clang-3.7
...
Update TravisCI build to use Clang 3.7.
2016-03-18 11:19:56 -04:00
Nicholas Hastings
70bc24218f
Update TravisCI build to use Clang 3.7.
2016-03-18 08:31:01 -04:00
Peace-Maker
4f4903a05e
Don't try to call functions in paused plugins
...
This avoids spam of "Plugin not runnable" exceptions on shutdown or
plugin unload.
When re/unloading a plugin which has other ones depending on it, like
the adminmenu, It pauses the depending plugins putting them in an
"Depends on plugin: %s" error state. ForwardSys doesn't remove them from
the forward lists on pause, specially the global forwards, and still
tries to call all the global forwards like OnPlayerRunCmd and
OnLibraryAdded etc. on the paused plugins. Executing functions in paused
runtimes has been ignored in the VM before introducing the "Exception"
mechanism, but now they're all logged.
This adds checks to make sure the plugin is runnable before calling a
function. (Stolen from #438 )
2016-03-14 13:24:23 +01:00
David Anderson
f7bb423f06
Update to the latest SourcePawn and AMTL.
2016-03-13 16:29:11 -07:00
Nicholas Hastings
19bcc8417d
Merge pull request #486 from alliedmodders/csgo-safety
...
Add initial version of safety checks for CS:GO to attempt to avoid user GSLT bans.
2016-03-02 15:26:34 -05:00
Nicholas Hastings
b65de29c92
Add initial version of safety checks for CS:GO to attempt to avoid user GSLT bans.
2016-03-02 15:25:01 -05:00
David Anderson
7bd1ed2339
Merge pull request #477 from 2m/wip-fix-sample-extension-2m
...
Fix compilation of sample extension
2016-02-29 18:12:15 -05:00
David Anderson
a7c7e72004
Merge pull request #485 from peace-maker/plugin_unloading
...
Fix scheduled plugin unloading
2016-02-29 10:53:26 -05:00
Peace-Maker
df59fd5b0e
Fix scheduled plugin unloading
...
When unloading a plugin no plugin is allowed to execute code. There's
been some flawed logic in the scheduling, leading it to bail out if the
plugin was marked for scheduled unloading..
Also change the "error" message of `sm plugins unload` to something
nice.
2016-02-29 16:40:24 +01:00
Kyle Sanderson
0d80d3c57c
Merge pull request #482 from peace-maker/ext_deps_name
...
Fix printing dependent extension name on unload
2016-02-27 15:00:35 -08:00
Peace-Maker
060f63e9db
Fix printing dependent extension name
...
Typo which will print the name of the extension being unloaded instead
of the one which would be unloaded as well because of it.
2016-02-27 21:22:09 +01:00
Asher Baker
e243de0538
Merge pull request #480 from iNilo/patch-1
...
Add missing @error annotation to GetClientSerial
2016-02-25 14:17:57 +00:00
iNilo
11253eae1c
GetClientSerial does not have @error documentation
...
Native "GetClientSerial" reported: Client index 0 is invalid
2016-02-25 15:06:23 +01:00
Nicholas Hastings
c81e1865e0
Merge pull request #479 from TheCreeper/master
...
Add support for EmpiresMod to mapchooser plugin.
2016-02-22 17:12:07 -05:00
TheCreeper
39d9f4da3f
Be consistent.
2016-02-22 21:15:38 +00:00
TheCreeper
6d5dd40875
Add support for Empires to mapchooser.
2016-02-22 21:10:34 +00:00
Nicholas Hastings
051e7cf320
Update Empires gamedata.
2016-02-20 23:32:35 -05:00
Martynas Mickevičius
37210c9ef1
Fix compilation of sample extension.
2016-02-20 03:27:49 +02:00
Nicholas Hastings
3215e25318
Update TF2 gamedata.
2016-02-19 10:10:59 -08:00
Ruben Gonzalez
9d72f0b335
Update CS:GO gamedata for cstrike extension.
2016-02-18 11:16:05 -05:00
Ruben Gonzalez
803c6b0a82
Update TerminateRound detour comment's
2016-02-18 11:15:39 -05:00
Nicholas Hastings
4b04b8d51e
Enable ShowMenu and HudMsg for KreedzClimbing.
2016-02-15 14:58:48 -05:00
Asher Baker
b239430247
Merge pull request #458 from stickz/patch-5
...
Move repeated code in reserved slots plugin to a helper function
2016-02-15 17:11:39 +00:00
Asher Baker
700ec92a9a
Implement an auto-escaping Format native for SQL query construction
2016-02-15 15:05:16 +00:00
Asher Baker
272655f340
Changed AddString to be failable
2016-02-15 14:57:56 +00:00
Asher Baker
7c3bcc9c25
Add missing buffer size check to SQLite QuoteString impl
2016-02-15 14:19:11 +00:00
Asher Baker
1ff13c59cf
Move the guts of Format to a helper function
2016-02-15 12:49:22 +00:00
Asher Baker
936bdc47f0
Add argument index to format error messages
2016-02-15 10:20:08 +00:00
Asher Baker
9008705b9d
Pass format flags down to AddString
2016-02-15 10:16:14 +00:00
Asher Baker
886c358e91
Renumber format flags for sanity
2016-02-15 10:09:48 +00:00
Kyle Sanderson
76f33d2742
Merge pull request #474 from Benoist3012/Benoist3012-tf2-tfcond-enums-update
...
Update tf2.inc TFCond enums
2016-02-06 14:56:35 -08:00
Benoist3012
5703c323d6
Update tf2.inc
2016-02-06 15:27:09 +01:00
Benoist3012
40434f54aa
Update tf2.inc
2016-02-06 13:35:37 +01:00
Nicholas Hastings
b9e9e15647
Merge pull request #473 from akowald/gamerules-crash
...
Fix for crashes related to the GameRules_Set* natives.
2016-02-03 18:30:53 -05:00
akowald
7fbc9869bd
Fix for crashes related to the GameRules_Set* natives.
2016-02-03 16:20:31 -05:00
Nicholas Hastings
148943dad6
Merge pull request #472 from alliedmodders/more-stv-detect-fix
...
Fix SourceTV bot detection on Source SDK 2013 mods and BM:S.
2016-01-25 19:41:50 -05:00
Nicholas Hastings
90ca9d7a47
Fix SourceTV bot detection on Source SDK 2013 mods and BM:S.
...
See bug 5529.
2016-01-25 18:52:58 -05:00
Nicholas Hastings
a0e6f33828
Fix some typos in BM:S SDKHooks gamedata.
2016-01-25 06:59:42 -08:00
Kyle Sanderson
52e3b580f3
Merge pull request #471 from peace-maker/drawitem_returntag
...
Change Panel.DrawItem return tag to |int| (bug 6463)
2016-01-22 09:45:29 -08:00
Peace-Maker
1c0a5b0420
Change Panel.DrawItem return tag to |int| (bug 6463)
2016-01-22 18:30:32 +01:00
Asher Baker
f9448e30c9
Merge pull request #470 from powerlord/sampleext-updateambuild
...
Update sample_ext's AMBuildScript
2016-01-19 19:49:36 +00:00
Ross Bemrose
2f5257fcb5
Update sample_ext's AMBuildScript with the changes used in SourceMod's AMBuildScript
2016-01-19 12:29:15 -05:00
Nicholas Hastings
5a50c28afd
Merge branch 'static-lib-sym-vis'
2016-01-09 11:50:42 -05:00
Nicholas Hastings
3c24ce4d7b
Change --exclude-libs to be for Linux only. Apple's linker does not support it.
2016-01-09 11:50:13 -05:00
Nicholas Hastings
441bb0483a
Merge pull request #469 from alliedmodders/static-lib-sym-vis
...
Don't export (all) symbols from included static lib on Linux/Mac.
2016-01-09 11:34:09 -05:00
Nicholas Hastings
05c7bd4be9
Don't export (all) symbols from included static lib on Linux/Mac.
2016-01-09 10:26:12 -05:00
Nicholas Hastings
3dc9c23b65
Updated NMRiH gamedata.
2016-01-07 20:03:08 -05:00