naydef 
							
						 
					 
					
						
						
						
						
							
						
						
							4fc0a85581 
							
						 
					 
					
						
						
							
							Fix crash in non-bypass-hooks DropWeapon implementation ( #1672 )  
						
						... 
						
						
						
						Fixes  #1670  
					
						2023-08-30 22:08:45 +02:00 
						 
				 
			
				
					
						
							
							
								Benoist 
							
						 
					 
					
						
						
						
						
							
						
						
							a57573864a 
							
						 
					 
					
						
						
							
							Fix ShouldCollide originalResult behaviour ( #1657 )  
						
						
						
					 
					
						2023-08-30 22:08:45 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							55382e0a0f 
							
						 
					 
					
						
						
							
							Add option to not bypass hooks with TakeDamage and DropWeapon natives.  
						
						
						
					 
					
						2023-08-30 22:08:45 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							d8b00675d6 
							
						 
					 
					
						
						
							
							Remove obsolete core-legacy checks.  
						
						
						
					 
					
						2023-08-30 22:08:45 +02:00 
						 
				 
			
				
					
						
							
							
								David Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							74ad70ba30 
							
						 
					 
					
						
						
							
							Add support for hl2sdk-mock.  
						
						
						
					 
					
						2023-08-30 22:08:44 +02:00 
						 
				 
			
				
					
						
							
							
								Asher Baker 
							
						 
					 
					
						
						
						
						
							
						
						
							70c9a6528a 
							
						 
					 
					
						
						
							
							Remove entity lump manipulation from OnLevelInit  
						
						... 
						
						
						
						Newer Source engine versions now use a dynamically allocated buffer for
the map entity lump, and some maps have over 16MB of entity data - far
larger than our 2MB limit.
There is no sane way we can currently handle this, so just remove the
functionality from the forward until a more comprehensive API can be
designed.
Fixes  #1470  
						
					 
					
						2021-07-17 20:52:51 +01:00 
						 
				 
			
				
					
						
							
							
								Einyux 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							823b55c22a 
							
						 
					 
					
						
						
							
							sdkhooks: Allow overriding SDKHook_Think ( #1397 )  
						
						... 
						
						
						
						* Allow to block Think()
* Update SDKHookCB comment 
						
					 
					
						2021-07-10 12:42:17 -07:00 
						 
				 
			
				
					
						
							
							
								Asher Baker 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea3f55f030 
							
						 
					 
					
						
						
							
							Remove OnEntitySpawned C++ listener ( #1342 )  
						
						... 
						
						
						
						This is causing crashes with existing extensions using entity listeners.
Currently no one is asking for a C++ hook here, if it is desired it
needs to be done with proper versioning of the listener interface, which
is going to be a little bit more complicated without an initial hard
break.
https://forums.alliedmods.net/showpost.php?p=2715337&postcount=789 
https://discordapp.com/channels/335290997317697536/335290997317697536/748101258186850334 
This is a partial revert of #1078 . 
						
					 
					
						2020-08-26 12:53:31 +01:00 
						 
				 
			
				
					
						
							
							
								David Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							785c6aa1cf 
							
						 
					 
					
						
						
							
							Update to AMBuild 2.2.  
						
						... 
						
						
						
						This is a pretty big diff because SourceMod had lots of multi-arch
workarounds that can now go away. I've also changed 'x64' to 'x86_64' in
many places since this is how AMBuild normalizes it, and it's far too
late to pick the shorter string, so we might as well suck it up.
The --target-archs parameter has been replaced with --targets. It works
the same way.
The default behavior for SDK inclusion is now "present" instead of
"all" since this lowers the burden of storing many SDKs. Official builds
will still be made with --sdks=all. 
						
					 
					
						2020-08-18 23:09:43 -07:00 
						 
				 
			
				
					
						
							
							
								PerfectLaugh 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							031f80f6e1 
							
						 
					 
					
						
						
							
							sdkhooks: assign velocities in CTakeDamageInfo(Hack) ( #1322 )  
						
						... 
						
						
						
						* Attempt to correct SDKHooks_TakeDamage
* Define function on both csgo and non-csgo
* Remove unneeded macros
* Fix velocity copy on CTakeDamageInfoHack init 
						
					 
					
						2020-08-06 20:46:01 -07:00 
						 
				 
			
				
					
						
							
							
								BotoX 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7bab9cc344 
							
						 
					 
					
						
						
							
							sdkhooks: add OnEntitySpawned fwd. ( #1078 )  
						
						... 
						
						
						
						* Add OnEntitySpawned to SDKHooks.
* nitpicking
* Add CapabilityProvider SDKHook_OnEntitySpawned
* (unrelated) nits
* nit relocation
* unqualified relocation - my mistake.
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com> 
						
					 
					
						2020-08-06 20:01:07 -07:00 
						 
				 
			
				
					
						
							
							
								PerfectLaugh 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							af76f757b5 
							
						 
					 
					
						
						
							
							Update SDKHooks_TakeDamage for CS:GO changes ( #1319 )  
						
						... 
						
						
						
						See alliedmodders/hl2sdk#77  
						
					 
					
						2020-07-25 03:45:35 +01:00 
						 
				 
			
				
					
						
							
							
								David Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3b386379dd 
							
						 
					 
					
						
						
							
							Use more STL for vector insertion/removal. ( #1284 )  
						
						
						
					 
					
						2020-06-13 15:57:02 -07:00 
						 
				 
			
				
					
						
							
							
								David Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							5d94f0bea8 
							
						 
					 
					
						
						
							
							Replace ke::Vector with std::vector.  
						
						
						
					 
					
						2020-05-31 11:35:51 -07:00 
						 
				 
			
				
					
						
							
							
								Asher Baker 
							
						 
					 
					
						
						
						
						
							
						
						
							6465bd83a4 
							
						 
					 
					
						
						
							
							Update for latest Blade Symphony SDK  
						
						
						
					 
					
						2020-03-11 22:36:25 +00:00 
						 
				 
			
				
					
						
							
							
								2251307218 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9fb6430313 
							
						 
					 
					
						
						
							
							sdkhooks: correct velocity issues with dropweapon ( #1159 )  
						
						
						
					 
					
						2020-02-26 16:11:17 -08:00 
						 
				 
			
				
					
						
							
							
								Kyle Sanderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cb8d92edeb 
							
						 
					 
					
						
						
							
							SDKHooks: Reset global hookid when unhooking in SH. ( #916 )  
						
						... 
						
						
						
						Fixes https://github.com/alliedmodders/sourcemod/issues/912  
						
					 
					
						2018-10-28 11:06:57 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							9b8d28de56 
							
						 
					 
					
						
						
							
							Allow -1/null for attacker and inflictor for OTD (bug 6494).  
						
						
						
					 
					
						2018-03-28 21:10:32 -04:00 
						 
				 
			
				
					
						
							
							
								Scott Ehlert 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce1a4dcac0 
							
						 
					 
					
						
						
							
							64-bit support for CSGO on Linux and macOS ( #705 )  
						
						
						
					 
					
						2017-12-20 01:56:23 -06:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							95afe72307 
							
						 
					 
					
						
						
							
							Separate out DOI build. ( #718 )  
						
						
						
					 
					
						2017-11-03 15:45:16 -04:00 
						 
				 
			
				
					
						
							
							
								Michael Flaherty 
							
						 
					 
					
						
						
						
						
							
						
						
							4f54df65e9 
							
						 
					 
					
						
						
							
							Switch C header & Fix warnings ( #702 )  
						
						
						
					 
					
						2017-10-15 10:32:01 +01:00 
						 
				 
			
				
					
						
							
							
								Scott Ehlert 
							
						 
					 
					
						
						
						
						
							
						
						
							bbdecceb4b 
							
						 
					 
					
						
						
							
							Switch to AMBuild 2.1 API. ( #694 )  
						
						
						
					 
					
						2017-10-02 07:18:57 -05:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							29d1187434 
							
						 
					 
					
						
						
							
							Cache created entities by reference instead of index in SDKHooks ( #634 )  
						
						... 
						
						
						
						Fixes  #663 . 
					
						2017-07-06 13:33:34 -04: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 
							
						 
					 
					
						
						
						
						
							
						
						
							40f2512317 
							
						 
					 
					
						
						
							
							Remove support for Source 1 Dota 2. ( #496 )  
						
						
						
					 
					
						2016-04-26 23:18:47 -04: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 
							
						 
					 
					
						
						
						
						
							
						
						
							818e1e4e18 
							
						 
					 
					
						
						
							
							Add support for hooking CanBeAutobalanced to SDKHooks.  
						
						
						
					 
					
						2015-11-26 10:35:00 -05: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 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							3291e3a38f 
							
						 
					 
					
						
						
							
							Fix crash on Black Mesa when an entity is deleted and SDK Hooks is loaded.  
						
						
						
					 
					
						2015-05-31 23:21:43 -04:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							64f9aedebc 
							
						 
					 
					
						
						
							
							Add basic support for Black Mesa.  
						
						... 
						
						
						
						(Basically a copy of SDK 2013's support, but against BMS SDK). 
						
					 
					
						2015-05-06 21:12:13 -04:00 
						 
				 
			
				
					
						
							
							
								Kyle Sanderson 
							
						 
					 
					
						
						
						
						
							
						
						
							7341bd184e 
							
						 
					 
					
						
						
							
							Remove Project Files from older outdated build systems.  
						
						
						
					 
					
						2015-04-01 19:54:34 -07:00 
						 
				 
			
				
					
						
							
							
								David Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							eaea3c927d 
							
						 
					 
					
						
						
							
							Update upstream AMTL as a submodule.  
						
						
						
					 
					
						2015-03-08 00:24:03 -08:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							e2aab2ab10 
							
						 
					 
					
						
						
							
							Don't allow plugins to block LevelInit (wtf).  
						
						
						
					 
					
						2015-01-27 18:01:30 -08:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							aa38226337 
							
						 
					 
					
						
						
							
							Fix SDKHooks causing crash on plugin load/unload or player connect/disconnect if missing gamedata.  
						
						
						
					 
					
						2014-12-30 20:56:28 -05:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							77dc5ac7ed 
							
						 
					 
					
						
						
							
							Fix build.  
						
						
						
					 
					
						2014-10-14 17:47:44 -04:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							37c29775d4 
							
						 
					 
					
						
						
							
							Fix OnTakeDamage_Alive gamedata lookup in SDKHooks.  
						
						
						
					 
					
						2014-10-14 17:36:55 -04:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							be55587d70 
							
						 
					 
					
						
						
							
							Add OnTakeDamage_Alive hook support to SDKHooks (bug=6249).  
						
						
						
					 
					
						2014-09-03 17:45:34 -04:00 
						 
				 
			
				
					
						
							
							
								Ryan Stecker 
							
						 
					 
					
						
						
						
						
							
						
						
							cae1d0dec1 
							
						 
					 
					
						
						
							
							Don't override hook result in BlockedPost.  
						
						
						
					 
					
						2014-09-02 13:01:18 -05:00 
						 
				 
			
				
					
						
							
							
								Ryan Stecker 
							
						 
					 
					
						
						
						
						
							
						
						
							601aac440e 
							
						 
					 
					
						
						
							
							Implement SDKHook_Blocked and SDKHook_BlockedPost.  
						
						
						
					 
					
						2014-08-01 21:35:41 -05:00 
						 
				 
			
				
					
						
							
							
								Kyle Sanderson 
							
						 
					 
					
						
						
						
						
							
						
						
							ab72841704 
							
						 
					 
					
						
						
							
							Rename SDKHooks function and variable to be friendlier.  
						
						
						
					 
					
						2014-07-30 15:34:51 -07:00 
						 
				 
			
				
					
						
							
							
								Kyle Sanderson 
							
						 
					 
					
						
						
						
						
							
						
						
							ba0406930d 
							
						 
					 
					
						
						
							
							Pre-allocate 8 elements to skip trivial reallocations near the beginning of the vectors life.  
						
						
						
					 
					
						2014-07-29 02:48:13 -07:00 
						 
				 
			
				
					
						
							
							
								Kyle Sanderson 
							
						 
					 
					
						
						
						
						
							
						
						
							be79dee6e0 
							
						 
					 
					
						
						
							
							Store only the callback as per VoiDeD, re-eval if HookList changes.  
						
						
						
					 
					
						2014-07-29 02:46:49 -07:00 
						 
				 
			
				
					
						
							
							
								Kyle Sanderson 
							
						 
					 
					
						
						
						
						
							
						
						
							97610edda4 
							
						 
					 
					
						
						
							
							HackFix: Mimic forwardsys style of pawn calling.  
						
						
						
					 
					
						2014-07-28 15:51:34 -07:00 
						 
				 
			
				
					
						
							
							
								Peace-Maker 
							
						 
					 
					
						
						
						
						
							
						
						
							1181144e57 
							
						 
					 
					
						
						
							
							Fix regression. SDKHook_ReloadPost never firing  
						
						... 
						
						
						
						The switch to vtable hooks typo'd the ReloadPost hooks. 
						
					 
					
						2014-07-16 20:40:52 +02:00 
						 
				 
			
				
					
						
							
							
								David Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							abdf7d5b07 
							
						 
					 
					
						
						
							
							Port build scripts to the new project API.  
						
						
						
					 
					
						2014-05-31 19:56:42 -07:00 
						 
				 
			
				
					
						
							
							
								Kyle Sanderson 
							
						 
					 
					
						
						
						
						
							
						
						
							365da7fef6 
							
						 
					 
					
						
						
							
							GCC build fix.  
						
						
						
					 
					
						2014-05-20 20:33:50 -07:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							b4ff034ac2 
							
						 
					 
					
						
						
							
							Fix passing invalid ent to OnEntity forwards (bug 6119, r=KyleS).  
						
						... 
						
						
						
						--HG--
extra : rebase_source : f5477d7d36ef579c40b0547389e8eccaf129f69e 
						
					 
					
						2014-05-10 22:21:42 -04:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							6b27a7fe46 
							
						 
					 
					
						
						
							
							Consolidate duplicate OnEntityCreated logic (bug 6119, r=KyleS).  
						
						... 
						
						
						
						--HG--
extra : rebase_source : b0f563081c5d98c3fbc2769ee89e3ce0ec093624 
						
					 
					
						2014-05-10 22:21:42 -04:00 
						 
				 
			
				
					
						
							
							
								Nicholas Hastings 
							
						 
					 
					
						
						
						
						
							
						
						
							adc9569e23 
							
						 
					 
					
						
						
							
							Fix clients being invalid when passed to OnEntityDestroyed (bug 6119, r=KyleS).  
						
						... 
						
						
						
						--HG--
extra : rebase_source : 546168635b7e7cd8f8c4302858aa258025444dfd 
						
					 
					
						2014-05-10 22:21:38 -04:00