#pzwiki_editing

1 messages Β· Page 74 of 1

fair juniper
#

Just found the crop specs are missing details. Will fill that stuff in when I am able to play.

#

Should also fill in stuff for clothing too.

young patrol
#

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

frail fossil
#

You can Edit your own page under your name

tulip kiln
#

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.

young patrol
#

thanks

young patrol
#

Any clue if the mediawiki API is enabled for Zomboid wiki?

young patrol
#

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?

restive adder
#

@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

young patrol
#

@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 πŸ˜…

#

@vital raptor knows about it

#

I'm available for voice/video chat or anything else if you like

young patrol
#

@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?

restive adder
young patrol
restive adder
young patrol
#

@restive adder the javadoc you mention is from 2015, fairly out-of-date, many class/methods are missing from there

restive adder
#

@frail fossil should we update the javadoc? See above

young patrol
#

@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

restive adder
#

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

young patrol
#

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

vital raptor
maiden adder
#

Hey guys, is undeniable offline? the site used for the crafting receipts?

solid wing
#

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

sharp flame
solid wing
#

Disc0rd lol

buoyant swift
#

lol

young patrol
elder estuary
#

ty ty

#

Interestingly, flute shares AttachmentType with Knife lol

#

belt position?

#

huh, gotcha

worthy igloo
#

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".

elder estuary
#

Good to know - but crafting recipes don't search for tags, do they?

worthy igloo
#

AttachmentType just references how/where it's attached as a hotbar slot.
Some do, some don't.

young patrol
#

@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

thorny pike
#

anyone know what this means?

elder estuary
# thorny pike 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

trim olive
#

Isn't Lua more light on code and performance or something like that?

elder estuary
#

I just use findstr, the windows function

elder estuary
#

@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

restive adder
#

@young patrol You're whitelisted now, try using the API now

young patrol
#

@restive adder Sweet, thank you! Will check it out today πŸ˜„

young patrol
#

@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

restive adder
#

Sounds good

#

Make sure to not run it too fast, the server is quite busy

young patrol
#

@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?

restive adder
young patrol
#

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 πŸ™‚

young patrol
#

@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 πŸ˜΅β€πŸ’«

young patrol
#

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

restive adder
#

Extensions are a nightmare to maintain, because MediaWiki's update mechanism is trash, so only if it's essential

restive adder
young patrol
#

@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 &lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.'}}

young patrol
#

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

young patrol
#

@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! πŸ₯³

elder estuary
#

The links to pz's documentation is super handy though. Great job πŸ™‚

young patrol
#

@elder estuary my idea was to have the replacement event listed in the "See also" section

elder estuary
young patrol
#

About proposing a workaround if there's no event to replace it, that would require a lot of work

elder estuary
young patrol
elder estuary
#

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

young patrol
#

@elder estuary yeah I would definitely add the code samples if someone is willing to write the code

elder estuary
#

Sweet. I wouldn't count on it in the near future, but I'll put it on my todos πŸ™‚

young patrol
#

nice!

elder estuary
#

Do you know how much the lua events change with updates?

young patrol
young patrol
elder estuary
young patrol
#

thanks!

#

@elder estuary regarding your initial question about OnBeingHitByZombie, maybe check this one: OnWeaponHitCharacter

#

I'm not sure though, cause it takes a HandWeapon

elder estuary
#

I brought that one up specifically because I'd played around with it and couldn't find a workaround tired

#

If I remember right, it was only called when the player attacked and wasn't called for zombie attacks at all.

young patrol
#

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?

elder estuary
#

I don't actually know, I only tried to find a work around when I saw it wasn't called anywhere lol

young patrol
#

ah I see

#

I wish we could find mods that use a given event

elder estuary
#

Uhh, you can maybe print out any subscribers to the event?

#

Obviously that would require you to have the mods installed

young patrol
#

even if I could, I would still need to have all the existing mods available πŸ˜‚

elder estuary
#

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

young patrol
#

how would you subscribe to all the possible mods?

elder estuary
#

Maybe steamapi has a way to do something like that?

young patrol
#

clicking is not a valid answer πŸ˜‚

elder estuary
#

^ refer to my last answer

young patrol
#

yeah sorry I typed too fast

#

it could be yeah

#

will check it out

elder estuary
#

good luck πŸ™‚

young patrol
#

thx, going to need it πŸ˜…

young patrol
#

I think I found a way

#

but still have to code something to make it happen

young patrol
#

ok so I have all the steam workshop ids, now I need to figure out how to get the actual data πŸ˜…

#

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

#

πŸ˜„

elder estuary
#

I think you're the only person that enjoys that.

young patrol
#

for now I'm getting a ratio of 50% successful attempts

#

not so bad

elder estuary
#

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.

young patrol
#

@quartz bear of course not

#

you have to take responsibility for yourself etc πŸ˜‚

elder estuary
young patrol
#

find a job, pay the rent, the taxes

elder estuary
#

I used to be very introverted, things change. (for some people)

young patrol
#

well you're talking to us πŸ˜„

#

ah only AFK

elder estuary
#

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

young patrol
#

@elder estuary it can still be very hard to achieve for people with autistic personality etc for example

elder estuary
young patrol
#

got ~700 out of ~2500 items so far

elder estuary
#

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

elder estuary
young patrol
#

yes

elder estuary
#

What's your goal with them?

young patrol
#

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

elder estuary
young patrol
#

well not for the wiki, but like if you want to see how a specific event is used it can be nice

elder estuary
young patrol
#

I'm not sure that would fit in a wiki

#

to make it web accessible I'd need a backend language of some sort

elder estuary
young patrol
#

ah yeah

young patrol
#

but it;s not like static pages

#

to use it you'd have to download the workshop items yourself

elder estuary
#

Oh I see - that makes sense

young patrol
#

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??? πŸ˜‚

elder estuary
young patrol
#

I would have to make a website or something

#

not an "executable"

elder estuary
#

I suppose this is just a snapshot of the current workshop though

young patrol
#

@elder estuary are you taking about a windows executable? πŸ˜‚

#

Cause I'll definitely never do that, no way

elder estuary
young patrol
#

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

elder estuary
young patrol
#

@quartz bear also too, but I like doing it

elder estuary
young patrol
#

I would definitely never code in java unless there's no other way

young patrol
#

it's way too verbose

elder estuary
#

I forgot that C# is platform independent basically by default as well

young patrol
#

well for a specific definition of platform independent maybe, but in real life it's not πŸ˜‚

elder estuary
#

I like verbosity. It makes finding things incredibly easy. Python is impossible and C/C++ you have to look at how it is compiled

young patrol
#

Microsoft would have to publish the actual specs of its language, not just a subpart of it for that to happen

elder estuary
#

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.

young patrol
#

yes, assuming you have interpreters that behave the same way on both OS

elder estuary
young patrol
#

not sure what preprocessor commands have to do with C#

elder estuary
young patrol
#

is C# preprocessed at all?

elder estuary
young patrol
#

@elder estuary ah yeah, but platform independency of C# is just a myth

elder estuary
young patrol
#

Did microsoft release an opensource version of its interpreter?

elder estuary
young patrol
#

the IL is interpreted

#

it's like java, half-compiled, half-interpreted

#

anyway I don't like any of these bloated languages

elder estuary
young patrol
#

I only code python these days, unless I don't have an alternative for what I'm trying to achieve

elder estuary
#

Java JVM is an interpreter so to speak

young patrol
#

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?

elder estuary
#

Partially, JIT isn't all encompassing I believe

young patrol
#

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

elder estuary
#

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.

young patrol
#

@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

elder estuary
young patrol
#

well nobody is complaining for now...

elder estuary
#

Well, I'm officially done working so I'm outta here

#

Unfortunately I've got some errands to run. So, no go boss.

young patrol
#

πŸ˜‚

#

@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!

young patrol
#

Ok, in like 5 or 6 hours hopefully I should have at least 90% of the mods available on steam

young patrol
#

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

young patrol
#

@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

young patrol
#

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

young patrol
#

yes

#

@quartz bear I guess you can never know what a guy would be up to after losing his characters for various reasons πŸ˜‚

young patrol
proper scaffold
#

seems good to me πŸ˜„

fair juniper
#

Only thing left to do with it is fill out the rest of the nonexistent pages

thorny pike
#

while you guys do that ill search everywhere for first aid

young patrol
#

@fair juniper you must be looking at the wrong page?

#

There's no more dead links in the new Lua Events page

thorny pike
young patrol
#

@thorny pike ?

thorny pike
#

all the red texts are non-existent, no?

young patrol
#

yes

#

oh

#

you mean related to what I said earlier?

#

I was just talking about Lua events

thorny pike
#

oh my bad then

#

i misunderstood

young patrol
#

I only made the Lua Events page for now πŸ˜…

#

like: "Glasses are frequently found on zombie civilians.", or "The glasses are common around Knox Country, often stored in houses." etc

thorny pike
young patrol
#

@thorny pike but how do you copy/paste text that doesn't exist yet?

#

for the missing pages

thorny pike
#

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

young patrol
#

@thorny pike problem is for the Nuclear Biochemical Mask you'd also get that description, which is totally bogus

thorny pike
#

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

young patrol
#

I'm talking about automating the stuff, not doing it manually like a robot πŸ˜‚

#

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

thorny pike
#

with that many items i doubt we'll manage to do it anytime soon lol

young patrol
#

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

young patrol
#

@quartz bear no need to get the mods to find the events

#

@quartz bear The idea was threefold

  1. I wanted to find out if some events are still triggered even if I can't find any trigger in Java code
  2. get the signature of some events for events where I can't find any triggers (parameters etc)
  3. 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 πŸ˜…

elder estuary
#

Anyone able to confirm that an item called 'Tool Belt' exists as the wiki seems to indicate? IIRC, it's not defined in lua

young patrol
#

@elder estuary can't find it either

#

maybe it was simply renamed to belt?

elder estuary
#

Slowly working my way down the list

frail fossil
#

o7

elder estuary
#

speedy mods are speedy

young patrol
#

@elder estuary Hi, are you updating the list of items on the wiki?

elder estuary
young patrol
#

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

elder estuary
#

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

young patrol
#

or well script items

elder estuary
# young patrol Of course

How would you differentiate between real items and skins of others such as the ones that end in TINT

young patrol
#

@elder estuary easy, if the name ends with TINT, then it's skin otherwise it's a real item? πŸ˜„

elder estuary
young patrol
#

@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?

elder estuary
#

Like they can be manually parsed but I don’t think auto pushing anything would be a good idea

#

Working right now, sorry bored

young patrol
#

@elder estuary worst case I'd have to make a list of these items to ignore, shouldn't be too hard

elder estuary
#

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

young patrol
#

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

#

πŸ‘

sage ridge
#

Do cotton balls do anything to disinfect a wound compared to using a bottle of disinfectant/bourbon/etc?

elder estuary
#

As far as values of reducing infection, I don't believe it's any better. I can look into it shortly

sage ridge
elder estuary
#

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

elder estuary
sage ridge
elder estuary
#

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

sage ridge
#

Certainly better than anything I could find, thanks again

iron fractal
#

Yikes

obsidian remnant
#

Who pinged?

tight garden
#

Let’s gooo

iron fractal
#

We must stay quiet we can’t let them know we’re hiding here

scarlet pumice
#

shhh

edgy flume
#

shhhhh

scarlet pumice
#

comedy gaming will rise from ashes

obsidian remnant
#

Me looking for MP release

thorny pike
#

am I safe here? I'll continue editing the wiki...

iron fractal
#

People who spam are most likely small children

edgy flume
#

guys whatever you do dont ping everyone in chat in TheIndieStone server!!!

scarlet pumice
#

do dont ping xD

iron fractal
#

So just to clear something out next week the release of multiplayer is coming out

#

This eeekend or the weekend after?

edgy flume
#

this weekend i think

thorny pike
#

wait who pinged everyone then

#

mod?

bright oxide
#

ye

iron fractal
#

Damn they really went ahead and deleted the entire discord

#

Tech support

tight garden
#

Server is in flames

thorny pike
#

damn

iron fractal
#

Oh damn this weekend that seems too good to be true

thorny pike
#

at least it's peaceful here

iron fractal
#

How’s life y’all

tight garden
#

I’ve never seen anything like that

thorny pike
#

they said if the test goes well it will release before christmas

tight garden
#

Things are great

thorny pike
#

pretty confident ngl

tight garden
#

We should test it

thorny pike
#

life is good so far

iron fractal
#

I hope it goes well

#

I’ve had to wait so long for so many games

thorny pike
#

someone got banned by that I wouldn't recommend sending gifs like that

#

nvm it's gone srry

edgy flume
#

we do a lil trollge

#

πŸ‘€

umbral stag
#

ROGUE MOD

thorny pike
#

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

tidal prairie
#

is there a updated sandbox page for build 41 on the wiki?

dense badge
#

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

tidal prairie
#

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

young patrol
dense badge
frail fossil
dense badge
#

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}}
|}

acoustic ember
#

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. πŸ˜„

zenith mist
#

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).

zenith mist
#

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.

elder estuary
#

Yes

fallen wren
#

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..

shut bison
#

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?

violet geode
#

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

grim kernel
#

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

dense badge
fallen wren
#

the sprites should be in the textures right?

unreal lichen
#

For looking up specific items, it would be nice to know where you can find/craft them

dense badge
#

hm yeah the loot tables are in nicely parseable files too

zenith mist
fallen wren
#

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

zenith mist
#

Soon. Not tonight. v3v

fallen wren
#

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

#

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

merry elk
#

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.

fallen wren
#

while checking the sprites i noticed some new car parts

#

ar the bowling bags, and boxing related items new?

tulip kiln
#

yes

fallen wren
#

oki

#

im gonna send some screenshots and hopefully some of thme are new

tulip kiln
fallen wren
#

o theres canned peaches and pineapple

#

thosea re new

tulip kiln
#

I've seen a few of boiler suiters on factory workers ages ago

fallen wren
#

gotcha

tulip kiln
#

At least not all of them? So I suspect some of them could be new or were just lingering in the game files.

fallen wren
tulip kiln
#

The red one isn't new for sure.

#

Yeah, those are new

#

Wait no, not dough cooked I think

#

But the doughnut is

fallen wren
tulip kiln
#

Old

fallen wren
tulip kiln
#

Old

fallen wren
#

also a bit of reminder

#

i think the item list in pz wiki is like up till build 40

#

sooo

tulip kiln
#

Me and a few others have updated and made some pages for the b41 clothing and weapons.

fallen wren
tulip kiln
#

Not all of them though.

fallen wren
#

i know some of these helms are new

#

idk which

tulip kiln
#

Police motorcycle helmet isn't new

#

No, these are all old.

fallen wren
#

oh oki

tulip kiln
#

It's just a significant amount didn't really spawn

#

Like Jockey stuff

fallen wren
#

yea that is a rare one lol

tulip kiln
#

Well they did spawn back when mannequins had the chance to have any clothing on it

#

That's new.

fallen wren
tulip kiln
#

Old but didn't really spawn much?

fallen wren
tulip kiln
#

I'm not sure if it did spawn at all or it very rarely spawned.

fallen wren
tulip kiln
#

Yeah those spawn,

#

They're the trench coats you can see zombies wear.

fallen wren
#

jar, and chicken hat?

tulip kiln
#

Leather jackets like that always existed but they've been changed now too.

#

Yeah, that hat is new.

fallen wren
tulip kiln
#

The empty jar looks like it's recoloured?

#

Those were added ages ago in 41 I believe.

#

Just a junk item

fallen wren
#

probably unused

#

jar

fallen wren
#

i mean listed in wiki

tulip kiln
#

They were added ages in 41 but they rarely spawned

#

Oh you mean pages that jjust got made?

fallen wren
#

i have encountered it before

tulip kiln
#

Yeah, we didn't have a page for that

fallen wren
#

yea there needs new pages for a lot fo new stuff lol

tulip kiln
#

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.

fallen wren
#

and also like wiki just isnt that much updated all the time tbh

tulip kiln
#

I'd say right now the main priorities are weapons and clothing.

#

and food

fallen wren
#

there is unused blue mug, but there is spiffo

tulip kiln
#

Yeah, spiffo mug is new for sure I think

#

At least I never saw it

fallen wren
tulip kiln
#

Old but didn't really spawn?

#

That dress might be new?

#

I think it is

fallen wren
#

i know the old noise is real, but the one with cd?

tulip kiln
#

not suree

fallen wren
#

ik rice is there but is there rrice paper?

tulip kiln
#

Rice paper is new I believe

#

Rambo bandanas aren't new

fallen wren
#

any new weapons?

tulip kiln
#

Ehhh, not that I know of?

fallen wren
#

example

tulip kiln
#

That's old, just never released

fallen wren
#

idk if there is camo sniper

#

ah ok

tulip kiln
#

Yeah

#

At least I've never seen rice paper yet

vital raptor
#

going off by the translation files you can deduct which items were added from 41.56 to 41.60

fallen wren
#

hmmm

#

gotcha

vital raptor
tulip kiln
#

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

fallen wren
#

yea

#

looks like there are unimplemented ones

#

like some car parts ive havent seens before

#

carb, ignition, radiator..

#

probably for future update

tulip kiln
#

Yeah, some stuff is either not implemented or scrapped.

fallen wren
#

i can tell blacksmith is scrapped

tulip kiln
#

Aye

fallen wren
#

there are 218 pics in my folder that may be new items

tulip kiln
#

I'm near certain that they're new but might not have any function

fallen wren
#

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

tulip kiln
#

Used to hardly ever spawn, I think ya have a chance with the army coat now

#

Just go for the containers at military locations

fallen wren
#

we'll see tbh

tardy yacht
#

Base.BigHikingBag and Base.NormalHikingBag seem to no longer exist in game

elder estuary
# tardy yacht 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

tardy yacht
#

if you try to add item, it says does not exist

elder estuary
#

I don't know what you mean

tardy yacht
#

it says.. does not exist.

elder estuary
#

Alluseri is probably correct, idk what 'add item' means

tardy yacht
#

it is a command in the game man.

#

what do you mean you dont know what it is

#

./additem

elder estuary
#

Never touched it, dunno how it works, I just use debug

tardy yacht
#

so anyways.. again as my statement says, the id listed on the wiki does not work as do the others.

elder estuary
#

Did you try with bag_ prefix?

tardy yacht
#

yes.

elder estuary
#

and?

tardy yacht
#

..... omg

#

lol forget it.

elder estuary
#

imagine getting upset when people try to help lul

elder estuary
#

@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

fallen wren
#

gotcha

fallen wren
wet oracle
fallen wren
#

who should set up the pages tho

thorny pike
#

does anybody know where to find the code for the new forage/search system

exotic solar
#

what is the setting to get zombies to spawn normaly and not like it is right nnow?

rose ravine
#

Not sure if the M14 and M16 are up to date on the wiki, but neither seem to have the critdmgmultiplier line in them

elder estuary
rose ravine
#

I mean yes, the fluff is certainly not there.

teal furnace
#

Is there a repository of all the random events you can stumble upon ? i remember talks about finding tents in the woods etc.

dense badge
#

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)

frail fossil
#

@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

unreal lichen
dense badge
#

LMAO I forgot I posted that and thought your message was from a spam bot for a second 😭

dense badge
#

||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

rustic mist
#

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

granite orchid
#

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 😦

granite orchid
#

Oh lol didint know that thanks

celest sinew
#

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

thorny pike
#

can the guy who edited this page tell me wheres the code for it

slender escarp
#

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)

thorny pike
#

thank you!

slender escarp
#

\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 πŸ˜„

thorny pike
#

great to know

#

ill get to editing after a bit

slender escarp
#

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

thorny pike
#

@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%

slender escarp
#

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 πŸ˜›

thorny pike
#

my brain is exploding

#

thanks for all the info

slender escarp
#

so it'd be 57% effective radius instead of added together which gives 55% radius

slender escarp
#

see the code above where I found something XD

#

lol

stiff granite
#

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?

thorny pike
#

yes actually

#

proteins do affect strength xp gain

stiff granite
#

Cool

#

thanks

#

Just edited the article now

twin rune
#

i love playing without zed respawns

#

its very satisfying to clear out areas once and for all, save for migration events

unreal lichen
#

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

languid kayak
#

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 πŸ™‚

unreal lichen
#

Is there a wiki page for trailers? I’ve seen them on the indie stone website but never in game or in the wiki.

dense badge
#

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

fallen wren
#

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

fallen wren
#

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

tawny warren
#

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.

fallen wren
#

it always start at 6, 12, and 18

tawny warren
#

12:00 AM to 6:00 AM Fishing

#

It shows that for each program

#

It was just updated today with the misleading time ranges

fallen wren
#

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

tawny warren
# fallen wren ohhh

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.

fallen wren
#

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

dense badge
#

one of β€˜em is crashing on some files for unclear reasons but I like the output better lol

fallen wren
#

first aid kit sprite pic needs update

fallen wren
#

using the first aid kit code, i did this

fallen wren
#

that probably makes sense though, i mean i never edited on the wiki before

civic anchor
#

Man, never knew what that image was. Always thought it was some icon, never looked super close lol

thorny pike
#

since build 41 is officially the stable version,we should remove older info

dense badge
#

TRUE

#

based

vocal ingot
#

Can we make mod wiki into pz wiki?

#

I'd love to help

#

Like Hydrocraft and more

abstract garnet
tulip kiln
abstract garnet
#

I never saw it

tulip kiln
#

Hard as fuck to find in my experience.

#

Rifle cases are in too but they're not too hard to find.

fallen wren
#

i think

thorny pike
#

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

tulip kiln
still owl
#

Cowboy hat colours dont have their ids listed it seems.

dusky verge
#

Specially the zombies settings

languid spindle
#

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.

merry elk
#

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!

tulip dove
#

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

frail fossil
#

Build 41 Stable: December 20, 2021

velvet wind
#

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

inner swallow
#

transmit range of radio - is it a radius or a diameter?

young patrol
#

@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;
}```
young patrol
#

also I'm getting this error again:
permissiondenied: The action you have requested is limited to users in the group: [[PZwiki:Users|Users]].

young patrol
#

tried from a different IP just in case but same problem

young patrol
#

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

young patrol
#

@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?

fallen wren
#

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?

young patrol
fallen wren
young patrol
fallen wren
#

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

young patrol
#

yeah I see what you mean

fallen wren
#

i guess what i meant was having a more consistent format for all info

young patrol
#

@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

fallen wren
#

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

young patrol
#

indeed

fallen wren
#

o, so you using the code to generate a barebones site

#

of said data

young patrol
#

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

young patrol
#

@fallen wren would that be ok to you to have to edit the JSON files instead of the wiki?

fallen wren
young patrol
#

there are software to help edit files in JSON format

#

"software" like browser addons etc

fallen wren
#

idk tbh

young patrol
#

I just hope I'm not the only one who needed this πŸ˜…

young patrol
#

@quartz bear it's to separate the minutes from the hour

#

@restive adder Hello, any chance to have the css changed?

restive adder
young patrol
#

@restive adder sure πŸ‘

young patrol
#

@quartz bear well it would only be cool if I could use it without moving my hands away from the keyboard

young patrol
#

ah now that's cool!

midnight kraken
#

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.

rancid sable
#

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

gilded quarry
rancid sable
#

My confusion was about using both general bonus and x multiplier.
Personally used to see the +40%, not 140%x

gilded quarry
#

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

rancid sable
#

I mean using it without x is fine to me

gilded quarry
#

ill make an account on the wiki and remove it

#

i think without the "x" is fine too

rancid sable
#

That is purely subjective opinion of mine. But I think somebody will get as confused as myself

frail fossil
#

hi i made a pancake mix page but its looking pretty crappy so far

gray pike
#

dab

spring heart
#

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

verbal sonnet
#

Oops

#

Saw editing.

#

πŸ˜†

vagrant knoll
#

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^^)

elder estuary
shut bison
#

does anyone know if this has been fixed as of build 41.65?

gilded quarry
#

strength and fitness are still excluded from XP multiplier at character trait selecting thing

shut bison
gilded quarry
shut bison
#

damn that sucks, hope they manage to fix this since raising both of those stats is already really slow πŸ˜…

cedar geyser
dapper loom
#

And is that the correct wiki?

clear palm
#

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
#

There is already a vhs page though?@clear palm

#

Hell it looks like a dev updated it

clear palm
#

@prisma dune idk i didnt find it when i searched about...

prisma dune
elder ledge
#

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

prisma dune
#

Yes it did save

daring forum
#

I think matches page is out of date, they aren't usable with Molotov unless it is a bug

exotic ginkgo
#

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?

white remnant
exotic ginkgo
#

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.

white remnant
#

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

exotic ginkgo
#

Yeah, essentially exactly that

white remnant
#

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

white remnant
#

oh shoot, that's awesome to hear. do you know how far along the project is/where it's being discussed?

young patrol
#

I put the data in a JSON files, and then all the pages can be generated from this

white remnant
young patrol
#

hmm no I'm just co` πŸ˜…

white remnant
#

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

white remnant
young patrol
white remnant
#

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

young patrol
#

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 πŸ˜…

white remnant
#

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

young patrol
#

of course, you'd still have to write some information manually though, some things are just not in the script files

white remnant
#

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

young patrol
#

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

white remnant
#

with the built in wiki templates, that should nullify a lot of the busy work

young patrol
#

problem is if you want to mix manual edits with automatic edit

white remnant
#

ahhh, I see

#

I think what @exotic ginkgo mentioned earlier about using a database system for PZwiki could perhaps solve some complications there

young patrol
#

what's the difference with using a database?

#

I mean how would that address the issue about mixing manual/automatic editing

white remnant
#

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

exotic ginkgo
#

Wait what's the issue specifically with manual and automatic edits?

white remnant
#

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

young patrol
exotic ginkgo
#

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

white remnant
#

though that'd probably only benefit items/vehicle pages most, if at all

young patrol
#

@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?

exotic ginkgo
#

I'm trying to find an example rn

young patrol
white remnant
#

they're both in items > baggage, no?

young patrol
#

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

exotic ginkgo
#

There shouldn't even be a "Build 41" section in the first place imo

white remnant
#

ah, yeah

exotic ginkgo
#

Previous builds should be previous page versions

young patrol
#

if you clearly define what section should get edited automatically it could work

exotic ginkgo
#

I'm looking into how it works exactly rn

young patrol
#

but how would you prevent people from manually editing the automatic section for instance?

white remnant
#

it could be like wiki/big_hiking_bag_build40 or something less ugly to archive it

exotic ginkgo
#

I mean, people COULD break whatever code exists there, I guess

young patrol
#

not break, but write stuff that would get overwritten

exotic ginkgo
#

If it works the way I'm thinking it does, that's not really a thing that can happen

white remnant
exotic ginkgo
#

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

young patrol
#

they could be adding some stuff that would get lost?

white remnant
#

lost from the scripts parsing through the game files?

exotic ginkgo
#

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?

white remnant
#

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

exotic ginkgo
#

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?

white remnant
#

then you fill it out manually, but that way you could find out what the script fails to catch

young patrol
#

but people are people, they just don't follow rules most of the time πŸ˜‚

young patrol
white remnant
#

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

young patrol
white remnant
exotic ginkgo
#

Semantic MediaWiki seems promising

white remnant
#

"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

young patrol
exotic ginkgo
#

Yeah

white remnant
#

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

exotic ginkgo
#

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

white remnant
#

like it's like a reference, i.e. "<damage>", coming from the database itself?

exotic ginkgo
#

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.

white remnant
#

there you go

exotic ginkgo
#

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

young patrol
#

hmm but wouldn;t you have to change the whole wiki to make it happen?

exotic ginkgo
#

What do you mean?

white remnant
#

you'd certainly have to migrate it manually, most likely

young patrol
#

who's going to do the job?

white remnant
#

I'd be totally up for the more manual bits

exotic ginkgo
#

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

white remnant
#

Though I'd imagine most of that would be in the hands of the wiki owners

exotic ginkgo
#

The thing is that doing this would require installing a mediawiki extension

young patrol
#

that could be problematic in itself, the wikimedia version is quite outdated

young patrol
#

that's what I did for the Lua Events section

exotic ginkgo
#

Yeah, essentially the same thing just looking at it the other way. Keep the stuff that isn't automated, replace everything that can be.

white remnant
#

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

exotic ginkgo
#

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.

young patrol
exotic ginkgo
#

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

young patrol
#

I'm not either :/

exotic ginkgo
#

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

young patrol
#

well problem is you can't delete your own pages

#

I configured a separate mediawiki instance to work on the Lua Events

white remnant
#

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

exotic ginkgo
#

I'm just gonna mess around on my user page I guess

white remnant
#

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

exotic ginkgo
#

You can make pages that just hold the data, then pull that data into the actual article

white remnant
#

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]]

exotic ginkgo
#

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

white remnant
#

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

vagrant knoll
#

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? :)

crude moth
#

I was editing the wiki but the problem is that the Map is not updated and i dont know what to use

young patrol
#

@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;
}```
white remnant
vagrant knoll
#

yep, that's exactly what I mean ; I want to create the page "Champignon", and then link it to the "meta" page "Mushroom"

white remnant