KcY - SeeItemValue 1.5.3

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

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

  • Version 1.5.3

    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

  • Version 1.5.2

    CHANGELOG:


    Updated for 3.5.0

  • Version 1.5.1

    CHANGELOG:


    Changes to client side, thanks BSG

    Updated for 3.4.0

  • Version 1.5.0

    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

  • Version 1.4.9

    CHANGELOG:


    Updated for 3.3.0

  • Version 1.4.8

    CHANGELOG:


    Updated for 3.2.5

  • Version 1.4.7

    CHANGELOG:


    Updated for aki 3.2.4

  • Version 1.4.6

    CHANGELOG:


    fixed issue with returning the incorrect data on fail,

    cleaned up logging,


    hopefully last fix killme

  • Version 1.4.5

    CHANGELOG:


    Should fix issues with parentId not being found,

    added more guards against missing values,

    fixed my math.


    added logging for client side using "debugmode" config option in mod folder

  • Version 1.4.4

    CHANGELOG:


    Updated for AKI 3.2.3


    Hovering over the box for the price in the inspect window will now tell you what trader it found the best price for.


    for example, screws will show the Therapist on hover.


    Thanks to AmandaMello for the Code to make this work.

  • Works just fine in 3.5.7 for me chikadancing

  • 🙏

    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

    Heart 1
  • Not working with 3.5.6 due to changes in “Assembly-CSharp.dll”.


    This one needs some code changes.

    • I died on 3 step kannacrying

      Crying 1
    • Updated my comment.

      Can't upload the compiled version here for obvious reasons.

    • I sorry, but... Idk how load dependencies in VScode... I was trying to find, but i fail :kannatiredofthis:

    • Just paste the DLL's on the solution's folder (together with “itemValue.sln”), or create a folder and put them here. VS Code will find them, probably.

  • 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.

  • Thank you @CWX for 3.5 <3

  • Any reason to update to the new update of this mod if I'm still on 3.3.0?

  • When inspecting the HOT ROD there is a bug that crashes the game.

    Is there a way to check this please?

    Thanks.

    Thumbs Up 1
    • heyo, thanks for the report, i have fixed the issue on my end, download the latest and see

      Thumbs Up 1
  • Please it is not working in version 3.3.0.

    Would you like to update?

    thanks.

    8):thumbup:

    Heart 1
  • Have ran into a problem that seems to be an old issue in the comments section. basically i installed the mod correctly, launched the game with no errors, got into my character screen and wanted to inspect my modified gun to see if the price display was working. when i get into the inspect menu of any of my guns or any of my items, it shows some blank or repeating stat values, and when i try to close the inspect window, it gets stuck on my screen but, says "blablabla" at the top left of the window, and shows the item stats correctly. when i attempt to do literally anything but alt+f4 its frozen. the freeze has lasted for literal hours on testing, and still never goes away. it has happened every single time i inspect something with this mod enabled and gives me ZERO errors in server.

  • When starting a new profile I get "The given key was not present in the dictionary." twice, then after putting in a name the game gets stuck in an infinite loading loop, no errors in the server window


    When starting from an already created profile the game loads forever, again no errors in the server window.

    • Yupp, latest server update broke it, probably because new items from Tarkov update being integrated? Well, eagerly waiting for an update, because I seriously love this mod <3:saint:

      Thumbs Up 1
  • Game freezes for a minute on multiple items and returns and error "Issue getting item value from the server"

  • Don't mean to bother you by another mod Figure you can help me I use the installer mod I'm trying to install the heli crash mod Don't know where to put it

  • Using the latest version, still getting insane stutters.

    Thumbs Up 1
    • hmm, out of interest what system do you have, I get no stutters, is it possible you are mistaking them for bot generations?

    • No, it's the same error that was present in the previous versions. Only happens when you open the full window of an item (with all the info about it). It says, where it would normally display the price, that there was an error getting the prive from the server, or something like that.


      Weirdly though, I'm not getting an error message in the server log, unlike the previous versions.

      Thumbs Up 1
    • hmm, what item was it? Or is it happening on all?

    • I discovered that on my setup there are some issues with ipv6 "cycle". I'm not entirely sure what i am talking about, but disabling `IP helper` in services.msc helped previously. Now the "seeitemvalue" works at the beggining of the raid, but breaks after 2-3 minutes (Inspecting item hangs the whole game for 30-ish seconds, and then another 20-ish seconds when closing inspection window) which is annoying to say the least, and as a bonus the server hangs and I am blackscreened after extraction and the server hangs. Tried 4 raids with the mod (every one broke), then tried 11 raids without it and all of them extracted successfuly.
      Similar error occured in the logs when extraction failed:

      2022-09-19 22:48:59.443 +02:00|0.12.12.31.19428|Error|backend|<--- Error! URL: http://127.0.0.1:6969/client/game/logout, isNetworkError:True, isHttpError:False, responseCode:0

      responseHeaders:

      error text: Certificate validation error

      Bear in mind, it was a different error, but had this: "isNetworkError:True"

      @edit@
      Now the problem occurs even without the mod (got lucky i think). I believe it is not a problem with this mod, but rather with either SPT or PC problem, see this thread:
      extraction black screen

      Thumbs Up 1
  • I am getting freezes on normal items with the new update, with no server box error.

    • can you check the client logs? Sptinstall/logs/

    • may have fixed this with the lasted version,

      if its freezing still, i might have to look into further caching.

  • TypeError: Cannot read property 'ParentId' of undefined

    TypeError: Cannot read property 'ParentId' of undefined

    at SeeItemValue.getBestTraderMulti (C:\Program Files (x86)\Tarkov Singleplayer\user\mods\KcY-SeeItemValue 1.4.4\src\mod.js:111:83)

    at SeeItemValue.getIdPrice (C:\Program Files (x86)\Tarkov Singleplayer\user\mods\KcY-SeeItemValue 1.4.4\src\mod.js:86:45)

    at SeeItemValue.onRequestConfig (C:\Program Files (x86)\Tarkov Singleplayer\user\mods\KcY-SeeItemValue 1.4.4\src\mod.js:40:38)

    at Object.action (C:\Program Files (x86)\Tarkov Singleplayer\user\mods\KcY-SeeItemValue 1.4.4\src\mod.js:31:33)

    at $119ecd4b40ba2d32$export$a51de8b78aab8e52.handleDynamic (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:15215:59)

    at Proxy.handleRoute (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:15518:49)

    at Proxy.getResponse (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:15510:28)

    at HttpServer.sendResponse (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:17198:38)

    at HttpServer.handleRequest (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:17220:40)

    at Server.<anonymous> (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:17249:18)

    [Client Request] /launcher/profile/info

    [Client Request] /launcher/server/version

    [Client Request] /cwx/seeitemvalue/590c651286f7741e566b6461

    TypeError: Cannot read property 'ParentId' of undefined

    TypeError: Cannot read property 'ParentId' of undefined

    at SeeItemValue.getBestTraderMulti (C:\Program Files (x86)\Tarkov Singleplayer\user\mods\KcY-SeeItemValue 1.4.4\src\mod.js:111:83)

    at SeeItemValue.getIdPrice (C:\Program Files (x86)\Tarkov Singleplayer\user\mods\KcY-SeeItemValue 1.4.4\src\mod.js:86:45)

    at SeeItemValue.onRequestConfig (C:\Program Files (x86)\Tarkov Singleplayer\user\mods\KcY-SeeItemValue 1.4.4\src\mod.js:40:38)

    at Object.action (C:\Program Files (x86)\Tarkov Singleplayer\user\mods\KcY-SeeItemValue 1.4.4\src\mod.js:31:33)

    at $119ecd4b40ba2d32$export$a51de8b78aab8e52.handleDynamic (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:15215:59)

    at Proxy.handleRoute (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:15518:49)

    at Proxy.getResponse (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:15510:28)

    at HttpServer.sendResponse (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:17198:38)

    at HttpServer.handleRequest (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:17220:40)

    at Server.<anonymous> (C:\Program Files (x86)\Tarkov Singleplayer\obj\bundle.js:17249:18)

    [Client Request] /client/game/bot/generate

    Getting freezes and crashes in game sometimes like this when looking at items.

    Thumbs Up 1
    • Same issue here, previous version didn't seem to have this issue.

    • Same issue. Seems to be with 'newer' items, such as the Topographic survey map and Military flash drive.

      Thumbs Up 1
    • new version up should fix this

  • Seems like it is incompatible with 3.2.2

    For me it causes spt to throw the error "Given key is not present in the dictionary" on start and then crashing.

    EDIT: Fixed with the 3.2.2 update, thanks!

  • INSIDE OF YOU THERE ARE TWO WOLVES - ONE IS AWESOME
    THE OTHER IS EPIC

    YOU ARE EPIC AND AWESOME

    Thumbs Up 1
  • It's a bug report.

    If you pick up and open this item, you will not be able to operate it.
    I checked the item.json and it looks fine, but it's strange in-game. please confirm.

    (By the way, it works when you remove the mod.)
    https://imgur.com/a/ED7QTom

  • For reasons unbeknownst to me, this is currently conflicting with Fin's Armor Plates- may want to troubleshoot or list as an incompatibility.

  • I seem to be having an issue relating to this mod. I've installed this along with Hideout Architect and Munitions Expert and when they're all together once I inspect an item the menus stop working and the ingame console is full of errors. So far Hideout Architect and Munitions Expert work fine without this mod, although I haven't tried this mod without the other two (prefer the use of these two more).


    From what I understand, you updated this mod on behalf of another user whereas the other two are your own. Any ideas?


    Side note, have you considered adding this functionality to your own mod(s) and bundling them all together in one package as I find them extremely useful.

    • hmm i try them all together and dont get issues, what errors do you get in your client logs/ bepinex log.


      i didnt make SeeItemValue, MunitionsExpert or HideoutArchitect i only maintain them atm,

      i dont think i can put them together :/ as they are all not made by the same person, then i'd have to add configs to disable them all also

  • ModLoader: loading mods...

    Mod KcY-SeeItemValue is not compatible with the current version of AKI. You may encounter issues - no support will be provided!

    loading: KcY: SeeItemValue 1.4.0


    Even though your mod says it is compatible, the server says otherwise. Can you fix it so the server does not say this anymore and we are sure it is all compatible?

    • looks like I forgot to update the package.json, I’ll update that in a bit

  • Hey is it possible to make it display whichever is the most expensive price out of Flea and Trader or even show both prices?

    • Had to disable the mod since when I inspect an item, there is a chance that the console opens and spits out an error, the error and console issue isn't completely the fault of the mod, since it still happens when the mod is removed, but with the mod installed, it happens a lot more, in some case happens 5 times in a row on the same item and is fairly often whereas without the mod, it only happens once or twice a raid and never happens while inspecting an item.


      I believe this is caused by the latest update to the mod as before this update, inspecting items never brought up the issue.

    • whats the error you are getting?

    • [Exception] : WebException: The request timed out

      System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) (at <ef151b6abb5d474cb2c1cb8906a8b5a4>:0)

      System.Net.HttpWebRequest.GetResponse () (at <ef151b6abb5d474cb2c1cb8906a8b5a4>:0)

      Aki.Common.Http.Request.Send (System.String url, System.String method, System.Byte[] data, System.Boolean compress, System.String mime, System.Collections.Generic.Dictionary`2[TKey,TValue] headers) (at <7709b962fca4469baf07372829517df9>:0)

      Aki.Common.Http.RequestHandler.PostJson (System.String path, System.String json, System.Boolean hasHost) (at <7709b962fca4469baf07372829517df9>:0)

      Aki.SinglePlayer.Utils.Healing.HealthSynchronizer.Update () (at <02456efdf660429ca3888f9dd7986384>:0)

      UnityEngine.DebugLogHandler:LogException(Exception, Object)

      Class294:UnityEngine.ILogHandler.LogException(Exception, Object)

      UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)


      [Exception] : WebException: The request timed out

      System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) (at <ef151b6abb5d474cb2c1cb8906a8b5a4>:0)

      System.Net.HttpWebRequest.GetResponse () (at <ef151b6abb5d474cb2c1cb8906a8b5a4>:0)

      Aki.Common.Http.Request.Send (System.String url, System.String method, System.Byte[] data, System.Boolean compress, System.String mime, System.Collections.Generic.Dictionary`2[TKey,TValue] headers) (at <7709b962fca4469baf07372829517df9>:0)

      Aki.Common.Http.RequestHandler.GetJson (System.String path, System.Boolean hasHost) (at <7709b962fca4469baf07372829517df9>:0)

      itemValueMod.ValueExtension.Value (EFT.InventoryLogic.Item item) (at <24f684457154418f823bcc3d83ac2acc>:0)

      itemValueMod.ValueExtension.ValueStr (EFT.InventoryLogic.Item item) (at <24f684457154418f823bcc3d83ac2acc>:0)

      EFT.UI.CompactCharacteristicPanel.SetValues () (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.CompactCharacteristicPanel.CompareWith (GClass2100 attribute) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.ItemSpecificationPanel.smethod_1[T] (GClass2362`2[T,U] viewList, System.Collections.Generic.List`1[T] changedList) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.ItemSpecificationPanel.method_6 (EFT.InventoryLogic.Item compareItem) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.ItemSpecificationPanel.method_5 () (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.ItemSpecificationPanel.method_1 () (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.ItemSpecificationPanel.Show (GClass2161 itemContext, EFT.Profile profile, GClass2110 inventoryController, GClass1986[] playerCollections, SkillsClass skills, WeaponPreviewPool weaponPreviewPool, EFT.UI.ItemUiContext itemUiContext, GClass2313`1[T] contextInteractions, EFT.UI.SimpleTooltip secondaryTooltip) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.ItemUiContext.InitSpecificationPanel (EFT.UI.ItemSpecificationPanel panel, GClass2161 itemContext, GClass2313`1[T] contextInteractions) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.InfoWindow.Show (GClass2161 itemContext, GInterface224 itemController, GClass1696 trader, System.Action onSelectedAction, EFT.UI.ItemUiContext itemUiContext, System.Action onClosedAction, GClass2313`1[T] contextInteractions) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.ItemUiContext+Class2091.method_0 (EFT.UI.InfoWindow window, System.Action setPriority, System.Action onClosed) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.ItemUiContext.method_11[T] (GClass2161 itemContext, T template, System.Action`3[T1,T2,T3] show) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.ItemUiContext.Inspect (GClass2161 itemContext, GClass2313`1[T] contextInteractions) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      GClass2314.method_4 () (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      GClass2313`1[T].ExecuteInteraction (T interaction) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.DragAndDrop.ItemView.OnClick (UnityEngine.EventSystems.PointerEventData+InputButton button, UnityEngine.Vector2 position, System.Boolean doubleClick) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      EFT.UI.DragAndDrop.ItemView.UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <06a6ceb0951a4952911c576c67e8f55f>:0)

      UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <949c5d8e10904bfd86782cc33e89bb14>:0)

      UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <949c5d8e10904bfd86782cc33e89bb14>:0)

      UnityEngine.DebugLogHandler:LogException(Exception, Object)

      Class294:UnityEngine.ILogHandler.LogException(Exception, Object)

      UnityEngine.EventSystems.EventSystem:Update()


      Done a quick raid and these were the latest 2, only ever happens when I inspect an item and through a few quick glances at the errors, it doesn't seem to be the same error every time

  • In 1.3.4 of your mod some melee weapons avg flee prices are a lot higher than they should be? Like the red rebel ice pick for example.Look at the price for the weapon on the left

    • i'm hoping to have a look at these issues today after work

    • this should be fixed on the latest version

    • Thank you for your work :thumbup:

    • if you set "TraderPrice": true to false, then the prices displayed are much higher, similar thing happens to what was shown in Kuro's screenshot above, I am using latest version.


      Everything works as intended if kept to true.

    • traders price set to true will find the trader that can buy it in order of best multiplier to worst, if you put traders price to false, i just pull the price from the prices.json which is what the flea works with.

  • for me the blablabla thing freeze the game I mean not freezing but cant close the inspection windows and cant do anything afterward had to alt f4, specially modded items, such as Fin's ai tweaks' COD stim

    • exact same problem I have which is a shame since as a tarkov noob, this mod is amazing. just can't deal with so much of time being wasted due to game breaking mid raids.

    • i'm hoping to have a look at these issues today after work

      Thanks 1