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

Pin Recipes Mod

It Worked like a charm!! It was a very Noticeable lag and FPS drop! It didn't do a single thing for me when harvesting. This is the Mod we did not know we needed! :)  Thank You very much!

 
Glad it worked, optimized it a bit more to get rid of the last lag.
https://github.com/OCB7D2D/OcbPinRecipes/archive/develop.zip
Didn't test it fully yet, need to see if I over optimized some stuff.
Just when I updated to the one from your last link, you posted another LOL. Can't complain though, I can't say no to more FPS! :D Soon you'll optimize it to the point that devs will start copying your code and not the other way around lol

 
Always consider develop branch to be a potential dead end :)
But seems to work fine and will probably release that branch tomorrow.
And I may drop the requirement to need fuel to enqueue a pinned recipe too.

 
Great mod!! Been looking for something like Undead Legacy's pins since my modding skills stop at xml/xpath :)

While doing some reskinning (resizing to allow for player bars, and fixing opacity/number placement so I can use this with my friends in our private game) I ran into a recipe error when testing the minibike recipe. I rolled back to the original 0.3.4 to verified this was an issue when the hammer icon of the pin is used to craft the minibike in the workbench and not something to do with the reskin. Possible my game file might be corrupt though.

Clicking on pin hammer to craft minibike and crafting proceeds as expected but the following appears in the log. I checked a few other recipes but they all appeared to work fine. Don't have a github account (will have to get one) or I would of posted this there.

image.png

 
Thx for your report, I added this message because I couldn't find a use case to trigger that case.
First and foremost, if nothing else acts up you have nothing to worry, I just wasn't sure.
Was able to reproduce it now, so I can finally test this case and remove the message.

 
I've been working on adding recipes with 10 ingredients thanks to Doughphungus mod to change the ingredient list window to show 10 slots. I was wondering which of these rects is the one that governs how many rows of ingredient slots the pinned window shows? My thought was to adjust it myself but then realized i am a novice with ui and i could more easily reach out here on the forum and see if you had any interest in helping with this. 

 
Sorry, but I don't, maybe ask the creator of that mod if he would want to make a compatibility patch.
Shouldn't be too hard, but of course the UI would need more space and therefore new layout.
Only hint I can give is that there are 5 `pinned_recipe_igredient_row` in the controls.xml ...

 
Not a bad point, @doughphunghus if you are interested I know I can't be the only one using both mods. All else fails i will give it a shot myself and share if i get it working.
I can’t promise anything on my side (that UI stuff is painful for me :) , and I have a busy week) but if you can get it working send me what you have and I’ll see if I can make “compatibility patch” mod to mine to load alongside it. 

 
I am trying to get this to work on my server and it is throwing walls of red text at me. Is anyone able to help me on discord? Cayla#9951 thank you a billion!

 
Did you install it on server and on all clients?
Did you disable EAC on server and on all clients?
If you did, please attach a full log, thx!

 
Tried this with one of clients also running the server and the pinned recipes were messed up between players.  Does this require a dedicated server for multiplayer use?

 
There is this disclaimer on Nexus: Should also work for multiplayer, but hasn't been tested that well yet.
Not exactly sure which scenario you are describing. But to start any investigation
I would need a least a full log of the failing client and preferably of the "server".

 
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.

 
I can check into loosing the checkmark if numbers are shown (seems redundant indeed).
But there is no easy way to "scale" the whole thing (at least not to my knowledge).
You would need to give it more width, which has a rat-tail of other dependencies.
E.g. Images are square so would also need to scale etc etc ...
I might be able to squeeze one or two font-sizes though.
Will keep in mind and might adjust some of it in the future.
Btw. I consider it a feature that the green number is far less visible than the red.
Since it is merely an additional info that is not that very important once shown IMO.
P.s. a screenshot might help as I don't have much problem reading the numbers at 1080 on a 28" 4K screen.

 
Last edited by a moderator:
There is this disclaimer on Nexus: Should also work for multiplayer, but hasn't been tested that well yet.
Not exactly sure which scenario you are describing. But to start any investigation
I would need a least a full log of the failing client and preferably of the "server".
Hi @ocbMaurice, been busy the last couple of days, but here is the log for our last play session. https://www.dropbox.com/s/qifuruuktx11842/output_log__2022-01-05__20-00-36.zip?dl=0 (Edit: I'm new to dropbox, if this link doesn't work let me know).  I do not see any errors in the log for the 3+ hour session.

I'm starting my 7 Days to Die, loading our game and allowing other players to join me, so I am effectively the server and failing client at the same time.  What I am seeing is when other open their crafting menu, the recipes they tag show up on my screen. Sometimes I can close them, other times clicking the X does nothing. Others are also seeing recipes on their screen that they have not added as well. This is not consistent though.

I'm going to try and migrate our game save to a separate install of 7D2D to run as a dedicated server and give that a try on Sunday and see if that makes a difference.

Edit: If no one joins my game, the pinned recipes work perfectly fine.

 
Last edited by a moderator:
Back
Top