Peace-Maker
ba8753836e
Cleanly remove all hooks on extension unload
...
Allows to e.g. reload sdktools during runtime without crashing. Useful for fast development cycles.
2020-12-16 15:52:48 +01:00
Accelerator74
1b86c8564d
sdktools_voice: implement ClientSpeaking forwards ( #1247 )
...
* Update basevotes
When a player leaves during a voteban, he will be banned anyway. Also added a cvar with a ban time setting.
* Update basevotes.sp
* Added VoiceHook functions
* Update extension.h
* Update extension.h
* Code optimization
* Added support for more engines
* Invalidate timers
* Fixes
* Update extension.cpp
* Update voice.cpp
* correct Forward event type to ET_Ignore.
* sdktools_voice: de-implement IsClientSpeaking
* sdktools_voice: Add notice/unbind IsClientSpeaking
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-08-18 06:02:34 -07:00
Asher Baker
fcafd0784c
Workaround CS:GO Stringtable bug ( #1046 )
...
The cause of the infamous "Index error writing string table baseline"
error appears to be a timing issue between the engine's network message
processing, the stringtable encoding, and command processing when adding
stringtable entries in OnConfigsExecuted.
When the first client connects the map is re-loaded which causes a full
refresh, the game's stringtable entries are added at tick 65, the client
connection is registered at tick 66, and stringtable entries added in
OnConfigsExecuted are registered as being added in tick 67. The engine
later calls WriteBaselines with the client's signon tick, and neglects
to encode the SM added entries as it considers them from the future.
To avoid this, always pass INT_MAX as the current tick when encoding
the baseline, so all stringtable entries are included regardless of when
they were added. Tested on both Windows and Linux.
2019-07-19 09:13:34 +01:00
SlidyBat
3add38f665
Add additional TraceRay natives ( #885 )
...
* More TR natives
* Fix small typo
* Fix another typo
* Fix TR_AllSolid description
* Change Disp to Displacement
* Reorder params in TR_GetSurfaceName
* Fix TR_GetSurfaceName
* Another fix for TR_GetSurfaceName -_-
* Change if block to switch
* Make handle first param in TR_GetSurfaceName
* Reorder TR_GetStartPosition params
* Make TranslatePartitionFlags static
* Change tabs used for formatting to spaces
* Change inline comment style to be consistent with rest of file
2018-10-07 14:15:54 -07:00
Michael Flaherty
5611ec54a2
Migrate extensions to common AMTL string funcs ( #785 )
2018-03-25 13:00:53 -07:00
Ruben Gonzalez
89c4be525b
Ignore replay and sourcetv in @spec targeting. ( #595 )
2017-03-11 16:12:43 +00:00
Benoist3012
08238a8036
Add FireEntityOutput native. ( #587 )
...
* AcceptEntityOutput native
* define fix
* MSVC fix and renamed native
* Added requested changes.
* tab/space fix
2017-02-15 19:29:43 -05:00
Nicholas Hastings
04055c411e
Fix startup crash on CS:GO caused by PR #514
2017-02-06 08:25:51 -05:00
WildCard65
90b3df1181
Add 2 CSGO gamerules netprops to CSGO blocklist if FollowCSGOServerGuidelines is enabled. ( #514 )
...
* Add m_bIsValveDS and m_bIsQuestEligible
* Fix compile
2017-02-04 08:18:58 -05:00
Nicholas Hastings
ad3588d0aa
Use newer MM:S api for Ep1/Original engine. ( #548 )
...
* Use newer MM:S api for Ep1/Original engine.
* Remove doubled FILENAME_1_6_EP1 define.
2017-01-11 21:25:00 -05: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
Nicholas Hastings
40f2512317
Remove support for Source 1 Dota 2. ( #496 )
2016-04-26 23:18:47 -04: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
Kyle Sanderson
274e7bd329
Add FileTransfer Hooks to SDKTools (r=Drifter).
2015-09-12 13:01:33 -07:00
Nicholas Hastings
16eeaf625f
Enable the "name %s" command blocking on CS:GO as well.
2015-04-17 06:51:48 -04:00
Nicholas Hastings
885117fb66
Add hack-fix for CS:S reverting name changes done with SetClientName.
2015-03-22 18:29:11 -04:00
Nicholas Hastings
88cb74213c
Add support for getting g_pGameRules without a byte signature / symbol.
2014-12-13 16:35:32 -05:00
Nicholas Hastings
939b10bd8e
Refactor SDKTools to not expose gamerules ptr ptr outside of vglobals.cpp.
2014-12-13 15:48:51 -05:00
Ross Bemrose
d25ab6349c
Commit new version of bug 5942: New functions for SDKTools to get information from game_sound files.
2014-07-03 10:20:53 -04:00
David Anderson
f82224eba0
Move versioning to a static library to improve trivial build speed (bug 5997 part 9, r=ds).
2013-12-30 17:51:00 -05:00
Nicholas Hastings
877ef76540
Tweaked Dota 2 support to account for lack of IPluginHelpers (bug 5656, r=asherkin).
2013-03-19 11:19:19 -04:00
Kyle Sanderson
ef6c454137
Replace usages of deprecated Sourcehook Add/Remove macros (bug 5631, r=dvander).
2013-03-16 22:15:25 -04:00
Nicholas Hastings
0c7696da65
Add GetPlayerResourceEntity to SDKTools; deprecate old, broken TF2-specific impl (bug 5491, r=asherkin).
2013-03-16 13:50:36 -04:00
Asher Baker
bf76be5dfa
Overhauled versioning information (bug 5453, r=dvander).
2012-08-26 01:33:54 +01:00
David Anderson
5ec70c9e0d
Fixed shutdown bug in SDKTools (created EntOutputMgr shutdown func) (bug 5063, r=fyren).
2011-10-17 10:47:13 -04:00
Brian Simon
838e8c7b35
Added InactivateClient and ReconnectClient natives to SDKTools (bug 4931, r=fyren).
2011-07-06 18:11:02 -04:00
Nicholas Hastings
4521f80e5a
Added ability in SDKTools to get/set prop values on gamerules class (bug 4983, r=fyren).
2011-07-06 17:37:35 -04:00
Nicholas Hastings
7527f441ae
Switched to using IServerTools in SDKTools where possible. (bug 4899, r=fyren).
2011-05-25 08:27:27 -04:00
Nicholas Hastings
61b677c073
Add GetGameRules to ISDKTools (bug 4707, r=fyren)
2010-11-19 23:02:27 -05:00
Nicholas Hastings
251fd660f9
Backed out changeset: 07fb9b761438
2010-11-19 15:52:33 -05:00
Brett Powell
616113d384
Add GetGameRules to ISDKTools (bug 4707, r=pred)
2010-11-19 17:37:26 +13:00
Fyren
c3e20d5d12
FireOutput detour in SDKTools now uses CDetour (bug 4416, r=pred).
2010-07-21 22:09:03 -05:00
David Anderson
3bf5edc2b3
Added @spec target (bug 2718, r=fyren).
2009-10-27 03:41:36 -07:00
David Anderson
0a060982e3
Fixed extension version reporting.
2009-08-30 01:54:45 -07:00
David Anderson
f039c0636e
More build fixes.
2009-08-30 01:34:24 -07:00
David Anderson
d3f0a14867
Imported support for new build system.
2009-08-30 00:21:42 -07:00
Matt Woodrow
7b6f2863a9
Added PlayerRunCmd hook to sdktools (bug 3289, r=dvander)
2009-05-12 13:54:06 +12:00
David Anderson
57b4701e57
Fixed gamedata bug in SDKTools (no bug, r=me).
2009-01-14 12:20:22 -05:00
David Anderson
3bdc8583e5
Exposed IServer through SDKTools (bug 3545, r=ds).
2009-01-07 22:55:40 -05:00
Scott Ehlert
ff7a2c6b73
Added preliminary support for Left 4 Dead; some things may not yet work.
2008-11-14 09:18:30 -06:00
David Anderson
09ea2e13aa
Fixed SDKTools not cleaning up its handle types on shutdown (but 2753).
2008-09-15 04:28:26 -05:00
Matt Woodrow
e0a69507a0
Single most annoying and hard to find bug ive ever come across. I'd like to thank MSVC for not firing the one breakpoint I actually needed. Oh and a possible fix to sdktools.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402295
2008-06-29 05:04:41 +00:00
Matt Woodrow
bc8c9ba691
Should fix amb1756 - Invalid access on TraceRay handles.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402256
2008-06-19 03:13:57 +00:00
Matt Woodrow
06c8f3a093
Fixed SetUserInfo to work on bots
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402248
2008-06-09 07:18:49 +00:00
David Anderson
80b2ea646a
fixed a delayed unload crash in sdktools
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402155
2008-05-20 02:24:42 +00:00
David Anderson
f1ef53cdff
implemented amb1613 - p2p voice filters now work
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402134
2008-05-10 19:17:21 +00:00
Matt Woodrow
f41aefc525
Cleaned up a few sdktools files.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402097
2008-04-25 05:20:17 +00:00
Borja Ferrer
800838d76a
fixed build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402048
2008-04-12 02:11:16 +00:00
Matt Woodrow
a0b05dc624
Added amb1528 - Entity Output Hooking.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401977
2008-04-02 01:22:02 +00:00
Scott Ehlert
251cced1f8
Spring Cleaning, Part Ichi (1)
...
Various minor things done to project files
Updated sample extension project file and updated makefile to the new unified version (more changes likely on the way)
Updated regex project file and makefile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401971
2008-03-30 07:00:22 +00:00