Commit Graph

7281 Commits

Author SHA1 Message Date
Nicholas Hastings
d2296e463b Update safetyhook 2024-12-17 21:35:47 -05:00
The-Doggy
f586bc2f07
Fix incorrect offset for CommitSuicide (#2224) 2024-12-09 23:58:21 +00:00
Balim
699f876473
Update SDKTools & SDKHooks Gamedata for Synergy (#2228)
Update Synergy offsets and signatures for latest Synergy. There are still updates happening, so these may become incorrect in the coming weeks.
2024-12-07 19:06:48 +00:00
Nicholas Hastings
0fcbe934ff Bump to latest (first) SourcePawn 1.13 2024-11-29 22:36:24 -05:00
Nicholas Hastings
bd157080dc Bump SourcePawn to latest 2024-11-29 14:16:50 -05:00
caxanga334
f086c0a638
Update SDKTools & SDKHooks Gamedata (#2222)
Offsets from Linux beta dedicated server binary.
2024-11-18 02:48:32 +00:00
Nicholas Hastings
c30f033022 Update some hl2mp gamedata 2024-11-17 12:50:15 -05:00
Nicholas Hastings
a16ba7ca7b Revert "- Fixes for OnPlayerTeleport hook for linux and linux64 systems (#2214)"
This reverts commit e015172bf9.
2024-11-02 21:51:09 -04:00
Accelerator
932010e63c
Update libmaxminddb and MySQL 5.7 (#2192)
* Update libmaxminddb and MySQL 5.7 (linux checkout)

* Bump libmaxminddb version

* Typo fix
2024-11-02 17:01:23 +00:00
Nicholas Hastings
34ddf6d2c8
Update SQLite to 3.47.0 (#2215) 2024-11-02 15:38:56 +00:00
MrD4rk5oul
29bff12b23
- Fixes for OnPlayerTeleport hook for linux and linux64 systems (#2214)
- Changed signature call of `CanPlayerTeleport` for linux/linux64 to current used name
  - Applied fix at detour class CanPlayerBeTeleported to use standard parameter proceedings for linux
2024-11-02 15:38:29 +00:00
fdxx
2be15ff629
Fix SDKCall NULL_STRING (#2178) 2024-11-02 15:27:08 +00:00
Kit o' Rifty
34e9605519
Add IntMap methodmap (#2018)
* Add new IntHashMap and IntMap natives

This is a continuation of #579.

[HashMap] Adds new IntHashMap and IntMap natives.

This patch makes the following changes
  * Refactors StringHashMap to a generic HashMap template
  * Adds the IntHashMap class
  * Adds new IntMap natives
  * Adds IntMap tests to the tries test suite

[HashMap] Reverted rename of CharsAndLength

[HashMap] Use more descriptive template names

[HashMap] Removed old-style natives

[HashMap] Removed IntHash class

[HashMap] Reverted some search & replace errors

Co-authored-by: Geoffrey McRae <geoff@hostfission.com>

* Fix spelling mistake + include

* Fix tries test

* Update tests with clone + ContainsKey

---------

Co-authored-by: Geoffrey McRae <geoff@hostfission.com>
Co-authored-by: Nicholas Hastings <nshastings@gmail.com>
2024-10-31 23:35:41 +00:00
Nick Hastings
6c3486d732 Bump AMTL version 2024-10-28 15:23:25 -04:00
Nick Hastings
1d8e90cdda Bump SourcePawn to latest 2024-10-28 00:51:34 -04:00
caxanga334
600f493e69
Modernize Sample Extensions's AMBuildScript (#2107)
* Modernize Build Scripts

* Fix: Missing dot at extension file name.

Reported by @FortyTwoFortyTwo

* Clean Up: Removed unused variable

* Copying No Longer Needed

Copying the HL2SDK manifest is no longer needed.
Requires latest AMBuild.

* Allow Using Manifests From Project Folder

Check if the manifest already exists in the project folder. If not, then search in the path specified by --hl2sdk-manifest-path.

* Requested Changes by Kenzzer

* Fix Differences Between SDK/No SDK
2024-10-25 18:58:31 +02:00
Nick Hastings
8acb60947c Bump version 2024-10-20 12:57:26 -04:00
Benoist
6b6dbc6c06
Dhooks safetyhook (#2205)
* remove libudis86

* switch to safetyhook

* Don't leak memory

* fix issue with the trampoline

* Add x86_64 detour support (windows)

* Allow to differentiate platforms

---------

Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
2024-10-20 16:45:19 +00:00
Nick Hastings
0a6fa1052a Bump sourcepawn version to fix some regressions 2024-10-20 11:19:01 -04:00
Nick Hastings
3bc55e6890 Remove macOS from SP scripting CI 2024-10-19 13:25:14 -04:00
Nick Hastings
80dfa1cc77 Add Clone to Handle methodmap 2024-10-19 13:20:20 -04:00
Benoist
b9f85c8e74
Update pushbuild.txt (#2209) 2024-10-18 19:47:03 -04:00
Nick Hastings
1fbe066328 Rebuild for hl2sdk-tf2 changes. (fixes #2208) 2024-10-11 10:16:43 -04:00
Benoist
4e15a92984
Add x64 Windows support to DHooks (#2154)
* Add x64 Windows support

* undo changes of hook.cpp

* undo changes of hook.h

* undo changes of extension.cpp

* undo changes of listeners.cpp

* undo changes of signatures.cpp

* fix dhooks on x86

* Fix-up dhooks buildscript

---------

Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
2024-09-10 23:26:30 +00:00
Mentrillum
4e6d66b721
Update engine.ep2v.txt (#2203) 2024-08-31 11:42:19 +00:00
Mikusch
dd3409bb9b
Fix unused parameter warning in TF2_SetPlayerClass (#2176) 2024-08-04 16:17:42 +02:00
Rushaway
96727a7610
fix(i18n): Vietnamese translations (#2187) 2024-07-28 17:56:28 +00:00
Nick Hastings
4cc214e1a6 Revert "Merge branch '👺'"
This reverts commit b7feeef350, reversing
changes made to b18c8cbfd6.
2024-07-27 10:17:57 -04:00
Nick Hastings
b7feeef350 Merge branch '👺' 2024-07-27 01:01:49 -04:00
Nick Hastings
b18c8cbfd6 checkout-deps: Fix AMBuild install for fresh installs on Windows with newer Python versions 2024-07-07 11:16:01 -04:00
Nick Hastings
ae789148b1 checkout-deps: change mock sdk download to be optional, using same sdk list 2024-07-07 11:15:14 -04:00
Nick Hastings
ef9d2fda9d checkout-deps: quiet output on MySQL lib download 2024-07-07 11:14:42 -04:00
Nick Hastings
09bde65dfc upload_symbols: add support for auth 2024-07-07 11:11:44 -04:00
Nick Hastings
02e85b3d98 upload_symbols: fix finding dump_syms on Windows when relying on PATH 2024-07-07 11:11:14 -04:00
Benoist
fccf275194
bump safetyhook submodule (#2180)
Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
2024-06-10 21:47:14 +00:00
bottiger1
5edfa79543
Fix more sdktools crash on 64 bits (#2152)
* fix sdktools crash on 64 bits

* remove other 32bit-isms from sdktools

* Swap sizeof(intptr_t) for sizeof(void *)

---------

Co-authored-by: Nick Hastings <nshastings@gmail.com>
2024-06-09 17:17:29 +00:00
bottiger1
b6d98c762c
fix parsing crash (#2173) 2024-06-09 17:13:32 +00:00
Headline
d42a8c7c1e
Move Safetyhook mess into a mirror repo (#2163)
* Bring in safetyhook mirror repo

* Add proper submodule

* Update submodule for linux fixes

* Update submodule again

* Change the method of compiling safetyhook (#2167)

Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>

* Update submodule

* Update submodule for -fPIC

---------

Co-authored-by: Benoist <14257866+Kenzzer@users.noreply.github.com>
Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
2024-06-08 20:05:29 +00:00
Benoist
11d3cf94f7
Add GetFilePermissions (#2177)
Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
2024-06-08 14:17:50 +00:00
Nick Hastings
0e4b1ca4cf Revert "Update sourcepawn submodule (#2146)"
This reverts commit 1bcc5b8a44.
2024-06-08 09:26:13 -04:00
suza
1bcc5b8a44
Update sourcepawn submodule (#2146)
Update SourcePawn and AMTL.
2024-06-04 16:24:22 -07:00
Benoist
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 <kenzzer@users.noreply.github.com>
2024-06-01 14:07:55 +00:00
1mpulse
9f3584a056
fix VDECODE_FLAG_ALLOWNOTINGAME flag (#2000)
Corrects the check for the VDECODE_FLAG_ALLOWNOTINGAME flag
2024-06-01 13:57:07 +00:00
Benoist
4e73713fab
Fix rare crash with logs (#2161)
* Fix rare crash with logs

* Nullcheck instead

* Update smn_filesystem.cpp

---------

Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
2024-05-24 13:10:24 +02:00
Benoist
e07c120cab
CDetour safetyhook (#2162)
* Add safetyhook, remove libudis86

Co-authored-by: bottiger1 <55270538+bottiger1@users.noreply.github.com>

* Add modified CDetour

Co-authored-by: bottiger1 <55270538+bottiger1@users.noreply.github.com>

* 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 <kenzzer@users.noreply.github.com>
Co-authored-by: bottiger1 <55270538+bottiger1@users.noreply.github.com>
2024-05-21 01:53:44 +00:00
Kaela
e3734803f0
sdkhooks: retain vtable hook until level end (#2094)
* Band-aid for Bulk SDKHooks performance impact on linux

Platform specific changes.

* Oops forgot about header

* Simplified/improved LevelShutdown code
2024-05-18 12:30:20 +01:00
Nick Hastings
7c757ac119 Trigger build for hl2sdk-l4d2 changes 2024-05-15 09:36:23 -04:00
sappho
c5425def7f
Trigger build for L4D2 changes (#2155) 2024-05-14 17:09:03 -07:00
ojlanders
e60c672485
Add OnServerHibernationUpdate forward (closes #1483) (#2151)
* Add OnServerHibernationUpdate forward (closes #1483)

* Clarify hibernation state

* make it 2 forwards instead of 1

---------

Co-authored-by: Odin Landers <ojl9576@rit.edu>
2024-05-07 01:44:56 +00:00
rtldg
908ffdb523
make RenameFile() on Windows also replace the file (#2060)
* make RenameFile() on Windows also replace the file

* Add MOVEFILE_COPY_ALLOWED to MoveFileExA
2024-05-05 22:20:46 +00:00