Project Zomboid

Project Zomboid

[B41 MP only] bikinitools: Server Edition - new vehicle ownership submod out!
Coot 2024 年 11 月 12 日 下午 2:15
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?
< >
正在显示第 1 - 12 条,共 12 条留言
Khaldrogo 2024 年 11 月 12 日 下午 3:14 
having this same issue. Minimum tile distance isn't working for exchanging of items
bikinihorst  [开发者] 2024 年 11 月 13 日 上午 3:45 
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"
最后由 bikinihorst 编辑于; 2024 年 11 月 13 日 上午 3:55
Coot 2024 年 11 月 13 日 上午 7:48 
Edit: replied before I woke up all the way. We have:
AllowValuablesExchange = false,
AllowExchangeAtATM = true,
AllowPaycheckAtATM = true,
SendBalanceAsDocument = true,

And still selling from anywhere
最后由 Coot 编辑于; 2024 年 11 月 13 日 上午 7:56
bikinihorst  [开发者] 2024 年 11 月 13 日 上午 8:59 
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
最后由 bikinihorst 编辑于; 2024 年 11 月 13 日 上午 9:00
Coot 2024 年 11 月 13 日 上午 10:59 
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  [开发者] 2024 年 11 月 13 日 上午 11:36 
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 2024 年 11 月 13 日 上午 11:51 
Thanks for everything!
Khaldrogo 2024 年 11 月 13 日 下午 1:15 
yep fixed our issue too appreciate the reply
Coot 2024 年 11 月 14 日 下午 1:02 
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.
最后由 Coot 编辑于; 2024 年 11 月 14 日 下午 1:59
Coot 2024 年 11 月 16 日 下午 4:00 
Udderly UpToDate is preventing me from using that sadly. Diakon says he cant fix a work around for the map_sand problem.
Fallen Seraph  [开发者] 2024 年 12 月 1 日 上午 7:48 
引用自 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.
< >
正在显示第 1 - 12 条,共 12 条留言
每页显示数: 1530 50