Commit Graph

1098 Commits

Author SHA1 Message Date
Nick Hastings
5e14ad8680 Fix oops with SetConVarBounds. 2018-06-03 12:37:58 -04:00
Nick Hastings
dfd27eccd3 Missed converting a GetFlags instance. 2018-05-20 19:52:52 -04:00
Nick Hastings
3864d1cdbe Out with the old ConVar accessibility hacks, in with the new.
Cherry-picked from 467d5705.
2018-05-20 19:52:35 -04:00
Nick Hastings
d8363d4d38 Update ConVar hacks for BMS.
This is also to trigger an MM:S build for hl2sdk changes in multiple branches.
2018-05-06 13:21:08 -04:00
Nicholas Hastings
158aaf1061 Temp fix for load issues on Linux. 2017-12-05 20:48:46 -05:00
Michael Flaherty
0c02fcd622 Block reserved device names on windows (#733) 2017-12-03 11:41:00 +00:00
Nicholas Hastings
fef5583d42 Separate out DOI build. (#718) 2017-11-03 21:57:37 -04:00
Nicholas Hastings
b94620ee5a Fix KeyValues.SetUInt64 truncating value (#635). 2017-07-06 15:12:09 -04:00
Asher Baker
13872576ee Fix build. 2017-05-30 15:14:50 +01:00
Nicholas Hastings
63a43c3d23 Fix ICommandLine lookup on Linux for Insurgency and Day of Infamy. 2017-05-28 08:31:08 -04:00
ErikMinekus
a01224d63e Add support for compiling with VS2015+ (#613) 2017-05-27 14:06:07 +01:00
Kyle Sanderson
b11c33c136 Change CHalfLife2::GetMapDisplayName to always check for string substitutions. (#596) 2017-04-29 19:43:14 -04:00
Nicholas Hastings
369e95f6d2 Allow direct event FireToClient if broadcast disabled.
Event.FireToClient should not care whether or not broadcasting
is enabled for the event since we're already intentionally not
broadcasting.
2017-04-29 19:42:11 -04:00
Nicholas Hastings
e44789ba8b Don't check handle ownership on Event.FireToClient
The handle does not get mutated here, so it is safe. Since we
don't currently support cloning event handles or copying events,
this also facilitates the only easy way of firing an existing game-
created event to a client.
2017-04-29 19:42:03 -04:00
Nicholas Hastings
b3d458c17a Fix Panel.Style getter not being bound. 2017-04-28 17:02:31 -04:00
Nicholas Hastings
5b86ca68ee Fix default value always being when calling ParmValue(string,string). 2017-04-22 21:30:21 -04:00
Nicholas Hastings
323df8366d Fix AllowClLanguageVar setting being ignored in CS:GO. 2017-03-05 17:09:13 -05:00
Ross Bemrose
ff5487677e Make CS:GO recognize both / and \ for GetMapDisplayName (#592) 2017-03-04 09:06:02 -05:00
peace-maker
0178c20f50 Fix threaded query's result handle access rights (#567)
Plugins were able to close the results handle in the threaded query
callback causing a double free crash. The access rights are setup right
before the handle is created, but weren't used.
2016-12-11 18:23:50 -08:00
Peace-Maker
0c6a220643 Suppress logging of "Plugin not runnable" errors
SourceMod itself and thirdparty extensions call functions in plugins
without making sure it is runnable. The plugin pausing feature isn't
supported anymore and is set to get nuked #438 which will reduce the
amount of not-runnable error reports.

We can't fix every third party extension, so suppressing the error from
the logs will stop the spam until pausing is removed.

This is a backport of #558 to the 1.8 branch.
2016-11-17 16:58:44 -07:00
Kyle Sanderson
111c95fea6 Check multiple engine sources for updated AuthIDs. (#552) 2016-10-14 12:46:10 -07:00
Nicholas Hastings
fc6ab59f71 Strip invalid UTF-8 char from end of player names. (#545) 2016-10-07 14:43:57 -04:00
Peace-Maker
8fe289a25b Merge PR #489: Do not call functions in paused plugins
This should be reverted when pausing is removed, see PR discussion.
2016-10-04 16:37:48 +01:00
Kyle Sanderson
6abc7decd7 Fix erroneous () in DebugReport:: printouts. (#517) 2016-10-04 16:36:33 +01:00
Fyren
4db8fa70a5 Merge pull request #518 from alliedmodders/UTIL_ReplaceAll-fix
Fix UTIL_ReplaceAll not properly tracking length (bug 6472)
2016-06-10 07:58:25 -04:00
Fyren
b7741a2da8 Merge pull request #516 from alliedmodders/scheduledpluginreloads
Better plugin reloads.
2016-06-10 07:57:41 -04:00
Nicholas Hastings
99481bee6f Use VSERVERTOOLS003 in Nuclear Dawn if server has it available. 2016-06-08 12:32:45 -04:00
Nicholas Hastings
90e1e54fb2 Fixed varint sendprops being treated improperly in CS:GO. 2016-06-05 11:03:44 -04:00
Nicholas Hastings
20c9815619 Add support for sending gameevent to specific client. (#505) 2016-05-12 22:15:23 -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
Nicholas Hastings
40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -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
ed46ca3328 Add support for retrieving game server Steam Id (bug 6404). (#495) 2016-04-26 23:17:08 -04: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
0c8e6e2918 Fix FollowCSGOServerGuidelines setting being ignored in SDKTools (always on). 2016-03-21 15:29:48 -04:00
David Anderson
f7bb423f06 Update to the latest SourcePawn and AMTL. 2016-03-13 16:29:11 -07: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
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
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
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
Peace-Maker
edb820eae8 Add info message when loading custom gamedata
Print a message to console when there is a gamedata file loaded from the
|custom| folder.
2016-01-03 22:28:24 +01:00
Nicholas Hastings
c5a81d7c6f Adjust for hl2sdk-bms updates. 2015-12-22 09:53:05 -05:00
Fyren
0e80ffef55 Merge pull request #448 from alliedmodders/use-blamepluginerror
Update SP and use BlamePluginError in sdkhooks and sdktools.
2015-11-18 18:33:10 -07:00
Asher Baker
eb8996699e Merge pull request #443 from alliedmodders/fix-ext-dep-load
Fix crash on failing to load dependent extension.
2015-11-18 14:12:27 +00:00
Fyren
fec2fa3bf0 Update SP and use BlamePluginError in sdkhooks. 2015-11-18 01:24:31 +00:00
Asher Baker
6ab0c35837 Pre-fill buffer for GetClientAuth* 2015-11-10 14:31:02 +00:00
Asher Baker
b81b6cd1c6 Fix crash on failing to load dependent extension. 2015-11-09 14:56:42 +00:00
David Anderson
c3e5d62bf6 Update to the latest AMTL: remove PassRef. 2015-11-08 13:51:22 -08:00
David Anderson
e2b399b8d3 Update to the latest AMTL - Rename Ref to RefPtr. 2015-11-08 13:14:57 -08:00