Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
Mk-18 picked up off a level 2 PMC
76/76 durability
flea blacklisted
who gunna use this.jpg
just repair it lol o wait thanks BSG we can't
Obtaining -
Spare Firearm Parts can be crafted at Workbench lvl 1 using a Leatherman Multitool and 1 Weapon Parts.
They can also be purchased from Mechanic LL2 and Flea.
Usage - You must follow both steps below for the mod to function properly
1) Fully repair the weapon you want to fix using either traders or the vanilla Weapon Repair Kit. For example repair 51.2/87.7 -> 87.7/87.7 (minus random degradation)
2) Drag the Spare Firearm Parts onto your weapon. You should see a notification popup and hear a sound depending on if the repair was successful or a failure.
Configuration -
All parameters (price, trader, loyalty level etc.) are configurable in the /egbog-RepairMaxDurability/config/config.json file
Known Issues -
None so far
Installation -
Installation directions: Extract using 7zip to the root of your SPT directory as shown below
Demonstration Video
(Yes, it's SAIN, but the same concept applies to all of my mods, I'm not making mod-specific extraction example videos)
-
Version 1.3.0
- egbog
- 1.4k Downloads
Compatible with SPT 3.10
-
Version 1.2.2
- egbog
- 3.3k Downloads
Compatible with SPT 3.9.0-3.9.8
-
Version 1.2.1
- egbog
- 3.1k Downloads
Compatible with AKI 3.8.0+
- Fixed armor plates being able to be repaired
-
Version 1.2.0
- egbog
- 95 Downloads
- Added trader buy limit and stock to config file
- Support for adding trades to multiple traders if desired
-
Version 1.1.0
- egbog
- 253 Downloads
- Fix Repair window dropdown menu showing Spare firearm parts as a usable repair kit
- Compatibility fix for ODT-ItemInfo
- Add config file
- All parameters (price, trader, loyalty level etc.) are configurable in the /egbog-RepairMaxDurability/config/config.json file
-
Version 1.0.0
- egbog
- 617 Downloads
vismen
Good afternoon, is it possible to make a similar mod for repairing armor in the same way.
egbog Author
Already replied to this question
"i see why you would want it, however with armor plates being a thing I really don't see a justification for it. most plates are really not repairable irl and are meant to be a one time use thing. with guns there are many replaceable components that are meant to be common wear items replaced after a certain amount of time/rounds fired"
TomBrown
Hello.
In 3.9.0, when I used this mod to repair a weapon that lost its durability and restore it completely, it crashed and the game was terminated.
Do you know anyone who can tell me what is causing this?
Postscript.
I had other mods installed, so I deleted them all and installed this mod, but it crashed the same way.
TypeError: Cannot read properties of undefined (reading 'Resource')
TypeError: Cannot read properties of undefined (reading 'Resource')
at Repair.ambeeb (G:\SPTTarkov\user\mods\egbog-RepairMaxDurability\src\repair.ts:44:23)
at Object.action (G:\SPTTarkov\user\mods\egbog-RepairMaxDurability\src\mod.ts:46:66)
at DynamicRouterMod.handleDynamic (C:\snapshot\src\di\Router.ts:69:61)
at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:74:69)
at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:46:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at SptHttpListener.getResponse (C:\snapshot\src\servers\http\SptHttpListener.ts:149:22)
at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\SptHttpListener.ts:74:38)
TypeError: Cannot read properties of undefined (reading 'Resource')
TypeError: Cannot read properties of undefined (reading 'Resource')
at Repair.ambeeb (G:\SPTTarkov\user\mods\egbog-RepairMaxDurability\src\repair.ts:44:23)
at Object.action (G:\SPTTarkov\user\mods\egbog-RepairMaxDurability\src\mod.ts:46:66)
at DynamicRouterMod.handleDynamic (C:\snapshot\src\di\Router.ts:69:61)
at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:74:69)
at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:46:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at SptHttpListener.getResponse (C:\snapshot\src\servers\http\SptHttpListener.ts:149:22)
at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\SptHttpListener.ts:74:38)
egbog Author
well I haven't been able to reproduce this. what version are you using? 1.2.2 on 3.9.0?
I would wager it has to do with crafting the repair kit bc for whatever reason the property "Resource" as mentioned in your error log doesn't exist when you craft it. However I manually set that property as a failsafe so theoretically this error shouldn't be happening
TomBrown
Hi, thanks for your reply.
I don't know the details, but it seems that the one I purchased from mod trader was the one that crashed.
When I purchased it again from the mechanic, I found that it did not crash.
I am very sorry for the trouble.
egbog Author
ohh i see, which mod trader was it? ill look into and see if i can add compatibility for modded traders
TomBrown
KOKO HEKMATYAR
I used this mod.
RogueTech67
@egbob, Hello. See the mod was updated to show support for SPT-AKI 3.8.3. On the [Versions] Download for 1.2.1 (Apr 17, 2024), you added "Compatible with AKI 3.8.3+". Since the mod didn't change since working on 3.8.0, does it no longer work on 3.8.0, and needs 3.8.3+, or should that comment say "Compatible with AKI 3.8.0+"? Love this mod. Thanks
egbog Author
It works for any 3.8.x version so far, 3.8.0+ makes more sense so I changed it to that
GaGiG iZiaeV
не работает мод у меня. не с тем оружием что было, ни с тем что купил после установки и портил в рейде. жаль
lil_RGO
Hello
Thank you for this great mod.
I have a question
That's when i drag and drop spare weapon parts on bulletproof panels and all the durable equipment,
Change the maximum durability to 100 (good for me😂)
Is this usage intended?
egbog Author
Nope and should be fixed in the latest version
lil_RGO
Tnx for fast fix
RogueTech67
Hello egbog. Loving the mod. Couple of questions.
1) Regarding your Known Issue in version 1.0.0. Not sure why it is an "issue"? From a damaged weapon 91.5/96.7 (100) choosing [REPAIR] I was able to choose the "Spare firearm parts" option (Along with options Weapon repair kit | Prapor | Skier | Mechanic) and have the weapon repaired to 100/100 (100) for the cost of 1 RP unit. This seems to make sense to me if I choose to use one of the 5 uses (I just paid 121,001 Roubles for) instead of either some of the 1000 RP from the Weapon repair kit or paying one of the 3 Traders.
Known Issues - Spare Firearm Parts are visible is the Repair window, letting you repair a gun for just the 5 resource points it contains. This will act like a regular repair kit and will waste your Parts. This will be fixed in the next update!
2) I see the Mechanic cost for a 5/5 RP "Spare firearm parts" is set at 121,001 Roubles. If we would like change that cost (or the Trader Level, or the Trader, or the number of allowed usages (i.e. /55), where would we do that? Edit which file(s)? Thanks
egbog Author
1) I'm not sure I understand what you mean. My mod only functions when you specifically drag and drop the repair kit onto a weapon. Using it as a kit in the Repair window treats it like the 1000rp Weapon Repair Kit and will repair it the same as every other time but causes some bugs like a 0 RP kit
Furthermore the high trader cost is there to influence you to craft it instead of buy it. It is nearly half the cost to make it in the hideout. Also paying ~5-10RP (~500-1000 roubles) from the Weapon repair kit plus the 1 use from my kit is still significantly cheaper than re-buying the entire weapon itself.
Initially the durability didn't matter prior to using the kit however I want the Weapon Repair Kits to retain their usefulness in tandem with my kit
2) Currently it's all hardcoded but since you mention it, I'll add a config file for it
RogueTech67
Hello egbog. Thanks for the explanation, and for creating a config file for the changes.
egbog Author
no worries
RogueTech67
@egbog, Thanks for the config changes in v1.1.0. Tested and can now "easily" change the Trader, Loyalty Level, Item Price and usage amount. Works perfectly. Still can ONLY buy 5 from the trader, but that is fine. Thanks so much for adding this change.
AlexShepard
Good day. Mod version 1.0.0 does not work as it should or I do not understand something: when dragging parts to the weapon on the bottom right of the error "Item not clean enough to install new parts". The repair window, fortunately, does not open.When dragged onto a weapon with 100% durability it writes "Item already at maximum durability", which does correspond to the state of the weapon.
Could you please tell me what this could be related to? I'm assuming I'm using the spares on an insufficiently broken weapon (the maximum durability of the weapon I applied them to was in the 95-99 range)
egbog Author
Fully repair the weapon you want to fix using either traders or the vanilla Weapon Repair Kit. For example repair 51.2/87.7 -> 87.7/87.7 (minus random degradation)
Drag the Spare Firearm Parts onto your weapon. You should see a notification popup and hear a sound depending on if the repair was successful or a failure.
AlexShepard
Oh, I apologize, I initially didn't fully understand exactly how this works. Yes, that's correct, the mod works as it should. Thank you very much!
Should my earlier comment be deleted so as not to mislead people?
egbog Author
no no, leave it. when people have the same issue hopefully they will see this before making another comment
NoBody890
Liking it a lot, make one for armor if possible.
egbog Author
i see why you would want it, however with armor plates being a thing I really don't see a justification for it. most plates are really not repairable irl and are meant to be a one time use thing. with guns there are many replaceable components that are meant to be common wear items replaced after a certain amount of time/rounds fired
Claus1978
SVM already has this, i'm always able to repair my weapons to 100%, armor however is the real problem.
egbog Author
the settings SVM change aren't related to this mod. this is for weapons that are already below 100 maximum durability. SVM prevents repair damage
TIRPITZ
this mod can't working for me.i don't know why , when i drag the kit onto my weapon,the repair window jist auto pop up,and unable to repiar it's max durability.
egbog Author
could be a mod conflict, can you post your modlist?
IHateChoosing
i have the same issue, dragging the repairkit on a weapon only pops up the repair window, no notification or sound, max dura isn't repaired
Server mods
{
"order": [
"ACOG4Life-OpticRework",
"Hephaestus",
"aMoxoPixel-Painter",
"MoxoPixel-BlackCore",
"MoxoPixel-MagTape",
"MoxoPixel-TacticalGearComponent",
"TheLittleDrummerBoy",
"vinihns-makepl15greatagain",
"SamSWAT.COD.JW-GROM.Fixed",
"BRNVG_N-15Adapter",
"FershteBalancePatch",
"MoreCheckmarksBackend",
"SpecialSlots",
"Bloody-Bullet-Wounds",
"WTT-HeadVoiceSelector",
"MoxoPixel-WarHeads",
"ServerValueModifier",
"RaiRaiTheRaichu-UselessKeyBlacklist-1.2.1",
"dirtbikercj-removetimegatefromquests-1.0.1",
"shredder-StackableGrenades",
"pliniojrm-trueitems-1.1.0",
"MedicalAttention",
"ChooChoo-TraderModding-1.2.0",
"Kiki-BiggerStash",
"Skwizzy-NoDiscardLimit",
"Fontaine-FOV-Fix",
"odt-iteminfo-4.0.3",
"zzzzThermal-bundle",
"skulltag-personaltrainer-1.0.2",
"zMusicManiac-BUMA-Revamped",
"WeightlessAmmo",
"egbog-RepairMaxDurability"
]
}
Client mods
BorkelRNVG
Drakia Quest tracker
Drakia Waypoints
More Checkmarks
SamSWAT Helicrash (Arys version)
SamSWAT Firesupport (Arys version)
SamSWAT Watch Anims
Amands Sense 3.8 beta
BossNotifier
ChooChoo TraderModding
Deadzone
Deminvincibility
Drakia Bigbrain
Drakia Search open containers
Drakia task list fixes
dvice gtfo
dvice pirm
FOVFix
HealingAutoCancel
IcyClawz Custom Interactions
IcyClawz ItemAttributeFix
Kaeno TraderScrolling
MaxDura
QuickThrowGrenades
skwizzy Looting Bots
Terkoiz FlareEventNotifier
Thats Lit
DeHazardifier
Tyrian Radar
WTT HeadVoiceSelector
egbog Author
you're not dragging the Weapon Repair Kit, right?
so far i've found no incompatibilities with the mods in your modlist
IHateChoosing
Did I misunderstand how to use it?
Made a video to showcase the issue:
https://streamable.com/k9rajl
egbog Author
ok, interesting. just double check you installed it correctly, your bepinex plugins folder has MaxDura.dll?
Can you run it with no other mods just to test it works by itself on your system?
Also post your server log pls
xm855n
this is great, i personally hate weapon durability in EFT. but this isnt working for me. the repair kit has 5 durability/uses and when i drag it onto the weapon (88 durability) it says it already has full durability, even though its not. and it does this for every weapon
egbog Author
are you using any other mods? this mod explicitly checks if max durability is at 100.0 and returns that message if it is at 100
poneais
we horses need repeir
Maddog Matt
Great idea and good to see someone has made a mod to do this. I always would fix my guns back to max durability editing the profile directly, but this way is much nicer and allows some immersive way to do it through the hideout.
Another odd design choice in BSGs quest for realism that your guns cannot ever be repaired back to good as new.
dikpill
MY MAN