Project Zomboid

Project Zomboid

Shops and Traders
966 Comments
roytohan 2 Oct @ 6:57am 
I bought the excessive Items out of the Stores and deactivated reselling. Now the Stock Items don't go beyond the wanted Max Stock.
roytohan 2 Oct @ 6:22am 
I deleted the Shops manually from the exportedShops.txt, that seems to work but I got another problem. The restock count wont reset it
BabaYaga 30 Sep @ 12:06pm 
Hello, I'm trying to remove certain locations from the list of shops, but I'm not sure how to properly edit the exported shops txt file and run into errors when trying to import it back.
Chuckleberry Finn  [author] 30 Sep @ 8:00am 
I'll look into it, if the shop is gone from the list it shouldn't have a marker.
roytohan 30 Sep @ 4:26am 
Soft wiped the server. Deleted all safehouses and stuff. The White Shop Icon from before Map Wipe is still there. I tried pasting in a Container, adding a Shop to it and removing it again didn't make the Icon disappear. What do?
benjamin5455 28 Sep @ 7:04am 
How do I set up shop and stuff please make a tutorial on youtube i really cant figure it out
iDestin 19 Sep @ 1:46am 
Hey @chuckleberry Finn, love the mod. Running into a small issue where I believe from test, once the cap of a selected store is pass its capacity people can then sell things ' which don't get removed from there inventory' and basically clear the money in the store by ghost selling. Didn't seem to be like this on previous updates. Let me know if you need more info.
Chuckleberry Finn  [author] 16 Sep @ 5:32am 
Ty @bioinformer -- I recently added something to hide listings with issues, this may be throwing off mouse x/y check.
Chuckleberry Finn  [author] 16 Sep @ 5:31am 
It uses in-game hours which can vary -- but should be easy to decipher. Haven't ever looked if the game can even tell what time it is locally.
habibassiddiqi1 16 Sep @ 3:19am 
please add restocking item by realife time, example by UTC, GMT, etc
bioinformer 3 Sep @ 5:30am 
cross posted this to Git as well.
bioinformer 3 Sep @ 5:30am 
Think I found a bug - when you have specific items listed and a Category of items, the click UI is off by one line when you finishing Managing the shop and open it for business.

for example - i created a shop the buys and sells Category: Food. exited manage mode. then sold a bunch of food to the shop. the items were added to the shop inventory to be resold, as intended, but when I select specific food items from the list the item that gets selected is one line ABOVE the line of the item I actually clicked on. I think there's an indexing issue / offset issue in the code perhaps?
Shiv1920 2 Sep @ 9:18am 
Can someone please share vanilla exportedShops ready file
Seeker 26 Aug @ 10:08am 
What’s missing for the mod to be perfect is the ability to organize the order of items in the shop, for example, dragging the last item to the top. Also, in the future, it would be great if a single shop could access multiple product categories.
Seeker 26 Aug @ 10:03am 
Hello, Dev! In the next update, could you save the translations I sent in ANSI? I mistakenly sent them in the wrong format UTF-8. This fix applies to both PTBR and PT, so that accents and special characters like 'ç' display correctly.
Inboundfish 24 Aug @ 3:21pm 
the best way i can describe is when I click the + to confirm the settings for that item, another appears with the chosen settings but the one I was changing reverts back to the default 'Free, 0%, 0/0) etc.and im left with 2 items for sale yet neither work
Inboundfish 24 Aug @ 3:20pm 
i have tried doing it one by one, that doesnt stop the item from duplicating into 2 separate sale options in the window
Chuckleberry Finn  [author] 24 Aug @ 3:15pm 
You could include both ID types.
Inboundfish 24 Aug @ 2:38pm 
is there any work around for it?
Chuckleberry Finn  [author] 24 Aug @ 2:32pm 
Jewelry items are a bit strange as there's an id for both left and right (or other wearable locations)
Inboundfish 24 Aug @ 1:30pm 
i cant seem to get traders to accept some jewellry items, the way i have set up the trader is i can sell various jewellry items and also greenfire mod items to a shady trader. then take that money to other traders at a camp to buy goods.

currently when i set up trades for the silver ring, gold ring, silver bangle, diamond on both silver and gold rings, it creates a second trade option at the bottom of the list with the chosen settings and leaves the original item with its default settings.

i think this is making those items unable to be sold.
Chuckleberry Finn  [author] 24 Aug @ 10:34am 
That would be an interesting thing to attempt.
bioinformer 24 Aug @ 6:42am 
Thanks for the updates recently! So far - players on our server are loving the updates.

I have a suggestion: dynamic pricing option would be really cool. What I mean is the following:

Store owners can set a limit on how many items they want to buy back, and then control what happens to the buyback price once that limit is reached. This could be used in a variety of cool ways. For example:

1. Server stores could have a bounty on items. i.e. until a inventory threshold is reached, the store is paying % of the sell price, and then once it's stocking what it needs, the buyback price drops by %% or by $$ per additional item... this could eventually drop to zero
2. The server could use this as a "bounty" system for competitions - ie first player who finds a rare item sells it for a big payout, but afterwards, the buyback price drops to $0

loads of other fun things could be done with this as well.
Seeker 21 Aug @ 6:27pm 
Hello, Dev! In the next update, could you save the translations I sent in ANSI? I mistakenly sent them in the wrong format UTF-8. This fix applies to both PTBR and PT, so that accents and special characters like 'ç' display correctly.
Primedew 21 Aug @ 10:28am 
above and beyond...thanks for the update on a theoretical what if question...made our mod transition smooth as butter
Primedew 20 Aug @ 3:32pm 
thanx...i know it's good (in some cases) but no player shops
Chuckleberry Finn  [author] 20 Aug @ 3:10pm 
Before preferably, but it shouldn't matter. Also, Immersive Shops is a good mod. :(
Primedew 20 Aug @ 3:07pm 
thanks a lot....now we can finally ditch that unrealistic trade mode....btw we currently have "shops and traders" last on our load order..should "immersive currency" be loaded before "shops and traders" or after?
Chuckleberry Finn  [author] 19 Aug @ 4:13pm 
The config option shows all shops, I'd have to see what you're seeing.
BabaYaga 19 Aug @ 4:12pm 
Sorry for bothering but I'm still having the issue I wrote about before. The config only shows me the file of the shop I'm currently interacting with. Is there a place where the txt files for all the shops are stored? The ones I'm trying to get rid of, are physically inaccessible. When I press on them, there's no "apply store" or "shop" options available, despite the shop marker being there.
bioinformer 19 Aug @ 4:09pm 
This is amazing. You rock. Donating now.
Seeker 19 Aug @ 3:40pm 
The dev is referring to the Immersive Currency mod from the link below!
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2929712315
Chuckleberry Finn  [author] 19 Aug @ 2:36pm 
Added support for Immersive Currency.
Chuckleberry Finn  [author] 18 Aug @ 5:09pm 
I've been on it for a few hours, I think I got all the money behaviors sorted. I'll test it more tomorrow.

If you and your friends/community want to visit my Kofi I also include stickers with donations. :)
Kuma Khan 18 Aug @ 4:00pm 
Please let me know Chuckleberry, don't mind sending some money your way!
Chuckleberry Finn  [author] 18 Aug @ 1:41pm 
I've been looking into and it does seem feasible.
Kuma Khan 18 Aug @ 2:07am 
Like bioinformer, I'd love to be able to use IC with Shops & Traders if that's possible! Willing to pay for compatibility.
Chuckleberry Finn  [author] 17 Aug @ 5:18pm 
The config menu applies to all shops regardless of where you access it.
Chuckleberry Finn  [author] 17 Aug @ 5:18pm 
Your right click can't reach it?
BabaYaga 17 Aug @ 5:14pm 
The problem is that I can't open "assign a shop" because my right click doesn't seem to be able to reach it and there's no container that I could click on either
Chuckleberry Finn  [author] 17 Aug @ 3:53pm 
If you go to assign a shop you can select configure to modify things.

You'll have to export the games stores, edit the text, and load them back into the game.
BabaYaga 17 Aug @ 3:35pm 
Sorry if this is a dumb question but I spent multiple hours and just couldn't find anyone else asking or answering this question. I have attached a shop to a tile that doesn't seem to be available anymore. When I right click on it, the shopping just doesn't show up as an option, so I can't even remove it from that area. Is there any way I could detach the shop remotely, as an admin? Is there a txt file that has all the shop information in my "user" that I could edit manually perhaps?
Chuckleberry Finn  [author] 17 Aug @ 2:27am 
Not to my knowledge, I'd have too look into IC. The main reason I avoided other currency mods was due to the fact PZ item stacks aren't true stacks. Even in the inventory you're actually dealing with hundreds of items - which is why you crash.
bioinformer 16 Aug @ 9:40pm 
Chuckleberry - so... do you know of a mod that is like Immersive Currency, but that works with Shops & Traders? We were using IC and S&T together, I had set the "money item min and max" to $1, which seems to work well due to the way IC produces stacks of money with random values... but... sometimes we could crack a safe with like $4000 and we would get 4000 $1 bills, which when added to the S&T wallet would crash people's PZ client. hard crash... like.. no error logs.

plus.. when they logged in, sometimes (inconsistently) it woudl result in a dupe of the stack. Soo... as server admin, I was like "nope nope nope" - and I've removed IC from our server. But... the players loved using both - mainly bc the IC mod allows for people to crack safes, ATMs, vaults, and cash registers to get money out. So now we're looking for something that does that but that will "play nice" with S&T's code base.

Any suggestions?
bioinformer 15 Aug @ 9:56am 
OMG the markers feature... ROCKING! I'm logging into our server on my lunch break to check this out. LOL...
Chuckleberry Finn  [author] 15 Aug @ 7:03am 
Update:
- Tweak: Selecting shops follow vanilla 'isBlocked' check logic.
- Click on container to browse shop fixed.
- Shops now show markers (system developed from Last Stand Together).
Chuckleberry Finn  [author] 13 Aug @ 10:55am 
Update:
- Added PTBR/PT translations. Credit: Seeker.
- Tweak: Clicking containers browses the store.
- Fix: Store-Assignment requires the object to be a valid container.
Chuckleberry Finn  [author] 13 Aug @ 5:26am 
Currently no, but I do have something in Last Stand Together for this purpose -- I've been mulling over how to implement it better here.
bioinformer 13 Aug @ 5:09am 
Chuckleberry - Are you aware of any mods that we could use that would add a popup or sign or something over the stores to make them a bit more obvious for players to find? Currently we're using grafiti mods to write on the walls next to the stores, but it looks pretty jank. A nice pop up on hover like TICS: Total Immersive Chat System would be sweet - but I don't think anything like that exists
Bucky Barnes 11 Aug @ 9:05am 
any video demo for the mods? tia.