Project Zomboid

Project Zomboid

blindcoders Modding Utility
87 Comments
초특가야놀자 16 Jul @ 7:36am 
I'm having the same problem. I went through the discord link at the bottom, but link is error. Can you tell me a new link or workaround?
blindcoder  [author] 15 Jul @ 12:35pm 
Hey Moscow,

the mod is fine, PZ is currently failing to download any updated mod. Please check the discord thread, I posted a script that you can try to run in your docker container to fix downloading mods if you're comfortable with it.
Moscow Nights 15 Jul @ 10:50am 
Hi!

So I'm using bisect as a dedicated hoster and the mods failing to download, I tried to use the fixes below but the server tries to download the mod still, could you let me know when you think the mod would be fixed?
Shelby 15 Jul @ 2:20am 
@KHALAIL "I solved the problem using the same method. I can't even tell how many hours I struggled."
Sneezingprince 14 Jul @ 7:31am 
Thank you for your work!
blindcoder  [author] 14 Jul @ 6:57am 
blindcoder  [author] 14 Jul @ 6:53am 
Again, I am truly sorry about this. Once TIS have fixed updating mods from the Workshop, this will no longer be required.
blindcoder  [author] 14 Jul @ 6:53am 
Edit the file "appworkshop_108600.acf" and make sure the references to "503640135" look like this:

"WorkshopItemsInstalled"
{
"503640135"
{
"size" "308083"
"timeupdated" "1752497234"
"manifest" "5926586790091068206"
}
}
"WorkshopItemDetails"
{
"503640135"
{
"manifest" "5926586790091068206"
"timeupdated" "1752497234"
"timetouched" "1752500784"
"latest_timeupdated" "1752497234"
"latest_manifest" "5926586790091068206"
}
}
blindcoder  [author] 14 Jul @ 6:53am 
As a workaround, this should work:
Download 503640135.tar.gz or 503640135.zip from https://github.com/blind-coder/pz-bcUtils/releases/tag/v1.2.2 (it's the official repository, uploaded by yours truly).
Copy the file to your server at the directory "content/108600".
Extract the file there.
You should now have a directory "503640135" with the mod data in there.
blindcoder  [author] 14 Jul @ 6:34am 
I'm reaching out to other people to try and resolve this. Sorry for this.
SERI 14 Jul @ 6:27am 
I'm using a Google VM instance and checking file creation/deletion via FileZilla.
I confirmed that the folder was fully deleted, then reinstalled SteamCMD, which generated new replacement files — but This Workshop item still fails to download.
SERI 14 Jul @ 6:12am 
@KHALAIL

I already checked the link you shared.
Even after deleting the linux64 folder and completely reinstalling SteamCMD on my VM instance, I'm still getting FAIL ID=503640135 when trying to load the mod.
Nothing seems to change — it just keeps repeating DownloadPending and fails in the end.
Mint_A 14 Jul @ 6:02am 
If you follow this method, the problem will be solved.
blindcoder  [author] 14 Jul @ 6:01am 
I was able to fix it using the info from khalail's link.
I ran these commands in my server:
root@zomboid:~# cp steamcmd/linux64/steamclient.so pz-dedicated/linux64/steamclient.so
root@zomboid:~# cp steamcmd/linux32/steamclient.so pz-dedicated/steamclient.so

The actual location of the steamclient.so files might vary.
khalail 14 Jul @ 5:39am 
@SERI, Plz chk my link
SERI 14 Jul @ 5:35am 
Same issue here. Cloud VM setup, nothing updates, nothing works.
blindcoder  [author] 14 Jul @ 5:18am 
I was able to reproduce the error, investigating rn.
SERI 14 Jul @ 5:13am 
LOG : General , 1752495210715> 370,459,344> Workshop: DownloadPending GetItemState()=Installed|NeedsUpdate|Downloading|DownloadPending ID=503640135
LOG : General , 1752495210715> 370,459,344> Workshop: download 5840/222544 ID=503640135

sbd helpme
blindcoder  [author] 14 Jul @ 5:05am 
Thank you khalail!
Hunter 2-1, let me know if your issue is fixed.
blindcoder  [author] 14 Jul @ 4:27am 
I found a similar issue here: https://steamproxy-script.pipiskins.com/app/108600/discussions/6/3784750482960866912/
Can you check if that fixes the problem for you?
Hunter 2-1 14 Jul @ 4:26am 
i thought the same. no more errors just that line and crash y both 2 servers we have
blindcoder  [author] 14 Jul @ 4:21am 
@Hunter 2-1
Are there any other errors that might help? that sounds like a download problem...
Hunter 2-1 14 Jul @ 4:18am 
After the update, it makes my b41 server crash on Workshop:
"item state DownloadPending -> Fail ID=503640135."

already tried everything so i guess is something update related. Time to remove some mods that require that library
blindcoder  [author] 14 Jul @ 2:54am 
I just pushed an update that makes this mod compatible to B42. It should now work with all Zomboid versions. Please let me know if there are any issues.
Steve Popcorn 9 Jul @ 11:26pm 
BzoukHotbarnew mod uses this mod too
Sneezingprince 5 Jul @ 7:00am 
Edit, I figured out, its the "Spray Paint" mod for B41 that uses this mod
Sneezingprince 5 Jul @ 6:55am 
I have this mod installed but dont remember why, does someone know what exactly it is used for and how to check which of my other mods uses this framework?
samuel BELLAKO 10 May @ 6:54pm 
hi
pimatstudio 16 Feb @ 11:44am 
Can one force-update it for B42 without functionality loss?
EK 28 Dec, 2024 @ 9:15pm 
Hi, great mod, when u can, can updated to B42 pls? ty a lot! :steamthumbsup:
thesimphany 28 Dec, 2024 @ 4:13pm 
Please consider to keep a build 41 Version for those of us That will be remaining on Build 41 And the servers and files we have used for Years
Positivi_Tea 17 Nov, 2023 @ 4:08pm 
Blindcoder! Funny seeing you here while I'm scrolling through haha
blindcoder  [author] 4 Sep, 2022 @ 11:05pm 
@Orc: Oh, thanks. I'll fix that!
Orc 4 Sep, 2022 @ 4:30pm 
Just in case you were unaware, you have been uploading your entire git history within the workshop mod.
LilArtPuppers 9 Jul, 2022 @ 12:45pm 
i tried to use this and the spraypaint mod on my server but don't think it is compatible with the Hydrocraft mod
blindcoder  [author] 3 Feb, 2022 @ 11:53pm 
Thank you :) :spiffo:

@Kable: That'd be possible except for the Moodlets. They are so deep in Java code that it hurts. I've heard it said that that IS on the TODO list for TIS, just pretty deep down.
Tchernobill 3 Feb, 2022 @ 11:45am 
@blindcoder it's not said enough that you rock.
Kable 7 Jan, 2022 @ 3:26pm 
@blindcoder is it possible to mod a toggle option to move the GUI around? I play on a 2160p resolution and the moodlets are so tiny.
blindcoder  [author] 3 Jul, 2021 @ 11:13am 
@sf:
That's interesting. I'll investigate this! PZ is using kahlua, which is actually slightly different from "normal" Lua in some areas.This might be such an area, or it might be a genuine bug that "just happened to work". I'll check it out!
sf 3 Jul, 2021 @ 12:28am 
sorry to interrupt again, but this is prob last time for this one.
I just felt compelled to at least report it (coder's duty). Pls ignore where applicable.

The escape thing I told you about? I think I wasn't clear before. You were talking about escaping the regex expression. I was actually referring to escaping the in-code string itself (for the lua parser) which seems to require changing the "\." in the regex string to "\\." to work with some lua implementations (actually just using Lua 5.2 on windows). It seems to report error no matter using dofile or require until I added escaped "\".

PZ may be using a more relaxed parser which means it does not really matter practically (nobody complained, so prob nothing needs to be done). Would be bad if PZ is actually doing something different completely (e.g. "properly" escaping the string actually breaks it in PZ) which I am hoping is not the case.

sf 2 Jul, 2021 @ 12:28pm 
Yeah I think the problem is with the lua interpreter I am using, that reads the file in "as is" (I was using dothis("filename") ). It prob won't have problem in a "native" executing environment, e.g. directly being executed by the binary. I was just using an command prompt to pick up the language faster by dynamically examining the variables and trying out commands.

Thanks for the reply and sorry for troubling you over such inconsequential matter.
blindcoder  [author] 2 Jul, 2021 @ 11:32am 
@sf:
It's not the backslash that's escaped, but the "." (dot). In this case, it's to escape the special meaning of "." in regular expressions. In regular expressions a "." means "any character, once", whereas "\." (escaped dot) means a literal dot character.
sf 2 Jul, 2021 @ 8:32am 
sorry to disturb

Just wondering about bcUtils.lua:181 and similar :209
[code]
currentCat = string.match(line, "[a-zA-Z0-9/ \.]+");
[/code]

Is there a need to escape the backslash? I got an error when trying to load the file in a normal lua interpreter (picking up lua). I never seen that problem with PZ itself, so I don't know if it will cause any problem.
jUG_05 2 Apr, 2021 @ 10:52am 
good stuff, man!
blindcoder  [author] 2 Apr, 2021 @ 10:42am 
@JUGO5: Hell yes, it did! Why update it when it's not broken ;)
Just added a new readINI function to read files from mod directories to support my Mod Release Notes mod.
jUG_05 1 Apr, 2021 @ 12:37pm 
holy fuck this updated after like 6 years lol
blindcoder  [author] 8 Jul, 2020 @ 6:37am 
Can you bring that up with Hydro? This mod uses its own namespace and doesn't interact with functions outside that namespace.
TheIdiot 7 Jul, 2020 @ 1:34pm 
Devin L - yeah, I'm experiencing the same issue as well. I have nearly 40 other mods, but turning this on breaks Hydrocraft 41's item spawns.