It creates a trader that sells your preset weapon builds.
Installation Guide as instructed to do so
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 your free time for us!
-
Version 1.1.2
- alexkarpen
- 4.8k Downloads
Fixed pricing issue
-
Version 1.1.1
- alexkarpen
- 932 Downloads
Added 3.7.0 Support.
if you have issue with importing old exports of presets from SPT-AKI PROFILE Editor.
the new presets require the key "type" in them to work.
if you are a copy pasta person and you want to move your weaponbuilds. In your user/profiles/<profile> add to your weaponbuilds the key "type":"weapon".
This is related ONLY if you want to port old weapon presets.
-
Version 1.1.0a
- alexkarpen
- 2.9k Downloads
3.6.x support!
Tested in 3.6.1,
as always report any issues.
have fun!!
-
Version 1.1.0
- alexkarpen
- 3.1k Downloads
- Fixed relative path
- Added Preset price calculation, you can choose from the config the discount and currency.
Note: preset are quite expensive without any discount, but it's your call.
Report back any issues as always.
Thank you humans!
-
Version 1.0.9
- alexkarpen
- 1.8k Downloads
-
Version 1.0.8
- alexkarpen
- 3k Downloads
- fixed version number
-
Version 1.0.7
- alexkarpen
- 234 Downloads
Sorry for the inconvinience!
-
Version 1.0.6
- alexkarpen
- 57 Downloads
- added currency choice config based on @Timmy_79420's request.
-
Version 1.0.5
- alexkarpen
- 973 Downloads
locale fix
-
Version 1.0.4
- alexkarpen
- 45 Downloads
- 3.4.x compatibility
- added config/config.json file that you can change cost (it is a flat value for now due to limited free time)
happy new year people!!1!
Vakari
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!
alexkarpen Author
thank you for the dedication
already commented out, but waiting for 3.8.0 to update it.
Gabri3445
I can't buy anything
I disabled all other mods and cleared the cache but this still happens. Am I doing something wrong?
alexkarpen Author
You propably use another mod that blocks or wrong version of sptaki
Gabri3445
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?
alexkarpen Author
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.
Gabri3445
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?
.Royal.
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
alexkarpen Author
in user/mods/Hephaestus/config/config.json
.Royal.
Thanks so much awesome mod awesome sauce
FishGaming
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?
alexkarpen Author
Does your profile have any saved weapon presets?
FishGaming
No it doesn't
alexkarpen Author
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.
FishGaming
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.
S_gamez
Suggesting a option to toggle logging in the server ?
AYes
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.
alexkarpen Author
how many traders and weapon presets you have?
AYes
3
Jeremymayer
this mod is legendary i hope it never ceases to exist
cqgamer
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?
alexkarpen Author
Do you have access to flea market as a profile?
cqgamer
Hey, sorry I took so long, yes I do have access to the fleamarket.
Arlensauce
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
alexkarpen Author
Thank you for the info, i definetely have to disable repairs then.
alexkarpen Author
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.
ot4_AUT
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
alexkarpen Author
I tested and it's working, so I say with precaution it's for this person.
SurVivalEve
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
alexkarpen Author
Thanks for reporting, i saw it too but the function does run without error but doesnt return estimate price.
SurVivalEve
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
alexkarpen Author
Thank you again i will invest some time later today.
alexkarpen Author
Uploaded new version, report if anything is wrong.
Thanks again!
SurVivalEve
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
IHateChoosing
Downloadlink seems broken, just shows "not found"
alexkarpen Author
please do check again
IHateChoosing
Works now
Jeremymayer
PLS UPDATE
alexkarpen Author
Hold on my fellow people i am into work mayhem, i ll fullfil the update needs asap.
Jeremymayer
nw work is more important
your mod is just really really nice to have
Grafias
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.
Redmatch
it was at first working but after a while all presets disappeared meaning whenever i opened the traders inventory, it was completely empty
Redmatch
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
alexkarpen Author
You probably have another mod conflicting. Post your mod list.
Redmatch
i pulled this from aki_server.exe . couldnt be bothered to upload a picture rn lol
alexkarpen Author
Potential conflict is "TraderModding"
Redmatch
i will try without it but a temporary workaround i found is to resave a preset
Randomizzatore
I installed the mod but it does not show the profile picture
alexkarpen Author
add the Hephaestus folder to "<TarkovFolder>/user/mods/"
Abood
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.
Abood
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!
alexkarpen Author
Avoid repairing in general, it is an untested feature. If it works though keep going.
RogueTech67
@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.
DizzilyHQ
yes please do that waiting for that change for ages now
alexkarpen Author
Lol, didn't know that it was critical. I promise next update will have the suggested structure.
DizzilyHQ
ty! XD
Franch Dressing
small nitpick, but isn't this just the sole purpose of the goblin king trader?
VeiledFury
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.
flacopol
this^ leave the goblin need the punisher, weapons... this works great
alexkarpen Author
If somebody has spare time, please report if it's still working to the current version 3.6.0.
Thank you in advance!!
JohnBackwards
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)
Spritzer-Drive
ill steal your hammer if no update
alexkarpen Author
Do you get an error?
Abood
Still working, tested on both 3.5.5 and 3.5.7
HotShot
When it saves a weapon preset to the traders inventory where in the files is the JavaScript of the weapon?
alexkarpen Author
It reads the profile saved presets. In user/profiles/<your_profile_id>
dogemods666
everytime i try to repair weapon it goes back to main menu after giving not enough money error message.
however, it fully repairs the weapon
alexkarpen Author
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.
dogemods666
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
Gingermaggot
Great, works like a charm, thanks for the update ♥
Naomarius
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.
azzbro
same
Eugo
So I have him as a trader I saved some presets but his inventory is empty.
Any idea for a fix ?
DizzilyHQ
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)
alexkarpen Author
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.
DizzilyHQ
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.
OldRelic
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'
"
alexkarpen Author
as @Reis stated in a comment below:
i will change the default dir name in the next update.
thanks
SaltiestSaltySaltPie
Here I hope you read this, I use handbook to calculate parts prices. Feel free to work upon my sample code below.
Dr George
How can you actually use this to calculate prices?
SaltiestSaltySaltPie
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
SaltiestSaltySaltPie
if the later case, copy and replace this into the src/mod.ts
saltpie temp mod of a mod - Pastebin.com
alexkarpen Author
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!
Dr George
For some reason I get a critical error, and the server doesn't start
I just pasted the code into mod.ts
Fatalnightshade
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?
piebotacus
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?
alexkarpen Author
make sure your profile has saved presets.
TagillasHammer
is this compatible with spt realism?
alexkarpen Author
not tested, but with a quick look you should be fine.