Commit Graph

749 Commits

Author SHA1 Message Date
Nicholas Hastings
b0799d3336
Move menu sound selection from core config to gamedata. (#1896) 2022-12-29 04:10:51 +00:00
Nicholas Hastings
b77e8c50ac
Add support for Military Conflict: Vietnam (#1887) 2022-12-20 21:46:18 +00:00
Nick Hastings
89bd4d7329 Update TF2 gamedata. 2022-12-01 19:33:09 -05:00
Spirrwell
6574dd8273
Update PVKII FireOutput Linux Signature (#1866) 2022-11-27 03:18:19 +00:00
Spirrwell
f6b39720ec
Make sure 'pvkii' gets 'GetDataDescMap' offset (#1852) 2022-10-27 21:57:21 +00:00
Spirrwell
e34e9b9869
Split PVKII into its own engine branch (#1847)
* Initial PVKII branch support

* Change PVKII code to 23, DOTA uses 22 in MM

* Bunch more SE_PVKII preprocessor that was missed

* Add some missing SOURCE_ENGINE_PVKII cases

* Update PVKII FireOutput signature for Linux

* Update checkout-deps with 'pvkii'

* Fix FireOutput signature for PVKII, accidentally used one from newer build

* Change PVKII code to 10, and bump others by 1

* Only check against SE_SDK2013 here, like Metamod

* More SE_PVKII preprocessor cleanup
2022-10-24 19:27:32 +00:00
Vauff
9ddcd335af
Correct missed team offsets in CheckRestartRound (#1844) 2022-10-22 09:30:33 -05:00
Vauff
22a964d89a
Update gamedata for 2022/10/21 CS:GO update (#1842) 2022-10-21 20:13:57 -05:00
dysphie
678ad74bf4 Add sdktools gamerules support for NMRiH (#1784) 2022-06-24 10:00:02 -04:00
Nick Hastings
0dcfdf3d7e Update TF2 gamedata. 2022-06-21 21:48:25 -04:00
Nick Hastings
50eca8e60c Update Reactive Drop gamedata (closes #1771) 2022-05-30 20:28:55 -04:00
Vauff
e28bf30b7d
Update WriteBaselines signature for CS:GO update (#1766) 2022-05-09 21:08:11 -07:00
Bone
7becdc48d3
fix WeaponPrice offset on windows (#1765) 2022-05-07 06:43:13 -04:00
Alienmario
441259e36a
Add recent gamedata for BMS, HL2DM (#1756) 2022-04-21 21:49:19 +00:00
XeroX
ff558b32e5
ZPS Update offsets for 3.2.4 (#1746)
* 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.

* Update offsets for ZPS 3.2.4

Updates the offset
2022-04-16 14:07:46 +00:00
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
MartLegion
3f3f1b8914
Moved pvkii section for better readbility (#1744)
Moved pvkii section above for better readbility
(requested by psychonic)
2022-04-12 14:09:33 +00:00
MartLegion
05e48ef866
Added PVKII game with related team colors (beacon) (#1743)
Spectators = Yellow
Pirates = Red
Vikings = Green
Knights = Blue
2022-04-12 13:57:18 +00:00
XeroX
8579e873ca
ZPS: Update Offsets & Signatures for 3.2 (#1717)
* 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.
2022-02-19 14:33:15 +00:00
XeroX
5479084039
ZPS: Add LookupEntityAttachment and GetEntityAttachment Gamedata (#1706)
* Add LookupAttachment and GetAttachment

Offset and Signature for Zombie Panic! Source.

* Fix Gamerules not being available

This fixes the issue that would throw an error when trying to use SDKCall with type SDKCall_GameRules.

* Add SetOwnerEntity offset

Add SetOwnerEntity offset
2022-02-08 17:56:31 -08:00
dysphie
1ce828b6c8
Add NMRiH support for new collision and attachment natives (#1702)
- Add "GetAttachment" offset
- Add "SetOwnerEntity" offset
- Add "LookupAttachment" signature
2022-01-26 19:51:37 +01: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
Stanislav Polshyn
161084e6f8
gamedata: Add SetEntityOwner L4D1 offset (#1649) 2021-11-22 16:46:07 -08: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
589fc96bc9 Update Contagion SDKHooks gamedata. 2021-11-15 21:26:23 -05:00
Mikusch
e3569edb65 Update Team Fortress 2 gamedata
Shift virtual offsets up by 3
2021-11-15 20:43:51 -05:00
Nick Hastings
3db7116620 Update Contagion SDKTools gamedata. 2021-11-15 20:31:54 -05:00
dysphie
83672a6ce0
Fix "ForcePlayerSuicide" linux offset in NMRiH (#1627) 2021-11-12 09:19:41 +01:00
dysphie
8991b557ab
Update gamedata for NMRiH 1.12 (#1623)
* Fix NMRiH's sdktools gamedata

* Fix NMRiH's sdkhooks gamedata

* Fix GroundEntChanged linux offset
2021-11-01 01:42:45 +00:00
Kyle
92ce0fe814 Update TerminateRound signature for CSGO 2021-10-26 09:46:21 -04: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
9f101ce67f Add missing WriteBaselines signatures for Blade Symphony. 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
9323d1094f Blade Symphony gamedata updates, round 1. 2021-10-12 20:56:51 -04:00
dysphie
baf686c6c4
Fix NMRiH's 'GivePlayerAmmo' offset on Windows (#1593) 2021-10-06 20:20:04 +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
pedrotski
03699a4a9e
Update CS:GO Reload gamedata (#1585) 2021-09-23 11:44:15 +01:00
GAMMACASE
d84fd76070
Update gamedata after latest CSGO update (22/09/21) (#1583) 2021-09-22 09:37:22 +01:00
Asher Baker
32d951e312
Detect invalid menu item selections in L4D-based games (#1543)
Some games have implemented CHudMenu::SelectMenuItem to close the menu
even if an invalid slot has been selected, which causes us a problem as
we'll never get any notification from the client and we'll keep the menu
alive on our end indefinitely. For these games, pretend that every slot
is valid for selection so we're guaranteed to get a menuselect command.
We don't want to do this for every game as the common SelectMenuItem
implementation ignores invalid selections and keeps the menu open, which
is a much nicer user experience.

Fixes #1385
2021-07-18 20:57:13 +01:00
Stanislav Polshyn
c38d45b9e7
gamedata: SetCollisionGroup signatures for L4D (#1514) 2021-06-29 01:13:56 -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
Mikusch
1eae765dc3
Update Team Fortress 2 gamedata (#1509) 2021-06-22 19:19:06 +01:00
Vauff
47c050d5b6
Update TerminateRound signature for CS:GO windows (#1486) 2021-04-29 01:24:26 -07:00
Nicholas Hastings
ae485c3115
Add A2S_Rules fix for CS:GO to CStrike extension. (#614)
* Add A2S_Rules fix for CS:GO to CStrike extension.

* Dont force set the cvar. Add checks before patching.

* Remove incorrect and useless check.

* Remove checking value as it is in the signature.

* Update build script changes to AMBuild 2.1 API to fix build.

* Fix bad check and ConVarRef being resolved too early.

* Whoops. This line is kinda important. Got nuked when refactoring.

* Remove unused variable.

* Updatet gamedata.

* Switch to "Addresses" gamedata lookup

* Add linux64 gamedata

* Fix mac build

Co-authored-by: Ruben Gonzalez <drifter01620@gmail.com>
Co-authored-by: Peace-Maker <peace-maker@wcfan.de>
2021-03-08 22:42:32 +00:00
komashchenko
978fa6b252
Fix detour HandleCommand_Buy_Internal (#1406) 2020-12-18 12:10:10 +00:00
c0rp3n
24f90449ad [CS:GO] Remove control chars from gamedata 2020-12-16 16:17:14 +01:00
Natanel Shitrit
c2b806563e
Update 'CScore' offset for CS:GO (#1394) 2020-12-04 17:13:10 +00:00
Vauff
15d912df38
Update TerminateRound signature for CS:GO linux (#1392) 2020-12-04 00:10:51 +00:00
Mr. Silence
104b6b878a
[ZPS] Gamedata update for sdktools/sdkhooks (#1369)
* Gamedata update for ZPS 3.1

Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>

* Offset updates for ZPS 3.1

Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>

* Updated offsets and signatures.

Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>
2020-10-20 03:58:35 +00:00