#pzwiki_editing
1 messages Β· Page 74 of 1
hi, is there some way to save a page in the Wiki without making it public?
it will get public at some point, but while I'm not 100% finished I prefer to keep it not visible by visitors
You can Edit your own page under your name
You could just copy the page code and paste it in notepad or something and save it for later. Thatβs what I do for pages that might take a while.
thanks
Any clue if the mediawiki API is enabled for Zomboid wiki?
I'm getting this error when trying to submit some edit through the API:
"error": {
"code": "hookaborted",
"info": "The modification you tried to make was aborted by an extension.",
"*": "See https://pzwiki.net/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
}
}```
@restive adder Hi, Are the you person responsible for the wiki?
@vital raptor Hi! Can you help with this?
@young patrol it's me yes
We've not enabled/disabled the API afaik
Tue Nov 09 20:18:15.474928 2021 the spam module ate your call @young patrol . Don't think I can do anything about that, we have a big problem with spam without it
@restive adder: I'm trying to have an up-to-date version of the list of Lua events, but there's like hundreds of them, each one requires it's own page. I made a script to do it automatically, but it would take me forever if I had to create hundreds of pages manually
would it be possible to whitelist my account?
I'm no spammer I swear π
I made a few mods for project Zomboid on steam: https://steamcommunity.com/profiles/76561198056536755/myworkshopfiles/
I generated the Javadoc for version 41.56 of the game and put it online here: https://quarantin.github.io/zomboid-javadoc/41.56/
And I'm also involved with the upcoming community API to help modders https://github.com/Konijima/PZ-Community-API
@vital raptor knows about it
I'm available for voice/video chat or anything else if you like
@restive adder Hi, have you seen my recent messages? I can help you setup the anti-spam. If I'm not mistaken you're using CleanTalk anti-spam service, it's fairly easy to whitelist an account or IP address. Check here: https://cleantalk.org/help/blacklist-usage
@vital raptor Hi, what's your stand on this issue?
Yes, I'm working $dayjob. I'm still a bit skeptical, honestly. Just mass creating wiki pages without containing any useful information about functions, just an an empty page, doesn't sound a good use of limited system resources.
@restive adder Not empty pages, I can automate this for example https://pzwiki.net/wiki/Modding:Lua_Event/OnTickEvenPaused
We've also got https://projectzomboid.com/modding/
@restive adder the javadoc you mention is from 2015, fairly out-of-date, many class/methods are missing from there
@frail fossil should we update the javadoc? See above
@restive adder still updating the javadoc won't fix the wiki that's also out-of-date for many things, ask on #mod_development, other people will confirm this. I'm thinking for example about @fallen egret, @solid wing or @quiet cosmos
we need automation to keep the wiki up-to-date, and I can provide this (for free, on my own time)
also I don't plan to replace the current pages, but just add new ones for version 41.56, so we can live with both
instead of Lua Events (the current page) I could create Lua Events (Version 41.56) so that won't delete anything
I spent hours on trying to solve problems because the wiki was not up-to-date, like looking for events that should be there, only to end having to reverse engineer the core engine to find the answer
If you can absolutely confirm the automation won't leave empty frame pages, but fully documented functions, with more than a single line of description, it's fine
I can look at CleanTalk potentially later. Probably need to update the plugin and do some bits. Has to be around my ill health and $dayjob though, so may take some days.
Those with a single line of description should probably be summarised in a table on a meta page
I can assure you Automation won't leave any empty frames, at minimum I will provide the same as existing pages, but with all the missing events added. Regarding fully documented functions, that can't be automated, a human would still have to reverse engineer the code to understand exactly what each function is doing. I can contribute to this, but doing all of it would take me months. But if someone has the description available I can add them automatically yes
and of course I understand you have other priorities with life, same for everyone, I can be patient
@restive adder I don't mind sharing my ID card or whatever with you guys, to assure you I'm no spammer (which I know is a big problem for most wikis)
Also I can probably automate items, weapons etc
That's not in the cards atm, that's why they're doing it themselves.
Hey guys, is undeniable offline? the site used for the crafting receipts?
seems not legit to me
delete it then
check SSL certificate and if its not certified by Discord its not legit
even the steam login popup is fake, well at least seems fake
βDiscocrdβ lol
Disc0rd lol
lol
Hi, I'm working on refreshing the Modding:Lua_Events pages, I'm not finished yet, but what do you think? Any thing I could improve on the general format / presentation?
https://pzwiki.miraheze.org/wiki/Modding:Lua_Events
https://pzwiki.miraheze.org/wiki/Modding:Lua_Events/OnCreateLivingCharacter
Anybody know if https://pzwiki.net/wiki/Club_Hammer can be used as a hammer?
ty ty
Interestingly, flute shares AttachmentType with Knife lol
belt position?
huh, gotcha
You want to look at the tags, such as for the regular hammer Tags = Hammer;RemoveBarricade,
Hammer as a tag defines an item as functioning as a hammer; a club hammer does not have that tag, and cannot be used as a "Hammer".
Good to know - but crafting recipes don't search for tags, do they?
AttachmentType just references how/where it's attached as a hotbar slot.
Some do, some don't.
@elder estuary if done correctly they should check for tags
you could try to backup your .txt file, and add the proper tags, see if that make it work like other hammer.
don't know if it's enough or not
anyone know what this means?
Yea, you'd probably need to see where it's called from and what it's actually used for. All there really is to go on is the traits that affect it and the name of the function.
There's a guy working on a mod manager in java, looked at it for a bit and it was pretty cool.
Yea, ik. But they probably have tools that can write the lua scripts for item definitions etc. very quickly and that might be easier than loading arbitrary java code
Also for wiki editing, reading lua is a whole lot easier than having to have a decompiled version of the game sitting around tbh. I only have the decomp on my desktop
Isn't Lua more light on code and performance or something like that?
I just use findstr, the windows function
The lua directly calls Java code, so not really
@quartz bear familiar with findstr? Super helpful for seeing what the lua bit does or which file has item definitions. I'm sure linux has something, maybe grep?
Pff, goes back years to Warcraft 3 when I was Thing_II and my friend was Thing_I. Just kept the name for all these years π
findstr /snip /c:"[the string you want to find]" *.*
Will recursively search from the current directory for the string in all non-binary files
@young patrol You're whitelisted now, try using the API now
@restive adder Sweet, thank you! Will check it out today π
@restive adder Ok I confirm it is working. Thanks! See: https://pzwiki.net/wiki/Modding:Test
So I propose the following to proceed, instead of overwriting the existing pages for Lua Events I will write them under the section "Modding:Lua_Events" with a 's' at the end, while the original version is "Modding:Lua_Event" without the 's'. So I won't break any existing page. Then we'll be able to check if everything is OK, and decide to switch to new version or not. Sounds good?
In case something is really wrong, I can just delete all the pages I created so there shouldn't be any problem whatever happens
and I already tried my stuff on a custom mediawiki I setup so it should be safe
It's here if you want to check it: https://pzwiki.miraheze.org/wiki/Modding:Lua_Events
@restive adder Sure, any recommendation? So far I've been using a 0.5 second delay between each edit for my custom wiki, should I use a higher delay for official wiki?
I would use 2 seconds. Can run faster if you run it 0100-0700
Ok perfect, 2 seconds is fine. I'll remember the 01:00 / 07:00 window in case someday I need to make many edits quickly π
@restive adder I'm not sure what happened, but it seems I'm not allowed to use the API anymore. I got an issue, like when the edit request fails, I retry up to 5 times before giving up, except the wait delay was not used in case of a retry. So I updated my code to add the 2 seconds delay also on failure. But before that, my script made 1 unsuccessful request (probably due to a network error or something), then retried 4 times without any wait delay before I was able to interrupt it. I guess this might be the reason why my account is not allowed anymore? Could you have a look please? I'm sorry for the troubles π΅βπ«
@restive adder Also would it be possible to enable this wikimedia extension for code syntax highlighting?
https://www.mediawiki.org/wiki/Extension:SyntaxHighlight
Otherwise I'm getting this:
instead of this:
if it's too much trouble I can still use a preformatted block like <pre></pre>, but it's not looking as good
Extensions are a nightmare to maintain, because MediaWiki's update mechanism is trash, so only if it's essential
What IP address were you hitting from? What error message did you get?
@restive adder I'm not able to contact you via DM, and I'm not sure I want everyone in there to know my public IP, how can I send it to you?
@restive adder Regarding the error I get, it's the generic error when you're not allowed to use the API. Here it is:
{'error': {'code': 'permissiondenied', 'info': 'The action you have requested is limited to users in the group: [[PZwiki:Users|Users]].', '*': 'See https://pzwiki.net/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.'}}
Is your bot logged in?
it's not a bot, just a script I start on my computer when I need to, but I'm logged to the wiki with my web browser
Hurrah! Thanks to Kirrus I was finally able to update all the Lua Events in the wiki! π
https://pzwiki.net/wiki/Modding:Lua_Events
@digital helm Hi! Just to let you know about the updated Lua Events on the wiki. When everyone agree the new version is OK, we can remove the old version, and all sub-pages. And just so you know, I can definitely help you with that! π₯³
Suggestion - I realize it's not highly automatable though. For events that are obsolete, such as https://pzwiki.net/wiki/Modding:Lua_Events/OnBeingHitByZombie, it would be very helpful if there was reference to either the replacement event or a work around.
The links to pz's documentation is super handy though. Great job π
@elder estuary my idea was to have the replacement event listed in the "See also" section
Seems good if a replacement exists
About proposing a workaround if there's no event to replace it, that would require a lot of work
Yeah, of course. It would take more than just you to do it probably. Just suggestions
@elder estuary yeah. In the meantime you can still contribute to the "See also" section, the JSON I'm using to generate it is available here
https://github.com/quarantin/zomboid-wiki/blob/main/data/json/see_also.json
It's something I'm interested in. What do you think about providing code samples manually as time goes on? I might take that up if you think it would be handy
@elder estuary yeah I would definitely add the code samples if someone is willing to write the code
Sweet. I wouldn't count on it in the near future, but I'll put it on my todos π
nice!
Do you know how much the lua events change with updates?
let's talk about it when it's the next item on your TODO list π
Sure π
actually no, I've only been paying Zomboid since July, so only update I've seen is 41.55 => 41.56 and at that time I did not monitor the events yet (and at the beginning I was only playing the stable release so...)
Okay, we can see as time goes on π Great work!
thanks!
@elder estuary regarding your initial question about OnBeingHitByZombie, maybe check this one: OnWeaponHitCharacter
I'm not sure though, cause it takes a HandWeapon
I brought that one up specifically because I'd played around with it and couldn't find a workaround 
If I remember right, it was only called when the player attacked and wasn't called for zombie attacks at all.
mmm ok
@elder estuary one last thing, since you've been using the event OnBeingHitByZombie and I couldn't find any place where it's triggered, could you give me the list of parameters it was taking?
just a zombie?
I don't actually know, I only tried to find a work around when I saw it wasn't called anywhere lol
Uhh, you can maybe print out any subscribers to the event?
Obviously that would require you to have the mods installed
even if I could, I would still need to have all the existing mods available π
Yeah lol - not going to be a way to search from the workshop I don't think
If you had a big drive you could subscribe to all workshop mods and grep for event names... lol
how would you subscribe to all the possible mods?
Maybe steamapi has a way to do something like that?
clicking is not a valid answer π
^ refer to my last answer
good luck π
thx, going to need it π
ok so I have all the steam workshop ids, now I need to figure out how to get the actual data π
oh I guess I could try to use https://steamworkshopdownloader.io/ from a script
tampermonkey ftw! π
@quartz bear I found another website which seems less boring
well it's also a two step process, but if the file has already been downloaded through the server then I can find the URL knowing the fileid of the workshop item
worst case I get only a subset, which I won't have to download through another way
@quartz bear any clue about the licensing of workshop items? From steam point of view I mean
wondering if I can upload the result to somewhere public
π
I think you're the only person that enjoys that.
Could be useful, co. I see a license section and I think you'd technically be a subscriber despite not directly subscribing to the mod
Because I hate other programmer's APIs. Most of the time they're made to do only what they want it to do. Spotify's for example is horrendous.
Sure, but it makes them horrible to use and you might have to make 10 API calls to do something that could be done in 1. And often they return you loads and loads and loads of garbage that you don't need because they want to fit 20 functions into one.
Not true, you have to at a minimum recreate the return type that they give you unless you're using an interpreted language
Trying to implement the Spotify API returns is so boring because they won't make simple API calls for common requests
And sometimes it's so painfully obvious that people don't know how to make a database that they make public. Saw one that had essentially an array of 10 items for the ingredients for particular drinks. More than 10 isn't allowed, less than 10 has empty elements lol. So much waste.
Usually the API won't tell you much of that and it's mostly how the backend works, no?
Oh lol, gotcha. I'd not thought of using the API as a means of seeing what is handled front side
Anyways - back to work π¦
I need to boost this server, I enjoy the emojis too much here
I'm lucky that my boring job pays pretty well for a student
24, getting old
I wouldn't know - never left school lol. Wish I'd started programming more than 6 years ago though, I can tell you that much.
True - one thing that I never accounted for is just how long making a good meal will take.
find a job, pay the rent, the taxes
I used to be very introverted, things change. (for some people)
At some point I realized that it's no different for people you don't know. They're the same as randoms on the internet after you leave school lol
For me too, I just don't care that I'm awkward lol
@elder estuary it can still be very hard to achieve for people with autistic personality etc for example
Oh for sure, I'm not trying to trivialize it, just explaining my experience.
got ~700 out of ~2500 items so far
Also had the benefit that we didn't have many jackasses throughout my schooling lol. I imagine if people were mean, it wouldn't have been so easy to just wave it off
Workshop items?
yes
What's your goal with them?
I'm thinking about indexing part of the content so that I can make a tool to search for mods that use specific Lua events π
should be quite handy for modding
Just to get some sample code?
well not for the wiki, but like if you want to see how a specific event is used it can be nice
Assuming it ends up being legal from a licensing perspective, it might get posted on the wiki if you share it with Vaileasys when it's finished
I'm not sure that would fit in a wiki
to make it web accessible I'd need a backend language of some sort
Nah, just a link to the github releases or the website if you go that far
ah yeah
but it;s not like static pages
to use it you'd have to download the workshop items yourself
Oh I see - that makes sense
if I don't want to risk legal infringement in my face
and I don't! π
heh
@quartz bear yeah well but I'm a responsible adult, so I can't allow myself to do that. See how boring it is to be an adult??? π
True. They are publicly accessible for free though, so maybe if you don't distribute but just provide snippets it could be okay? And maybe even if you compiled just those snippets into the executables. Unsure, but I could see that changing things
Why not? Maybe a bit large, but if you're not packaging the entire mods I don't see why it would be unfeasible
I suppose this is just a snapshot of the current workshop though
@elder estuary are you taking about a windows executable? π
Cause I'll definitely never do that, no way
Why not? Doesn't even have to have a GUI
unless someone is willing to pay me to do it, at my usual rate
@elder estuary because it takes time?
and also I don't have any Windows available
I always figure the user interface takes me 1/5th of the time it takes me to do the rest. If you're making 4/5 of your stuff publicly accessible...
@quartz bear also too, but I like doing it
Lots of stuff is abstracted away from being platform dependent. I use java because although it's disgusting, I like the GUI stuff available
I would definitely never code in java unless there's no other way
Understandable
it's way too verbose
I forgot that C# is platform independent basically by default as well
well for a specific definition of platform independent maybe, but in real life it's not π
I like verbosity. It makes finding things incredibly easy. Python is impossible and C/C++ you have to look at how it is compiled
Microsoft would have to publish the actual specs of its language, not just a subpart of it for that to happen
platform independent meaning code you write will by default be accessible for Linux based and Windows unless otherwise specified by something you're using, I believe.
yes, assuming you have interpreters that behave the same way on both OS
No, using preprocessor commands
not sure what preprocessor commands have to do with C#
Because the underlying things you'd use are likely written in C/C++ and utilize preprocessor commands to make them platform independent
is C# preprocessed at all?
I assume you can write them if you want, but in practice I'd be surprised if anyone uses them
@elder estuary ah yeah, but platform independency of C# is just a myth
Why is that? I've actually not tried, just speaking from a hypothetical perspective here
Did microsoft release an opensource version of its interpreter?
Platform independent meaning it supports the primary OSs
the IL is interpreted
it's like java, half-compiled, half-interpreted
anyway I don't like any of these bloated languages
Strict C man I see
I only code python these days, unless I don't have an alternative for what I'm trying to achieve
Java JVM is an interpreter so to speak
like I do Lua for pz, cause I don't have a choice
@elder estuary yeah I do like to code in C, but I don't do that much anymore
@quartz bear which ASM?
Partially, JIT isn't all encompassing I believe
do you have a Java processor ?
or a C# processor for the matter?
if no then it's interpreted
that's why you need a JVM to run java programs
JVM is just a Java bytecode interpreter
Again, I'm like 75% sure that not everything can be JIT in java. I don't have anything to back that up off the top of my head though.
@quartz bear unless you have a CPU that knows how to exec java or C# opcodes directly then it means the language or it's bytecode representation is interpreted basically
@quartz bear read the code of the JVM you'll understand it's interpreted
it all relies on native methods, which are totally platform dependent
oh man is it #pzwiki_editing ? π
Been thinking about that for a while...
well nobody is complaining for now...
Well, I'm officially done working so I'm outta here
Unfortunately I've got some errands to run. So, no go boss.
π
@quartz bear another way to see it is interpreted, can I load some java bytecode into some memory area and just make the CPU to jump to it? Without having to process the bytecode first?
so IL is not native?
bytecode doesn't have to be native
assembled code does though
to some big chunks of predefined native codes
so by that definition, python can be a native language too then
well I don't really know much about C#, but at the time I looked at it, there was obvious evidence it was not portable, like programs working on windows, but not on other platforms, cause at first they only published a subset of the standards for their language, which means other implementations were at a disadvantage, that's why
but obviously things have changed since that time
had no idea they had an opensource implementation for instance
Also I don't like to learn and don't want to rely on programming languages designed by crap corporations like Microsoft is
they run a business, they proved over and over again they don't have the interest of the user in head
at least not before their own
and I only learned Java BEFORE Oracle acquired Sun
Oh I believe you about that π
I know π
well you do know quite a lot about computer internals compared to other people at your age π
oh geez, now that I read what I wrote, it really sounded like an old man speaking, damn π
aww thanks man β€οΈ π
π
@quartz bear no sleep at all?
that's no good!
Ok, in like 5 or 6 hours hopefully I should have at least 90% of the mods available on steam
At first I thought 2500 mods wouldn't be too big, until I realized some mods are ... maps π
so what I do now, for each zip file I download, I check it straight away to see if there's at least one Lua file, if not I delete the file
hopefully I'll have enough disk space available
for now it takes 4GB for ~400 mods, I have 90GB free, should be OK
@quartz bear @elder estuary I did it! π
or well still missing like a 100 mods or something, not sure why I couldn't get those, tried many times
I can live without the missing 100 π
@quartz bear I computed those stats. Number on the left indicate how many times I could find a given event across all steam mods
@digital helm Hi, could you please delete this page? It was created by mistake during a test but I don't have permission to delete
https://pzwiki.net/wiki/Modding:Lua_Events/AcceptedFactionInvite%3Ftest%3Dblah
yes
@quartz bear I guess you can never know what a guy would be up to after losing his characters for various reasons π
Is it too big? I want to make sure no one can miss the new page π
https://pzwiki.net/wiki/Modding:Lua_Event
seems good to me π
Only thing left to do with it is fill out the rest of the nonexistent pages
while you guys do that ill search everywhere for first aid
@fair juniper you must be looking at the wrong page?
There's no more dead links in the new Lua Events page
@thorny pike ?
all the red texts are non-existent, no?
yes
oh
you mean related to what I said earlier?
I was just talking about Lua events
I only made the Lua Events page for now π
@thorny pike I guess most items could be partly automated too, but for example I couldn't automate the description stuff I guess, like here https://pzwiki.net/wiki/Glasses or here https://pzwiki.net/wiki/Leather_Jacket
like: "Glasses are frequently found on zombie civilians.", or "The glasses are common around Knox Country, often stored in houses." etc
it should be fine, fairly easy to type/copy and paste and change up a few things anyway
thanks!
@thorny pike but how do you copy/paste text that doesn't exist yet?
for the missing pages
ah i meant like this:
"Glasses are frequently found on zombie civilians." changed to
"Jackets are frequently found on zombie civilians." and just manually copy to Jacket page
(just an example, the page is already done)
it takes a loooooong time, but it gets the job done
@thorny pike problem is for the Nuclear Biochemical Mask you'd also get that description, which is totally bogus
for sure, but i'll just copy and paste the clothes that are frequently found on zombie civilians first and then do the rarer clothes
very ineffective, i know
unless someone manage to find a better way, that would be great
I'm talking about automating the stuff, not doing it manually like a robot π
@thorny pike for example for the Lua Events, I had to manually reverse engineer every available event, so I could make a file like this: https://github.com/quarantin/zomboid-wiki/blob/main/data/json/events.json which in turns allow me to generate automatically all the pages for the Lua events
so to do the items properly, I'd need a file similar to this one
there's like 220 Lua events so it's manageable by a single person like I did, but for items there's just so many of them
with that many items i doubt we'll manage to do it anytime soon lol
yeah that would have to be a group effort or it can never happen
I could still generate the file with empty description so other people can fill in the blanks
but looking at how hard it is to just get people to look at the event page just for review, I don't really believe that would work
@quartz bear no need to get the mods to find the events
@quartz bear The idea was threefold
- I wanted to find out if some events are still triggered even if I can't find any trigger in Java code
- get the signature of some events for events where I can't find any triggers (parameters etc)
- Be able to tell which mods use a given event, so you can check the mod to see how it's using it
and also I was able to make some stats about events usage across all mods
but that only came later
@quartz bear why?
@quartz bear well how do you think I did it? π
but that would be called reading code, not reverse engineering then π
Anyone able to confirm that an item called 'Tool Belt' exists as the wiki seems to indicate? IIRC, it's not defined in lua
o7
speedy mods are speedy
@elder estuary Hi, are you updating the list of items on the wiki?
Creating pages for dead links. Focusing on clothing since thereβs a lot of red right now.
nice
@elder estuary I'm thinking about automatizing wiki pages for items too, my only problem is like the description info etc that cannot be auto-generated
if you feel comfortable editing JSON file, we could agree on some format so that you do the strict minimum, and I'll generate all the rest
I donβt mind. Were you planning on parsing the Lua definitions?
I have a decent tool for creating them but if they were pushed to the wiki automatically that would be a lot quicker. Honestly I donβt mind just passively doing it while waiting on games to load and stuff like I do now lol
Of course
or well script items
How would you differentiate between real items and skins of others such as the ones that end in TINT
@elder estuary easy, if the name ends with TINT, then it's skin otherwise it's a real item? π
But that doesnβt work for the multitude of watches and things of that sort
@elder estuary I don't know, I never realized there was items with TINT before you mentioned it
can you give me some example I can check myself?
Like they can be manually parsed but I donβt think auto pushing anything would be a good idea
Working right now, sorry 
@elder estuary worst case I'd have to make a list of these items to ignore, shouldn't be too hard
Yeah. Itβs mostly clothing items that have TINT variations but also bags sometimes
It might just be fine to ignore any that contain TINT
well all the icons should be available in the game folder, so not really an issue
@quartz bear I would just have to write the script once, then it would work for any future update, eventually with small changes
like adding descriptions manually for new items added to the game etc
or if the format change etc
π
Do cotton balls do anything to disinfect a wound compared to using a bottle of disinfectant/bourbon/etc?
They must be used in conjunction with bottle of disinfectant/bourbon to my knowledge. Like they don't do anything by themselves (and probably can't be used without it)
As far as values of reducing infection, I don't believe it's any better. I can look into it shortly
Yeah, I know you need some disinfectant to use them, was just curious if they actually decrease the infection more, or if they're just a flavour item
A note on that though, a bottle of disinfectant is better at reducing infection than bourbon. From what I've seen about infections, they're given an initial value at the time of an injury and I'm not sure if they actually can get infected after the initial infection value is reduced to 0 through using disinfectants
I haven't looked at the code, simply looked at the debug health menu which shows that kinda stuff. Anyways, let me look into cotton balls quickly
Seemingly, yes, they are more effective. They have an Alcohol Power of 4 (same as the Alcohol Wipes) while disinfectant has an alcohol power of 3
The more you know :) thanks for looking into it, I appreciate it! 
Of course - it actually comes down to how much it takes to craft the cotton balls
So, using whiskey to disinfect twice is more effective than using disinfectant once (but requires more alcohol)
(whiskey has an alcohol power of 2)
Anyways, I'm not an expert, but that's the gist that I get from it from looking at item definitions
Certainly better than anything I could find, thanks again
Yikes
Who pinged?
Letβs gooo
We must stay quiet we canβt let them know weβre hiding here
shhh
shhhhh
comedy gaming will rise from ashes
Me looking for MP release
am I safe here? I'll continue editing the wiki...
People who spam are most likely small children
guys whatever you do dont ping everyone in chat in TheIndieStone server!!!
do dont ping xD
So just to clear something out next week the release of multiplayer is coming out
This eeekend or the weekend after?
this weekend i think
ye
Server is in flames
damn
Oh damn this weekend that seems too good to be true
at least it's peaceful here
Howβs life yβall
Iβve never seen anything like that
they said if the test goes well it will release before christmas
Things are great
pretty confident ngl
We should test it
life is good so far
someone got banned by that I wouldn't recommend sending gifs like that
nvm it's gone srry
ROGUE MOD
thick skinned and thin skinned might be bugged rn but they still work properly for the chance of creating a hole in clothes when walking through trees
I'm so tired rn I'll just add more details to the wiki later
is there a updated sandbox page for build 41 on the wiki?
Planning on doing some passes to the wiki over the next few days, do we care about preserving info pertaining to build 40 since build 41 is still technically beta? Or are we just going for it nowadays? Noticing for example this section at the bottom of traits https://pzwiki.net/wiki/Traits#Build_41
ye, i think atm all that's needed are reference notes for changes between builds, at least until they begin work on build 42 whenever that will be
Javadoc Project Zomboid Modding API package index
Who wants to update the wiki with all the new clothing items? π https://pastebin.com/8iACcnsU
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
https://sp00kzone.github.io/project-zomboid-server-guide/
PVP=
Controls whether players are allowed to participate in Player Vs. Player combat.
Default setting is true.
Public=
Controls whether players are allowed to participate in Player Vs. Player combat.
Default setting is false.
i... don't think this is supposed to be like this...
A quickstart guide to starting your own multiplayer Project Zomboid server.
Anyone know if I should be preferring
{{Crafting table header}}
{{RecipeLookup|x}}
{{Crafting table footer}}
or
{{Crafting header}}
{{Crafting/core
...
|}
or
{{Crafting header|ing=Y}}
{{Crafting general|X|ing=Y}}
|}
Hey! I've begun writing a how to dedicated server steam guide if you want to check it out: https://steamcommunity.com/sharedfiles/filedetails/?id=2678359176
It's still WIP but I hope to expand it later on. 
Woops this might not be the proper channel, I won't mind if it's removed π
I also noticed there was already a more in depth existing guide (although no mention of B41MP IIRC), I'll link it into mine, more information is never too much. π
Anyone interested in making a VHS page and how some can be used to level up skills? I donβt know how to make such pages, although, I could write something up for it potentially.
Side note. There seems to be a bug with the VHSs, where using them once will render it useless for a different character. I think Iβd classify it as a class βCβ bug, since it doesnβt affect gameplay all that much, except for when youβre two dead characters in (or just didnβt decide to watch Life and Living for your first character and just used the VHSs instead).
Unless this was talked about previously. Give me a second to search VHS here.
A lot of talk, but no discussion about making a Wiki page, nor about the bug. Iβll see about writing something then, and sending it to someone who can make the page.
Yes
pz wiki rewlly needs a whole lotta updating
i remember thinking about editing it a year ago, but i never gotten around doing it
maybe i can go do that now
i think the best thing i could do right now is to provide all of the new items that is now in the game
but first i think i have to rip out the item sprites first though..
does anyone know where i can find the description of what they mean by
"In-game mapping system.
Search mode and foraging system."
that isn't described in the notice, is it somewhere in the wiki already?
i think, in-game mapping system is the new map system where you have a map that expanded the more you explore.
search mode and foraging system is a new system they make to change the old foraging system in the game
Any chance someone smarter and more experienced than me could update the wiki on how to launch and play in a dedicated MP server? At the moment the wiki page is super bare bones and doesn't really guide a new player on what to do from start to finish. Sorry I'm so dumb and new. https://pzwiki.net/wiki/Dedicated_Server
I'm desperate to try it and give feedback
like i dont even know if i should have the batch file running at the same time as running "host server" from the main pz menu
stuff like that isn't touched on at all in the wiki
yeah we should script the image/sprite related stuff, devs add so much stuff its hard to keep up π
the sprites should be in the textures right?
For looking up specific items, it would be nice to know where you can find/craft them
hm yeah the loot tables are in nicely parseable files too
Unsure.
wait, idk how to extract the ui sprites
nvm i found the unpacker
ok i got it, now its only a matter of cropping it
like bruh, this is gonna take some time to do lol
Sounds like I should start writing a txt file for the VHSs to be pasted for the page.
Soon. Not tonight. v3v
i just did acutallu
wait
oh wait
hold on
it is running
ok done lol
i forgor about that lol

anyways
all of the items have been split
i see
well i could go and check if there are missing textures then
where can i find those
soo it seems that some of the recent ones, which is september 2021, have textures for a weed mod
dunno why its there
lmfao
this is pain
uhh
those pics dont contain any new stuff
while there are the other textures like you said, all items from 41.60 arent here yet
ok i think i know what to do
gotta categorize items that are not in the main items lists
which i think hasnt been updated since build 40 or somehting
wao
it feels like a chore trying to find the new textures that are surrounded by the previous textures
how many new items are there
cause rn ive only gathered 156 textures of the new items
Can someone edit the Noise Maker Recipe? It states that any Engineer can make noise makers, but that's wrong. They still need the recipe book. I'd fix it myself, but I can't figure out how to edit the recipe template.
while checking the sprites i noticed some new car parts
ar the bowling bags, and boxing related items new?
yes
No, those aren't new.
I've seen a few of boiler suiters on factory workers ages ago
gotcha
At least not all of them? So I suspect some of them could be new or were just lingering in the game files.
The red one isn't new for sure.
Yeah, those are new
Wait no, not dough cooked I think
But the doughnut is
Old
Old
also a bit of reminder
i think the item list in pz wiki is like up till build 40
sooo
Me and a few others have updated and made some pages for the b41 clothing and weapons.
Not all of them though.
oh oki
Well they did spawn back when mannequins had the chance to have any clothing on it
That's new.
Old but didn't really spawn much?
I'm not sure if it did spawn at all or it very rarely spawned.
jar, and chicken hat?
Leather jackets like that always existed but they've been changed now too.
Yeah, that hat is new.
The empty jar looks like it's recoloured?
Those were added ages ago in 41 I believe.
Just a junk item
yea but is it one of the new items
i mean listed in wiki
They were added ages in 41 but they rarely spawned
Oh you mean pages that jjust got made?
i have encountered it before
Yeah, we didn't have a page for that
BLack dress is new I believe?
Yeah, a lot of stuff needs updating. Issue is some of us are either addicted to playing the game currently or got other stuff going on.
There's not really too many active contributors
I'm active every so often until I burn out for a while.
and also like wiki just isnt that much updated all the time tbh
there is unused blue mug, but there is spiffo
i know the old noise is real, but the one with cd?
not suree
any new weapons?
Ehhh, not that I know of?
example
That's old, just never released
going off by the translation files you can deduct which items were added from 41.56 to 41.60
A lot of this stuff you can just play off as newish since a decent amount never really spawned?
But yeah, I'd say don't really bother with the sniper rifle since I don't think it's even been implemented yet
You could just make a page or something then say that it's an unimplemented weapon
yea
looks like there are unimplemented ones
like some car parts ive havent seens before
carb, ignition, radiator..
probably for future update
Yeah, some stuff is either not implemented or scrapped.
i can tell blacksmith is scrapped
Aye
I'm near certain that they're new but might not have any function
seems like smoe of these are really rare
unless these are more common in louisville
like the military outfits that you said that rarely spawns
Used to hardly ever spawn, I think ya have a chance with the army coat now
Just go for the containers at military locations
we'll see tbh
Base.BigHikingBag and Base.NormalHikingBag seem to no longer exist in game
clothing_bags.txt:43: item Bag_NormalHikingBag
clothing_bags.txt:49: DisplayName = Hiking Bag,
clothing_bags.txt:50: IconsForTexture = Hiking_Blue;Hiking_Green;Hiking_Red,
clothing_bags.txt:55: ClothingItem = Bag_HikingBag,
clothing_bags.txt:59: ReplaceInSecondHand = Bag_HikingBag_LHand holdingbagleft,
clothing_bags.txt:60: ReplaceInPrimaryHand = Bag_HikingBag_RHand holdingbagright,
clothing_bags.txt:61: WorldStaticModel = HikingBag_Ground,
clothing_bags.txt:63: item Bag_BigHikingBag
clothing_bags.txt:69: DisplayName = Big Hiking Bag,
clothing_bags.txt:70: IconsForTexture = BigHiking_Blue;BigHiking_Green;BigHiking_Red,
clothing_bags.txt:75: ClothingItem = Bag_BigHikingBag,
clothing_bags.txt:79: ReplaceInSecondHand = Bag_BigHikingBag_LHand holdingbagleft,
clothing_bags.txt:80: ReplaceInPrimaryHand = Bag_BigHikingBag_RHand holdingbagright,
clothing_bags.txt:81: WorldStaticModel = BigHikingBag_Ground,
clothing_shoes.txt:65: Icon = BootsHiking,
exists under scripts/clothing/clothing_bags.txt
if you try to add item, it says does not exist
I don't know what you mean
it says.. does not exist.
Alluseri is probably correct, idk what 'add item' means
it is a command in the game man.
what do you mean you dont know what it is
./additem
Never touched it, dunno how it works, I just use debug
so anyways.. again as my statement says, the id listed on the wiki does not work as do the others.
Did you try with bag_ prefix?
yes.
and?
imagine getting upset when people try to help lul
@fallen wren I think typically @digital helm uploads all of the sprite images at some point and adds them to the Weapons, Clothing and Item pages with dead links. I assume he has an automated process for doing so
gotcha
i guess its more of trying to build and fix unfinished pages
You should be able to open the item database as an admin and you can find that item
who should set up the pages tho
does anybody know where to find the code for the new forage/search system
what is the setting to get zombies to spawn normaly and not like it is right nnow?
Not sure if the M14 and M16 are up to date on the wiki, but neither seem to have the critdmgmultiplier line in them
Both pages are far from finished it looks like
I mean yes, the fluff is certainly not there.
Is there a repository of all the random events you can stumble upon ? i remember talks about finding tents in the woods etc.
those are in java, pz_source/zombie/randomizedWorld so I would guess not
fun fact, theres a new class of "vehicle events" as of 41.60
RZSSexyTime, lol (image is a list of event names)
@fallen wren Are you finding mods that have duplicat items that do not have 3d models assoicated with them?
Like I have 2 tote bags, 1 can be placed on the ground and the other can not. And I have no clue why or what is causing the one to spawn on zombies that can NOT be placed
Hrmm I wonder what RZSSexyTime does π€
LMAO I forgot I posted that and thought your message was from a spam bot for a second π
||it spawns two naked zombies on a ambulance along with a pile of clothes||
i read the code hahaha
also it's
||very inclusive, can spawn zombies of any genders π||
lol
could we include how much health a log wall has in the wiki?
or atleast, on the log wall page, i was there and it has no hp value
Please update the illness page, so pepole can know the diference between, zombie infection, a cold, food poisoning, and that stuff. pepole still think theyre infected when they get sick and kill themselvs π¦
Anyone can update the wiki 
Oh lol didint know that thanks
is /additem outdated?
trying to give myself stuff as an admin cause we lost some things when I added a mod and tested with base.axe and it says it doesn't exist
So you're aware, the target radius info is currently inaccurate, and it doesn't include the force-move icon code information as well.
\media\lua\client\foraging\ISSearchManager.lua has information for the client details and how it functions
\media\lua\shared\foraging\foragedefinitions.lua is where all of the item spawning is defined(what items, where, how frequent)
thank you!
\media\lua\shared\foraging\foragesystem.lua is where the magic happens(determining when to use multipliers, what multipliers exist, how radius is defined against weather, light level, etc)
If you're going to update the foraging page on the wiki, I'd start with the item types, the item areas(nav is roads, for example), because the radius stuff is spread out a bit, but the defs are easy to read
that said, the person who did the code for the forage system gets some seriously major kudos from me, because that shit is clean
really easy to understand, and easy to find the functions that are called
For target radius, as an example as to how it's inaccurate:
The base unblurred area is set to 4 tiles. It will not decrease below this regardless of light levels or low skill.
is wrong because if your radius is decreased beneath the minimum(timer, movement, and a few other things such as panic or exhaustion being too high), it'll disable search mode.
The wiki also definitely needs the information as to what traits and professions affect the base radius, because lucky/eagle eye/shortsighted, and a bunch of other stuff, such as lumberjack and veteran all have base +/-
That's all in foragesystem.lua at the top at least π
Thanks, I'll take a look at it later. I considered adding information myself but I was feeling lazy and it was like, midnight when I finished reading through the lua, so I went to bed instead
If you want to include information on the force-find system, it's lines 459-544 in ISSearchManager.lua; effectively, you need to move 0-10 tiles, and wait 0s-4m10s before you can get another forced item placed near you to find, which is really cool and forgiving that if you don't find stuff, you can just wait and find something once in a while
Also, if someone else can check in the code and confirm regarding the refill code for how items are generated, I'm uncertain if I'm correct or not as to whether the game starts with 0 items generated and refills at their % rates up to max. Because if so, it would explain why people were complaining on Reddit about foraging feeling bad, because that would mean in the highest refill rates, you wouldn't get max foraging until 10 days in forests, and you wouldn't get the maximum benefit for 35 days in towns/trailer parks
3-7.5% refill rate depending upon area
if I'm correct, it would mean foraging would feel bad for the first week to the first month because there's barely any items to find other than the force-finds
@slender escarp do you know if all the percents from traits/occupations are multiplicative or not?
example:
weatherEffectModifiers = { -- job and traits weather effect reduction (percent)
--traits
["Unemployed"] = 10,
["Outdoorsman"] = 13,
is it: 100% - 10% - 13%
or: 100% * 90% * 87%
looks like they're a % shaved off the top outright from the penalties
lines 1315+
if _character:HasTrait(modifier) then effectReduction = effectReduction + bonus; end;
so if it's super stormy max 50% reduction, and you have unemployed, it'll become 40% reduction to your radius
idk if weather/light level/etc are multiplied against each other or added up to a maximum though, that'll be somewhere in that area of code likely
ah, it's in ISSearchManager.lua
overlayRadius = overlayRadius + (self.perkLevel * forageSystem.levelBonus) overlayRadius = overlayRadius + forageSystem.getTraitBonus(character) overlayRadius = overlayRadius + forageSystem.getProfessionBonus(character);
local modifiers = { weather = forageSystem.getWeatherBonus(itemDef), month = forageSystem.getMonthBonus(itemDef), panic = forageSystem.getPanicPenalty(character), body = forageSystem.getBodyPenalty(character), exhaustion = forageSystem.getExhaustionPenalty(character), clothing = forageSystem.getClothingPenalty(character), difficulty = (self.perkLevel + 1) / 10, size = ((self.itemSize + 1) / forageSystem.sizeMultiplier), weather = forageSystem.getWeatherPenalty(character, self.square), lighting = forageSystem.getLightLevelPenalty(character, self.square), movement = forageSystem.getMovementPenalty(character), };
707-733
for _, modifier in pairs(modifiers) do overlayRadius = overlayRadius * modifier; end;
modifiers are multiplied against each other it appears
so if it's raining at 50% reduction, and light level's a 10% reduction, but you have unemployed, your radius will only be reduced by 40%
because the 10% reduction would be cleared outright(if it applies), but the 50% would become a 40%
but if it was 50% and 15%, it'd be 40% and 5%, which would be 100 * .6 * .95
@thorny pike hope this helps π
so it'd be 57% effective radius instead of added together which gives 55% radius
The Nutrition article has two pieces of conflicting information:
protein currently has no effect on the player.
Proteins
Proteins surplus or malus affect the amount of strength experience gained by various tasks such as exercise.
Do we have up to date, verified information about that?
i love playing without zed respawns
its very satisfying to clear out areas once and for all, save for migration events
Alr so I went to the page for the βbig wire fenceβ which is the just tall chain link fence and thereβs no information about how much hp itβs has or if itβs flammable. Thereβs no information at all
I donβt know information about this tile, Iβm new to the game and thatβs why I went to the wiki
It could be indestructible for all I know
Thatβs fair, Iβm just comparing you guys to other wikis for indie games
Was a while since I edited wiki, but guess it's time to bump stable to v41 now! Also, maybe the featuresd screenshot could be replaced with just build 41 screenshots? Even if just a few, to not give false info about the game
BTW:
Stable Build: 40.43 (20/12/2018)
Exactly 3 years π
Is there a wiki page for trailers? Iβve seen them on the indie stone website but never in game or in the wiki.
iono Iβve just been using regular text search, case-insensitive trying both with and without underscores
on a decompiled codebase ofc. using a combo of procyon and fernflower , if anyone knows of anything better give a shout
Iβm also using code formatters which makes the diffs easier to follow and some of the β¦ creative lua codestyle more β¦ tolerable
this is what i was saying before, the wiki has been long unupdated, so major edits have to be done
speaking of which, has all of the new item sprites been uploaded to the wiki?
been thinking on making the barebones of each item page
i dont think theres actually a page for trailers as far as im aware, however there are only 2 kinds of trailers i know of
small container trailer (with or without tarp covering) and advert trailer
might as well add the trailers in the same page as vehicles
and i just remembered, there are a few new vehicle variations, like news van
The wiki page for the Life and living tv show has been updated and now shows time ranges for programs instead of the 6:00,12:00,18:00. It now reads as if you can watch at anytime in those ranges which is not the case.
what do you mean by this exactly?
it always start at 6, 12, and 18
12:00 AM to 6:00 AM Fishing
It shows that for each program
It was just updated today with the misleading time ranges
ohhh
ok i see
yea no wonder sometimes i could catch lnl when its like a few 10 mins haspassed
however it really depends honestly
if there is a loaded chunk that has the channel playing, you gonna miss it i bet
also huh, fishing on 12 am to 6 am
i mean you always spawn at 9am ingame
unless u changed the start time, so thats something
Well the old style it was listed at was a clear and concise view. New players going to the wiki for that are going to be confused by it.
any new item pages been made?
hmm
guess that needs to be made too
certain items still dont have pages yet
might as well do something about these
one of βem is crashing on some files for unclear reasons but I like the output better lol
first aid kit sprite pic needs update
that probably makes sense though, i mean i never edited on the wiki before
Man, never knew what that image was. Always thought it was some icon, never looked super close lol
since build 41 is officially the stable version,we should remove older info
Flight case???
Been in the game for a few months now I think?
I never saw it
Hard as fuck to find in my experience.
Rifle cases are in too but they're not too hard to find.
Occupation and Traits - Build 40 info removed and updated
https://pzwiki.net/wiki/Foraging traits and occupations bonuses finished, now onto moodles, light level and weathers and their penalties/bonus multipliers
Good work dude, I'm trying to get some of my shitty old clothing and weapon pages updated currently.
Cowboy hat colours dont have their ids listed it seems.
https://pzwiki.net/wiki/Server_Settings
Could a Dev or someone from the studio please update that page so we can actually setup servers without all the trial and error guesswork ?
Specially the zombies settings
Please. I'm having to do some hacky shit to import a map save from a co-op.
No worries there. Working in tech and having done documentation before just explaining it would probably cause more questions than useful.
And I'm not 110% sure it will work right anyways lol. I won't polute this chat with it though.
thanks much though.
OK, working on hair related stuff, and I'm wondering if hair does actually grow over time.
I can't find anything on thw wiki about it or any videos that prove it, and I've used the dev modes to fast forward like months!
The skill 'xp boost' table is incorrect:
25% -> 75% is relative 100% -> 300%, not 100% -> 400%.
all the relatives should be dropped by 100% apart from the level 0
Build 41 Stable: December 20, 2021
Hey guys a bunch of the gun wiki pages give conflicting info (for example on the weapons page the M9 pistol is listed as having a sound radius of 40 but on the M9 page its listed as having a sound radius of 50) I'm thinking of editing the pages myself but I'm not sure where to get the info from as I dont have any experince decompiling games or anything
transmit range of radio - is it a radius or a diameter?
@restive adder Hey hello, could you please update the css here https://pzwiki.net/wiki/MediaWiki:Common.css
I need to replace:
pre.code span.obsolete {
color: #FF0000;
}```
with ```css
span.obsolete {
color: #FF0000;
}```
also I'm getting this error again:
permissiondenied: The action you have requested is limited to users in the group: [[PZwiki:Users|Users]].
tried from a different IP just in case but same problem
it's weird cause it worked at first, then I interrupted my script to update something, and after that I got the permission denied error
guess the wiki doesn't like it when a connection is aborted promptly while in the middle of an edit or something
so I updated my script to wait for the current edit to finish when it gets interrupted
we'll see if that fixes the issue
@vital raptor Hi, I'm thinking about buying a domain name to host the unofficial javadoc pages for Project Zomboid. Would that make sense or do you have plan to do it on TIS side?
hows stuff with the wiki now
oh i got a different role now what
anyways
do you guys think that maybe there should be an updated format for the item descriptions and such in the wiki?
still mostly outdated stuff I guess ;D

what do you mean, any idea in mind?
i mean like
a lot of the pages do have a different format
items i mean
one has the actual code chances of an item to spawn in something
while the other just says the general spawning
without the chances i mean
yeah I see what you mean
i guess what i meant was having a more consistent format for all info
@fallen wren guess it would be better to have a unified format indeed. But I was thinking about automatizing the generation of those pages by parsing the game files directly. I would only need to have the custom text in JSON file or something to hold the descriptions for example and everything that's not available directly in the script files
i dont really know how that stuff works lol
all i know is that
people need to update the wiki and we have to do it lol
indeed
@fallen wren for example I'm generating the Lua Events pages from this file, all the rest it automatic:
https://github.com/quarantin/pzwiki/blob/main/data/json/events.json
for example this kind of page:
https://pzwiki.net/wiki/Modding:Lua_Events/OnClientCommand
yes
or well not barebones, I could do anything, we just have to decide what we want
for Lua Events I just used the old format that's why it looks barebone I guess
the only downside is that you'd have to edit the JSON files instead of the wiki, otherwise it could get overwritten
@fallen wren would that be ok to you to have to edit the JSON files instead of the wiki?
what do you mean by that exactly?
@fallen wren for example this kind of file: https://github.com/quarantin/pzwiki/blob/main/data/json/events.json
there are software to help edit files in JSON format
"software" like browser addons etc
idk tbh
Just made this: https://pzwiki.net/wiki/Game_Time
I just hope I'm not the only one who needed this π
@quartz bear it's to separate the minutes from the hour
@restive adder Hello, any chance to have the css changed?
$dayjob and bad mental health, remind me tomorrow afternoon?
@restive adder sure π
@quartz bear well it would only be cool if I could use it without moving my hands away from the keyboard
ah now that's cool!
Curious if this could be used on the wiki.
https://github.com/Austin91TX/PZ41-Sandbox-file-with-descriptions/blob/main/dropdown_descriptions_matching_in_game_order.cfg
I've re-ordered the sandbox CFG file to match the in-game sandbox settings. As well as commented a few descriptions of what you are changing right in the CFG file.
You sure that info on wiki is correct? I suspect somebody edited a lot of numbers in Traits section. Like Strong gives 140%x damage and Fast Learner provides 130%x exp boost.
I might be stupid and there is just a flat bonus, but why is it -x then?
The 30%x is confusing for me
hmmm i think i have an idea
just an example:
the axe does 53 damage on hit
you have strong
53 x 140%= 74.2 damage
My confusion was about using both general bonus and x multiplier.
Personally used to see the +40%, not 140%x
maybe it should be changed back to +40% then? but then it would be completely different cuz:
lets say you have Strong and Very underweight
Multiplicative: 53 x 140% x 60% = 44.52 (damage lowered)
Additive: 53 x (100% + 40% - 40%) = 53 (damage remains unchanged)
the code should have something i just dont know where
I mean using it without x is fine to me
That is purely subjective opinion of mine. But I think somebody will get as confused as myself
hi i made a pancake mix page but its looking pretty crappy so far
dab
How do I completely fix a clothing item? I have level 8 in tailoring, needle, thread and strips
Ah shit wrong channel, sorry
It is not, it only says that at level 8 you can restore a clothing item to its full condition but doesn't says how
Nevermind, there's a tool tip that indicates if it will be fully restored
Hi, just wanted to present myself a bit, since a couple of weeks I translate in french; I assume this is the right place here for technical questions? (I have currently none, but it'll come^^)
Yeah, here's a good place to talk about standards and whatnot too
does anyone know if this has been fixed as of build 41.65?
strength and fitness are still excluded from XP multiplier at character trait selecting thing
does that mean that with a level equal or higher than 3 the "125%" doesn't actually boost the XP gain in-game?
yes it doesnt boost the XP gain for strength and fitness
damn that sucks, hope they manage to fix this since raising both of those stats is already really slow π
it would make sense if the fitness instructor job gave a boost to them
Is anyone working on https://pzwiki.net/wiki/Zombie#Loot ? It would be nice to get an updated info on what loot tables on zombies. I dunno how I could do the work myself tho
And is that the correct wiki?
Whats up guys! So, i'm new here, i was looking on the wiki page about VHS and i didnt found anything about it, there's a page about it? If not i was testing some in the game and taking notes about what everyone do, so if i can help i could send it to create a topic on the wiki, let me know if its interesting.
@prisma dune idk i didnt find it when i searched about...
Edited Metalworking books on Literature page. They were called Base.MetalWorking (but this doesn't work, maybe in previous versions. Now it's Base.MetalWelding). So, I pressed "Save" and it looks alright, but that's my first time editing wiki and idk, maybe smthg is wrong. Could u check?
https://pzwiki.net/wiki/Items/Literature
Yes it did save
I think matches page is out of date, they aren't usable with Molotov unless it is a bug
I'm sure this has been asked before but does the wiki use a database system like Wikibase or SMW or WikiDB, and if not, why not?
I'm sure others have way more accurate things to say about this than I but I'd imagine it might be a lot of work to move everything over. sounds like a good idea though
I don't think it would be that hard to transition. You could write a script that lets someone automatically upload data into the database directly from their game files, then automatically generate pages using that data.
you mean like http://undeniable.info/pz/wiki/itemlist.php but for pages on the wiki?
the uploading data directly from their game files part might be the only iffy thing, but generating pages based off of manually inputted database material sounds like an obvious step in the right direction
Yeah, essentially exactly that
It would help cut down a ton on manually editing articles for sure, at least
sounds like a good idea to suggest to connall or anybody moderating the wiki
oh shoot, that's awesome to hear. do you know how far along the project is/where it's being discussed?
for now I just manage the Lua Events pages in a semi-automated way (still have to write the descriptions manually for example)
I put the data in a JSON files, and then all the pages can be generated from this
that's sick!! are you OmarM by any chance on the wiki?
hmm no I'm just co` π
oh shoot haha, I tried looking for "co'" but alas, all that I found authoring some of the 'modding: lua event' pages was an OmarM
this is fascinating right here, do you have examples of some pages uploaded with it?
https://pzwiki.net/wiki/Modding:Lua_Events and all pages under it
Ahhh, I see!
wow, that's actually kind of insane
how many hours do you think you'd have to put into manually editing those in vs using the bot?
cause I'd imagine that's a hell of a lot of tedium there haha
not really sure to be honest, the thing that took the more time is the actual reversing to figure out the meaning and parameters of each event. But if someday we decide to change the layout for example, I just have to update a few lines in my scripts and be done with it quite quickly
not sure I would have done it if I had to manually edit the pages though π
Would you think it'd be possible to implement that in a way to read the script files for new vehicles in tow like from the 41.65 update? least that's what I'm attempting now haha
of course, you'd still have to write some information manually though, some things are just not in the script files
definitely, I'd imagine you could have a way to check and notify the user if a page auto-bot-written for a new vehicle is missing a few data entries for its various properties that the script couldn't capture. Least it'd be incredibly handy to check what should be added, as from the Wiki I'd have to first create a list of all the base.* vehicle ID's first and work my way back instead of something checking and verifying that there are new or outdated vehicles in a new build release of the game
should not be too hard to generate a JSON file with the data from the script files
then you'd have to complete the JSON files manually with the missing pieces of information
with the built in wiki templates, that should nullify a lot of the busy work
problem is if you want to mix manual edits with automatic edit
for example for the Lua Events I add this warning at the top of the wiki source:
https://pzwiki.net/w/index.php?title=Modding:Lua_Events/EveryDays&action=edit
ahhh, I see
I think what @exotic ginkgo mentioned earlier about using a database system for PZwiki could perhaps solve some complications there
what's the difference with using a database?
I mean how would that address the issue about mixing manual/automatic editing
I think having a database with every item in the game and a way to parse data for said item and attribute it to them without uploading to the wiki necessarily could help
I'm just thinking in ways of gathering raw data without searching through folders manually to find where stuff's hidden in order to be copied to the wiki
the only thing that couldn't be replaced is adding customized descriptions of items, as there aren't any in the game to base off of
Wait what's the issue specifically with manual and automatic edits?
but to be honest, my knowledge of this is relatively nothing compared to what some people here got, so it's just a suggestion based on how I see wikis run normally
well if you decide to go the automatic way you shouldn't make some manual edits, unless you're willing to write the code to mix the two, but I think it would be error prone at best
Uhh hold on one second lemme check something
I'm pretty certain you can pull data out of the database and have it inserted into articles however you want without affecting anything that isn't that data
Imagine like
Using variables inline with the article
that's it right there. really the problem isn't too much manually updating the articles even, it would just be gathering the data and having that update and adapt with each of the game's up-and-coming releases
though that'd probably only benefit items/vehicle pages most, if at all
@exotic ginkgo if you clearly define what should be manually edited versus what should be automatic yeah I suppose
but is it the case really?
I'm trying to find an example rn
for example this and this don't even have the same sections:
https://pzwiki.net/wiki/Big_Hiking_Bag
https://pzwiki.net/wiki/School_Bag
they're both in items > baggage, no?
yes, but for example one has an overview section missing from the other, or a "Build 41" section also only available in one of the two
There shouldn't even be a "Build 41" section in the first place imo
ah, yeah
Previous builds should be previous page versions
if you clearly define what section should get edited automatically it could work
I'm looking into how it works exactly rn
but how would you prevent people from manually editing the automatic section for instance?
it could be like wiki/big_hiking_bag_build40 or something less ugly to archive it
I mean, people COULD break whatever code exists there, I guess
not break, but write stuff that would get overwritten
If it works the way I'm thinking it does, that's not really a thing that can happen
I'd imagine there could be a notice placed on that info saying that it shouldn't be touched because it's automatically entered in there and that if there was an error, a mod could look over it
Like, if they were to edit the automatically generated part of the page, that would necessitate removing a reference to the data that's currently there. Since the reference is gone, it won't overwrite whatever they put there
they could be adding some stuff that would get lost?
lost from the scripts parsing through the game files?
That's what I was gonna say
If it's generated from the game files themselves, how is someone adding new information that shouldn't already be there?
there could definitely be adding information the script didn't pick up, but then the section the script failed to fill out should be notified "#null" in the database or something, if such a thing could be implemented into the script
Also if someone really DID have data to add, it could be added to the database, which would cause it to be added to the article automatically, yes?
then you fill it out manually, but that way you could find out what the script fails to catch
but people are people, they just don't follow rules most of the time π
what kind of database are you taking about anyway?
i feel like it's just a simplistic database tied to the wiki, right? like an outright list of "tables within tables" where you start of with a table like "items" and get progressively more specific as you go on.
and then from that database you just reference it through an automatically-created wiki page with the accompanying style-guide within it, referring to specific elements, like <damage> from <axe> in category <weapons> that's based off the raw database
what are you waiting for to get started then? π
oh man, if I could take a good crack at it I certainly would. just seems like my neck of the woods currently reside in digging through files with notepad++ and updating as manually you can get haha
My initial thought was Wikibase but I'm looking at other options and considering how they might be used right now
Semantic MediaWiki seems promising
"SKYbrary adopts the concept of Mediawiki products - anyone can comment, propose modification to an existing article, suggest a new topic or submit a draft article. However, there is an important difference that distinguishes SKYbrary from other wikis. A robust content management and control process supported by appropriate user rights management ensures the needed quality, credibility and consistency of stored safety data."
that's kinda cool
so a hierarchy of users that can determine if the bot data be overwritten if what wrong values it picks up are discovered
I'm still not sure I understand how that would address the merging of automatic/manual edits
Yeah
it probably wouldn't, but whatever is inputted by the bot should be foolproof enough to be accurate most of the time anyways, and there could just be an asterisk next to an item if the data entry is inputted manually and doesn't link to the database reference
The best way to think about it is that the data from the database is inserted when the page is served, not stored in the article.
Let's say you have an infobox for a weapon that includes that weapon's damage
The actual value that goes there is no where in that article at all
like it's like a reference, i.e. "<damage>", coming from the database itself?
Updating that data value is automatic when the database is updated, but it doesn't automatically edit the page to put in the data. There's no edits to the article necessary at all to get the updated value. The value just gets put there whenever the user requests the page.
there you go
So if I go in, add a description, and later the damage gets updated, there's no reason for an automatic edit that might delete my description. Next time I load the page, it will just be served to me with the new damage value inserted.
But the actual source for the article is unchanged
hmm but wouldn;t you have to change the whole wiki to make it happen?
What do you mean?
you'd certainly have to migrate it manually, most likely
who's going to do the job?
I'd be totally up for the more manual bits
Well, considering there's only certain sections that can really be generated automatically in the first place, it would probably be possible to just add those sections with a script and keep anything that's not those sections unchanged
Though I'd imagine most of that would be in the hands of the wiki owners
The thing is that doing this would require installing a mediawiki extension
that could be problematic in itself, the wikimedia version is quite outdated
I'm thinking the other way around, if you just extract the few bits that can't get automated, then you can generate the whole pages automatically
that's what I did for the Lua Events section
from this file I can generate all the pages automatically:
https://github.com/quarantin/pzwiki/blob/main/data/json/events.json
Yeah, essentially the same thing just looking at it the other way. Keep the stuff that isn't automated, replace everything that can be.
wouldn't it look awkward doing that though? like with the big hiking bag/school bag example earlier?
you have some articles formatted the old way and others inputted in the way the bot publishes it
unless both use the same style-guide
Well in theory the only the the bot's going to be touching is stuff like the infobox and maybe distribution tables or something (idk what's easily accessible from the game's files)
So it would basically just be replacing those things with the automated versions of them. As far as any given page goes, the look of the page shouldn't change very much.
do you have a bot that does what you describe?
Like, right now? No. I could probably write one.
I wonder if there's a lighter way to do something similar to this database idea; I'm not super familiar with MediaWiki in general
I'm not either :/
are there rules about me playing around with some pages seeing what things can be done? obvious I wouldn't be doing it with pages that are like, in use
well problem is you can't delete your own pages
I configured a separate mediawiki instance to work on the Lua Events
if you can't delete pages then maybe you could just create ones for anything already in the game but not yet part of the wiki to do testing on
I'm just gonna mess around on my user page I guess
does SMW really allow for dynamic tags to exist on a page without editing the contents of the page itself? from what I'm seeing on its uses, it seems like it already functionally exists on the wiki itself
You can make pages that just hold the data, then pull that data into the actual article
like case in point, to add a "category" you gotta create it by adding the tag on a separate page itself with [[category:your text here]]
ahh, well that works
That's just the first thing that comes to mind; I don't know what the idiomatic way to do what we're talking about would be
this https://www.youtube.com/playlist?list=PLw2YgbWET_ph1IGqIyiZD8w9FIHlYASui seems to describe everything you'd probably need to implement it
after watching a couple vids on it
although it feels a bit convoluted for what could equally be achieved from just manual input
yeah, I'm a bit lost on how this could work. unless I'm missing the fact that you can link properties of an item to the item's page itself, it seems almost impossible to implement without manual editing on SMW
Hi people, sorry but I don't get how to create a page with a new language ; I tried what's written here, but it does not seem to work: https://pzwiki.net/wiki/PZwiki:Language_policy ; for the record, I try to create a page "Champignon" (French translation of Mushroom), and would like to get it integrated in the "Main" Mushroom page. Can somebody explain what I'm doing wrong? :)
I was editing the wiki but the problem is that the Map is not updated and i dont know what to use
@restive adder Hello, could you change the CSS please?
I need to change this:
pre.code span.obsolete {
color: #FF0000;
}``` to this ```css
span.obsolete {
color: #FF0000;
}```
would you mean something like incorporating it in the above language bar? like for what was done with its Russian translation? https://pzwiki.net/wiki/ΠΡΠΈΠ±Ρ
yep, that's exactly what I mean ; I want to create the page "Champignon", and then link it to the "meta" page "Mushroom"
from what I've been able to gather tinkering with a couple other language pages, it seems like each page itself redirects from /wiki/<English word>/ru to just /wiki/<word>
and that for mushrooms, for instance, there's a redirect in place to make that happen https://pzwiki.net/w/index.php?title=Mushroom/ru&redirect=no