Commit Graph
11 Commits
Author SHA1 Message Date
BenoistandKenzzer 11d3cf94f7 Add GetFilePermissions (#2177)
Co-authored-by: Kenzzer <[email protected]>
2024-06-08 14:17:50 +00:00
BenoistandKenzzer 7df2f8e045 Reconcile the concept of Edict & Networkable across the codebase (#1903)
* Reconcile the concept of Edict & Networkable across the codebase

* There's no need to check this, it's done elsewhere. Also could be null (segfault)

* This was never needed

* Pseudo review changes

Re-added removed null checks, and added new ones.

Changed the error messages in Get/SetProp natives to better reflect reality.

* Don't change the behaviour of GetEntityNetClass

* Overload IGameHelpers::FindServerClass

* Make error messages more accurate

* Fix a dev comment

* Rename FindServerClass

---------

Co-authored-by: Kenzzer <[email protected]>
2024-06-01 14:07:55 +00:00
BenoistandKenzzer 4e73713fab Fix rare crash with logs (#2161)
* Fix rare crash with logs

* Nullcheck instead

* Update smn_filesystem.cpp

---------

Co-authored-by: Kenzzer <[email protected]>
2024-05-24 13:10:24 +02:00
e07c120cab CDetour safetyhook (#2162)
* Add safetyhook, remove libudis86

Co-authored-by: bottiger1 <[email protected]>

* Add modified CDetour

Co-authored-by: bottiger1 <[email protected]>

* Add CDetour [Safetyhook] to build script

* Re-enable loader/core/corelogic, and fix new C++20 error

* Reenable all extensions (except dhooks)

* Make cstrike compile against new CDetour

* Remove unused variable in sdktools output?

* Make sdktools compile against new cdetour

* Downgrade to C++17

* remove auto

* fix compilation on linux

* Re-enable dhooks

* Re-authorise old compilers

* Fix invalid downgrade of std::optional

* readd libudis86 for dhooks only

---------

Co-authored-by: Kenzzer <[email protected]>
Co-authored-by: bottiger1 <[email protected]>
2024-05-21 01:53:44 +00:00
BenoistandKenzzer 638aae0040 Fix sdktools gamedata (#2113)
Co-authored-by: Kenzzer <[email protected]>
2024-02-08 00:02:01 +00:00
BenoistandKenzzer 35ac74c7a7 Update gamedata for l4d2 (#2111)
* update gamedata for l4d2

* undo findentitybyclassname sig change

* update gEntList offset accordingly

---------

Co-authored-by: Kenzzer <[email protected]>
2024-02-02 21:10:42 +00:00
BenoistandKenzzer b5b9b8388c Fixup entinfo offset + sdktools tf2 x64 gamedata (#2108)
* fixup entinfo offset

* added missing tf gamedata

---------

Co-authored-by: Kenzzer <[email protected]>
2024-01-29 01:08:33 +00:00
BenoistandKenzzer e7e92d4e40 update manifests (#2106)
Co-authored-by: Kenzzer <[email protected]>
2024-01-26 21:18:14 +00:00
BenoistandKenzzer 33e869a4e5 Update gamedata for TF2 x64 (#2105)
Co-authored-by: Kenzzer <[email protected]>
2024-01-26 13:30:08 +00:00
11c8084ccd Deprecate CreateInterface (#2001)
* Deprecate CreateInterface

Co-authored-by: KitRifty <[email protected]>

* Expose the 'newer' data

* Update smsdk_ext.cpp

---------

Co-authored-by: Kenzzer <[email protected]>
Co-authored-by: KitRifty <[email protected]>
2023-11-11 16:59:22 +00:00
BenoistandKenzzer f8349e846a Fix SetEntityHealth to support 'any' entities (#1846)
Co-authored-by: Kenzzer <[email protected]>
2022-12-20 22:07:57 +00:00