Project Zomboid

Project Zomboid

[B41 / B42] Chunk list tool
29 comentarios
Cat 8 OCT 2024 a las 14:49 
@Maks

This mod does not typically delete files, you might have a corrupted Zomboid.

Go ahead and uninstall your zomboid, unsubscribe from all workshop items - go to your workshop folder and clean it.
AVR 8 OCT 2024 a las 13:26 
Hello! An error popped up about some file being incompatible. I didn't have time to see what happened. Now the mod doesn't work at all. The context menu with the item does not appear. I tried deleting and re-downloading the mod several times. Checked the integrity of the game. Everything is ok. I created a new world - it doesn't work. I'm an admin. It worked before this error. Maybe the mod deleted some file?
Cat 19 DIC 2023 a las 6:59 
@Smurf∞¸.•'¯)

Basically how it would be normally, an RV Interior is just a empty spot on the map far away from the normal map.
Smurf∞¸.•'¯) 18 DIC 2023 a las 21:27 
how do you record chunk inside rv interior
pynoTTV 20 JUL 2023 a las 4:29 
yes, it should put also the loot @dubkito
Dubkito 11 JUN 2023 a las 13:25 
you rule bikinihorst i love your mods from the beggining, now i have a server on nitrado with some mod maps. and the loot its NOT respawning in my modded maps and its in the vanila ones.
can i use this tool to force respawn in those maps?
pynoTTV 7 JUN 2023 a las 5:24 
thanks for this great mod, thanks to this mod i can save a list of numbers that refer to the various chunks of the map, after i ask chatgpt to create a string like this "map_" added before each token and separated by commas, no spaces.
The list is created automatically and I can restore small areas from the map on each restart.
I have a few questions if you can answer them.
Can I create a chunk list greater than 10x10 chunks?
Is there a place where you can visimanete the "coordinates" of the various chunks?

Translated with www.DeepL.com/Translator (free version)
bikinihorst  [autor] 9 MAY 2023 a las 10:34 
you can make a chunk list of the map areas you need to regenerate but that is probably not worth the effort. adding map mods mid game is always iffy, in particular with some becoming loot sterile because of broken zoning definitions.

will this mod help a savvy admin in doing this? only the "map and dump a list of the chunks that need to be deleted" kind of way. the rest is up to you.
JuiceZ 9 MAY 2023 a las 10:29 
will this mod help fixing late map mod indstallations?
Trying to add research facility to my map, but dosent seem to load in.
Ravencreek is installed from start and works.

Before i tried to add research facility, i already been i the location where it should be located.
So thought it could fix it, if i could reload the chunk
bikinihorst  [autor] 26 ABR 2023 a las 5:52 
you need shell access of some sort to run the scripts. i never had any administration experience with anything other than dedicated server running on bare metal, so your guess is as good as mine, if yours supports that. this mod just spits out a list of chunks that can be processed in any way an admin needs. if you're on windows there's also somebody who made a windows version down the line in the comments.
pynoTTV 26 ABR 2023 a las 5:45 
okey, I don't need a dedicated server, right?
These are operations that I can also do from the administration panel offered by my hosting service, am I wrong?
bikinihorst  [autor] 26 ABR 2023 a las 5:41 
like i write in the description: you can make a chunk list with it, it does not wipe the areas or anything like that. i bundled scripts for linux bash that can do it but you'll need to do it yourself.
the area for selection should in general not exceed around 150 tiles in diameter because that is when the world begins to unload squares.
pynoTTV 26 ABR 2023 a las 4:29 
so I can wipe small areas of the map with this mod, right?
How big can I make the area before it doesn't register?
I've noticed that when I move I get errors (while outlining the area on the ground)
When is the zone wiped? On the next restart? Thanks for the answers!
[Z] 13 ENE 2023 a las 13:01 
Thanks a lot for your mods!

Is it possible to add another option, so we can highlight an entire area? just like adding a custom safehouse

Would be really helpful for bigger area

Thanks again! :steamthis:
bikinihorst  [autor] 8 ENE 2023 a las 3:14 
I packed my own bash scripts in here because I wanted to help people to see how they can use the lists generated by the mod. I did not intend to make more of them. The mod is the Lua part, not the bash side of how to use the lists. If you create one of these randomized scripts feel free to share it with others in a discussion.
LameGirlyCurly 7 ENE 2023 a las 3:13 
Very handy tool.

Would it be possible to add more "randomness" into the mix?

The script would pick a configurable number of chunklists from a "master-list" (The "master-list" contains all the chunklists user has made). Each time the script would remove only a part of the master-list. Each restart would remove the same configurable amount of chunklists from the "master-list" and after all the lists would've been wiped once the master-list would be restored and the random cycle would start over.

I've made 57 different chunk-lists from the map, basically dividing all of the non-residential zones into smaller lists (Louisville as an example has around 10 different lists). Having all the reset-area wiped at once makes it way too easy for players to predict when to go and loot all the "high-value" items and more randomness would make it more interesting imho.
TIFFANY 11 DIC 2022 a las 1:25 
Self-resolved. Thank you for your patience.
TIFFANY 10 DIC 2022 a las 23:35 
@sony

I cannot copy the following in the bat file

"for /f "delims=" %%a in ('dir /a-d/b "%d%"^|findstr /g:"%f%"') do (copy "%d%\%%a" "%bd%\%a")"

am I wrong?
Tofuman 4 DIC 2022 a las 4:10 
Understandable, cheers for an amazing tool!
bikinihorst  [autor] 4 DIC 2022 a las 3:53 
i can't help you with that, as it is an OS / user related thing. the message says you do not have write permissions on the folder and if you chown -R usertryingtodelete then it should work.
Tofuman 4 DIC 2022 a las 3:22 
that I did, I even chown the the whole zomboid folder. Anyway, I believe map_XX_XX.bin has been deleted and that alone is enough to refresh the map after testing.
bikinihorst  [autor] 4 DIC 2022 a las 2:49 
the user you are using to access the files does not have permissions to access them. make sure you are executing the script as the savegame owner
Tofuman 4 DIC 2022 a las 2:41 
very useful but why do I get

/home/XXX/Zomboid/chunk_remove.sh: line 17: /home/XXX/Zomboid/Saves/Multiplayer/servertest/isoregiondata/datachunk_913_970.bin: Permission denied

message?

I already added chmod -x to the sh files.
bikinihorst  [autor] 10 NOV 2022 a las 1:37 
only by deletion of the files on the server side
nigel 9 NOV 2022 a las 20:19 
Do you think there's a way to reset chunks in-game?
zestar 19 OCT 2022 a las 14:47 
I really like this tool so much, please add a backup then clean then restore option. thanks
Ssaulabby 18 OCT 2022 a las 21:54 
awesome, very useful tool to run my server. Thank you for your service
Mark 1 SEP 2022 a las 18:22 
for windows:
chunk_remove.bat
[code]
@echo off
set "d=C:\Users\%username%\Zomboid\Saves\Multiplayer\servertest"
set "f=C:\Users\%username%\Zomboid\Lua\chunk_lists\removal_list.txt"

for /f "delims=" %%a in ('dir /a-d/b "%d%"^|findstr /g:"%f%"') do del "%d%\%%a"
pause
[/code]
Woodbinka 29 JUL 2022 a las 15:28 
This is a great idea! Would it be possible to make this accessible through ingame map as well? Would it make much easier to make big chunk lists without having to travel there.