Project Zomboid

Project Zomboid

Shops and Traders
893 Comments
cDa 7 Jul @ 3:34pm 
I'm really struggling here on how to set the recipe up so players can craft a Shop Deed in-game. Does anyone have any pointers/examples I can copy and try to learn from it?
Pazos 1 Jul @ 12:43pm 
Same error here:

> I've run across an issue where when trading between player, I can put in an offer, for example, offering $5 in trade for a can of beans, but when we both seal the transaction, the money is not removed from the wallet or sent to the other player, and they keep the item. It's as though the transaction failed. Is this a known bug? We would like to use the wallet for player-trade functionality, but right now it's only usable with the physical item.
Chuckleberry Finn  [author] 30 Jun @ 4:48am 
Selecting edit writes to the local backup file, selecting load grabs from that file. The actual list is in the world's data.

So if you tried loading from a blank file it could have wiped your whole store list. That would cause stores to self-wipe when you interact with them as they don't exist in the world's data.

If you can try exporting the list and sharing it here I can try to recreate what you're seeing.
Comando 30 Jun @ 12:56am 
Basically, each shop behaves as if it was just freshly created. When I click on a shop, it disappears completely. None of them have a name, and the exported ones that I haven’t clicked on yet are just called “new store” with no contents.
Comando 30 Jun @ 12:54am 
No, unfortunately I don’t. The file couldn’t be loaded anyway—it just gave me an error, so I tried to rewrite it. At that point I didn’t know it would actually remove about 90% of the shops on the map.
Chuckleberry Finn  [author] 29 Jun @ 1:41pm 
Do you have an export file I can test?
Comando 29 Jun @ 1:10pm 
Unfortunately, this new update completely broke all the shops. All shops are inactive or stuck in admin mode, and I can’t reload a backup. After I try to reload a backup, all shops disappear completely.
Chuckleberry Finn  [author] 19 Jun @ 12:53pm 
- New Feature: Sandbox option so that Power is required for shops.
This should not prevent owners from stocking or managing their stores, only purchases.

- New Feature: [Experimental] Shops now track their assigned locations.
This system is to support wipes/resets.
The only way to modify locations is through edit/load.
Right clicking on tiles compares them to the shops list.
Tracking occurs whenever a shop is assigned.
If there are performance concerns or drops, visiting the shops once and toggling the sandbox option is fine.

- Fix: Splitting/Place in Wallet now better supports multiple items selected at once.
Split only applies to the first item found in the selection.
Place in Wallet will apply to each item.

- Tweaks/Improvements:
Changes to how wallet logic is handled.
Changes to how context menus are handled.
Death Divers 4 Jun @ 12:37pm 
I seem to not be able to have zombies drop wallets to add to your own currency, so how would players get money to add to their wallet in the first place?
Other than that, it seems to work great for me. thanks!!
spellchekk 19 May @ 5:53pm 
I've run across an issue where when trading between player, I can put in an offer, for example, offering $5 in trade for a can of beans, but when we both seal the transaction, the money is not removed from the wallet or sent to the other player, and they keep the item. It's as though the transaction failed. Is this a known bug? We would like to use the wallet for player-trade functionality, but right now it's only usable with the physical item.
omen 15 May @ 10:26am 
I dont know if anyone else experienced this but when using the option “place in wallet” the money disappears and it doesn’t get added to the wallet
Chuckleberry Finn  [author] 29 Apr @ 3:56pm 
It should be part of the same text for shops admin start.
Orlo6k 29 Apr @ 1:24pm 
is there a log or file where admins can see all shops created by players?
Chuckleberry Finn  [author] 27 Apr @ 3:13am 
Thank you for the insights.
Gojita 26 Apr @ 11:40am 
+ Simple and clean UI
+ Drag-and-drop item functionality
+ Integrated economy/wallet/money system
- Complicated shop setup process
- Redundant information presented to the player

Overall, this is a well-conceived mod with strong potential. However, your presentation could be significantly improved — from the cluttered screenshots to the in-game user experience. Simplifying the information required and streamlining the setup process would make the mod much more intuitive, accessible, and enjoyable to use.

I understand that dev a mod is a tough task, and I appreciate the hard work you've put into this. I'm just giving you an honest feedback.
Orlo6k 30 Mar @ 5:28am 
Thanks, you're the best!
Chuckleberry Finn  [author] 29 Mar @ 5:33am 
I'll check it out, thanks.
Orlo6k 29 Mar @ 2:47am 
@Chuckleberry Finn That option just says "When the player dies their current wallet is deleted, after the drop percentage is deducted." After respawning players just have the "Starting Amount of Money" and don't keep their wallets regardless of if that option is turned on/off. Tried money drop percentage at 0%, 50%, 100% and that just changed money on corpse. Both "Player Wallets" & "Can Withdraw Cash" were turned on for all tests.
BazzaroPlays 28 Mar @ 4:33pm 
Is there a way to make it work with Lootboxes. When i currently take a zombie down I get 1$ but then its money and change in my inventory.
Chuckleberry Finn  [author] 26 Mar @ 6:37pm 
The wallet should carry over with the`PlayerWalletsLostOnDeath` sandbox option.
Orlo6k 26 Mar @ 6:31pm 
Is there an option for players keeping their money(or a percentage) when they respawn as new characters instead of it just being on corpse only or deleted?
Tax 20 Mar @ 12:22am 
@DevNFPS How about you just give the same item this uses a value based on the Bikinitools currency? kind of like a interchangeable token. idk man be imaginative that's part of the fun. Besides is it really needed? This already uses it's own currency, why would you want another?
Chuckleberry Finn  [author] 12 Mar @ 12:38pm 
I wouldn't recommend using 2 mods centered around economy.
DevNFPS 12 Mar @ 12:27pm 
Hey there! Is there anyway to make the shops use the currency set by Bikinitools Economy?

They use a itemless currency.
山田凉 9 Mar @ 8:30am 
emm Hi Im the owner of a server,the shops in my server is have a kind of blast...all things are messed.I have backed up the text document of the shop but I dont know where the document is in the server.Is there a way I can recovery these shops?
Oreo Brownie 4 Mar @ 8:43pm 
I fixed the issue by adding the mod "Bigger Character Avatar" for anyone having this issue
42halomaster42 4 Mar @ 6:58pm 
i am sorry for the 100 questions i am having a hard time with the guide i cant see some of the words i tried to fined a guide online but i cant is their
Oreo Brownie 4 Mar @ 6:51pm 
I checked on a sp world with the same mods im using and i had the wallet there, i think the problem is that in my sv i have way too many traits that they are taking up the space where the wallet button should be.
Chuckleberry Finn  [author] 4 Mar @ 6:40pm 
It is for a MP economy, you'd have to set it up.
42halomaster42 4 Mar @ 6:37pm 
thank you now my loot goblin habits have a use now are their npc/ shops single player shops i am not sure i am understanding the guide
Chuckleberry Finn  [author] 4 Mar @ 4:40pm 
Sure. Skim the guide images at the top.
42halomaster42 4 Mar @ 2:52pm 
can i sell any item i want to the trader?
Chuckleberry Finn  [author] 4 Mar @ 1:23pm 
Have you tested with just this mod? Maybe you have another mod changing the character page?
Oreo Brownie 4 Mar @ 12:46pm 
Help i cant find the wallet button in my UI
Chuckleberry Finn  [author] 26 Feb @ 5:25am 
I have merged your PR- I'll be waiting a bit to see if anyore bugs occur before updating it. (To limit the number of updates)
Chuckleberry Finn  [author] 25 Feb @ 10:09am 
Not able to update it for a few hours.
etomarat 25 Feb @ 9:34am 
I'll make a PR in your repository. Can you update it quickly if I can fix the problem? If not, then I'll have to update my mod with a fix.
etomarat 25 Feb @ 9:32am 
Yes, you're right, it's my mistake. I'll update the files tomorrow. I was informed that there were still problems, this time with the withdrawal of money. But I haven't been able to reproduce the Issue yet.
Chuckleberry Finn  [author] 25 Feb @ 4:49am 
I can recheck the encodings, I just grabbed your files as is.
etomarat 25 Feb @ 3:51am 
There is a problem. The files of the Russian localization should be encoded in windows-1251, now some of them are in utf-8
Chuckleberry Finn  [author] 24 Feb @ 3:30pm 
For sure, I'll check it out. Currently working on an update. If you're familiar with GitHub you can send a Pull-Request there as well.
etomarat 24 Feb @ 2:34pm 
Hey! I noticed that the "Split" function wasn’t working correctly, so I made a fix that allows proper money stack splitting. I also added a full Russian translation. If you're interested, you can check it out here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3433794478

Let me know if you'd like to integrate these fixes into the main mod!
nrnz 14 Feb @ 10:55pm 
Encountered 2 bugs. Players can't withdraw cash from their wallet and selling an item to any listed category (tested with Jewelry/ClothJew/Med) would take the player's item but yield no money.
A 5 Feb @ 10:56am 
@Chuckleberry Finn Is there any way we could possibly see a change to where when we hit enter the new price gets applies and the change is automatically applied to the shop item entry? Because unfortunately right now even when we're simply previewing a shop entry it requires us to hit the + button to be able to click any other item on the list in a shop.
Dj / Booce 5 Feb @ 6:01am 
Oh, never knew that. Thats new.
Chuckleberry Finn  [author] 5 Feb @ 5:51am 
Leaving the area should work too.
Dj / Booce 5 Feb @ 5:44am 
@BakedBeans we have had this issue on our rp server. The players were too close to the shop while it was in manage mode, so the only fix is to either have them relog/rejoin or restart the server. Just simply make sure the shop is not in the red "Manage mode" and is just the regular black, and then exit out and let them relog and see if it works from there.
Chuckleberry Finn  [author] 5 Feb @ 4:19am 
If selecting the management button doesn't set it to non-managed for players around you they could try leaving the cell and seeing if the data is properly loaded.

I'll look into a better way to trigger loads.
BakedBeans 4 Feb @ 7:52pm 
Having some trouble getting this to work and our issue isn't covered in the pictures. My server admin can make functional shops, and can buy things from the shop I made. I can also buy things from my own shop, but no other players on the server can buy from it. It tells them it's inaintenance mode. We also can't figure out how to collect the money that we deposit or gain from sales back out
iDestin 4 Feb @ 2:28pm 
How do you set your store out of management mode so other players can buy items