XeroX
6b588fff61
ZPS: Add missing offsets ( #1719 )
...
* Update offsets for ZPS 3.2
Zombie Panic! Source Version 3.2 released and these are the updated offsets.
* Update offsets for 3.2
ZPS 3.2 has been release and these are the updated offsets / signatures.
* ZPS: Add missing offsets.
Adds support for OnTakeDamage_Alive, GetMaxHealth, Blocked, Reload and GroundEntChanged.
I wasn't aware these were missing entirely or I would have pushed them with the previous PR.
* ZPS Add missing offsets.
Adds support for GivePlayerAmmo.
Wasn't aware these were missing the first place.
* Fix ForcePlayerSuicide not properly working in ZPS
ZPS requires the second bool parameter to be true otherwise it won't do anything for players in the lobby or delayed for players on either team 2 or team 3.
* Fixed breaking code for other mods.
Added bForce which is set to true for zps.
2022-04-16 14:07:16 +00:00
Mikusch
afc9310704
Add LookupEntityAttachment & GetEntityAttachment natives ( #1653 )
...
Using the virtual `CBaseAnimating::GetAttachment(int, matrix3x4_t &)` was a deliberate choice because virtual offsets are generally easier to maintain than signatures. The `matrix3x4_t` is converted to world position and world angles internally.
Some of the other overloads are also inlined on a few games, making this the best choice.
Since this call can only be used on classes inheriting `CBaseAnimating`, we check if the `DT_BaseAnimating` SendTable exists on the entity, throwing a native error if it doesn't.
This safeguard could be greatly improved with a call to `CBaseEntity::GetBaseAnimating`, but would require more gamedata (maybe something to consider for the future?)
2022-01-03 13:13:54 +00:00
Benoist
b38c9824fe
sdktools: Add EntityCollisionRulesChanged & SetEntityOwner natives ( #1620 )
...
* Add EntityCollisionRulesChanged & SetEntityOwner natives
* fix win build, and unpushed changes
* Fixed bad world loop
* Requested changes + csgo offsets
* small copy paste mistake
* Strip the debug log lines
* Tiny clean up in comments
* line
* <dvander> try again
* sdktools: add default Param for owner.
Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2021-11-21 23:03:35 -08: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
115e3d4392
Update multiple SDKTools calls to be x64-safe [sizeof(void*) != sizeof(int)]
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
dc2967b2e7
Fix CS:GO transposing of GiveNamedItem last param and return.
2021-10-12 20:56:51 -04: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
Adam Short
5aedb73aae
sdktools: Rename SetCollisionGroup to SetEntityCollisionGroup ( #1513 )
...
Better aligns the with other natives - makes more sense.
2021-07-10 13:10:26 -07:00
Adam Short
a9d3cf4574
sdktools: Add SetCollisionGroup native ( #1461 ) ( #1507 )
...
* Add SetCollisionGroup native
* Add newline to end of file
* Fix gamedata locations
* Remove extra spaces
* Fix gamedata formatting
* Add Windows signature for CS:GO
* Fix native doc comment
* Revert formatting change
* Change references of client -> entity
* Moved CallWrapper into method
* typofix
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2021-06-24 15:04:10 -07:00
Nick Hastings
4bebdc18a2
Hmm...
2018-12-06 20:31:29 -05:00
Nick Hastings
a01529b210
Add new GiveNamedItem param for CS:GO.
2018-12-06 20:18:21 -05:00
Michael Flaherty
5611ec54a2
Migrate extensions to common AMTL string funcs ( #785 )
2018-03-25 13:00:53 -07:00
Byte
1706fdfed9
Fix typo and update CSGOBadList ( #738 )
...
* Fix typo
* Update CSGOBadList
2017-12-28 18:43:49 -05:00
Scott Ehlert
ce1a4dcac0
64-bit support for CSGO on Linux and macOS ( #705 )
2017-12-20 01:56:23 -06:00
Ruben Gonzalez
3d461ecea1
Add support for CreateIitemEntityByName for CS:GO
2017-09-08 08:37:28 -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
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
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
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
Nicholas Hastings
7d795b523e
Add SetClientName native.
2015-03-22 12:15:08 -07:00
Nicholas Hastings
f0dd129344
Eliminate need for FindEntityByClassname gamedata on sdk2013 and soon css/dods/hl2dm (already on tf2).
2014-10-30 19:25:26 -04:00
Nicholas Hastings
e7870da5ff
Add ifdef section notes on endifs.
2014-06-11 23:37:02 -04:00
Nicholas Hastings
a697e81427
Use updated IServerTools iface on TF2 for getting tempent list and FindEntityByClassname.
2014-06-11 22:44:42 -04:00
Kyle Sanderson
b1901da79f
Unify Maximum supported clients, raised SDKTools limit (bug 5964, r=psychonic).
2014-05-06 18:40:35 -07:00
Nicholas Hastings
d6bbb765c1
Add hack to not throw error on FEBC not found if not attempted to be found (nobug, r=asherkin).
2014-03-21 12:03:19 -04:00
Nicholas Hastings
b3e2647dc4
Fix IgniteEntity crash on NMRiH.
2014-03-08 01:04:49 -05:00
Peace-Maker
75d950e4b0
Add GiveAmmo native to SDKTools (bug 6039, r=psychonic).
2014-02-10 10:49:19 -05:00
Nicholas Hastings
3e15966c3e
Add support for Source SDK Base 2013 (bug 5917, r=asherkin).
2013-10-13 14:14:51 -04:00
Nicholas Hastings
575962569f
Update GivePlayerItem for new params in CS:GO.
2013-08-14 17:07:27 -04:00
FlaminSarge
7db280a666
Add GetPlayerJingleFile native. (bug 5690, r=asherkin)
2013-08-12 02:08:34 +01:00
Kyle Sanderson
b9cd424186
Add support for nested datatables. (bug 5446, r=asherkin)
2013-08-12 00:54:21 +01:00
Nicholas Hastings
a36c266e7d
Split TF2, DoD:S, HL2:DM, and ND to separate binaries (bug 5813, r=asherkin).
2013-07-21 11:53:56 -04:00
Nicholas Hastings
614967ccc1
Updated for latest hl2sdk-dota changes.
2013-05-13 15:18:12 -04: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
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
Nicholas Hastings
8362b8d226
Split CS:S support off to a separate engine/build (bug 5370, r=asherkin).
2012-08-20 21:53:59 -04:00
Nicholas Hastings
3a77fcd005
Updated Core and SDK Tools for ep2v EmitSound sdk change.
2012-06-27 22:42:23 -04:00
Nicholas Hastings
917b6d4521
Added support for CS: Global Offensive (bug 5299, r=asherkin).
2012-05-27 16:08:03 -04:00
Nicholas Hastings
67163e14e6
Added checks to avoid crashing in some natives before map start (bug 5119, r=fyren).
2011-10-11 22:50:21 -04:00
Nicholas Hastings
ddd967534b
Sped up native impl. of FindEntityByClassname (bug 4963, r=fyren).
2011-07-12 19:48:28 -04:00
John Schoenick
f1a4a08c7f
Fixed regression in FindEntityByClassname from bug 4899 (bug 4941, r=predcrab).
2011-06-01 20:36:16 -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
Scott Ehlert
dd44a0aaea
Added support for Alien Swarm (bug 4530, r=dvander).
2010-07-27 17:32:32 -05:00