Alienmario
dc9c52bfd6
Enable nextmap for Black Mesa ( #1695 )
2022-02-04 13:50:26 +00:00
Ҝℴţأķ
f5461df28c
Remove hardcoded question mark from sm_vote ( #1699 )
2022-02-03 10:56:25 +00:00
iNilo
e5afdb4181
adminhelp.sp -> Switch to the new CommandIterator() ( #1388 )
...
* Switch to the new CommandIterator() methodmap
`ReadCommandIterator`
->
```
CmdIter.GetName(Name, sizeof(Name));
Flags = CmdIter.Flags;
CmdIter.GetDescription(Desc, sizeof(Desc));
```
* PeaceMaker fixes
* Don't fetch unused properties
Co-authored-by: Michael Flaherty <michaelwflaherty@me.com>
Co-authored-by: Peace-Maker <peace-maker@wcfan.de>
2022-02-01 19:13:06 +01:00
Arron Vinyard
250dc1b206
Update dhooks.inc documentation for consistency ( #1658 )
...
* Update dhooks.inc documentation for consistency
- Modifies whitespace (change tabs to spaces for non initial indents, fix alignments, create consistency with rest of SM docs)
- Change `/*` to `/**` for consistency and to indicate comment doc
- Removes incorrect `@noreturn` doc
* Split long comments across multiple lines
* Remove `@noreturn` in IGameConfigs.h
* Remove `@noreturn` from IGameHelpers.h
* Remove `@noreturn` from asm.c
* Add `@noreturn` to ThrowError
* Add `@noreturn` and `@error` to ThrowNativeError
2022-02-01 18:46:59 +01:00
komashchenko
f5f26e2dfe
Fix GetGameSoundParams in CSGO ( #1631 )
...
* Fix GetGameSoundParams CSGO
* Added preprocessor comments
* Revert InternalPrecacheScriptSound
2022-02-01 17:14:53 +01:00
peace-maker
f7c54e9027
Fix silent error on large ArrayList startsize ( #1705 )
...
If there isn't enough memory to resize the ArrayList to the startsize on construction, throw an error instead of ignoring the OOM.
Fixes #1551
2022-01-31 22:07:32 +01:00
dysphie
1ce828b6c8
Add NMRiH support for new collision and attachment natives ( #1702 )
...
- Add "GetAttachment" offset
- Add "SetOwnerEntity" offset
- Add "LookupAttachment" signature
2022-01-26 19:51:37 +01:00
Corey D
c471e41dc7
Add ArrayStack.Clear native ( #1676 )
2022-01-22 03:26:21 -08:00
Mikusch
afc9310704
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?)
2022-01-03 13:13:54 +00:00
Corey D
bf898dd45f
Fix ArrayList return types ( #1679 )
...
ArrayList.SetString and ArrayList.SetArray both have int return types but their methodmap natives use void.
2021-12-27 12:17:04 +01:00
naydef
7d6eb2bd81
Fix crash in non-bypass-hooks DropWeapon implementation ( #1672 )
...
Fixes #1670
2021-12-15 10:41:55 +00:00
Nick Hastings
547ac5b026
Fix helpers module path lookup on newer Perl versions.
2021-12-13 13:16:14 -05:00
Nick Hastings
7328ce657b
Missing ;s.
2021-12-13 12:59:20 -05:00
Nicholas Hastings
14c9ac8fdb
[Buildbot] Delete package after successful upload. ( #1665 )
...
* [Buildbot] Delete package after successful upload.
* Use autodie.
* ;
2021-12-13 17:52:26 +00:00
Nick Hastings
93cd78a6c5
Remove dead code.
2021-12-13 10:00:42 -05:00
Nick Hastings
b62f332611
Use SteamWorks C++ API in CStrike RulesFix, for better interface compatibility.
2021-12-13 09:34:00 -05:00
Asher Baker
47f135534d
Upload libsourcepawn Breakpad symbols as well
2021-12-12 15:04:40 +00:00
Asher Baker
bb095097a2
Upload libsourcepawn debug symbols
2021-12-12 14:43:32 +00:00
David Anderson
c873e1aafb
Update SourcePawn/AMTL to fix build.
2021-12-11 16:28:04 -08:00
Fyren
455bb14589
Update SP.
2021-12-11 04:13:59 -05:00
Headline
e786ff54f7
Prevent enum shadowing & pin sourcemod for build fixes ( #1661 )
2021-12-10 14:22:04 -08:00
David Anderson
af3c10b173
Update AMTL.
2021-12-09 18:14:28 -08:00
David Anderson
351ac171d2
Merge branch 'fix-menu-vote-handler'
2021-12-09 18:13:30 -08:00
David Anderson
96c74651db
Fix vote menu handler to work with direct arrays.
2021-12-09 18:10:35 -08:00
Benoist
329d587214
Fix ShouldCollide originalResult behaviour ( #1657 )
2021-11-30 09:24:56 +00:00
David Anderson
4e3df76358
Update SourcePawn.
...
Fix fix an hl2sdk-mock build error.
2021-11-23 00:11:48 -08:00
Stanislav Polshyn
161084e6f8
gamedata: Add SetEntityOwner L4D1 offset ( #1649 )
2021-11-22 16:46:07 -08:00
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
Adrián
4e4c2a7bb0
menusys: Correct GetMenuExitBackButton returncode ( #1646 )
2021-11-20 16:52:40 -08:00
peace-maker
1c30b88069
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.
2021-11-18 17:55:32 +01:00
David Anderson
31f6c0cb18
Dedent some menu code for readability.
2021-11-17 18:19:40 -08:00
Peace-Maker
9cb693d8a3
Ignore all build* folders in .gitignore
...
I frequently have one like `buildwin` and `buildlin` for the different OS in WSL.
2021-11-17 13:17:39 +01:00
Peace-Maker
896e92264f
Use SourceMod's version number
2021-11-17 13:17:39 +01:00
Peace-Maker
f32b210ec9
Print OS errors if mprotect fails
...
This helped catch a bug in DHooks before, so it's worth adding it in here as well.
2021-11-17 13:17:39 +01:00
Peace-Maker
8f7ecf66a4
Use JMP patching of CDetour
2021-11-17 13:17:39 +01:00
Peace-Maker
581068c09b
Add copyright headers
2021-11-17 13:17:39 +01:00
Peace-Maker
0f5f1a814e
Import DHooks + Dynamic Detouring
...
This is the latest DHooks version from 1314f2d1b4
2021-11-17 13:17:39 +01:00
Adrián
18f9d65938
Fix translations getting truncated prematurely ( #1640 )
2021-11-16 16:09:30 +00:00
Nick Hastings
589fc96bc9
Update Contagion SDKHooks gamedata.
2021-11-15 21:26:23 -05:00
Nick Hastings
5787fca029
Disable Reserved Slots plugin on Contagion.
...
(It doesn't have sv_visiblemaxplayers).
2021-11-15 20:53:09 -05:00
Nick Hastings
09ea982bbd
Make separate copy of makesig script for IDA 7.x.
2021-11-15 20:52:37 -05: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
David Anderson
90fec5c6df
Add support for ASAN.
2021-11-11 23:41:42 -08:00
David Anderson
257535daf2
Update SourcePawn.
...
This fixes a few more regressions found in the new compiler.
2021-11-07 18:16:20 -08:00
David Anderson
eb0878be2b
Update SourcePawn.
...
This fixes a recent stability regression.
2021-11-02 10:51:00 -07:00
Nick Hastings
f229badbfc
Fix server binary name for CRC lookups.
2021-11-01 13:04:23 -04:00
Nick Hastings
9a6866d14a
Invert CRC to match most popular implementations.
2021-11-01 13:04:23 -04: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