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.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
-
Version 2.0.0
- Cougarinou
- 1k Downloads
Updated for AKI 3.2.1
-
Version 1.1.0
- Cougarinou
- 296 Downloads
For AKI 3.1.1
AphEX
Heads up, mod doesn't seem to work on 3.2.1, at least not for me. An update would be appreciated!
Cougarinou Author
Ok did you get an error or something ?
AphEX
No, no error anywhere, the custom traders just don't show up on flea. Running with AK Guy, AR Shoppe, Gear Gal, and Priscilu in case you're wondering.
Cougarinou Author
Ok the same as me for 3.1.1.
Well As I said on my other mod I will take a look after my 2 weeks holidays and I will update them to 3.2.1 because it seems they changed some functions about traders
AphEX
So I was a little blind, turn out something does show up on the server log as soon as it finishes booting up:
Hope this helps, and enjoy your holiday!
Edit: I see now this exact message or one very similar also shows up for the user below, my bad.
Cougarinou Author
Np thanks for the log it is indeed the same as the one below. The good news is it's just a version change so should be easy to fix.
Thanks I will enjoy every seconds
yexer7
i know this isnt related to your mod but maybe you know something about it from your travels.
(node:20400) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '0' of undefined
at RagfairOfferGenerator.generateTraderOffers (C:\Users\jacob\Desktop\SPTAKI\obj\bundle.js:8671:64)
at RagfairServer.update (C:\Users\jacob\Desktop\SPTAKI\obj\bundle.js:2469:40)
at C:\Users\jacob\Desktop\SPTAKI\user\mods\zz-CustomTradersOnFlea\src\mod.js:52:52
at Array.forEach (<anonymous>)
at CustomTradersOnFlea.postAkiLoad (C:\Users\jacob\Desktop\SPTAKI\user\mods\zz-CustomTradersOnFlea\src\mod.js:48:14)
at PostAkiModLoader.executeMods (C:\Users\jacob\Desktop\SPTAKI\obj\bundle.js:13605:46)
at PostAkiModLoader.load (C:\Users\jacob\Desktop\SPTAKI\obj\bundle.js:13594:14)
at ModCallbacks.onLoad (C:\Users\jacob\Desktop\SPTAKI\obj\bundle.js:1833:31)
at App.load (C:\Users\jacob\Desktop\SPTAKI\obj\bundle.js:18157:59)
at C:\Users\jacob\Desktop\SPTAKI\obj\bundle.js:19855:47
(Use `Aki.Server --trace-warnings ...` to show where the warning was created)
(node:20400) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.htm…unhandled_rejections_mode). (rejection id: 1)
(node:20400) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
this is related to a custom trader with a singular preset for a trade for a pistol.
Cougarinou Author
Hmm it reminds me of something can you tell me the custom vendor ? I will try to download it and try to solve it !
It may take some times as I go on holiday saturday for two weeks but as soon as I come back I will look into it for sure !
blacksurgeon
Hello,
not sure if it's the same.
I get this Error
(node:27028) UnhandledPromiseRejectionWarning: TypeError: container.resolve(...).setTraderUpdateStatus is not a function
at D:\Spiele\Escape from Tarkov - SPT 3.2.1\user\mods\zz-CustomTradersOnFlea\src\mod.js:51:58
at Array.forEach (<anonymous>)
at CustomTradersOnFlea.postAkiLoad (D:\Spiele\Escape from Tarkov - SPT 3.2.1\user\mods\zz-CustomTradersOnFlea\src\mod.js:48:14)
at PostAkiModLoader.executeMods (D:\Spiele\Escape from Tarkov - SPT 3.2.1\obj\bundle.js:13831:46)
at PostAkiModLoader.load (D:\Spiele\Escape from Tarkov - SPT 3.2.1\obj\bundle.js:13820:14)
at ModCallbacks.onLoad (D:\Spiele\Escape from Tarkov - SPT 3.2.1\obj\bundle.js:1878:31)
at App.load (D:\Spiele\Escape from Tarkov - SPT 3.2.1\obj\bundle.js:18491:59)
at D:\Spiele\Escape from Tarkov - SPT 3.2.1\obj\bundle.js:20236:47
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use `Aki.Server --trace-warnings ...` to show where the warning was created)
(node:27028) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:27028) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I have those traders:
hub.sp-tarkov.com/files/file/546/Priscilu
hub.sp-tarkov.com/files/file/356/Food and Drinks (Revingly)
SPT 3.2.1
Thanks
yexer7
its an in progress trader but i can give you the assort json thats having the issue.
{
"items": [
{
"_id": "glock_preset",
"_tpl": "5a7ae0c351dfba0017554310",
"parentId": "5fe49444ae6628187a2e78b8",
"slotId": "hideout",
"upd": {
"UnlimitedCount": true,
"StackObjectsCount": 999999
}
},
{
"_id": "glock_slide",
"_tpl": "5a6f5e048dc32e00094b97da",
"parentId": "glock_preset",
"slotId": "mod_reciever"
},
{
"_id": "glock_grip_mod",
"_tpl": "5a7b4960e899ef197b331a2d",
"parentId": "glock_preset",
"slotId": "mod_pistol_grip"
},
{
"_id": "glock_front_sight",
"_tpl": "5a71e0048dc32e000c52ecc8",
"parentId": "glock_slide",
"slotId": "mod_sight_front"
},
{
"_id": "glock_rear_sight",
"_tpl": "5a71e0fb8dc32e00094b97f2",
"parentId": "glock_slide",
"slotId": "mod_sight_rear"
},
{
"_id": "glock_magazine",
"_tpl": "5a718da68dc32e000d46d264",
"parentId": "glock_preset",
"slotId": "mod_magazine"
},
{
"_id": "glock_barrel",
"_tpl": "5a6b5e468dc32e001207faf5",
"parentId": "glock_preset",
"slotId": "mod_barrel"
},
{
"_id": "x4oo_flashlight",
"_tpl": "56def37dd2720bec348b456a",
"parentId": "glock_preset",
"slotId": "mod_tactical"
},
{
"_id": "sdn9_supressor",
"_tpl": "5c7e8fab2e22165df16b889b",
"parentId": "glock_barrel",
"slotId": "mod_muzzle"
}
],
"barter_scheme": {
"glock_preset": [
[
{
"count": 50000,
"_tpl": "5449016a4bdc2d6f028b456f"
}
]
]
},
"loyalty_level_Items": {
"glock_preset":1
}
}
Cougarinou Author
Ok Thanks I will try to understand why it failed
@blacksurgeon : it seems 3.2.1 modify some of the functions I used I will take a look after my holiday break !