Hephaestus 1.1.2

It creates a trader that sells your preset weapon builds.

It creates a trader that sells your preset weapon builds.

Installation Guide as instructed to do so :P


IMPORTANT: Sometimes you open the trader and it has no weapons in it. Go to Flea market and return to trader, it should get fixed.


YOU ARE FREE TO COPY IT AND RE RELEASE IT AS YOU PLEASE WITHOUT NOTIFYING ME.


Thank you kikirio for staticRouterModService code part!

Thank you everyone that sacrifice your free time for us!

  • Every time I come back to SPT this is one of the first mods I look for. I really appreciate all of the effort to keep this updated and working over its lifespan! I provides an incredible upgrade to the quality of the SPT experience.


    One minor thing I noticed this time around is the console gets spammed with quite a bit of info regarding tables from what I assume is leftover code to assist with debugging. I commented out line 198 in src/mod.js to get rid of it: console.log(assortTable);


    Thank you again!

    Heart 1
    • thank you for the dedication :P


      already commented out, but waiting for 3.8.0 to update it.

  • I can't buy anything

    Zcmfhuk.png

    I disabled all other mods and cleared the cache but this still happens. Am I doing something wrong?

    • You propably use another mod that blocks or wrong version of sptaki

    • The only mod I can think of is Realism but I have everything regarding the flea market and traders disabled. Plus this still happens with it off. For the sptaki version, I'm using 3.7.6, is it incompatible?

    • It is compatible with realism, personally tested with a 3.7.6 and realism 0.14.12.

      Try a new profile with developer option (insted of edge of dakness etc...)

      create a preset and see if it works. If not send here your mod list. If it works, it is something with your current profile.

    • I tried with the dev option and it still gives me the same your reputation is too low message. I'm guessing you only need my server-side mods right?

      1. SPTQuestingBots
      2. Removetimegatefromquests
      3. Fontain fov fix
      4. HEPHAESTUS
      5. Kiki Bigger Stash (did not have this mod when I first had the issue)
      6. Broker trader (did not have this mod as well)
      7. No discard limit
      8. Realism
      9. Sain
      10. XYZ waypoints
  • is it possible to make it so he sells presets in roubles I'm trying to look through the configs and I cant find anything related to the price thank you

    • lcD5qjA.png


      in user/mods/Hephaestus/config/config.json

    • Thanks so much awesome mod awesome sauce

  • I'm on version 3.7.4 and for some reason the trader doesn't show anything to purchase. I do no have any server errors and going to flea market and back doesn't actually populate his store. Any ideas?

    • Does your profile have any saved weapon presets?

    • No it doesn't

    • The Trader reads your saved weapon presets and make them available for sell, create a weapon preset with your own name and check if it works.

    • oh my gosh I had no idea.. no wonder lol. Thank you for getting back with me. Works perfectly! Issue with the operator in the chair lol. This is a great concept and for the most part I like that the presets are close to what you would pay to build them although some of the modded in guns don't fare too well as I can get them for nearly a tenth of the cost all kitted up. Nothing to be done about that though. For guns in the original BSG game, it works great on though.

      Heart 1
  • Suggesting a option to toggle logging in the server ?

  • With this mod, my game stutters a lot in the stash, each action with items takes a very long time. The game is not slow.

  • this mod is legendary i hope it never ceases to exist

    Heart 1
  • No offers are showing up and it is spamming "Unable to generate flea offers for trader Hephaestus, no assort found" in the console. Any ideas?

    • Do you have access to flea market as a profile?

    • Hey, sorry I took so long, yes I do have access to the fleamarket.

  • so i didn't see that repairs don't really work and i clicked it cause it was defaulted, my game froze and on restart now i get an unplayable error
    Critical error receiving profile data. close the game and contact us at forum in response to http........".......blah blah".......client/game/profile/list:error converting value {null} to type "system.single".path
    "[0].skills.Common[10].Progress' line 1, Position 167669
    do you know anything about this. last time i just rest my profile cause i was a day in, but i was wondering if theres an easier solution that keeps my playthrough.
    :)
    Edit: tried messing around in the profile json. i think i made it worse haha going to reset it now anyways

    • Thank you for the info, i definetely have to disable repairs then.

    • btw in my profile the 10 key is

      {
                              "Id": "Intellect",
                              "Progress": 118.651787,
                              "PointsEarnedDuringSession": 0,
                              "LastAccess": 1697301274
      }


      so check for the intellect skill in your profile, maybe it got null by a bug.

    • does that mean the bug is only for this person, or is it a bug for everyone? if you can tell from the error, thanks

    • I tested and it's working, so I say with precaution it's for this person.

  • Hello, thank you very much for the update, but it seems like getDynamicOfferPrice does not work properly, and it causes the preset weapon not to have a correct price

    • Thanks for reporting, i saw it too but the function does run without error but doesnt return estimate price.

    • Your Mod didn't throw the error, but I know it is not right because I tested it in GOBLIN KING, and the server says that the getDynamicOfferPrice isn't a valid function. FYI

    • Thank you again i will invest some time later today.

    • Uploaded new version, report if anything is wrong.

      Thanks again!

    • It works perfectly now, thank you for your effort. I wondering how you figured it out since I saw the official docs are still not updated yet. :)


      https://aki-docs.sp-tarkov.com…html#getDynamicOfferPrice

  • Downloadlink seems broken, just shows "not found"

  • PLS UPDATE

    Thumbs Up 1
    • Hold on my fellow people i am into work mayhem, i ll fullfil the update needs asap.

    • nw work is more important

      your mod is just really really nice to have

      Happy 1
  • I encountered the bug where the weapons are gone and the trader doesn't sell anything. Bug: For some reason, the trader stops being aware of the presets. Fix: Open the presets and open one of your preset weapons. Do a save and for me the trader sells those preset weapons again.

  • it was at first working but after a while all presets disappeared meaning whenever i opened the traders inventory, it was completely empty

    • so i uninstalled and reinstalled it. it worked at first, even bought some guns. then i had 2-3 raids. after these raids i decided to make some changes to one of the presets i had, which caused the inventory to disappear again.


      also trader doesnt have any icon for some reason

    • You probably have another mod conflicting. Post your mod list.

      • Mod: OpticRework version: 1.2.2 by: ACOGforlife, SAMSWAT loaded
      • Mod: AK12-AK15 version: 1.0.4 by: Dueleus loaded
      • Mod: ATLAS-GEAR version: 1.0.3 by: ATLAS, Nomad_420, Mighty_Condor loaded
      • Mod: AWM version: 3.0.0 by: TheEyeOfAres loaded
      • Mod: HK417D version: 1.0.2 by: Dueleus loaded
      • Mod: biggerstash version: 2.4.1 by: Kiki loaded
      • Mod: MoreCheckmarksBackend version: 1.5.7 by: VIP loaded
      • Mod: questor version: 2.0.2 by: Alex loaded
      • Mod: FoodDrinkRedux version: 4.1.1 by: Revingly loaded
      • Mod: SPT Realism Mod version: 0.10.0 by: Fontaine loaded
      • Mod: HALO version: 1.0.0 by: Dueleus loaded
      • Mod: LCO version: 1.0.2 by: Dueleus loaded
      • Mod: M900V version: 1.0.1 by: Dueleus loaded
      • Mod: MEPRO21 version: 1.0.0 by: Dueleus loaded
      • Mod: SPT-Realism Ammo Stats version: 1.0.2 by: Platinum loaded
      • Mod: LotsOfLoot version: 2.0.8 by: RainbowPC loaded
      • Mod: Realistic Trader Icons version: 1.0.8 by: kwebber321 loaded
      • Mod: Boop's Quest Zone API version: 1.0.0 by: Boop loaded
      • Mod: Anastasia version: 0.3.0 by: Flowless loaded
      • Mod: Carl-300 Blackout Expansion version: 1.0.1 by: Goewert loaded
      • Mod: Carl-QHB version: 1.1.1 by: Goewert loaded
      • Mod: Carl-STAR15 version: 1.0.0 by: Goewert loaded
      • Mod: DoorBreacher version: 1.1.1 by: Tron, Props loaded
      • Mod: HotCultists version: 1.0.2 by: Echo55 loaded
      • Mod: MC-SVT40 version: 1.1.0 by: Mighty_Condor loaded
      • Mod: Mira-M16A4 version: 1.1.0 by: Miralyn loaded
      • Mod: ItemInfo version: 3.2.0 by: ODT loaded
      • Mod: Two Slot Extended Mags version: 1.0.1 by: Platinum loaded
      • Mod: SVM version: 1.6.6 by: KMC, EmuRC-GhostFenixx loaded
      • Mod: NoDiscardLimit version: 1.1.2 by: Skwizzy loaded
      • Mod: Svetlana version: 0.3.0 by: Flowless loaded
      • Mod: SWAG and DONUTS version: 3.1.4 by: nooky and props loaded
      • Mod: Valens Has The Power version: 1.2.1 by: Valens loaded
      • Mod: Virtuals Custom Quest Loader version: 1.4.0 by: Virtual loaded
      • Mod: TraderModding version: 1.0.0 by: Wara loaded
      • Mod: 13.5 preview version: 1.0.5 by: Pettan, backend by Mighty_Condor loaded
      • Mod: AIOTrader version: 2.3.0 by: bluehead loaded
      • Mod: SAIN version: 3.5.3 by: z-Solarint loaded
      • Mod: DrakiaXYZ-Waypoints version: 1.2.0 by: DrakiaXYZ loaded
      • Mod: Fontaine FOV Fix version: 1.7.3 by: Fontaine loaded
      • Mod: EOTech Vudu 1-6x overhaul version: 4.2.0 by: SamSWAT loaded
      • Mod: gunsmith version: 2.0.2 by: Alex loaded
      • Mod: TheBlacklist version: 1.3.0 by: Platinum loaded
      • Mod: Hephaestus version: 1.1.0 by: alexkarpen loaded


      i pulled this from aki_server.exe . couldnt be bothered to upload a picture rn lol

    • Potential conflict is "TraderModding"

    • i will try without it but a temporary workaround i found is to resave a preset

  • I installed the mod but it does not show the profile picture

    • add the Hephaestus folder to "<TarkovFolder>/user/mods/"

  • Repairing is broken I mean it works but, It takes a whole lot of Euros to fix things. Fixing a helmet with +36 points will cost around 7K euros :|

    I tried to edit values within the files but no changes at all.

    • OH FUCK ME! soooo the reason for no changes is that I have ServerValueModifier changing the repair price! omg i've ran in circles for hours! :D

    • Avoid repairing in general, it is an untested feature. If it works though keep going.

  • @alexkarpen. Great mod. One suggestion though, you might considered structuring your .zip with a preceding \Hephaestus\.... directory. Makes it easier for users to unzip it straight to \user\mods without having to create a directory first.

    Thumbs Up 1 Heart 1
    • yes please do that waiting for that change for ages now :D

      Heart 1
    • Lol, didn't know that it was critical. I promise next update will have the suggested structure.

      Happy 1
    • ty! XD

  • small nitpick, but isn't this just the sole purpose of the goblin king trader?

    Thinking 1
    • Goblin King is "overloaded" with stuff people might not want and as of recent forces you to install the Punisher boss. I very much prefer Hephaestus, as it does a single thing and that very well without me having to add stuff I don't want. :)

      Heart 2 Thumbs Up 3
    • this^ leave the goblin need the punisher, weapons... this works great

      Heart 2
  • If somebody has spare time, please report if it's still working to the current version 3.6.0.

    Thank you in advance!!

    • I receive the error below with the mod in my mods folder, it disappears when I take the mod out.

      The application had a critical error and failed to run

      Exception produced: Error: Cannot inject the dependency at position #3 of "App" constructor. Reason:

      Cannot inject the dependency at position #0 of "HttpCallbacks" constructor. Reason:

      Cannot inject the dependency at position #4 of "HttpServer" constructor. Reason:

      Cannot inject the dependency at position #0 of "AkiHttpListener" constructor. Reason:

      Cannot inject the dependency at position #0 of "HttpRouter" constructor. Reason:

      Cannot inject the dependency at position #0 of "BotStaticRouter" constructor. Reason:

      Cannot inject the dependency at position #0 of "BotCallbacks" constructor. Reason:

      Cannot inject the dependency at position #2 of "BotController" constructor. Reason:

      Cannot read properties of undefined (reading 'getConfig')


      Stacktrace:

      Error: Cannot inject the dependency at position #3 of "App" constructor. Reason:

      Cannot inject the dependency at position #0 of "HttpCallbacks" constructor. Reason:

      Cannot inject the dependency at position #4 of "HttpServer" constructor. Reason:

      Cannot inject the dependency at position #0 of "AkiHttpListener" constructor. Reason:

      Cannot inject the dependency at position #0 of "HttpRouter" constructor. Reason:

      Cannot inject the dependency at position #0 of "BotStaticRouter" constructor. Reason:

      Cannot inject the dependency at position #0 of "BotCallbacks" constructor. Reason:

      Cannot inject the dependency at position #2 of "BotController" constructor. Reason:

      Cannot read properties of undefined (reading 'getConfig')

      at C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:324:23

      at Array.map (<anonymous>)

      at C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:295:38

      at InternalDependencyContainer.construct (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:297:11)

      at InternalDependencyContainer.resolveRegistration (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:166:51)

      at InternalDependencyContainer.resolve (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:109:33)

      at C:\snapshot\project\obj\Program.js

      at processTicksAndRejections (node:internal/process/task_queues:96:5)

      at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:65:3)

      at Function.runMain (pkg/prelude/bootstrap.js:1980:13)

      Thumbs Up 1
  • ill steal your hammer if no update

    • Do you get an error?

    • Still working, tested on both 3.5.5 and 3.5.7 :S

      Heart 1
  • When it saves a weapon preset to the traders inventory where in the files is the JavaScript of the weapon?

    • It reads the profile saved presets. In user/profiles/<your_profile_id>

  • everytime i try to repair weapon it goes back to main menu after giving not enough money error message.


    Code
    No items found for barter Id: 569668774bdc2da2298b4568
    Profile did not have enough money to complete transaction: needed 6278, has 0


    however, it fully repairs the weapon

    • I am aware of the issue but i didnt have the time to check it out. It is propably due to currency setup of the trader.


      Thanks for reporting.

    • Thanks for making this mod
      I love it cuz this mod is simpler than other traders and only has functions I really need


      Also getting my weapons maintained by a Greek God is pretty cool concept

      Heart 1
  • Great, works like a charm, thanks for the update ♥

    Heart 1
  • Empty inventory and sadly can't load the profile pic from res. Waiting for an update for this trader. I really wanna use this one.

  • So I have him as a trader I saved some presets but his inventory is empty.
    Any idea for a fix ?

    Heart 1
  • Using and loving the mod for a while now. but there is always the error when i load the server.

    Error: ENOENT: no such file or directory, open 'F:\Tarkov - Kopie\user\mods\Hephaestus\res\img.jpg'

    Error: ENOENT: no such file or directory, open 'F:\Tarkov - Kopie\user\mods\Hephaestus\res\img.jpg'

    Error: ENOENT: no such file or directory, open 'F:\Tarkov - Kopie\user\mods\Hephaestus\res\img.jpg'

    Error: ENOENT: no such file or directory, open 'F:\Tarkov - Kopie\user\mods\Hephaestus\res\img.jpg'

    any fix for that? also the image does not show ingame anymore. (was also the case in 3.4.1)

    • that should be fixed many versions ago. Try clearing user/cache also clear %temp%\Battlestate Games\EscapeFromTarkov\Icon Cache. If you have the time please report if it got fixed.

    • cleared temp in launcher, deleted whole bsg in %temp% and deleted folderin "cache" in users.

      still:

      Error: ENOENT: no such file or directory, open 'F:\Tarkov - Kopie\user\mods\Hephaestus\res\img.jpg'

      Error: ENOENT: no such file or directory, open 'F:\Tarkov - Kopie\user\mods\Hephaestus\res\img.jpg'

      Error: ENOENT: no such file or directory, open 'F:\Tarkov - Kopie\user\mods\Hephaestus\res\img.jpg'

      Error: ENOENT: no such file or directory, open 'F:\Tarkov - Kopie\user\mods\Hephaestus\res\img.jpg'
      and no image on the trader.
      its not functionality but the picture does just not show.

    • Having the same issue, neither fix seemed to work.

      "

      [Client Request] /files/trader/avatar/img.jpg

      Error: ENOENT: no such file or directory, open 'D:\Games\SPT\user\mods\Hephaestus\res\img.jpg'

      Error: ENOENT: no such file or directory, open 'D:\Games\SPT\user\mods\Hephaestus\res\img.jpg'

      Error: ENOENT: no such file or directory, open 'D:\Games\SPT\user\mods\Hephaestus\res\img.jpg'

      Error: ENOENT: no such file or directory, open 'D:\Games\SPT\user\mods\Hephaestus\res\img.jpg'

      "

    • as @Reis stated in a comment below:



      i will change the default dir name in the next update.

      thanks

  • Here I hope you read this, I use handbook to calculate parts prices. Feel free to work upon my sample code below.

    Heart 1
    • How can you actually use this to calculate prices?

    • Sorry what do you mean, am I using the wrong functions or you are not sure where to put this code?
      Here is the result in action.
      https://imgur.com/a/xzXHsas

    • if the later case, copy and replace this into the src/mod.ts
      saltpie temp mod of a mod - Pastebin.com

    • i used to have the flea price calculator in the first version but became unstable and had conflicts with many ragfair editing mods. Your approach seems clean and nice, i will implement it with the first chance. Thank you pie for your time!

    • For some reason I get a critical error, and the server doesn't start

      I just pasted the code into mod.ts

  • would it be possible to have the price be set based on the parts on the gun as opposed to just a flat out pre-set price no matter what is on the gun?

  • The mod is somewhat working and the trader shows up, but there are no presets. There are also no errors in the server so what should I do?

    • make sure your profile has saved presets.


      %CE%A7%CF%89%CF%81%CE%AF%CF%82%20123.png?dl=1

      Happy 1
  • is this compatible with spt realism?

    • not tested, but with a quick look you should be fine.