Project Zomboid

Project Zomboid

Scavenger Skill
178 Comments
Ochechka 12 Apr @ 11:47am 
I found dupe in mp
:steamthumbsdown:
Anxiety 26 Mar @ 6:00pm 
When it triggers, this skill seems to duplicate a randomly selected item in a container. So, for example, instead of getting one or two new books in a bookshelf, you get additional copies of one of the books already present. It'd be nice if it instead generated loot using the same random loot table the container normally uses.

Also, if loot respawn in on, does the skill roll again when the loot respawns?

Also also, does the skill roll separately for each player on a server?
4M0N 14 Mar @ 9:02am 
mod not working on multiplayer. I got scavenger bonus and found 280 9x19 bullets but when i picked them up i got only 20. same with sandbags i got 3 instead of 18
mariohobbs 1 Jan @ 3:00pm 
Foraging is going out and looking for stuff on the ground, this is more like looking through bins and finding a use for previously useless junk. It's basically more loot as a skill.
chicken leg 6 Aug, 2024 @ 1:11pm 
so whats the difference with this and foraging?
Broly 19 Feb, 2024 @ 6:10pm 
both mod and podcast are great 10/5 would recommend
lodehu12 4 Nov, 2023 @ 5:04pm 
forgeing had left the chat
ShivKnight 11 Aug, 2023 @ 12:02pm 
When do new chances for this skill to work on the same area? is it setup to to have another chance of extra loot when the normal container would refresh loot?
Yummy 24 Jun, 2023 @ 10:49am 
Адекватный, работающий перевод этого мода на русский язык:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2993924149
Спасибо создателю данного перевода :3
PSY FROM GANGNAMSTYLE VID 28 May, 2023 @ 4:05pm 
The vanishing of items do not happen in a solo world? even if it if i had the world before the mod?
爷傲奈我何 8 May, 2023 @ 8:00am 
Nice
MusicManiac 17 Apr, 2023 @ 10:29pm 
Oh lol nevermind, wrong mod page. Check link few comments down below for fixed version.
MusicManiac 17 Apr, 2023 @ 10:28pm 
I was under the impression it works on servers?
Ancalagon 15 Apr, 2023 @ 5:13am 
any news on figuring out how to get around servers weird dupe protection?
404_coffee.exe 22 Mar, 2023 @ 7:38am 
ok this is pretty useful to use
Toasty__Bunz 21 Feb, 2023 @ 6:50pm 
If I disable the anti cheat of my zomboid server, will it solve this mod's issue with anti cheat? I would assume so, but sometimes mods be weird
snowmanero 23 Jan, 2023 @ 12:46pm 
Plase add turkish translation
MusicManiac 17 Dec, 2022 @ 3:00pm 
Seeing that last update on any of author mods was 6 months ago, it's safe to assume it won't get updated. I uploaded an updated version with @Ryougi MP fix and few other fixes from myself.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2903135820
fery vuta 16 Dec, 2022 @ 10:28pm 
Plz update
MusicManiac 14 Dec, 2022 @ 11:55am 
@Ryo sent friend invite, easier to chat than in disc
Ryougi Shiki 14 Dec, 2022 @ 7:11am 
@Woof No idea. Perhaps Steam was being dumb with downloading the mod. Sometimes it feels like pulling teeth to get workshop items to properly download/update/install. Glad to hear that part's working now.
Schrödinger's Cat 14 Dec, 2022 @ 7:11am 
Will author apply Ryougi's fix or this mod will alqays be bugged in multiplayer?
Woof 14 Dec, 2022 @ 5:57am 
Update: didn't work for past 3 days, and today it works all of a sudden. I don't think either of us changed anything.

@Ryougi the issue we were having was that the skill wasn't even appearing in our list of skills, weren't finding books or anything either. The Driving skill was working fine though, seeing as it's by the same guy that struck me as being odd.
Ryougi Shiki 14 Dec, 2022 @ 5:38am 
@Woof From what I saw, the issue- at least the one I found- was that the mod was adding items client-side only, and not server-side, which was causing items to have duplicate IDs and be removed from your inventory unless you did not transfer them to the floor first. I'm not familiar with exactly how the client-server split is done on Zomboid, as it looks to me, at least from a cursory inspection, that a lot of code that should be run exclusively server-side is run from the client, or, at least, without server authority.

What problem are you having exactly?
Woof 14 Dec, 2022 @ 2:40am 
Man, I just can not figure out why this mod's not working in multiplayer with my buddy. The driving skill one works just fine, but somehow this one doesn't feel like it.
Ryougi Shiki 12 Dec, 2022 @ 11:25am 
@Afterworlds I have no idea how comments work and someone said I should @ you, gomen if this is impolite or something.
Ryougi Shiki 12 Dec, 2022 @ 3:06am 
So, I seem to have fixed the issue with items disappearing if you don't move them to the ground first. This seems to have been caused by items being added solely client-side, and not added to the server, instead of an anti-cheat issue.

I have confirmed that it seems to be properly increasing the amount of items (at least at Scavenger 10, which was the sanest way to test it. Did number double? It's working).

This involved editing a few lines- I think it was eight- of a single function. I will post a pastebin of the function. It's "ScavengerSkill_Scavenger" in ScavengerSkillMain.lua.

Pastebin for corrected function: https://pastebin.com/puDXG8p3
DeNarr 30 Nov, 2022 @ 7:03am 
Does this work with MP? If so, how does it work? First to open a crate, or triggering for each player?
Beyothes ☦ 17 Nov, 2022 @ 9:34am 
do i need to reset my world to play with scavenging skill?
Pear 18 Oct, 2022 @ 2:56pm 
How does the bonus loot config work? what do the numbers do, as in setting above or below 110. Is it quality of loot or is there two rolls for getting extra loot?
Salis 7 Oct, 2022 @ 12:02pm 
really nice
Bud 24 Sep, 2022 @ 12:24pm 
Are there any skill books for this?
Kosh 15 Sep, 2022 @ 4:58am 
Hello. I made an "Easy Packing For Some modded books" mod, which allows to pack books from this mod in the same way as "Easy Packing + Organized Storage" mod do for vanilla books.
Espio 5 Sep, 2022 @ 12:44pm 
Still works in MP, kinda. Only thing that procs XP is warehouse crates containing sacks of fruit/veggies. That's about all I've seen so far.
Simsimix 4 Sep, 2022 @ 12:14pm 
it stopped working
Chaos Legion 26 Aug, 2022 @ 11:28pm 
Exclude books and magazines maybe. Double the loot for the same book makes little sense. Increasing rolls instead of doubling would be even better. Subbed to most of your mods.
MusicManiac 26 Jun, 2022 @ 9:57pm 
@TimberLoaf, how come cheat menu can spawn items then?
TimberLoaf 26 Jun, 2022 @ 9:09pm 
@MusicManiac Unless they change how MP loot spawns it wont work in MP. Loot in Mp is pre determined once anyone enters a chunk, meaning even if they dont check any containers and are just passing, the loot will already have been generated. This is also why Lucky and Unlucky are non functional in Mp to prevent someone just driving around with unlucky to ruin loot spawns
MusicManiac 14 Jun, 2022 @ 7:59pm 
Hey, so I posted on forums suggesting some anti-cheat options (since you said that it's anti-cheat problem that mod doesn't work properly in multi-player), and I got reply from Indie Stone. They say it's not anti-cheat problem. Apparently you need to spawn in items in multi-player differently than in single player, maybe you should look into that. Hope it helps, this mod is too good to NOT be working in multiplayer :D
https://theindiestone.com/forums/index.php?/topic/55285-option-to-disable-anti-cheat-completely/
RamboTurkey 24 May, 2022 @ 5:17pm 
will this work with worse searching
Crowflake 23 May, 2022 @ 1:40pm 
Hey, are you going to rename the books? Vanilla books have been renamed in a recent update.
30 y.o boomer 7 May, 2022 @ 8:02am 
some more context I am still finding the books but havent scavenged a single thing yet
30 y.o boomer 7 May, 2022 @ 8:00am 
scavenging broken in the new unstable version?
Уильям Де-Кок 6 May, 2022 @ 3:17pm 
@Afterworlds
Maybe, but I disable every one of it components in ini file, so it should work, or it fucked up way more than I think? :spiffo:
Afterworlds  [author] 6 May, 2022 @ 12:52pm 
@Verlind
I'm pretty sure this is AntiCheat busting up "created" items to prevent against people hacking in items. You can try disabling anti-cheat, but this mod MIGHT be broken on MP till TIS fixes their code. :(
Уильям Де-Кок 4 May, 2022 @ 4:43am 
I've got bug in hosted server, when items deletes when you pick 'em up
Poltergeist 26 Apr, 2022 @ 11:39am 
This would be nice as an action, where your character spends time searching near container.
Engine Of Darkness 17 Apr, 2022 @ 12:52pm 
Would it be possible to have special cases for "fresh" foods?

I got a lot of fresh food by being lucky it seems, even while other food spawned by the game is already rotten.

Perhaps you could spawn perishable food in as rotten.

Or at higher levels you can find "stale" food and the highest level allows to find some fresh things.
potatonathan 15 Apr, 2022 @ 5:49pm 
okay, it duplicated the same crate a second time, so even if it registered my crates as being a part of the natural world because they were placed pre-mod, it still activated a second time, so it may be possible to duplicate items in a natural storage.
potatonathan 15 Apr, 2022 @ 5:44pm 
So, I added this mod to a save i already had going, and I've noticed (kinda hard to miss) that the scavenging ability works on my placed metal crates. I don't know if this is because they were built before I loaded in the mod or what, but when it activates it duplicates my items and now my melee weapons and gun attachments crate has about 295 crowbars. I'm pretty sure this is a bug, but hey, 493 boxes of shotgun shells in a single crate is kinda nice