Mod Details

Boxes at ReF (BARF)

Boxes at ReF (BARF) 0.3.1

Created by  SomeoneNamedAdam

14.4K Downloads

SPT 3.9.8 Compatible

This mod adds lootboxes and other items from EFT:Arena to the new trader Ref.

Latest Version 0.3.1
SPT 3.9.8

Updated Jul 16, 2024 at 7:21 PM

Version Notes

Tiny update for 3.9.2

- Added blue weaponcrate to Ref for 25 GP Coins as it now has lootpools assigned in SPT by default. Thank you Chomp

If you have not updated to 3.9.2 the crate will give out nothing!

This download is externally hosted.
Always scan for viruses.

This mod adds blue lootboxes from EFT:Arena to the new trader Ref.

Newest version also adds other items inaccessible in SPT due to them being tied to Arena progress.

!!!!! IMPORTANT INFO REGARDING THE NEWEST UPDATE (0.3.0) !!!!!

Before updating please delete any previous BARF versions as the file structure has changed!

- added loot pool rewards for Valuables and Supply crate (Weapon and gear boxes are still WIP cause they were causing profile corruptions)

- Added Woods gladiator key that i forgot to add (Ref has a barter for it using Lega medals which are really hard to obtain in SPT)

- Lowered price on Supply lootbox to 10 and increased the price on Valuables lootbox to 50

- Supply box reward pool includes: Items for crafting, Hideout upgrade items, Electronics, Barter items, Batteries, Flammable materials, Household utilities etc

- Valuables box reward pool includes: Bitcoin, figurines, info items like intel folder and rare crafting books

- Supply box gives out 5 rewards

- Valuables Box gives out 3 rewards due to the smaller pool of items to pull from

Thanks to Kiki this mod now includes config files where you can set the amount of rewards per box and what the boxes give out!

Configs can be found in: BARF\src\database

ItemsToAdd.json - controls which items are added to Ref and their price

crateContents.json - Includes the amount of items each box gives out and their loot pools

Melee weapon and secure container can be bought from Ref directly using large amount of GP Coins as they are supposed to be “Hard to get” items.

Future plans: Fix the weapon and gear crates

installation: Like any other server mod.

Huge thanks to Kiki for helping me figure out the code for the mod! Without them this mod would not be possible.

Version 0.3.1
Download Mod Version
SPT 3.9.8
Latest Compatible SPT Version

11.1K Downloads

Created Jul 16, 2024 at 7:21 PM

Updated Jul 16, 2024 at 7:21 PM

Virus Total Results

Tiny update for 3.9.2

- Added blue weaponcrate to Ref for 25 GP Coins as it now has lootpools assigned in SPT by default. Thank you Chomp

If you have not updated to 3.9.2 the crate will give out nothing!

Version 0.3.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

999 Downloads

Created Jul 15, 2024 at 2:30 PM

Updated Jul 15, 2024 at 2:30 PM

Virus Total Results

!!!!! IMPORTANT INFO REGARDING THE NEWEST UPDATE (0.3.0) !!!!!

Before updating please delete any previous BARF versions as the file structure has changed!

- added loot pool rewards for Valuables and Supply crate (Weapon and gear boxes are still WIP cause they were causing profile corruptions)

- Added Woods gladiator key that i forgot to add (Ref has a barter for it using Lega medals which are really hard to obtain in SPT)

- Lowered price on Supply lootbox to 10 and increased the price on Valuables lootbox to 50

- Supply box reward pool includes: Items for crafting, Hideout upgrade items, Electronics, Barter items, Batteries, Flammable materials, Household utilities etc

- Valuables box reward pool includes: Bitcoin, figurines, info items like intel folder and rare crafting books

- Supply box gives out 5 rewards

- Valuables Box gives out 3 rewards due to the smaller pool of items to pull from

Thanks to Kiki this mod now includes config files where you can set the amount of rewards per box and what the boxes give out!

Configs can be found in: BARF\src\database

ItemsToAdd.json - controls which items are added to Ref and their price

crateContents.json - Includes the amount of items each box gives out and their loot pools

Version 0.2.5
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

1.1K Downloads

Created Jul 14, 2024 at 3:07 PM

Updated Jul 14, 2024 at 3:07 PM

Virus Total Results

Added in more items that are inaccessible in SPT due to them being obtained in Arena or using currency from Arena.

Keys - 50gp coins per key

- Grumpy’s hideout key

- Voron’s hideout key

- Leon’s hideout key

Melee weapon - 500gp coins

- APOK Tactical Wasteland Gladius

Secure Container - 1000gp coins

- Secure container Theta

I made the Gladious and SC Theta stupid expensive as they are locked behind late game Ref quests which cannot be completed without the use of mods. The gladius also costs currency that is unobtainable in SPT without use of mods.

Special thanks: Kiki as always

Version 0.2.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

941 Downloads

Created Jul 13, 2024 at 10:45 PM

Updated Jul 13, 2024 at 10:45 PM

Virus Total Results

Updated offers for Ref to only include containers that you can actually unlock at the workbench. Edited the price to 40 gp coins per container.

In my testing sometimes the containers don’t give out any reward and throw out an error in the server window. I’ll take a look into it later and hopefully come up with some solution.

Once again, thank you Kiki for putting up with my awful coding and being helpful

Version 0.1.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

246 Downloads

Created Jul 13, 2024 at 9:20 PM

Updated Jul 13, 2024 at 9:20 PM

Virus Total Results
AcidMC

UPD: one can update this to 3.10 by generating “_id” values e.g. here, then applying them instead of text IDs. I cannot say for certain whether collisions are possible or not.

Hi guys. I see many of folks here in the comments wanted to switch currencies for items that are usually paid by “Lega” medals. I took liberty of adjusting the code of the mod to make it happen.

Here’s how you can do it:

I. Edit ./src/mod.ts file

1) after line 13, (import of itemsToAdd), add another import line. Here’s what you should get:

import * as itemsToAdd from “./database/itemsToAdd.json”; import * as itemsCurrencies from “./database/itemsCurrencies.json”; 2) after line 41 (“<…> push(BoxItem);“), add the code from below. You should receive the following code:

ref.assort.items.push(BoxItem); let currency = “”; for (let currencyItem of itemsCurrencies.items) { if (currencyItem._id == item._id) { currency = currencyItem.currency; break; } } 3) replace line 55 (“_tpl: “5d235b4d86f7742e017bc88a”) with the line below:

“_tpl”: currency II. Create new file ./src/database/itemsCurrencies.json. Add the following code in a new file, itemsCurrencies.json:

{ “items”: [ { “_id”: “Arena_jewelrycrate_blue_closed”, “currency”: “5d235b4d86f7742e017bc88a” }, { “_id”: “Arena_junkcrate_blue_closed”, “currency”: “5d235b4d86f7742e017bc88a” }, { “_id”: “Arena_weaponcrate_blue_closed”, “currency”: “5d235b4d86f7742e017bc88a” }, { “_id”: “Arena_woods_key1”, “currency”: “6656560053eaaa7a23349c86” }, { “_id”: “Arena_interchange_key2”, “currency”: “6656560053eaaa7a23349c86” }, { “_id”: “Arena_shoreline_key3”, “currency”: “6656560053eaaa7a23349c86” }, { “_id”: “Arena_lighthouse_key4”, “currency”: “6656560053eaaa7a23349c86” }, { “_id”: “weapon_tactikal_gladius”, “currency”: “6656560053eaaa7a23349c86” }, { “_id”: “Tetta_container”, “currency”: “6656560053eaaa7a23349c86” } ] } III. Edit the prices in ./src/database/itemsToAdd.json to your liking. The prices for these trades will be set up according to the freshly added itemsCurrencies.json file.

That’s it. You should now have Lega medal based items sold for Lega medals. Make sure to place reasonable Lega count for Theta container. I don’t know which is tbh.

SomeoneNamedAdam feel free to add it to your main mod, so it sets Lega medals by default.

P.S. Must mention that the keys were added separately by the mod author, so such change may cause duplicate key offers in Ref sales.

0 Likes

Thanks for the excellent writeup and changes !!!!!

I will add them for the next release which is probably not going to happen until next SPT patch drops due to time constraints and personal life commitments.

0 Likes
AcidMC

Hi.

It’s fine, we all have them cursed time constraints, eheh.

You can later refactor it to be in one config and not two separate configs, should you wish so. As in, include items array as a data structure within some other data structure. I just did a quick fix, so to speak.

You’re most welcome.

0 Likes

Hey, I’m so sorry to necro this but I’m still on 3.10 and I was hoping you could maybe go into a little more detail as to the process to update this for 3.10 that you mentioned at the very start of this post. I looked at the tool you linked but frankly I can’t make heads or tails of how to actually use it. I don’t think I’ll be upgrading from 3.10 any time soon so any help you can provide to make this work with that version would be much appreciated.

0 Likes

booger
You use the tool he linked to generate a MongoID. Then you gotta replace the item IDs in this mod from their plain-text, human-readable ID to whatever MongoID you generate, being sure that you use the same MongoID in all of the instances of whatever you replaced.

So, if you open up the files for this mod and see something like:
“_id”: “Arena_jewelrycrate_blue_closed”

You need to generate a MongoID with the linked tool and replace it so that it looks something like this instead:
“_id”: “6816a7c3379565542ce82cab”

Just be sure that every instance of “Arena_jewelrycrate_blue_closed” in the mod’s files is replaced with “6816a7c3379565542ce82cab”, in this example. You don’t want parts of the files that should refer to the same object to end up with different IDs.

3.10 doesn’t allow you to have plain-text ID names anymore, so mod authors need a MongoID for the system to pick up that it’s a new item. You can make the mod work for you by replacing all of the plain-text item IDs with unique ones generated by the tool above - which is supposed to always generate a unique string of characters for this purpose. It should be exceptionally rare that you accidentally generate an ID that another mod is already using.

0 Likes

Hi guys. Did you resolve this?
I wasn’t playing SPT and thus was not responding to your msgs.

What IceMaverick said, basically. Worked for me.

0 Likes
grayf5

cant unpack “unloced valuables case” server console shows:

[Client Request] /client/game/profile/items/moving

{“Action”:“OpenRandomLootContainer”,“item”:“f82a88230ee1ad2262321288”,“to”:[{“id”:“66b7e71f0004e21f1ec6da22”}]}

0 Likes
AFord73

Hi, how i can change GPs id to Lega Coins id in price menu ? I prefer to buy keys for lega medals, not for GPs. Didnt find this in cfg. Found only “price”, but can change price id item.

0 Likes
Ray

I feel like this should be combined with a bunch of other mods to form a “better package”.

Like, this mod adds the keys to Ref, but its for GP coins…

Ref - SPT Friendly Quests

This one modifies the quests and gives you lega medals, this way, you can also obtain the theta container and the gladius.
However, SPT devs also added the ref arena quests to vanilla SPT, so now we have duplicate quests, but with different conditions…

There’s also Bosses Have Lega Medals mod, which would make it possible to obtain even more Legas in-game, but Ref doesn’t have the Keys and such in his vanilla SPT inventory.
Your mod adds the keys, but it’s for GP coins

I feel like we are really close but we need some sort of coherent solution to fixing Ref for SPT and making all items available and obtainable, quests and loot.

Thank you!

0 Likes

If having the barters is important to you I rewrote the mod to have them for myself and I can share the files with you.

0 Likes
AFord73

@someonefromcanada38, yes, this will be rly good

0 Likes
Ray

Sure, it’s a step closer to fully adapting Ref for SPT from the live game, so why not, if you have the time, please share.

0 Likes
FishGaming

someonefromcanada38

Would you still be willing to share the one you rewrote to have the proper barters?

0 Likes
Skyward

How to open the crates?

0 Likes
BADMEAN

On the workbench(level 2)

2 Likes
Skyward

Yeah I looked up a basic tutorial for them. I’ve never even touched Arenas so I thought they just opened once you got them. Thanks for the reply tho!

1 Like
helsingtvdz

maybe I am messing somthin but is ther a tutorial how to open the big blue crate ?

0 Likes
MrShersh

IDK maybe I mess something.

I buy big blue container (as for misc item) for 10 gp coins, but it just put in my inventory. I can’t open it (no context button etc).

Am I missing something? How to open a container?

In server console I found this red label:

Unable to process fence assort as root item is missing, 590c621186f774138d11ea29, skipping SPT 3.9.2, mod version 0.3.1

Also I use latest version of FIKA if it is important

UPDATE: Found it as craft on Workbench (I never play new official tarkov and dont know what these boxes open via craft lol)

1 Like

how we can open the box please ?

0 Likes
7it2

hi is there a way i can change to buy items with lega medals like just the keys?

0 Likes
Azrael

Great mod! Do you plan on adding the new clothes from Arena as well?

0 Likes

Thanks!

Didnt know that there are new clothes added. I will take a look and see if i can implement them

1 Like
Azrael

The new clothes are under Ragman but require Ref standing and the use of GP coins or LEGA medals.

0 Likes
Snoozeex

Не получается купить ящик с ресурсами (Который не с ценностями), пишет недостаточно места в схроне, а там почти весь схрон пустой. Так же сразу лег сервер. На скриншоте видно что место есть и монет хватает, так же ошибку.

3LuiS

0 Likes

Привет,

Извините, я не носитель языка, мой русский очень заржавел, поэтому я использую переводчик.

Какая у вас версия SPT? Какую версию моего мода вы используете? Другие моды используете?

0 Likes
Snoozeex

Latest version of SPT. Yes I use other mods. Here is the list of my mods:

bosseshavelegadals

refsptfriendlyquests

BARF version 0.2.5

LootValue

MoreCheckmarks

SVM

LootingBots

SWAG

uifixes

WTT-PackNStrap

SAIN

I don’t know how the translator translated it for you, let me try again. When purchasing a case for 10 GP - the error “There is not enough free space in the storage” + what you see in the console.

0 Likes
Snoozeex

UPD
and mod:

AmandsGraphics
BossNotifier
BigBrain
AutoDeposit
UseItemsFromAnywhere

0 Likes

Heya, please download the newest version.

Old version is no longer supported as the file structure and codebase has changed to be much more flexible. Lemme know if that error still happens.

0 Likes
Snoozeex

Hello, I downloaded the latest version of the mod. A container with weapons appeared. But when buying, he also writes “there is not enough free space in the cache.”

The console is just as red as in the screenshot above.
What can be done?

I can’t even buy a weapon for 8 coins. He also writes “there is not enough space in the cache.” But the cache is empty…

I can’t buy one duct tape either.

And I also got 10k GP in airdrop, which was impossible to carry because of the advantage I think so much shouldn’t fall there

0 Likes

Details