• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Deactivate auto-buy feature from rented vending machines at trader?

Heliox

New member
Hey

we are running a mulitplayer server and have balanced a lot of the prices and economy to make the duke coins worth something in a multiplayer environment.
Now players are using the rental vending machines at traders to earn easy money, without any player interaction.
(The game "buys" stuff from the rented machines in intervalls)

I wanted to ask if someone knows a way to disable this feature?

Greetz

 
Perhaps adjusting the prices would also be a possible solution, but unfortunately the override_buy_markup="1.0" does not work.

<!-- Rented - Vending Machine -->
<trader_info id="5" reset_interval="-1" override_buy_markup="1.0" override_sell_markup="1.0" allow_sell="false" rentable="true" rent_cost="2500" rent_time="30"/>




Best solution would be something like autobuy = "false"

 
Last edited by a moderator:
Hey

we are running a mulitplayer server and have balanced a lot of the prices and economy to make the duke coins worth something in a multiplayer environment.
Now players are using the rental vending machines at traders to earn easy money, without any player interaction.
(The game "buys" stuff from the rented machines in intervalls)

I wanted to ask if someone knows a way to disable this feature?

Greetz


Hi Heliox

If it were a mod, just removing it from the folder would be enough.
But if they modified the vanilla Xml, if this option of the code is like this:

allow_sell = "true"

change it to "false", it should work.
Regards

 
Exactly,

i think this is more of a single player feature, it would be awesome to have a option to disable it on a multiplayer server.

 
Hey all :)

I tested it on AlphaGround Server with video capture. 

For this I rented a new vending machines on ingame day 628 and added 30 Items for sell. 

After 20 ingame days (somthn about 2 rl days) I checked the machine.

See self how the system buy much stuff. 






Im sure its working on your server too. 

Greetz, Tylos

 
On 7/27/2021 at 12:24 PM, Tylos said:

Hey all :)

I tested it on AlphaGround Server with video capture. 

For this I rented a new vending machines on ingame day 628 and added 30 Items for sell. 

After 20 ingame days (somthn about 2 rl days) I checked the machine.

See self how the system buy much stuff. 





Thanks for sharing the information Tylos.
Regards

 
Back
Top