Project Zomboid

Project Zomboid

Find Axes and Sledgehammers
39 kommentarer
Brutum The Man 8. sep. 2024 kl. 2:40 
mod don't work
Reifel 12. mar. 2024 kl. 16:11 
If you got here you are having trouble finding this item, so maybe Dragon Radar will be useful to help you find that one and other items too
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3172486046
Twitchy 17. mar. 2023 kl. 12:16 
i have opened 9 solo games and searched the entirety of rosewood each time (every garage, including the firehouse's, and the auto shop to the north) with melee weapons and survival essentials set to abundant. and i have yet to find even 1 fucking sledgehammer.
Nori 21. feb. 2022 kl. 1:40 
Thank you soooo much your mod!
Tyrannodorkus  [ophavsmand] 14. feb. 2022 kl. 10:21 
@Arfftre Not yet. I still need to find how to do Admin panel stuff for servers because I want that for another mod of mine. Will update this one when I get that worked out.

@SheepYoung Thank you so much, will get this updated with the translation as soon as I can.
SheepYoung 14. feb. 2022 kl. 2:29 
I put the TXT file in the Googledrive for you to use:
https://drive.google.com/file/d/1CM61_Gqf931QyeiFpiF7y9mIrLuntjSW/view?usp=sharing
----
Find Axes and Sledgehammers更好找到消防斧及大錘
Rarity稀有度
rare chance罕見
sometime chance有時
often chance經常
very often chance非常容易
common chance超級容易
-----
Roll Chance機率滾動倍數
-----
Increases the weight chance of that item
Adds the item x of times to each list, in order to increase pick chance
將物品用"x"次機率增加至容器中,以增加更多機會
-----
I also use x before a number to indicate the multiplication of that number. Would it be similar or is there a proper way to indication multiplication 1 (x1), multiplication 2 (x2)... etc.?

use:1倍.2倍.3倍.4倍
-----
Tyrannodorkus  [ophavsmand] 11. feb. 2022 kl. 12:36 
@SheepYoung Absolutely. Would really appreciate that if you would like to provide Chinese translation for it.
The English text is all located in the mod options area, here's the list of all the words I use:

Find Axes and Sledgehammers
Rarity
Roll Chance
Rare chance
Sometimes chance
Often chance
Very Often chance
Common chance
Increases the weight chance of that item
Adds the item x of times to each list, in order to increase pick chance

I also use x before a number to indicate the multiplication of that number. Would it be similar or is there a proper way to indication multiplication 1 (x1), multiplication 2 (x2)... etc.?
SheepYoung 10. feb. 2022 kl. 18:48 
I really need this mod, my friend and I searched the whole map and didn't find a sledgehammer!!
I wonder if you are interested in providing English text ?
I can help translate the Chinese language, and push such a great mod to Chinese language players!
Tyrannodorkus  [ophavsmand] 9. feb. 2022 kl. 13:14 
The mod has now been updated
Tyrannodorkus  [ophavsmand] 7. feb. 2022 kl. 14:34 
@marshmallow justice not just yet. I updated my files, but was still trying to test it. Looking for a good default setting in case the user wants to use this mod, but not use mod options to change the settings.
marshmallow justice 5. feb. 2022 kl. 0:26 
hello did this mod get an update with the discussion you and revy had regarding the stack trace?
ЯΞVУ 21. jan. 2022 kl. 1:31 
Yep, this is what I found as well. Digging around I found this way of editing which I believe works for the current system, more or less you create your own distributions and inject them so you do not have to read from the original files (cause they will be injected by other mods), Here is a paste with how the coding should go. https://paste.in/LiHMix
Tyrannodorkus  [ophavsmand] 20. jan. 2022 kl. 20:19 
Found the issue with the distribution list having that error. It works fine if I have this mod only, but issues with other mods that adds to the list. The reason is that by the time I'm calling on the Distributions[1] list is that the one I wanted to add to was shifted over by other people's lists. Correcting how I add to the list now.
Tyrannodorkus  [ophavsmand] 20. jan. 2022 kl. 17:28 
@ЯΞVУ Thank you for your help in this. Yeah I was also still getting errors with new games with all my standard mods going, but still doing fine when it's all by itself. It's good to still have the requires though, but I think I need to find a better way to insert the lists.
ЯΞVУ 20. jan. 2022 kl. 10:36 
I have isolated the code throwing errors as all the code using Distributions , VehicleDistributions and ProceduralDistributions are fine
ЯΞVУ 20. jan. 2022 kl. 9:42 
further testing (not as rushed), this fixes the issue for saves already started but new games still get an error on table.insert(Distributions[1]["all"]["crate"].items, "WoodAxe");
Tyrannodorkus  [ophavsmand] 17. jan. 2022 kl. 17:58 
@ЯΞVУ Thank you. I'll get this included, tested and updated on here soon.
ЯΞVУ 17. jan. 2022 kl. 12:17 
You missed the require code, put this at the top and should fix the errors.

require "Items/ProceduralDistributions"
require "Items/Distributions"
require "Vehicles/VehicleDistributions"
Tyrannodorkus  [ophavsmand] 13. jan. 2022 kl. 13:14 
Thanks, I'll look through this for any changes I'll need to make.
marshmallow justice 13. jan. 2022 kl. 13:09 
https://easyupload.io/5sztme
here
it's actually much smaller than b4 i guess Zomboid cleaned it up and deleted an old file. just 5mb now
Tyrannodorkus  [ophavsmand] 13. jan. 2022 kl. 11:50 
@marshmallow justice If you don't mind sending me the console.txt, that would help. I created a google drive for you to send it to.
marshmallow justice 13. jan. 2022 kl. 10:54 
I can give you my full console.txt but it's like 26mb since I haven't deleted it once
marshmallow justice 13. jan. 2022 kl. 10:54 
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2710850998 here is my modpack
It's missing probably 1 or 2 mods but yeah it's a lot.
I only have a few stack trace errors on initial load out of all this. Two hydrocraft ones, Ducks Brita Weapon compatibility, yours, and some other one that doesn't have a mod I can identify from.
Tyrannodorkus  [ophavsmand] 13. jan. 2022 kl. 10:05 
@marshmallow justice thanks for the report. I'll keep an eye out to see what might be causing that. I know from testing the mod by itself it doesn't have these errors so I'm sure there's a mod conflict as I seen it come up when I play on my really modded games. It probably comes down to how one or more mods could be adding things to the distro lists or accessing those lists. When I get some time, I'll see if there's a better way to add these that hopefully wouldn't conflict with other mods.

As for it still loading the game after the stack trace warning, that means it didn't cause any crashing issue, but could possibly mean it didn't add my modification to the list properly or at all.

Really appreciate you reporting this. Do you have time to list me any other mods you use that adds stuff to the distribution list?
Tyrannodorkus  [ophavsmand] 13. jan. 2022 kl. 9:58 
@hpsfamily yeah, these sledges are definitely rare, even with this mod I find them really rarely. Going to try and add different levels of rarity for these items soon, just need to learn mod options first. Hopefully get them to go from rare, to less rare, to maybe common for anyone to adjust their game the way they like it.
marshmallow justice 12. jan. 2022 kl. 3:40 
hello I have been recording a few stack trace errors lately after a few mods have been subbed to / updated over the last two days. Not all are from your mod of course, but 2 portions of the stack-trace have starting phrase "FAaS_Distributions" and the only mod similar would be "Find Axes and Sledgehammers", esp. considering this is a new one I've added.

https://i.gyazo.com/01d5bf044bdc64db2a9ad9253ebfc88a.png

Here is a SS of the two stack traces , I cannot understand what is going on merely report it. Note that I am loading into my world just fine and moving around and doing everything as normal. This occurs during world load.
hpsfamily 10. jan. 2022 kl. 18:34 
i still havent found a sledge after 3 towns of warehouses and garages... its like the devs nerfed to approaching zero
Looking4Carry 30. dec. 2021 kl. 18:05 
@Tyrannodorkus Thanks man, your suggestion worked! I'm able to tweak all the percentages now and it seems to look good with each of my test runs. Thanks a ton!
Tobynatoren 30. dec. 2021 kl. 3:21 
Alright, thanks! :)
Tyrannodorkus  [ophavsmand] 29. dec. 2021 kl. 15:53 
@Tobynatoren yes, you can add to existing worlds, but it most likely won't affect any cells you been to already. So you would have to go to new area's you haven't gone to yet that rolled loot already. Not sure if that is negated if you have respawn loot on, I assume it will work with that.
Tobynatoren 29. dec. 2021 kl. 14:41 
Can I add this to an existing world? furthermore, MP friendly?
Looking4Carry 27. dec. 2021 kl. 17:47 
Thanks for the advice @Tyrannodorkus, i'll look into that. Cheers!
Grizzly 26. dec. 2021 kl. 2:10 
sounds awesome, just hope I won't swim in sledges now but that would still be better than looking in 10 damn warehouses and don't finding a single x)
Tyrannodorkus  [ophavsmand] 25. dec. 2021 kl. 13:44 
@Bob I haven't tried doing something like that before. As a possible work around, my suggestion would be to go to the mod folder (default would be C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\2691553463) then go into the mods folder and copy the FindAxesAndSlegehammers folder, then paste it in the zomboid local mod folder, (C:\Users\YourComputerName\Zomboid\mods) and then make the change to the values there, then unsub to this one so it won't conflict with each other.Hopefully it won't break again. Then you can check back here for any updates you may like that I've done to it. And thanks for the complement :spiffo:
Looking4Carry 25. dec. 2021 kl. 11:37 
also great mod btw, doing gods work
Looking4Carry 25. dec. 2021 kl. 11:37 
I tried changing the percentages only. For whatever reason it didn't seem to like it. I'm unfamiliar with steam workshop so i'm unsure if it tries to pull the original folder from the workshop and once it notices the values have changed it breaks.
Tyrannodorkus  [ophavsmand] 24. dec. 2021 kl. 9:03 
@Mac I do have plans to add mod options with different levels further increasing find chance to the point of making them common.

@Bob You should be able to change the number values easy enough. The way the game adds items to the distro lists I found to be kind of janky so it could easily break. What did you add/modify?
Looking4Carry 23. dec. 2021 kl. 20:55 
Also wondering if its possible to edit the values myself. I've notice when I change something in the document I get an error. Does anyone know how to fix this?
SilkyMitts 23. dec. 2021 kl. 20:53 
Hey, really like the mod was wonder if its possible to further increase the loot chance?