Jump to content

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


Recommended Posts

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

  • Like 1
Link to comment
Share on other sites

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"

Edited by Tylos (see edit history)
Link to comment
Share on other sites

20 hours ago, Heliox said:

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

Link to comment
Share on other sites

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

 

 

  • Thanks 1
Link to comment
Share on other sites

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. 

 

 

 

Im sure its working on your server too. 

 

Greetz, Tylos

 

 

 

 

Thanks for sharing the information Tylos.
Regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...