Cannot change the buy amountNot An Issue

Is anyone facing the same problem that we can't add or subtract - +  or even enter the amount of buying? it stuck at 1 amount

we can only buy 1 even though we had enough currency to purchase in bulk 

 

Max Stock: 999999
Seconds Between Refills: 1
Refill Amount: 999999

 

 

 

Same here!

So far, I'm not able to reproduce this issue, except for items with condition, which were already subject to this behavior before the latest Rust update. Which items are you testing with?

Everything. Nothing happens when click the + sign.

So this issue doesn't happen with the unmodified vending machines, but does happen with the ones customized by the plugin?

Below is a screenshot where I am able to purchase in bulk just fine. Base sale offer is 2 refined metal for 5 scrap, with stock settings mentioned earlier in this thread. Before this test, I updated my Rust client and server, but not sure if that is related.

(21:36:35) | Oxide.Rust Version: 2.0.6089

Oxide.Rust Branch: master

Custom currency paper. I try standard.



Merged post

Standard with scrap works.

Merged post

Back to paper break it.


> o.version
Oxide.Rust Version: 2.0.6093
Oxide.Rust Branch: master
> version
Protocol: 2515.244.1
Build Date: 12/08/2023 07:42:07
Unity Version: 2021.3.29f1
Changeset: 90983
Branch: release

Hmm, seems we have to update :) Sorry

Merged post

(22:20:56) | Oxide.Rust Version: 2.0.6093

Now some work and some not. E.g. Camera work, Medium battary not. In the same machine. Weapons dont Ammo work. All car parts dont work. Electric dont work. Seems to be category related. Strange

Those items have condition, so it's only possible to buy one at a time, due to client-side limitations.

Ok is it new?

No that's old behavior.

Should switch to the player base to learn a bit on this side :D. Thanks for your time!

Yeah, I sell only custom items with the skinID, this happened since the last 2 wipes. nothing has changed and it was working before these last 2 months.

Merged post

{
"ShopName": "Components",
"Monument": "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab",
"Position": {
"x": -25.1380157,
"y": 0.3223648,
"z": -12.7009993
},
"Offers": [
{
"SellItem": {
"ShortName": "battery.small",
"DisplayName": "BATTERY POWER",
"Amount": 1,
"Skin": 3063822966
},
"CurrencyItem": {
"ShortName": "green.berry",
"Amount": 30
},
"RefillMax": 999999,
"RefillAmount": 999999
},
{
"SellItem": {
"ShortName": "battery.small",
"DisplayName": "BATTERY POWER",
"Amount": 1,
"Skin": 3063822966
},
"CurrencyItem": {
"ShortName": "white.berry",
"Amount": 30
},
"RefillMax": 999999,
"RefillDelay": 1,
"RefillAmount": 999999
},
{
"SellItem": {
"ShortName": "battery.small",
"DisplayName": "BATTERY POWER",
"Amount": 1,
"Skin": 3063822966
},
"CurrencyItem": {
"ShortName": "potato",
"Amount": 90
},
"RefillMax": 999999,
"RefillDelay": 1,
"RefillAmount": 999999
},
{
"SellItem": {
"ShortName": "battery.small",
"DisplayName": "BATTERY POWER",
"Amount": 1,
"Skin": 3063822966
},
"CurrencyItem": {
"ShortName": "corn",
"Amount": 50
},
"RefillMax": 999999,
"RefillDelay": 1,
"RefillAmount": 999999
},
{
"SellItem": {
"ShortName": "battery.small",
"DisplayName": "BATTERY POWER",
"Amount": 1,
"Skin": 3063822966
},
"CurrencyItem": {
"ShortName": "pumpkin",
"Amount": 70
},
"RefillMax": 999999,
"RefillDelay": 1,
"RefillAmount": 999999
}
]
}

Thanks for posting your data file. I was able to reproduce the issue using the battery packs. However, I don't think there's anything I can do to resolve this in a server-side plugin. Whether an item can be purchased in bulk is determined client side according to a combination of what the item is, and how many are available in the vending machine. The latter can be controlled by the plugin, but the remaining client-side logic is out of reach. As far as I know, the client used to only care about whether the item was condition-eligible, but the battery pack is not (at least not from the server-side), so Rust may have changed the client-side logic.

As for mitigation, my suggestion is that you create alternate sale offers where the inputs and outputs of the transactions are multiplied. For example, instead of 30 green berries for 1 battery pack, 300 berries for 10 battery packs. Additionally/alternatively, a plugin such as Instant Buy can allow players to purchase them more quickly.

In the future, we could possibly explore a feature where the user can apply a temporary multiplier to either the entire vending machine or specific sale offers, to achieve the above effect without requiring the admin to create separate sale offers.

Thanks for the explanation, this was what I thought since we had no problem until the game was updated a few months back.

is there any plugin that can exchange something into something (maybe UI) but keep it economic sense? or something like a virtual vending machine that can be filled with any items with the skinID?. 

can be extended with the permissions system so that certain groups can access or see the list. As for the PVE server we can slow down the progression to keep it active and achieve something similar to END GAME stuff.

Locked automatically