Commit Graph
6459 Commits
Author SHA1 Message Date
ErikMinekus 542bb59978 Update large includes for transitional syntax #2 (#511) 2016-05-21 09:16:49 -04:00
ErikMinekus f91d659c6f Update large includes for transitional syntax #1 (#510) 2016-05-21 08:52:43 -04:00
ErikMinekus 7451257578 Update small includes for transitional syntax (#509) 2016-05-20 15:56:21 -04:00
Nicholas Hastings d8835a426f Update FoF gamedata. 2016-05-20 09:53:43 -04:00
Nicholas Hastings 5edc46c994 Don't enable FileExists hook (SendFile forward) on TF2 servers with Replay. (#512)
It will crash. See PR #493 for details.
2016-05-19 19:11:28 -04:00
Kyle Sanderson 57c6e09fcf Merge pull request #493 from alliedmodders/tfreplaycrash
Only hook IBaseFileSystem::FileExists if we're also hooking INetChannel
2016-05-19 15:23:05 -07:00
Nicholas Hastings 626ee9ac65 Update more BM:S gamedata and trigger build against SDK change. 2016-05-16 17:52:38 -04:00
Nicholas Hastings 59191486b6 Update BM:S gamedata. 2016-05-15 09:16:09 -04:00
Nicholas Hastings f645ca0daf Update FoF gamedata. 2016-05-14 08:01:10 -04:00
Nicholas Hastings 20c9815619 Add support for sending gameevent to specific client. (#505) 2016-05-12 22:15:23 -04:00
Nicholas Hastings 98e8f70424 Remove some unused gamedata. 2016-05-11 15:16:48 -04:00
ErikMinekus 6d9f46e983 Update fun plugins for transitional syntax (#508) 2016-05-11 10:56:12 -04:00
ErikMinekus d9fb0ba64e Update base plugins for transitional syntax (#507) 2016-05-11 10:44:58 -04:00
ErikMinekus e8734ccf28 Update small plugins for transitional syntax (#506) 2016-05-11 09:32:34 -04:00
Nicholas Hastings 11b4320204 Fix potential crash on plugin load when a required library is not found. 2016-04-27 10:49:39 -04:00
ErikMinekus fb2117137e Update basebans and SQL admins plugins for transitional syntax (#484) 2016-04-27 09:34:22 -04:00
Maxim Telezhenko 730a9a4a40 Transitional Syntax for reservedslots.sp (#501) 2016-04-26 23:19:53 -04:00
Nicholas Hastings 40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -04:00
FlaminSarge 6dc602ad7c Update TFCond and tf2_stocks enums (#499)
* Update tf2_stocks DmgCustom and TFWeapon defines

* Update tf2 TFCond defines
2016-04-26 23:18:34 -04:00
Nicholas Hastings b5876bdd33 Allow Plugin_Changed return on event PreHooks to not block. (#503)
This avoids issues from confusion that users have, returning Plugin_Changed
after altering event data, when Plugin_Changed isn't required and wasn't supported
in that scenario, and instead acted like Plugin_Handled.
2016-04-26 23:18:00 -04:00
Nicholas Hastings 29a5daab98 Allow support for running on filesystems that use 64-bit inodes on Linux. (#502)
Most supported games don't even support this case, but at least CS:GO does. WIthout
this fix, some filesystem calls can fail, or in the case of readdir, fail to return all/any files.
This was first observed when using an XFS-formatted volume on CentOS 7 x64.
2016-04-26 23:17:36 -04:00
Nicholas Hastings ed46ca3328 Add support for retrieving game server Steam Id (bug 6404). (#495) 2016-04-26 23:17:08 -04:00
Kyle Sanderson e6ec89d145 Change checkout-deps to use tls for mysql.
http://cdn.mysql.com -> https://cdn.mysql.com
2016-04-15 19:10:23 -07:00
Alexander Georgievskiy b196d3e3c0 http://cdn.mysql.com -> https://cdn.mysql.com 2016-04-16 00:15:40 +03:00
Nicholas Hastings ebb5607bd4 Really fix FollowCSGOServerGuidelines setting being ignored in SDKTools (always on) (bug 6480). 2016-03-30 15:59:51 -04:00
Nicholas Hastings 416abd81a1 Add support for compiling with VS2015. 2016-03-30 08:56:27 -04:00
Nicholas Hastings c536a43914 Merge pull request #494 from akowald/gamerules-edictstate
Always send changes when using the GameRules_SetProp* natives.
2016-03-25 07:46:27 -04:00
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