Corey D
fb0144900f
Add ArrayStack.Clear native ( #1676 )
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
Corey D
cc1c02e3de
Fix ArrayList return types ( #1679 )
...
ArrayList.SetString and ArrayList.SetArray both have int return types but their methodmap natives use void.
2023-08-30 22:08:45 +02:00
naydef
4fc0a85581
Fix crash in non-bypass-hooks DropWeapon implementation ( #1672 )
...
Fixes #1670
2023-08-30 22:08:45 +02:00
Nick Hastings
6733c4182d
Fix helpers module path lookup on newer Perl versions.
2023-08-30 22:08:45 +02:00
Nick Hastings
28ef59ada5
Missing ;s.
2023-08-30 22:08:45 +02:00
Nicholas Hastings
647e320b57
[Buildbot] Delete package after successful upload. ( #1665 )
...
* [Buildbot] Delete package after successful upload.
* Use autodie.
* ;
2023-08-30 22:08:45 +02:00
Nick Hastings
cdfbdcc29d
Remove dead code.
2023-08-30 22:08:45 +02:00
Nick Hastings
4f94b4f900
Use SteamWorks C++ API in CStrike RulesFix, for better interface compatibility.
2023-08-30 22:08:45 +02:00
Asher Baker
53be0e0812
Upload libsourcepawn Breakpad symbols as well
2023-08-30 22:08:45 +02:00
Asher Baker
88dd142f5c
Upload libsourcepawn debug symbols
2023-08-30 22:08:45 +02:00
David Anderson
1d5ec7b982
Update SourcePawn/AMTL to fix build.
2023-08-30 22:08:45 +02:00
Fyren
f1a71b0d5a
Update SP.
2023-08-30 22:08:45 +02:00
Headline
85b8e09e8a
Prevent enum shadowing & pin sourcemod for build fixes ( #1661 )
2023-08-30 22:08:45 +02:00
David Anderson
df9b0ef1b3
Update AMTL.
2023-08-30 22:08:45 +02:00
David Anderson
f81412b4fa
Fix vote menu handler to work with direct arrays.
2023-08-30 22:08:45 +02:00
David Anderson
bd478ebdfc
Dedent some menu code for readability.
2023-08-30 22:08:45 +02:00
Benoist
a57573864a
Fix ShouldCollide originalResult behaviour ( #1657 )
2023-08-30 22:08:45 +02:00
David Anderson
6b6436db17
Update SourcePawn.
...
Fix fix an hl2sdk-mock build error.
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
Adrián
5db571bbc6
menusys: Correct GetMenuExitBackButton returncode ( #1646 )
2023-08-30 22:08:45 +02:00
peace-maker
1f561b54f3
Cache copy of library on first symbol/signature lookup ( #1642 )
...
Always perform signature searches on an unaltered copy of the binary. This avoids signature mismatches if the same function is detoured twice and thus the first bytes of the function were replaced by the detour.
2023-08-30 22:08:45 +02:00
Peace-Maker
77a0fb4402
Ignore all build* folders in .gitignore
...
I frequently have one like `buildwin` and `buildlin` for the different OS in WSL.
2023-08-30 22:08:45 +02:00
Peace-Maker
c72736dcfa
Use SourceMod's version number
2023-08-30 22:08:45 +02:00
Peace-Maker
d16f45c4b6
Print OS errors if mprotect fails
...
This helped catch a bug in DHooks before, so it's worth adding it in here as well.
2023-08-30 22:08:45 +02:00
Peace-Maker
e280d33a28
Use JMP patching of CDetour
2023-08-30 22:08:45 +02:00
Peace-Maker
fb1d501c24
Add copyright headers
2023-08-30 22:08:45 +02:00
Peace-Maker
3c0f700a6b
Import DHooks + Dynamic Detouring
...
This is the latest DHooks version from 1314f2d1b4
2023-08-30 22:08:45 +02:00
Adrián
45e9da90fc
Fix translations getting truncated prematurely ( #1640 )
2023-08-30 22:08:45 +02:00
Nick Hastings
a60c443b29
Update Contagion SDKHooks gamedata.
2023-08-30 22:08:45 +02:00
Nick Hastings
b064366169
Disable Reserved Slots plugin on Contagion.
...
(It doesn't have sv_visiblemaxplayers).
2023-08-30 22:08:45 +02:00
Nick Hastings
a06a903989
Make separate copy of makesig script for IDA 7.x.
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
David Anderson
f182feed9d
Add support for ASAN.
2023-08-30 22:08:45 +02:00
David Anderson
02dd6a9c00
Update SourcePawn.
...
This fixes a few more regressions found in the new compiler.
2023-08-30 22:08:45 +02:00
David Anderson
b421a0c594
Update SourcePawn.
...
This fixes a recent stability regression.
2023-08-30 22:08:45 +02:00
Nick Hastings
9ec5cb819c
Fix server binary name for CRC lookups.
2023-08-30 22:08:45 +02:00
Nick Hastings
f8e664b797
Invert CRC to match most popular implementations.
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
David Anderson
aa98f60ca3
Update SourcePawn.
2023-08-30 22:08:45 +02:00
David Anderson
d5f47a88e6
Switch to clang-8.
...
This is the new minimum supported Clang version going forward.
2023-08-30 22:08:45 +02:00
FortyTwoFortyTwo
62f08a31fc
Fix compiling with tf2_stocks
2023-08-30 22:08:45 +02:00
David Anderson
e565c83494
Fix build.
2023-08-30 22:08:45 +02:00
David Anderson
a68ff2a587
Fix error return of FormatNativeString. ( #1613 )
2023-08-30 22:08:45 +02:00
David Anderson
377888276e
Update to the new SourcePawn compiler.
...
This imports the brand new SourcePawn compiler. The new compiler is much
faster to compile and generates significantly improved code around
array generation and array access.
There are a number of compatibility changes in the new compiler. Most of
these are due to improved type checking and error detection. The full
list of notes can be found here:
https://github.com/alliedmodders/sourcepawn/blob/master/docs/upgrading-1.11.md
Additionally, .smx files generated by the new compiler will NOT load on
earlier versions of SourceMod, including earlier versions of 1.11. Old
plugins will continue to load as normal.
2023-08-30 22:08:45 +02:00
Nick Hastings
52b8e95aae
Throw error if unknown SDK call type specified.
2023-08-30 22:08:45 +02:00
Nick Hastings
bb6e6fd3b6
Reorder SDKCallType enum for better compatibility with existing plugins.
2023-08-30 22:08:45 +02:00