Jump to content

Pin Recipes Mod


ocbMaurice
 Share

Recommended Posts

  • 1 month later...

Released version 0.5.0:

 

- Improves performance due to extensive caching
- Less overhead due to using more correct hooks
- Allows to change recipe count via mouse wheel
- Shows small red overlay for locked recipes

 

https://www.nexusmods.com/7daystodie/mods/1850
https://github.com/OCB7D2D/OcbPinRecipes/releases/tag/0.5.0
https://github.com/OCB7D2D/OcbPinRecipesUiTdrHart/releases/tag/0.2.0

 

  • Thanks 1
Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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!

  • Thanks 1
Link to comment
Share on other sites

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
Edited by ocbMaurice (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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:

 

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
Edited by gizmomelb (see edit history)
Link to comment
Share on other sites

9 hours ago, ocbMaurice said:

Thx, was able to reproduce the issue and it seems to happen with recipes that have dynamic `CraftingIngredientCount`
Maybe you could give this fix a play test? https://github.com/OCB7D2D/OcbPinRecipes/raw/bugfix/craft-queueing/PinRecipes.dll
Just replace the existing dll. My first tests seem promising and I haven't seen any other regressions yet :)

 

thank you - will do.  My brother in law (who I play on the server with) had mentioned a 'bug' where the pinned recipes mod wasn't getting enough parts to make whatever it was he was crafting at the time, but he was unable to reproduce it - I'm guessing it was an item that had a skill level dependent, dynamic  `CraftingIngredientCount`.

We'll both be online and playing in maybe 6 hours so I'll pre-load the .DLL on the dedicated server and pass to him to install locally as client as well, then report back here how it goes.  Thank you for looking at this so promptly.  I hope my years of working Software QA were of help :)


EDIT:  ok we played for approx.  4 hours this afternoon with no issues to report.  I tried making stuff that uses dynamic amount of materials, bulk ammo, fuel etc. all with no issues.  Thank you!

 

Edited by gizmomelb (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...