Commit Graph

369 Commits

Author SHA1 Message Date
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
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
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
GAMMACASE
d84fd76070
Update gamedata after latest CSGO update (22/09/21) (#1583) 2021-09-22 09:37:22 +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
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
Michael Busby
2c94ab3b1c
Update L4D2 Gamedata for 2.2.0.0 (#1351) 2020-09-24 18:52:24 +01:00
peace-maker
510bd261f8
core: Add Insurgency support for amd64 Windows (#1295)
* Add basic Insurgency support on Windows x64

This allows SourceMod to load on x64 Insurgency. There are still a lot of variable truncation warnings that have to be dealt with.

* Fix 32bit builds

* Compile MySQL extension as well

The hack for __iob_func being removed from the core runtime, but required by the old mysql we're building against can be simplified a lot due to the `_ReturnAddress` intrinsic available since MSVC 2015.

* Don't include the offset we want to extract in the signature
2020-08-06 19:53:06 -07:00
Nick Hastings
2ebbf2774b Update Fortress Forever gamedata. 2020-06-25 12:49:31 -04:00
Loïc
d876f04baf
Update Function Offsets For PVKII 0.4.2.2 (#1227)
* Update Function Offsets For PVKII 0.4.2.2

-Updates offsets for Linux/Win/Mac
-Update func sig FireOutput for Linux/Win/Mac
2020-04-22 01:03:34 +00:00
Nick Hastings
1d98c3a782 Fix Linux SetClientName/SetUserConVar gamedata on Nuclear Dawn (Fixes #1225). 2020-04-08 17:47:49 -04:00
peace-maker
23efe26655
Update Contagion gamedata again (#1216)
Updates vtable offsets after Patch 2.1.2.2 again. #1171
2020-03-18 16:04:41 +00:00
rumblefrog
e941c1acea
Update Black Mesa gamedata (#1208) 2020-03-10 20:20:08 +00:00
Asher Baker
48c3a9f2fa
NMRiH gamedata update (#1204) 2020-03-05 18:37:09 +00:00
Juice
a3dd25f354
Update csgo InfoChanged offset (#1192) 2020-02-26 18:46:09 +00:00
komashchenko
4b0e73ca5a
WriteBaselines gamedata update (#1189) 2020-02-25 10:21:04 +00:00
peace-maker
c052eb3969
Update Contagion gamedata (#1169) 2020-02-06 22:11:05 -08:00
GAMMACASE
cfa4998ac1 WriteBaselines gamedata update after latest csgo update (#1153) 2020-01-07 21:36:16 +00:00
PerfectLaugh
bef8562de5 Fix CSGO Update crash (11/19/2019) (#1125)
* Fix CSGO Update crash (11/19/2019)

We know what happened when Valve do something big.
Not tested on Linux

* Fix RoundRespawn on Windows

* Fix TerminateRound on Linux x86

* Comment out Linux x64 part of TerminateRound

Better leave blank here.
2019-11-18 22:18:28 -05:00
Asher Baker
fcafd0784c
Workaround CS:GO Stringtable bug (#1046)
The cause of the infamous "Index error writing string table baseline"
error appears to be a timing issue between the engine's network message
processing, the stringtable encoding, and command processing when adding
stringtable entries in OnConfigsExecuted.

When the first client connects the map is re-loaded which causes a full
refresh, the game's stringtable entries are added at tick 65, the client
connection is registered at tick 66, and stringtable entries added in
OnConfigsExecuted are registered as being added in tick 67. The engine
later calls WriteBaselines with the client's signon tick, and neglects
to encode the SM added entries as it considers them from the future.

To avoid this, always pass INT_MAX as the current tick when encoding
the baseline, so all stringtable entries are included regardless of when
they were added. Tested on both Windows and Linux.
2019-07-19 09:13:34 +01:00
Nick Hastings
c196082988 Typo fix for CS:GO POSIX Extinguish gamedata. 2018-12-08 09:05:10 -05:00
Nick Hastings
0b35c84bf0 Update CS:GO SDKTools and SDKHooks offsets. 2018-12-06 19:23:32 -05:00
Michael Flaherty
a21c7564c1 [NMRiH] Gamedata update (Fixes #898) (#899) 2018-10-05 07:09:19 -04:00
Mr. Silence
aae7161273 Updated some offsets and all signatures for ZPS. (#839)
Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>
2018-06-27 17:15:27 -04:00
Nick Hastings
6287774d69 Update SDKTools gamedata for IOSoccer (fixes #833). 2018-06-22 16:30:22 -04:00
Nick Hastings
c993712438 Update BM:S gamedata. 2018-05-06 12:17:47 -04:00
Nick Hastings
f6a64da672 Update Insurgency FireOutput gamedata. 2018-05-05 11:35:06 -04:00
Spirrwell
82f1c5a20b Update Function Offsets For PVKII (#808)
* Update Function Offsets For PVKII

-Updates offsets
-Removes "Reload" as no corresponding function actually exists

* Offset Fixes

-Re-add "Reload" as it's defined for CBaseCombatWeapon
-Fix Linux\Mac offsets for GroundEntChanged
2018-05-01 20:28:54 -04:00
Joël Troch
4fd68939d3 [ZPS] Update gamedata and engine migration (#782)
* Migrate ZPS from EP2 to SDK 2013 engine

* Update ZPS gamedata (for version 3.0.7-Hotfix3)
2018-03-19 19:19:01 -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
Nicholas Hastings
ab303e7394 Gamedata for 2017-10-20 TF2 update. 2017-10-19 23:59:14 -04:00
Ruben Gonzalez
1d9ea142c4 Update more CS:GO gamedata 2017-08-18 10:33:41 -04:00
awillinger
cb83a307ec Fix (parts of) CS:GO gamedata (#656)
* Fix SDKTools gamedata (thanks to Rodya)

* Fix CStrike Linux gamedata

* Fix keys

* Fix keys #2

* Adjust Windows offsets as well

* Update CommitSuicide (from Bara)
2017-08-18 14:06:31 +01:00
Nicholas Hastings
1924da3527 Update Contagion tempents gamedata. (Fixes #642) 2017-07-28 14:12:28 -04:00
Nicholas Hastings
79970ca5fa Update CS:GO InfoChanged offset. 2017-06-21 14:40:42 -04:00
Ruben Gonzalez
b9fd586f2f Update CS:GO CBaseClient related gamedata. 2017-06-21 07:37:04 -04:00
Nicholas Hastings
78a2dec19e Updated more KreedzClimbing gamedata. 2017-06-15 18:26:06 -04:00
Nicholas Hastings
a984e23bf6 Update KreedzClimbing gamedir. 2017-06-08 12:44:59 -04:00
Duko
8753e58d7f Gamedata cleanup. 2017-05-26 10:21:24 -04:00
Ruben Gonzalez
946150c8a2 Merge branch 'master' of github.com:alliedmodders/sourcemod 2017-05-24 08:41:53 -04:00