TTT2 icon indicating copy to clipboard operation
TTT2 copied to clipboard

Random Shop emtpy slots

Open Elay2306 opened this issue 2 years ago • 8 comments

For example you have 6 Random Items and there is a item that should not be in the Shop, it will not get in the Shop so the Slot will just be empy and you have only 5 Items that also counts for all Shop-able things how specific it works, i currently have not tested it

Elay2306 avatar Nov 28 '21 15:11 Elay2306

I dont fully understand your problem. So you have items that are not buyable, but still in the random shop or are they there, when you also say, always available in shop but not buyable?

ZenBre4ker avatar Nov 28 '21 16:11 ZenBre4ker

im not really sure what the exact problem is but i think that there are items in the shop that doesnt should be in the shop and thats why they are getting removed and not replaced with a other item and thats why some rounds there are empty slots

Elay2306 avatar Nov 28 '21 16:11 Elay2306

Well I cant reproduce what you mean, heres what I tested:

  • Deactivated all but 3 items buyable, 1 is always available, random shop set to 2: => I always get that one item and 1 of the other 2

  • randomshop set to 4 => I always get all 3 items

ZenBre4ker avatar Nov 28 '21 18:11 ZenBre4ker

alright i've tested it and have come to a conclusion:

in this case i have 3 random things in the shop and put a max to 5 things, 1 thing is broken and will replace the shop with an empty slot, it must be a issue with .CanBuy = nil

Elay2306 avatar Nov 29 '21 08:11 Elay2306

plus there is a kinda error in the console everytime opening the shop while a slot is empty Equipment item does not have model or material specified: table: 0x015b25837710

Elay2306 avatar Nov 29 '21 08:11 Elay2306

Sounds like a broken addon you should post here, as I can only help if I can reproduce your issue. Also try to speak in terms of UI-descriptions, so i know what you did. In Edit Equipment you can set equipment buyable and always available grafik

In Random Shop you can enable them and set the number of random equipments: grafik

In edit shops, you can either use a custom shop or the default shop, where you can set canbuy grafik

ZenBre4ker avatar Nov 29 '21 08:11 ZenBre4ker

image image

simple reproduce: just put the default rifle in the shop / equipment buyable & always available in shop then you will get the same error in the console and a empty slot, is this supposed to happen ?

Elay2306 avatar Nov 29 '21 11:11 Elay2306

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 01:04 stale[bot]

Closing this as i can't reproduce it on current master.

Though i don't see any relevant fixes in our commit history, so please reopen if this is still an issue!

Histalek avatar Oct 15 '22 12:10 Histalek