Jump to content

Custom Items Exploit

Pending 1.4.5

FandangoChristmas
FandangoChristmas

Posted

I found a major exploit happening with NPC vendors and custom Items. If a vendor NPC's buy currency is for example "gold coin" (skinned stones), when a player has regular stones in inventory, it will also count regular stones as the skinned items currency. For now I have disabled all my NPC shops as its a major exploit to gain award currency.

Razor

Posted (edited)

15 minutes ago, FandangoChristmas said:

I found a major exploit happening with NPC vendors and custom Items. If a vendor NPC's buy currency is for example "gold coin" (skinned stones), when a player has regular stones in inventory, it will also count regular stones as the skinned items currency. For now I have disabled all my NPC shops as its a major exploit to gain award currency.

what  do you have the Skin ID set for the item in the conversation file?

Edited by Razor
FandangoChristmas

Posted

I will take a look at the conversation files. I had only checked the vending files so far to make sure it had the skin IDs for the custom items in there.

FandangoChristmas

Posted

To clarify, I'm not using the conversation files to sell items. The conversation file is just a basic hello i have stuff for sale, blah blah blah, click on "let me check your shop", to open a vending machine via CustomVendingSetup.

FandangoChristmas

Posted (edited)

1 hour ago, Razor said:

what  do you have the Skin ID set for the item in the conversation file?

This is what I have in my currency exchange shop to open the vending machine. I had left it default except for adding "I would like to trade my coins", and the line to OpenVending.

 {
        "Message": "I would like to trade my coins.",
        "Needs Permission (null = No)": null,
        "Player Commands": [],
        "Server Commands": [
          "OpenVending CoinShop"
        ],
        "Next Message (null = Close UI)": null,
        "Price": 0,
        "Currency": {
          "Item ID": -932201673,
          "Skin ID": 0
        },
        "Insufficient Funds Message (null = Close UI)": null,
        "Cooldown": 0,
        "Server Wide Cooldown": false
      }

Edited by FandangoChristmas
Razor

Posted (edited)

14 minutes ago, FandangoChristmas said:

To clarify, I'm not using the conversation files to sell items. The conversation file is just a basic hello i have stuff for sale, blah blah blah, click on "let me check your shop", to open a vending machine via CustomVendingSetup.

Talking npc does not modify vending machines to accept custom items as payment that would be done with customvendingsetup so you would need to contact there support.

Edited by Razor
FandangoChristmas

Posted

59 minutes ago, Razor said:

Talking npc does not modify vending machines to accept custom items as payment that would be done with customvendingsetup so you would need to contact there support.

Ok, I will message on the Umod site. Thank you Razor 🙂

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.