Commit Graph

7179 Commits

Author SHA1 Message Date
Malifox
8f921d971d Make finding the sv_lan ConVar a static operation (#2258)
Co-authored-by: Malifox <78408070+Maliwolf@users.noreply.github.com>
(cherry picked from commit 25faf18760)
2025-02-17 15:36:55 -05:00
Benoist
b4cb8789fa Fix dhooks regression (#2249)
Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
(cherry picked from commit f6737a4760)
2025-02-17 15:36:44 -05:00
Balim
166924374e Update SDKTools Gamedata for Synergy (24.12.2) (#2241)
Update signatures for latest Synergy.

(cherry picked from commit cb0f8f0eaa)
2025-01-07 19:19:52 -05:00
caxanga334
9e51736fe8 Add Gamedata For Half-Life 1: Deathmatch Source (#2237)
(cherry picked from commit 57bdd9fdb0)
2024-12-31 09:43:39 -05:00
bauxite
6848d84a65 Update common.games.txt (#2238)
(cherry picked from commit d8d1a06ee4)
2024-12-31 09:43:25 -05:00
MrD4rk5oul
e3ce2692ee Correction for sourcemod use the new teleportation check gamedata registry from now on. (#2235)
* - Fixes for OnPlayerTeleport hook for linux and linux64 systems
  - 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

* Created a new registry for Teleportation Checking, marking the old one obsolete for older Sourcemod versions.

* Correction for sourcemod use the correct registry from now on.

(cherry picked from commit 3cd6ce9bb0)
2024-12-31 09:43:07 -05:00
MrD4rk5oul
8489e2e65a Fixes for OnPlayerTeleport hook for linux and linux64 systems (#2234)
* - Fixes for OnPlayerTeleport hook for linux and linux64 systems
  - 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

* Created a new registry for Teleportation Checking, marking the old one obsolete for older Sourcemod versions.

(cherry picked from commit 52211de8e9)
2024-12-31 09:42:59 -05:00
The-Doggy
e5921fed53 Fix incorrect offset for CommitSuicide (#2224)
(cherry picked from commit f586bc2f07)
2024-12-09 18:59:29 -05:00
Balim
c537423606 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.

(cherry picked from commit 699f876473)
2024-12-07 14:08:24 -05:00
Nicholas Hastings
d5470df0c9 Bump to latest SourcePawn 1.12 2024-11-29 22:37:00 -05:00
caxanga334
8690afc159 Update SDKTools & SDKHooks Gamedata (#2222)
Offsets from Linux beta dedicated server binary.

(cherry picked from commit f086c0a638)
2024-11-17 21:49:57 -05:00
Nicholas Hastings
dc3b32f1da Update some hl2mp gamedata
(cherry picked from commit c30f033022)
2024-11-17 12:50:52 -05:00
Nicholas Hastings
db8bb68be6 Revert "- Fixes for OnPlayerTeleport hook for linux and linux64 systems (#2214)"
This reverts commit e015172bf9.
2024-11-02 21:50:38 -04:00
MrD4rk5oul
e015172bf9 - 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

(cherry picked from commit 29bff12b23)
2024-11-02 11:41:19 -04:00
Nick Hastings
7dc601eeb9 Bump SourcePawn to latest 2024-10-28 17:05:07 -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
Rushaway
d56dc62e03
i18n: Czech Translations (#2120) 2024-05-05 21:19:11 +00:00
Kit o' Rifty
f08f1ef0d6
Fix passing variant_t parameters + fix codegen stack on Win64 (#2117)
* Fix 64-bit JIT not allocating stack space for params on stack
Fix wrong cond check for passing objects by value

* Fix wrong FireOutput detour proto on win64
2024-05-05 21:17:59 +00:00