Item Not Found on Weapon Flashlight?Solved

Hey Khan,

I'm having an issue with one item out of the entire store, lol! I'm on the latest version, but for whatever reason when people try to buy a Weapon Flashlight, it's telling them the item cannot be found.

It's in my config as the following:

"Weapon Flashlight": {
"DisplayName": "Weapon flashlight",
"CraftAsDisplayName": false,
"Shortname": "weapon.mod.flashlight",
"ItemId": 952603248,
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 200.0,
"EnableBuy": true,
"EnableSell": true,
"Image": "https://rustlabs.com/img/items180/weapon.mod.flashlight.png",
"SellPrice": 1.0,
"BuyPrice": 1.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [
1,
10,
100,
1000
],
"SellQuantity": [
1,
10,
100,
1000
],
"BuyLimit": 0,
"BuyLimitResetCoolDown": 0,
"SwapLimitToQuantityBuyLimit": false,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"SwapLimitToQuantitySoldLimit": false,
"KitName": null,
"Command": null,
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
},

The display name must match the key above you have it lower cased in the display name field is why. 

 

"Weapon Flashlight": {  < Must match key
"DisplayName": "Weapon flashlight",  < Upper case the F


Merged post

I will try and prepare an update with some helpful debug messages stating why next time, instead of just a generic response of Item Not Found.
Locked automatically