
See the trader value of an item when inspecting it, in or out of raid!
WHILST KcY ISNT AROUND, I HAVE UPDATED TO WORK ON 2.2.2 AND A FEW ADJUSTMENTS LISTED AT THE BOTTOM:
Original mod: SeeItemValue
Adds an attribute to every items’ inspect page, this value shows the full price of the item to traders.
Example:
______________________________________________
I have removed the need for the TarkovLoader KcY originally had.
at any point, if KcY wants to continue making the mod, let me know ill remove it.
HOW TO INSTALL: (this is how to install for AKI 2.3.0 onwards)
1. Open the Zip
2. inside you will see, a BepInEx folder and a user folder.
3. copy these and paste them to your AKI install folder.
4. Done! there is nothing else for you to do.
IF YOU WANT TO REMOVE THE MOD, DELETE THE FOLLOWING:
- SPT Install / User / Mods / KcY-SeeItemValue 1.4.9 (this folder)
- SPT Install / BepInEx / plugins / KcY-SeeItemValue.dll (this dll file)
Thanks to Senko, Chomp, Valens and TEOA for the help with coding and testing
3.6K Downloads
CHANGELOG:
Updated for 3.5.2
The Prices will not be accurate for some items, BSG have changed how the price checking works and that no longer goes to the server, i dont have time atm to implement/fix that
2.9K Downloads
CHANGELOG:
Updated for 3.5.0
4.5K Downloads
CHANGELOG:
Changes to client side, thanks BSG
Updated for 3.4.0
2.5K Downloads
CHANGELOG:
Fixed Food and drink breaking menu
this was due to some things changing in the client i forgot to update, let me know if the issue persists
400 Downloads
CHANGELOG:
Updated for 3.3.0
899 Downloads
CHANGELOG:
Updated for 3.2.5
Details
-
GUID
Not Available
-
Additional Authors
-
License
-
Source Code
-
Latest Version VirusTotal Result
Works just fine in 3.5.7 for me
🙏
please update to 3.5.7
CWX seems to be busy in IRL, my friend MarsyApp recompiled the dll files for SPT-AKI 3.5.6
Also package.json has been corrected so that “outdated version” error is not displayed
No other changes were made
Download
Not working with 3.5.6 due to changes in “Assembly-CSharp.dll”.
This one needs some code changes.
First steps:
Changing the code:
Change lines 210-224, from this:
if (foodDrink != null && foodDrink.HpPercent != 0) { GInterface234 ginterface234_0 = (GInterface234)foodDrink.GetType().GetField(“ginterface234_0”, BindingFlags.NonPublic | BindingFlags.Instance).GetValue(foodDrink); DebugMode($“ foodDrink Check - HpPercent is: {foodDrink.HpPercent}“); DebugMode($“ foodDrink Check - MaxResource is: {ginterface234_0.MaxResource}“); editedPrice *= foodDrink.HpPercent / ginterface234_0.MaxResource; } DebugMode($“ After foodDrink Check - price is: {editedPrice}“); var keys = item.GetItemComponent<KeyComponent>(); if (keys != null) { GInterface238 template = (GInterface238)keys.GetType().GetField(“Template”, BindingFlags.Public | BindingFlags.Instance).GetValue(keys); if (keys.NumberOfUsages > 0) { double totalMinusUsed = Convert.ToDouble(template.MaximumNumberOfUsage - keys.NumberOfUsages); double multi = totalMinusUsed / template.MaximumNumberOfUsage; DebugMode($“ foodDrink Check - totalMinusUsed is: {totalMinusUsed}“); DebugMode($“ foodDrink Check - multi is: {multi}“); editedPrice *= multi; } } To this:
if (foodDrink != null && foodDrink.HpPercent != 0) { var gInterface235_0 = (GInterface235)foodDrink.GetType().GetField(“GInterface235_0”, BindingFlags.NonPublic | BindingFlags.Instance)?.GetValue(foodDrink); DebugMode($“ foodDrink Check - HpPercent is: {foodDrink.HpPercent}“); if (gInterface235_0 != null) { DebugMode($“ foodDrink Check - MaxResource is: {gInterface235_0.MaxResource}“); editedPrice *= foodDrink.HpPercent / gInterface235_0.MaxResource; } } DebugMode($“ After foodDrink Check - price is: {editedPrice}“); var keys = item.GetItemComponent<KeyComponent>(); if (keys != null) { var template = (GInterface239)keys.GetType().GetField(“Template”, BindingFlags.Public | BindingFlags.Instance)?.GetValue(keys); if (keys.NumberOfUsages > 0) { if (template != null) { double totalMinusUsed = Convert.ToDouble(template.MaximumNumberOfUsage - keys.NumberOfUsages); double multi = totalMinusUsed / template.MaximumNumberOfUsage; DebugMode($“ foodDrink Check - totalMinusUsed is: {totalMinusUsed}“); DebugMode($“ foodDrink Check - multi is: {multi}“); editedPrice *= multi; } } } Compiling and copying:
update please..
Not compatible with 3.5.3
Causing examine windows that can’t be closed without closing game.
Please update to 3.5.2, with the current version your mod is crashing the game.
Thanks.
For others out there who are interested in using this mod without waiting for it to be updated, I tried making changes to the package.json file but it seems like its not compatible with 3.5.1
If you double click on an item the game gets stuck and the only way to exit the item window is to alt+f4.
Getting a bug that freezes the game when double clicking on an item and the only way is to exit the item window is to alt+f4. Am unable to close the item window and its tagged as “blablabla” in grey. Is there a possible update on the way for this?
Anyone solved the blabla thing? I’m getting it and this + realism mod are the only mods I have.