Commit Graph

6888 Commits

Author SHA1 Message Date
Nick Hastings
3332da3489 Fix up OnClientSettingsChange logic order.
- Fixes bot name cache not getting updated (see #1579)
- Fixes IClientListener::OnClientSettingsChanged not being called for bots.
2021-10-24 10:07:55 -04:00
Nick Hastings
1a65b308d1 Add support for other Steam ID formats to admin-sql-threaded (#1520). 2021-10-24 09:57:03 -04:00
Nick Hastings
f9309c83d2 Don't cache replay_enable value when evaling whether to use FileExists hook.
Speculative fix for #1581
2021-10-24 08:54:15 -05:00
Nick Hastings
636161e183 Mark unloaded extensions as not fully loaded (fixes #1574). 2021-10-24 08:52:32 -05:00
Charles
897878f8ae Removed incorrect parameter RemoveChangeHook desc 2021-10-23 11:28:23 -05:00
Charles
7650cee459 Removed incorrect parameter in description 2021-10-23 11:28:23 -05:00
Corey D
30c764e4b3 Use words instead of quotes for better clarity
As suggested by sneak-it
2021-10-23 11:25:10 -05:00
Corey D
dc92335fbe Missed Database.Escape 2021-10-23 11:25:10 -05:00
Corey D
8c625ca87d Clarify SQL_EscapeString usage
It's hard to see the difference between 2 single-quotes and 1 double-quote unless you highlight it.
2021-10-23 11:25:10 -05:00
Nick Hastings
536750b428 Add missing parameters for CSWeaponDrop. 2021-10-22 23:42:45 -04:00
GAMMACASE
11e7bb10f1
Fix CS_OnCSWeaponDrop after latest CSGO update (21/10/21) (#1602) 2021-10-22 16:20:54 +01:00
Vauff
f7cd28cfd3 Update HandleCommand_Buy_Internal sig and related offsets for CS:GO Win 2021-10-21 21:21:36 -05:00
Vauff
83c7bdf872 Update CSWeaponDropBB signature for CS:GO Linux 2021-10-21 19:46:20 -05:00
Nick Hastings
97383028e5 Add option to not bypass hooks with TakeDamage and DropWeapon natives. 2021-10-13 12:56:26 -04:00
Nick Hastings
4a6d263dad Remove obsolete core-legacy checks. 2021-10-13 12:56:26 -04:00
Nick Hastings
549e881ba4 Fix attempting to link win32 libprotobuf on win64. 2021-10-13 12:05:51 -04:00
Nick Hastings
c72ea03a86 Use MM:S master for Windows builds (already doing for Linux/Mac). 2021-10-13 10:36:36 -04:00
Nicholas Hastings
9fed0724f7 Typo fix. 2021-10-13 09:57:09 -04:00
Nick Hastings
ed96da1afc Fix incorrect param types in CS:GO GNI (otherwise broken for x64). 2021-10-12 20:56:51 -04:00
Nick Hastings
da3146e294 Remove manual ptr math in vnatives for params not mapped to cell params. 2021-10-12 20:56:51 -04:00
Nick Hastings
5aa0cdfd45 Fix Blade Symphony GiveNamedItem call on x64. 2021-10-12 20:56:51 -04:00
Nick Hastings
0be7813398 Add ValveType_Object type.
This is for the few cases where we have function parameters to objects that
don't fit our other predefined types (CBaseEntity, CBasePlayer, string).

Most calls currently pass those as POD (which is incorrect, but works on
x86), or one of the other pointer types (which is also incorrect, and can
lead to confusion, but works on x86 and x86-64).

This type only works when manually buffering the parameter for calls, and
is not supported for return types.
2021-10-12 20:56:51 -04:00
Nick Hastings
de84f47503 On Linux, link against server libs instead of client (fixes META_CONPRINT). 2021-10-12 20:56:51 -04:00
Nick Hastings
115e3d4392 Update multiple SDKTools calls to be x64-safe [sizeof(void*) != sizeof(int)] 2021-10-12 20:56:51 -04:00
Nick Hastings
9f101ce67f Add missing WriteBaselines signatures for Blade Symphony. 2021-10-12 20:56:51 -04:00
Nick Hastings
9295bc4fbb Fix crash with IBinTools calls on x64 for functions with void return. 2021-10-12 20:56:51 -04:00
Nick Hastings
9e083ec668 Use new GetIServer call and updated IServerTools calls on Blade Symphony. 2021-10-12 20:56:51 -04:00
Nick Hastings
68c8857410 Enable more CS:GO engine logic for Blade Symphony. 2021-10-12 20:56:51 -04:00
Nick Hastings
9323d1094f Blade Symphony gamedata updates, round 1. 2021-10-12 20:56:51 -04:00
Nick Hastings
dc2967b2e7 Fix CS:GO transposing of GiveNamedItem last param and return. 2021-10-12 20:56:51 -04:00
Nick Hastings
6d85c09e69 Enable 64-bit builds for Blade Symphony. 2021-10-12 20:56:51 -04:00
Nick Hastings
6a8177145d Add .vs and .vscode dirs to .gitignore. 2021-10-12 20:38:44 -04:00
dysphie
baf686c6c4
Fix NMRiH's 'GivePlayerAmmo' offset on Windows (#1593) 2021-10-06 20:20:04 +00:00
naydef
34c5eed867
Update float.inc (#1591) 2021-10-02 20:23:43 +00:00
A1m`
59840685a4
Fix 'GiveNamedItem' in the game left4dead2. (#1590)
* Fix 'GiveNamedItem' in the game left4dead2.

The method 'CCSPlayer::GiveNamedItem(char const*, int, CBaseEntity*)' does not work in game left4dead2, any given weapon and object immediately falls to the ground, besides, the code is missing a parameter to call this method (even with the added parameter does not give a weapon to hands). Another method 'CTerrorPlayer::GiveNamedItem(char const*, int, bool, CBaseEntity*)' works great, besides it makes it possible to give out all the items that exist in the game.

* Add x64 support

Add x64 support

* Changed argument type to bool.

Changed argument type to bool.
2021-10-02 14:45:18 +00:00
David Anderson
c4e33cab8c Update bootstrap.pl 2021-09-27 20:27:21 -07:00
David Anderson
bf0741e48a Use master for Metamod:Source builds. 2021-09-27 20:27:21 -07:00
David Anderson
51b5bbac0d Don't require hl2sdk-mock if sdks=all 2021-09-27 17:11:33 -07:00
pedrotski
03699a4a9e
Update CS:GO Reload gamedata (#1585) 2021-09-23 11:44:15 +01:00
nosoop
57a38636fc
TF2Tools: Prevent CalcIsAttackCriticalHelper* from being called twice (#1573)
* Ensure CalcIsAttackCriticalHelper only gets called once

* fixup: move origReturnValue up
2021-09-23 12:00:52 +02:00
David Anderson
a5f99c57e1 Add support for hl2sdk-mock. 2021-09-22 12:36:44 -07:00
David Anderson
1b0c7bc1b8 Add support for hl2sdk-mock. 2021-09-22 12:36:44 -07:00
GAMMACASE
d84fd76070
Update gamedata after latest CSGO update (22/09/21) (#1583) 2021-09-22 09:37:22 +01:00
Nick Hastings
677697a168 Trigger build for TF2 SDK INetChannel changes. 2021-09-16 22:07:57 -04:00
Nick Hastings
0fd4fa7066 Trigger build for TF2 SDK changes. 2021-09-16 21:05:01 -04:00
Bara
0932d78d26 Update sourcepawn 2021-09-13 23:44:14 -07:00
Vladimir
106f807b68
Fix crash in FindSendPropInfo() when the prop was DPT_DataTable (#1575) 2021-09-06 18:42:04 -07:00
Asher Baker
c3e6428ff7
Revert "Switch internal SM concept of frames to use Think (#1540)" (#1572)
This reverts commit b383302128.
2021-08-25 19:59:57 +01:00
Asher Baker
78cb89938d
Remove OnEntitySpawned forward (#1571)
`OnEntitySpawned` is 1.11 only, so this is fine given our API stability guarantees.

Unfortunately the forward name clashes with quite a few plugins using the same name for their SDKHook callback. Normally we'd just put up with this but there are difficult to solve binary compatibility issues where those plugins will get the callback double-called, and there is a separate issue where the forward isn't called for all entity spawns (unlike the SDKHook), so most plugins can't switch to the forward anyway.

Resolves #1558.

This reverts commit 7bab9cc344.
2021-08-23 21:36:20 +01:00
Asher Baker
f503139fae Update SourcePawn 2021-08-23 21:33:05 +01:00