Dev
87d9688ab2
Update class refs for new patch
2024-02-12 11:33:06 +00:00
Dev
2fbe050a14
28476 - update mappings most classes were offset by 2
2024-01-24 11:08:16 +00:00
337a0733ae
Publicized assembly refactor ( !58 )
...
Depends on SPT-AKI/SPT-AssemblyTool#3
* Refactored Modules for better consistency and general readability, along with preparing the code for a publicized assembly
* Added `PublicDeclaredFlags` to `PatchConstants` to cover a set of commonly used flags to get methods post-publicizing
* Added a replacement to LINQ's `.Single()` - `.SingleCustom()` which has improved logging to help with debugging Module code. Replaced all `.Single()` usages where applicable
* Replaced most method info fetching with `AccessTools` for consistency and better readability, especially in places where methods were being retrieved by their name anyways
**NOTE:**
As a side effect of publicizing all properties, some property access code such as `Player.Position` will now show "ambiguous reference" errors during compile, due to there being multiple interfaces with the Property name being defined on the class. The way to get around this is to use a cast to an explicit interface
Example:
```cs
Singleton<GameWorld>.Instance.MainPlayer.Position
```
will now need to be
```cs
((IPlayer)Singleton<GameWorld>.Instance.MainPlayer).Position
```
Co-authored-by: Terkoiz <terkoiz@spt.dev>
Reviewed-on: SPT-AKI/Modules#58
Co-authored-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
Co-committed-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
2024-01-13 22:08:29 +00:00
e3bdf9c1fd
Update for 28375 + fixes ( !47 )
...
- Update GClass references
- Fix incorrect method in InsuranceScreenPatch (Makes insurance screen actually show)
- Fix incorrect method in Scav offline raid screen patch (Makes "Ready" from the practice screen start the raid)
- Update hollowed.dll with one provided by Chomp
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#47
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2023-12-29 09:43:15 +00:00
Terkoiz
e953de545d
Fixed PostRaidHealingPricePatch
2023-12-27 21:45:33 +02:00
Terkoiz
4da61ffb64
Fixed compile-time errors
2023-12-27 17:10:25 +02:00
Dev
0993a2353c
Fix LabsKeycardRemovalPatch
2023-11-17 09:36:11 +00:00
8dcbd0f0b2
Added patch to remove the Labs Access Card from player inventory when entering Labs ( !37 )
...
Co-authored-by: Terkoiz <terkoiz@spt.dev>
Reviewed-on: SPT-AKI/Modules#37
Co-authored-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
Co-committed-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
2023-11-17 09:30:13 +00:00
4047f86b24
Update references for 26835 ( !36 )
...
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#36
2023-10-28 09:30:21 +00:00
1e238c426e
0.13.5.0 ( !33 )
...
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Co-authored-by: CWX <CWX@noreply.dev.sp-tarkov.com>
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-authored-by: RaiRaiTheRaichu <rairaitheraichu@noreply.dev.sp-tarkov.com>
Co-authored-by: CWX <cwx@noreply.dev.sp-tarkov.com>
Co-authored-by: Kaeno <e>
Reviewed-on: SPT-AKI/Modules#33
2023-10-10 10:58:33 +00:00
49acd11765
Track insured item values to be used post-raid by server ( !16 )
...
Co-authored-by: CWX <CWX@noreply.dev.sp-tarkov.com>
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: SPT-AKI/Modules#16
2023-08-05 17:26:09 +00:00
Dev
8b4847714c
Improve comments
2023-07-30 09:47:25 +01:00
Dev
4a6b658b28
25206
2023-07-28 10:01:11 +01:00
Dev
8bef9700e2
24964
2023-07-20 13:11:09 +01:00
Dev
9482040d08
Resolve issue with bots spawning well beyond the maxbotcap value
2023-07-17 13:11:22 +01:00
Dev
f89789b257
Add extra logging
2023-07-12 18:02:18 +01:00
Dev
32c0c04c08
Refactor maxbotcap function patchprefix
2023-07-12 17:59:58 +01:00
Dev
2c5a2d1c19
unified logging
...
removed code that breaks bot spawns
fixed dogtag error showing when player dies
2023-07-12 17:36:10 +01:00
Dev
dd4366efcf
Partial revert of getnewbottemplate fix, added check to perform original method if bot profiles are already present
2023-07-12 16:54:53 +01:00
Dev
fab764172a
Adjust patch to set withDelete
to true and run original function
2023-07-09 14:51:13 +01:00
Dev
a293b847ed
Revert accessing public method, retrun to protected virtual function
2023-07-07 16:46:03 +01:00
Dev
c038c9fced
Fix bots not spawning: Correctly look for public method + force bot to be cleared from client cache on spawn
2023-07-07 16:15:22 +01:00
Dev
610f5e596b
Additrional patch fixes for 24605
2023-07-07 15:01:45 +01:00
Dev
181f2328a5
Updated to support
...
One error left that prevents build: LighthouseProgressionClass.cs
2023-07-07 10:37:47 +01:00
Dev
a62df7c9be
Added 2 missing patches
2023-06-30 19:29:56 +01:00
Dev
4fd2a48972
Improve bot loading logging
2023-06-25 13:49:48 +01:00
Dev
b050f6230e
23399
2023-05-26 13:28:50 +01:00
Dev
a7d29409c8
23122
2023-05-18 15:49:52 +01:00
7bf0dc8a47
Update to new game version 22561 ( !8 )
...
Co-authored-by: Kaeno
Reviewed-on: SPT-AKI/Modules#8
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Co-committed-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
2023-04-05 17:42:39 +00:00
Dev
b3ce0ec36f
Add repo
2023-03-03 18:52:31 +00:00