Project Zomboid

Project Zomboid

[B41 MP only] bikinitools: Server Edition
Coot 12 Nov, 2024 @ 2:15pm
My players no longer need to be at an ATM to exchange items for money
I use 2 ATM locations on my map, one in PvP one in PvE zones so that players need to travel and interact in set locations to build community and add risk of loss with items before cashing out. Now all of my players can open the menu and cash out in situ while farming endlessly without need to hit the bank. Is there any way currently I can disable this feature?
< >
Showing 1-12 of 12 comments
Khaldrogo 12 Nov, 2024 @ 3:14pm 
having this same issue. Minimum tile distance isn't working for exchanging of items
bikinihorst  [developer] 13 Nov, 2024 @ 3:45am 
this is an older sandbox option colliding with the new reality of an always available ui. in the past you would only have the exchange options at an atm via right click and now it is a regular part of the ui. the option's meaning has changed.

under sandbox options for the economy:
- uncheck "Allow exchange of valuables to currency"
- check "Allow valuables exchange at ATMs"

i'll change the option names for their new meaning in the next update.

the first one should be "Allow exchange of valuables to currency anywhere"
Last edited by bikinihorst; 13 Nov, 2024 @ 3:55am
Coot 13 Nov, 2024 @ 7:48am 
Edit: replied before I woke up all the way. We have:
AllowValuablesExchange = false,
AllowExchangeAtATM = true,
AllowPaycheckAtATM = true,
SendBalanceAsDocument = true,

And still selling from anywhere
Last edited by Coot; 13 Nov, 2024 @ 7:56am
bikinihorst  [developer] 13 Nov, 2024 @ 8:59am 
after the most recent update? i can't reproduce this issue. i tested these combinations of the 3 factors before updating:
- "allow from everywhere" does what it says and overrides the others
- "allow at any atm" on and "allow from everywhere" off needs an atm close by to sell items
- both off and firmware updated for an individual ATM to allow exchange works too

the check if the button is active / exchange view on the right is visible returns true if any of these conditions are met:
- in a bank area
- ATM has an exchange exception set
- "allow everywhere" is on
- "allow at ATM" is on and there is a valid ATM close by
Last edited by bikinihorst; 13 Nov, 2024 @ 9:00am
Coot 13 Nov, 2024 @ 10:59am 
Thanks for the info!
I just ran through your list, checking the sandbox on my ftp I had:
-- People will be able to open the UI and exchange goods where and whenever they want.
AllowValuablesExchange = false,
But could still sell from anywhere.

I went to one of the only 2 ATM's on the map and the
"Allow turning in paychecks"
"Allow valuables exchange"
were both UNchecked. I checked them, hit apply and got the conformation that it saved. After that I can no longer sell from anywhere on the map.

I do have a new issue though.
Before the update as long as I didnt use a KI5 vending tiles players could NOT buy global items but after the update any container that was made a player vendor is selling the global store items.
Still troubleshooting this with options.

I'll update if I find anything new, thanks for the help!
bikinihorst  [developer] 13 Nov, 2024 @ 11:36am 
it's supposed to work like that because a container made a shop is functionally identical to a vending machine.

offering the global shop there should always have been the case because the identification for a tile to be a vending machine is done via the moddata entry the container menu sets.

without the dedicated shop terminals and decoupled from the chat i had to offer a way for people to access the global shops and this way was bound to a tile identifying as vending machine.

in a future update vending machines will not offer the global shop anymore so it will be removed from the containers that were modified too. people just need some time to set up terminals.
Coot 13 Nov, 2024 @ 11:51am 
Thanks for everything!
Khaldrogo 13 Nov, 2024 @ 1:15pm 
yep fixed our issue too appreciate the reply
Coot 14 Nov, 2024 @ 1:02pm 
Well I'm back to this issue resetting. I'm not sure what variable keeps changing but its driving me nuts. After a restart its back to global sales.
My sandbox doesn't change from "AllowValuablesExchange = false" so I'm not sure what is happening. I'll keep digging today and see what I can find. So far what is working is to go back to my atm, turn off sales, apply and turn off sales then apply.

It might be an issue of having more than one Admin with a local map_sand.bin flipping settings on and off. We're testing now.
Last edited by Coot; 14 Nov, 2024 @ 1:59pm
Coot 16 Nov, 2024 @ 4:00pm 
Udderly UpToDate is preventing me from using that sadly. Diakon says he cant fix a work around for the map_sand problem.
Fallen Seraph  [developer] 1 Dec, 2024 @ 7:48am 
Originally posted by Black Flag Forge:
Udderly UpToDate is preventing me from using that sadly. Diakon says he cant fix a work around for the map_sand problem.

Manually delete map_sand.bin, adjust your settings in the pzserver_SandboxVars.ini and then start the server. They'll take at that point. The map_sand.bin is a single player file that gets created when the server is saved in certain ways. I've only seen this happen with Udderly UpToDate. You can delete map_sand.bin at any time even if the server is running.
< >
Showing 1-12 of 12 comments
Per page: 1530 50