• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Pin Recipes Mod

Hi @ocbMaurice, The mod is working well for me. I like that I can keep a track of how many of each item I have while collecting. I was wondering if there's a line in the code you can recommend to change so i can zoom the pinned boxes a little? I'm running in 1080 on a 32" screen and finding the text a little small to read, particularly the number for how many of each item I have. It could be the green numbers on a green tick/checkmark that are making it harder to read. I've tried zooming the UI to 100%. Do we need the checkmark to still be there if we have more than the required amount of that item?

So: Remaining required items in red = 4,3,2,1 etc.

Exact amount required = green checkmark.

More than required = no checkmark then numbers 1,2,3,4 etc.

Sorry to bother you with this. I'm hoping to feature your mod in my next video. All the best to you.
Hi @Tallman Brad, I've been playing with this mod as well and love it. I'm learning how to mod the UI and made an attempt to reskin the pinned recipes. I've rearranged the icons a bit, separated the checkmark from the numbers, and tried to add more contrast to the text. I also have the background opacity working (matches UI) but haven't figured out the foreground opacity yet. If you want to give it a try, just replace the existing mods Config/XUi as they are designed to work with the existing mods files. @ocbMaurice, I hope you don't mind my sharing these files. If so let me know and I'll take them down.

Config/XUi files for Pinned Recipes https://www.dropbox.com/s/gprl8dg5tiktez3/XUi.zip?dl=0 (Edit: I'm new to Dropbox, if this link doesn't work let me know)

You can have the pins on the left or right side, just edit the Config/XUi/windows.xml file and change the anchor and pos attributes (currently set to right side).

pinned recipes.jpg

 
Last edited by a moderator:
Hi @Tallman Brad, I've been playing with this mod as well and love it. I'm learning how to mod the UI and made an attempt to reskin the pinned recipes. I've rearranged the icons a bit, separated the checkmark from the numbers, and tried to add more contrast to the text. I also have the background opacity working (matches UI) but haven't figured out the foreground opacity yet. If you want to give it a try, just replace the existing mods Config/XUi as they are designed to work with the existing mods files. @ocbMaurice, I hope you don't mind my sharing these files. If so let me know and I'll take them down.

Config/XUi files for Pinned Recipes https://www.dropbox.com/s/gprl8dg5tiktez3/XUi.zip?dl=0

You can have the pins on the left or right side, just edit the Config/XUi/windows.xml file and change the anchor and pos attributes (currently set to right side).

View attachment 22872
You beat me to it! I've been doing the same! I made the numbers bigger then moved the checkmark to the upper right of the icon. Hadn't got round to trying to scale anything else though. Or move it to the other side of the screen. @tdrhart you've done a much better job than I could! 

@ocbMaurice the edited version I've made is just for my personal use and to test if it can be made more legible (for my eyes). I think losing the checkmark and making the numbers a little bigger would be great for others who want to try it though. It's extremely useful!

 
Last edited by a moderator:
It needs to be installed on server and each client.
EAC also needs to be disabled on server and each client.


I made the Mods folder and subfolders. Sent them via ftp as the manual said, but it gives error message when joining the server and login interrupts. Is there more setup to be done?

 
Hi @ocbMaurice,

Have done some more testing with dedicated server and seems to work but there were only two of us. I should be able to test with 4 or 5 players tomorrow. If everything continues to work well, I would guess that the strange behaviour we encountered was due to either the peer-to-peer play we were using or corruption in the server game save files.  I'll post back either way.

Edit: Have play tested version 0.4.0 with 5 players over 4 hours with dedicated server. Pinning, removing, pinning more than 6 visible at a time, crafting from pin, increasing/decreasing number to craft, etc. all worked without any issues.  I could not reproduce any of the issues encountered while playing peer-to-peer.

 
Last edited by a moderator:
Greymantle said:
I have EAC off and the clients have the mod too. I can't get this to work. I use it with my single play thanks.
I did run into some weirdness when playing peer-to-peer or when one of the clients didn't have EAC disabled or missed deploying the dll. Once we transitioned to dedicated server, EAC off on all clients and server, and mod xml/dll deployed to all clients and server, the mod works flawlessly.

You stated you were using a dedicated server and all clients/server had EAC turned off and mod deployed.  That should be all you need to do.  I assume your dedicated server was working correctly before adding the mod? Firewall, port forwarding, networking all good?

When you say you couldn't get this to work, what was not working? Was the game crashing on startup? Were there errors or warnings in the log? Did the pin option not appear in the crafting menu?

 
@tdrhart Hope it is OK that I took your work and used it to create a mod that provides the alternative UI a bit easier.
I also added it as an alternative file on the nexus page for people to find it a bit easier. And again, thank you!

 
Hey there I just tried this newer updated version and  I wanted to let you know that, the red X to remove the Pin doesn't show up unless you pause and then hold down the menu radial wheel. Also, it will tell you that you have the ingredients/pieces for something when you actually don't. 

 
Thanks for the report, I was able to reproduce at least the second issue you mentioned (couldn't reproduce the x not showing up).
To clarify a little, the issue seems to happen if you load a brand new world (savegame), as the player wouldn't be attached correctly.
I guess it should all clear up once you exit and reload the game. Never the less, version 0.5.1 should fix this now. Thx!

 
Update 22.07.2022 - Version 0.6.0

- Added "grab ingredients" QOL feature

- Add button for "Grab ingredients" function
- Set key-binding for "Grab ingredients" to `G`

 
Update 06.09.2022 - Version 0.6.1

https://www.nexusmods.com/7daystodie/mods/1850
https://github.com/OCB7D2D/OcbPinRecipes/releases/0.6.1

  • Allow double click on Ingredients to pin its recipe
  • Fix storing recipe variants for same item name
  • Fix issue when workstation tools are changed
  • Only show buttons if there are pinned recipes
  • Add automated translations for 27 languages via DeepL
  • Correctly cleanup when world is unloaded
  • Add screenshot for "grab ingredients" button
  • Fix latest issues found during testing
 
Last edited by a moderator:
bug report for 0.6.1 - I pinned the gyrocopter chassis and also the gyrocopter chassis, went to my resources boxes and pressed 'g' to grab all the needed parts, then went to my workbench and pressed the green build icon on the pinned recipe - item starts to be built, but as soon as i leave the workbench it stops being built, build in progress item disappears and of course I've lost all the resouces that were being used to build the chassis and accessories.   This is under alpha 20.6b9 (current version) - mod is installed on the server and on the local client.

 
Is that reproducible on server/client setups or did you just see it once? Main reason to ask this is that I really just copied the vanilla code to put items into the production queue, which seems to be the only issue you are reporting (that it got lost once you queued it). I'll probably check it at some point, but if you can say it is always happening, I'd consider it a bug in my mod, otherwise, it could have any reason that may also happen in vanilla.

 
Hi - yes I just logged into my server and reproduced it again (saved a small video clip if it's any help).  Gyrocopyer accessories pinned, go to box, press G to grab all needed components.  Open workbench and press the green build icon in the pinned recipie - building starts and is visible in workbench queue, exit workbench, go back into workbench and queue / item being built is gone.

EDIT: ok I just removed pinned recipes 0.6.1 from both server and my local client, copied back version 0.6.0 and it works with no issues (queued items do not disappear from workbench when in production and I leave the workbench before they have finished (item tested - gyrocopter accessories)).

link to recording of pinned recipe 0.6.1 reproducible issue of queued item production disappearing from workbench when workbench is exited:

https://www.dropbox.com/s/cifijbtoks1a32v/7 Days to Die 2022.09.16 - 20.58.22.01.mp4?dl=0

list of mods and versions on my server:

 

Code:
2022-09-16T13:26:13 0.682 INF [MODS] Start loading from: '/home/sdtd53700/sdtd/bin/7DaysToDieServer_Data/../Mods'
2022-09-16T13:26:13 0.687 INF [MODS] Trying to load from folder: 'AGF-A20HUDPlus1.4.1'
2022-09-16T13:26:13 0.698 INF [MODS] Loaded Mod: AGF-HUDPlus (1.4.1)
2022-09-16T13:26:13 0.698 INF [MODS] Trying to load from folder: 'AGF-A20HUDPlus-EPatch1.0.1'
2022-09-16T13:26:13 0.699 WRN [MODS] No ModAPI found in mod DLLs
2022-09-16T13:26:13 0.699 INF [MODS] Loaded Mod: AGF-HUDPlus-EnhancedPatch (1.0.1)
2022-09-16T13:26:13 0.699 INF [MODS] Trying to load from folder: 'BadWindowsReplace_v1'
2022-09-16T13:26:13 0.700 INF [MODS] Loaded Mod: BadWindowsReplace (1.0)
2022-09-16T13:26:13 0.700 INF [MODS] Trying to load from folder: 'donovan-longerlootbags'
2022-09-16T13:26:13 0.700 INF [MODS] Loaded Mod: Donovan_LongerLootbags (20.0.0)
2022-09-16T13:26:13 0.700 INF [MODS] Trying to load from folder: 'KHA20-HPBars'
2022-09-16T13:26:13 0.701 INF [MODS] Loaded Mod: Khaine's HO Bar Mod (1.0.0)
2022-09-16T13:26:13 0.701 INF [MODS] Trying to load from folder: 'KHA20-LockableInvSlots'
2022-09-16T13:26:13 0.702 INF [MODS] Loaded Mod: Lockable Slots (1.0)
2022-09-16T13:26:13 0.702 INF [MODS] Trying to load from folder: 'MeanCloud__EnemyReachShortener'
2022-09-16T13:26:13 0.702 INF [MODS] Loaded Mod: MeanCloud's Enemy Reach Shortener (1.03)
2022-09-16T13:26:13 0.702 INF [MODS] Trying to load from folder: 'OcbPinRecipes'
2022-09-16T13:26:13 0.704 INF [MODS] Found ModAPI in PinRecipes.dll, creating instance
2022-09-16T13:26:13 0.704 INF [MODS] Loaded Mod: OcbPinRecipes (0.6.0)
2022-09-16T13:26:13 0.704 INF [MODS] Trying to load from folder: 'Robeloto_LoudSoundsLowered'
2022-09-16T13:26:13 0.704 INF [MODS] Loaded Mod: RobelotoLoudSoundsLowered (20.0)
2022-09-16T13:26:13 0.704 INF [MODS] Trying to load from folder: 'ThunderSn1per Corpse Remover'
2022-09-16T13:26:13 0.704 INF [MODS] Loaded Mod: Corpse Remover (1.0)
2022-09-16T13:26:13 0.704 INF [MODS] Initializing mod code
2022-09-16T13:26:14 1.199 INF [MODS] Initialized code in mod 'OcbPinRecipes' from DLL 'PinRecipes.dll'
2022-09-16T13:26:14 1.200 INF [MODS] Loading done
2022-09-16T13:26:14 1.201 INF [MODS] Loading localization from mod: AGF-HUDPlus
2022-09-16T13:26:14 1.201 INF [MODS] Loading localization from mod: OcbPinRecipes
 
Last edited by a moderator:
Back
Top