peace-maker
1351df4260
Add OnPlayerRunCmdPost forward ( #591 )
...
* Add OnPlayerRunCmdPost forward
Allow plugins to catch the values that are actually used by the game
after some eventual changes by other plugins.
* Add |const| qualifier to arrays in OnPlayerRunCmdPost forward
2017-05-09 15:16:05 +01:00
peace-maker
0961e5dde3
Fix crash when accessing gamerules during mapchange ( #593 )
...
If the gamerules proxy entity doesn't exist, don't try to generate the
reference for it.
2017-03-11 08:54:38 -08: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
WildCard65
fd399b9b4b
Fix memory leak in Regex extension. ( #572 )
...
* Fix memory leak in Regex extension.
"x" is never deleted when compile fails.
* Handle handle allocation failures.
Handle allocation failures also result in memory leaks.
* Fix typo.
2017-01-11 21:25:46 -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
47d22a3051
Allow CStrike ext to load on CS:GO "mods".
...
They theoretically cannot have any binary changes since there is no
real SDK, so it should be compatible.
2016-12-25 08:31:39 -05:00
Nicholas Hastings
70d81430f8
Add support for more SQLite database open options. ( #565 )
...
* Add support for in-memory SQLite databases.
* Add support for opening SQLite databases via file URI.
2016-12-04 11:23:08 -05:00
peace-maker
151834a948
Fix case of not calling OnMapTimeLeftChanged in CS:GO ( #563 )
...
Round end reasons in CS:GO are +1 from the ones in CS:S. The
CSRoundEnd_GameStart reason for when the OnMapTimeLeftChanged forward
should be called should be one higher than in CS:S.
2016-12-01 17:09:48 -08:00
Nicholas Hastings
152a86f6f4
Fix CS:GO OnGetWeaponPrice forward on Linux.
2016-11-29 11:05:39 -05:00
Nicholas Hastings
c4487b74ee
Semi-tested fix for CS:GO GetWeaponPrice on Linux.
2016-11-29 10:42:05 -05:00
peace-maker
47eb7d60e5
Fix use-after-free crash in SQLite extension ( #481 )
...
When the server crashed and the process got terminated, the SqDriver
instance was killed first (e.g. by atexit). SqDatabase tries to access
SqDriver in its destructor.
This patch tells SqDatabase to not use anything from SqDriver anymore
after SqDriver got destroyed.
Next to that, the clientprefs extension relied on the IDatabase pointer
being valid to get the driver pointer. Cache the pointer, so the dbi
system still knows the IDBThreadOperation belonged to the now gone
driver, even after the database object is gone.
2016-10-03 16:31:17 +01:00
Asher Baker
47dd2870d9
Merge pull request #476 from alliedmodders/query-format
...
Implement an auto-escaping Format native for SQL query construction
2016-10-03 16:20:01 +01:00
Nicholas Hastings
94383d995d
Fix building of MySQL DBI extension on VS 2015+.
2016-08-18 14:20:37 -04:00
Nicholas Hastings
cb7eeef014
Remove TFHoliday_SpyVsEngyWar - no longer exists.
2016-07-08 15:44:49 -04:00
peace-maker
f425236bac
Increase topmenu display buffer size ( #520 )
...
The buffer for menu options was 64 chars. That limit can easily be
reached by some utf8 string which would get truncated. Double the buffer
size to 128 chars.
2016-06-20 16:03:54 +01:00
Nicholas Hastings
f12924458f
Merge branch 'vs2015'
2016-06-11 12:14:12 -04:00
Nicholas Hastings
0f96a28cca
Use VSERVERTOOLS003 in Nuclear Dawn if server has it available.
2016-06-08 12:32:20 -04:00
Nicholas Hastings
e3d7a047bd
Fixed varint sendprops being treated improperly in CS:GO.
2016-06-05 11:03:18 -04:00
Nicholas Hastings
31928e6282
Fix late/incorrect calls to TR_GetEntityIndex potentially causing crash. ( #513 )
2016-05-21 14:44:00 -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
40f2512317
Remove support for Source 1 Dota 2. ( #496 )
2016-04-26 23:18:47 -04:00
Nicholas Hastings
416abd81a1
Add support for compiling with VS2015.
2016-03-30 08:56: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
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
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
Ruben Gonzalez
803c6b0a82
Update TerminateRound detour comment's
2016-02-18 11:15:39 -05:00
Asher Baker
7c3bcc9c25
Add missing buffer size check to SQLite QuoteString impl
2016-02-15 14:19:11 +00:00
akowald
7fbc9869bd
Fix for crashes related to the GameRules_Set* natives.
2016-02-03 16:20:31 -05:00
Kristian Klausen
4cba1925fd
Allow plugins to suppress entity outputs (fix 5515).
2015-12-30 17:51:57 +01:00
Nicholas Hastings
7fbcb81916
Merge pull request #456 from alliedmodders/canbeautobalanced
...
Add support for hooking CanBeAutobalanced to SDKHooks.
2015-12-29 15:56:24 -05:00
Kyle Sanderson
2812f227b7
Change SDKHooks CanBeAutoBalanced to only MRES_SUPERCEDE if the return changes.
2015-12-29 12:44:03 -08:00
Nicholas Hastings
23f9a1a524
Typo fix fix.
2015-12-22 16:18:53 -05:00
Nicholas Hastings
26b056d2c4
Typo fix.
2015-12-22 09:58:57 -05:00
Nicholas Hastings
bd9fd43b76
Fix for Black Mesa's different GiveNamedItem prototype.
2015-12-22 09:55:15 -05:00
Nicholas Hastings
184ad9083c
Fix for varint gamerules sendprops being treated improperly in Black Mesa.
2015-12-22 09:54:55 -05:00
Nicholas Hastings
c5a81d7c6f
Adjust for hl2sdk-bms updates.
2015-12-22 09:53:05 -05:00
Nicholas Hastings
818e1e4e18
Add support for hooking CanBeAutobalanced to SDKHooks.
2015-11-26 10:35:00 -05:00
Fyren
cf4f500eda
And use it in sdktools, too.
2015-11-18 01:37:15 +00:00
Fyren
fec2fa3bf0
Update SP and use BlamePluginError in sdkhooks.
2015-11-18 01:24:31 +00:00
Nicholas Hastings
a4d06e1077
Update CTakeDamageInfoHack in SDK Hooks for semi-recent game/SDK updates.
2015-11-11 13:12:04 -05:00
David Anderson
e2b399b8d3
Update to the latest AMTL - Rename Ref to RefPtr.
2015-11-08 13:14:57 -08:00
Kyle Sanderson
72edc74e8b
Use present netchannel instead of cached netchannel in CHookManager::SendFile.
2015-11-07 12:51:13 -08:00
Asher Baker
0387c45995
Fix Mac build.
2015-11-04 16:28:45 +00:00
Asher Baker
2ea3d9023b
Fix libcurl build on Clang 3.5.
2015-11-04 15:21:13 +00:00
Ross Bemrose
f4adf33b4e
Renumber holidays
...
Add CommunityUpdate holiday
2015-10-07 09:40:06 -04:00
David Anderson
c66d14605a
Merge pull request #397 from alliedmodders/rm-old-mms
...
Remove code that handles long-dead Metamod:Source versions.
2015-09-18 14:38:52 -07:00