Commit Graph

753 Commits

Author SHA1 Message Date
Mikusch
38fc001a1d TF2: Update StunPlayer signature (#2024) (fixes #2022)
(cherry picked from commit 0dafe04899)
2023-08-30 22:08:46 +02:00
data-bomb
4b949e8228 Add LookupAttachment signature for ND (#1942)
Adds the LookupAttachment signature for Nuclear Dawn

(cherry picked from commit a9a1939f75)
2023-08-30 22:08:46 +02:00
Dysphie
080c4bb8e2 Fix LookupAttachment signature for NMRiH (#1940)
(cherry picked from commit 693e584dcd)
2023-08-30 22:08:46 +02:00
Nick Hastings
149b16cbf3 Enable ShowMenu support for Reactive Drop (see #1938)
Note: Currently only works on beta version of game
(cherry picked from commit 397b70add0)
2023-08-30 22:08:46 +02:00
Corey D
b940b01be4 Fix LookupAttachment signature (#1933)
(cherry picked from commit a0eb6a9550)
2023-08-30 22:08:46 +02:00
Poggu
45258b8561 Fix EntityFactoryCaller signature (#1925)
(cherry picked from commit 6e839a95c6)
2023-08-30 22:08:46 +02:00
El Diablo
ab7b9b231d Linux [SDKTOOLS] Sigscan for FireOutput FIX (#1923)
Addie said:
test the signatures:
\x55\x89\xE5\x57\x56\x53\x81\xEC\x8C\x01\x00\x00\x8B\x55\x08
or
digby's \x55\x89\xE5\x57\x56\x53\x81\xEC\x8C\x01\x00\x00\x8B\x55\x2A\x65\xA1

\x55\x89\xE5\x57\x56\x53\x81\xEC\x8C\x01\x00\x00\x8B\x55\x08 fixed the issue for linux server.

(cherry picked from commit 2dcee81f22)
2023-08-30 22:08:46 +02:00
GAMMACASE
76c2addeb9 Gamedata update after 2/2/2023 CSGO update (#1921) 2023-08-30 22:08:46 +02:00
nosoop
7cb7703cf9 Update TF2 gamedata for version 7757534 (2023-01-05) (#1901)
(cherry picked from commit 27b1817b10)
2023-08-30 22:08:46 +02:00
Nick Hastings
a4703722be Update TF2 gamedata.
(cherry picked from commit 89bd4d7329)
2023-08-30 22:08:46 +02:00
Vauff
3e9a48c778 Correct missed team offsets in CheckRestartRound (#1844) 2023-08-30 22:08:45 +02:00
Vauff
59144cf868 Update gamedata for 2022/10/21 CS:GO update (#1842) 2023-08-30 22:08:45 +02:00
dysphie
1459c10112 Add sdktools gamerules support for NMRiH (#1784) 2023-08-30 22:08:45 +02:00
Nick Hastings
d50e4b7a2f Update TF2 gamedata. 2023-08-30 22:08:45 +02:00
Nick Hastings
abf59a4f4b Update Reactive Drop gamedata (closes #1771) 2023-08-30 22:08:45 +02:00
Vauff
1204d1fd0f Update WriteBaselines signature for CS:GO update (#1766) 2023-08-30 22:08:45 +02:00
Bone
ef34cc67b6 fix WeaponPrice offset on windows (#1765) 2023-08-30 22:08:45 +02:00
Alienmario
1723f97202 Add recent gamedata for BMS, HL2DM (#1756) 2023-08-30 22:08:45 +02:00
XeroX
be648382d7 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
2023-08-30 22:08:45 +02:00
XeroX
b5ed266941 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.
2023-08-30 22:08:45 +02:00
MartLegion
2ffaa04130 Moved pvkii section for better readbility (#1744)
Moved pvkii section above for better readbility
(requested by psychonic)
2023-08-30 22:08:45 +02:00
MartLegion
eddf9cf843 Added PVKII game with related team colors (beacon) (#1743)
Spectators = Yellow
Pirates = Red
Vikings = Green
Knights = Blue
2023-08-30 22:08:45 +02:00
XeroX
7648c7fe03 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.
2023-08-30 22:08:45 +02:00
XeroX
0e4894e8db 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
2023-08-30 22:08:45 +02:00
dysphie
e4afe31fc0 Add NMRiH support for new collision and attachment natives (#1702)
- Add "GetAttachment" offset
- Add "SetOwnerEntity" offset
- Add "LookupAttachment" signature
2023-08-30 22:08:45 +02:00
Mikusch
542b7673d6 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?)
2023-08-30 22:08:45 +02:00
Stanislav Polshyn
c88b18e520 gamedata: Add SetEntityOwner L4D1 offset (#1649) 2023-08-30 22:08:45 +02:00
Benoist
8c001872a8 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>
2023-08-30 22:08:45 +02:00
Nick Hastings
a60c443b29 Update Contagion SDKHooks gamedata. 2023-08-30 22:08:45 +02:00
Mikusch
e67fdf2331 Update Team Fortress 2 gamedata
Shift virtual offsets up by 3
2023-08-30 22:08:45 +02:00
Nick Hastings
e2ca3a9493 Update Contagion SDKTools gamedata. 2023-08-30 22:08:45 +02:00
dysphie
9099634b95 Fix "ForcePlayerSuicide" linux offset in NMRiH (#1627) 2023-08-30 22:08:45 +02:00
dysphie
42575f7cc3 Update gamedata for NMRiH 1.12 (#1623)
* Fix NMRiH's sdktools gamedata

* Fix NMRiH's sdkhooks gamedata

* Fix GroundEntChanged linux offset
2023-08-30 22:08:45 +02:00
Kyle
066818fbec Update TerminateRound signature for CSGO 2023-08-30 22:08:45 +02:00
Vauff
64b897822f Update HandleCommand_Buy_Internal sig and related offsets for CS:GO Win 2023-08-30 22:08:45 +02:00
Vauff
0ad0d839a0 Update CSWeaponDropBB signature for CS:GO Linux 2023-08-30 22:08:45 +02:00
Nick Hastings
410eb01f91 Add missing WriteBaselines signatures for Blade Symphony. 2023-08-30 22:08:45 +02:00
Nick Hastings
c66175d64e Use new GetIServer call and updated IServerTools calls on Blade Symphony. 2023-08-30 22:08:45 +02:00
Nick Hastings
ed5713b3fd Blade Symphony gamedata updates, round 1. 2023-08-30 22:08:45 +02:00
dysphie
0cb3fcaed8 Fix NMRiH's 'GivePlayerAmmo' offset on Windows (#1593) 2023-08-30 22:08:44 +02:00
A1m`
507b09c975 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.
2023-08-30 22:08:44 +02:00
pedrotski
f48cbaab75 Update CS:GO Reload gamedata (#1585) 2023-08-30 22:08:44 +02:00
GAMMACASE
fe27c8810e Update gamedata after latest CSGO update (22/09/21) (#1583) 2023-08-30 22:08:44 +02: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