Players Cannot Purchase

Have an issue where some not all players cannot purchase a mini or boat at all ( I have them set at half price ). I cannot see any errors. Just wondering if anyone has been having the same issue?

Cheers

Can you clarify what you mean by "cannot purchase"? What does the player see? What was the price? How much did the player have?

The price of the minis are set to 375 scrap and small boats set to 80. Different scenarios with randoms and regular players a dozen or so times now over several weeks having either the correct amount 375 or over the amount of scrap in their inventory when trying to purchase a mini, same again for boats. It does not happen to everyone and not all the time.

Players report the UI selection is only #2 'I can't afford that'

I see the player has enough in their inventory through 'Intentory Viewer', I then spawn a mini and take the scrap from them. For permissions I do not have vip only default.

I will have to record the next time it happens and post, was just hoping it was something common with an easy fix. If I find the problem myself I will repost. Otherwise awesome plugin.

I haven't heard this issue reported before. The plugin is coded very carefully so that this feature should "just work".

It sounds like the client thinks the player doesn't have enough scrap. In order for price reduction to work, the plugin sends a fake inventory snapshot to the client to make it think the player has more scrap than they do, else the client will not show the option to pay.

One possible issue is that another plugin is overriding inventory snapshots and is doing so in an aggressive manner that prevents compatibility with Vehicle Vendor Options. Generally, there should be a simple path to compatibility, as VVO is designed to navigate around other plugins doing the similar things, but other plugins also need to be designed carefully.

Another possibility is that the player has a different language which displays more text, which could take longer to display before the pay option appears. The plugin sends the fake inventory snapshot for only a few seconds before reverting it. If the text is still being printed on the screen during the moment when the plugin reverts the player's perceived inventory, then by the time the choices are presented, the client will no longer think it has enough scrap, so it will not show the option to pay.

Suggested troubleshooting the next time a player experiences this issue:

  1. Ask the player to simply close the vendor menu and try again a few times. If this works, it means the problem was that the player received an inventory snapshot from another source while the text was being printed on screen,  between the time they chose "minicopter" and the time the choices were shown.
  2. Ask the player to click on the text while it's being printed, to force the choices to be displayed immediately. If retrying did not work, but this does work, that means the client is probably using another language which needs more time to display the text.

If the problem is simply language, the plugin can be updated to add another second before reverting the player's perceived inventory.

Awesome, thank you for the response very much appreciated.

Merged post

Worked

  1. Ask the player to simply close the vendor menu and try again a few times. If this works, it means the problem was that the player received an inventory snapshot from another source while the text was being printed on screen,  between the time they chose "minicopter" and the time the choices were shown.

I did some testing and found that the vendor needs about only 1 second to display the option to pay in English, but the plugin displays the updated inventory for 3 seconds, so the language hypothesis I proposed earlier seems impossible.

Given that retrying worked for your players, my best guess is that you have a plugin which is either updating the player inventory during that 1 second, or a plugin which is sending inventory snapshots (for some reason) during that 1 second. Do you have any plugins that might do that? I looked at Anti Items, and I see it has a feature which updates the items in player inventories every 2 minutes, but even if you are running that, my guess is that it would be unlikely to occur during that 1 second.

01 "AdminHammer" (1.13.0) by mvrb (0.01s) - AdminHammer.cs

02 "Admin Radar" (5.1.9) by nivex (3.28s) - AdminRadar.cs

03 "AirEvent" (2.0.4) by KpucTaJl (0.30s) - AirEvent.cs

04 "AnitTeam" (1.0.5) by Yoshi (0.09s) - AntiTeam.cs

05 "Better Chat" (5.2.10) by LaserHydra (0.01s) - BetterChat.cs

06 "Bradley" (1.3.5) by Ts3Hosting (0.95s) - Bradley.cs

07 "Casino" (0.1.12) by k1lly0u (0.86s) - Casino.cs

08 "BlackJack" (0.1.9) by k1lly0u (0.00s) - BlackJack.cs

09 "Roulette" (0.1.4) by k1lly0u (0.00s) - Roulette.cs

10 "ChaosNPCDownloader" (0.1.0) by k1lly0u (0.00s) - ChaosNPCDownloader.cs

11 "Clear Night" (2.3.5) by Clearshot (0.50s) - ClearNight.cs

12 "Copy Paste" (4.1.32) by misticos (0.01s) - CopyPaste.cs

13 "Custom Vending Setup" (2.7.0) by WhiteThunder (0.07s) - CustomVendingSetup.cs

14 "Discord Chat" (2.1.2) by MJSU (0.03s) - DiscordChat.cs

15 "Discord Core" (2.1.3) by MJSU (0.01s) - DiscordCore.cs

16 "Discord Logger" (2.0.10) by MON@H (0.05s) - DiscordLogger.cs

17 "Discord Report" (1.2.0) by misticos (0.03s) - DiscordReport.cs

18 "Entity Reducer" (2.1.3) by Arainrr (13.84s) - EntityReducer.cs

19 "Eternal Plants" (1.0.0) by 0x89A (0.50s) - EternalPlants.cs

20 "Firework Gun" (1.1.0) by k1lly0u and Kusha (3.11s) - FireworkGun.cs

21 "Gather Manager" (2.2.78) by Mughisi (0.15s) - GatherManager.cs

22 "HeliControl" (1.4.3) by Shady (0.48s) - HeliControl.cs

23 "Image Library" (2.0.60) by Absolut & K1lly0u (0.21s) - ImageLibrary.cs

24 "Instant Untie" (1.0.12) by MJSU (0.00s) - InstantUntie.cs

25 "Inventory Viewer" (4.0.5) by Whispers88 (0.00s) - InventoryViewer.cs

26 "Loot Bouncer" (1.0.8) by Sorrow/Arainrr (0.09s) - LootBouncer.cs

27 "Magic Panel" (1.0.8) by MJSU (0.02s) - MagicPanel.cs

28 "Magic Players Panel" (1.0.2) by MJSU (0.01s) - MagicPlayersPanel.cs

29 "Magic Sleepers Panel" (1.0.2) by MJSU (0.00s) - MagicSleepersPanel.cs

30 "MLRS Hellfire" (1.0.5) by Timm3D (0.00s) - MLRSHellfire.cs

31 "Monument Addons" (0.12.0) by WhiteThunder (0.10s) - MonumentAddons.cs

32 "Monument Finder" (3.1.0) by WhiteThunder (0.02s) - MonumentFinder.cs

33 "No Give Notices" (0.3.0) by Wulf (0.00s) - NoGiveNotices.cs

34 "NpcSpawn" (2.3.2) by KpucTaJl (0.49s) - NpcSpawn.cs

35 "Oil Rig Doors Fix" (1.0.1) by MON@H (0.04s) - OilRigDoorsFix.cs

36 "Online Players" (1.1.2) by MACHIN3 (0.00s) - OnlinePlayers.cs

37 "PermissionsManager" (2.0.5) by Steenamaroo (0.02s) - PermissionsManager.cs

38 "PlaneCrash" (0.3.6) by k1lly0u (0.02s) - PlaneCrash.cs

39 "PlayerAdministration" (1.6.7) by ThibmoRozier (0.00s) - PlayerAdministration.cs

40 "Player Challenges" (2.0.48) by k1lly0u (0.37s) - PlayerChallenges.cs

41 "Plugin Update Notifications" (1.1.0) by Whispers88 (0.00s) - PluginUpdateNotifications.cs

42 "Private Admin Message" (0.2.0) by waayne (0.00s) - PrivateAdminMessage.cs

43 "Quick Smelt" (5.1.4) by misticos (0.53s) - QuickSmelt.cs

44 "RecoilViewer" (1.5.2) by ninco90 (0.03s) - RecoilViewer.cs

45 "Recycler Speed" (2.0.2) by Ryz0r/yetzt (0.00s) - RecyclerSpeed.cs

46 "Sign Artist" (1.4.0) by Whispers88 (0.00s) - SignArtist.cs

47 "Simple Loot" (1.0.91) by MisterPixie (2.38s) - SimpleLoot.cs

48 "Skins" (2.2.2) by misticos (0.55s) - Skins.cs

49 "Stack Size Controller" (4.1.1) by AnExiledDev (1.43s) - StackSizeController.cs

50 "Teams Logger" (1.5.1) by Ujiou (0.00s) - TeamsLogger.cs

51 "Telekinesis" (3.2.0) by WhiteThunder (0.00s) - Telekinesis.cs

52 "TimeOfDay" (2.3.4) by FuJiCuRa (0.00s) - TimeOfDay.cs

53 "Unburnable Meat" (1.0.1) by S642667 (0.00s) - UnburnableMeat.cs

54 "Vanish" (1.6.6) by Whispers88 (0.20s) - Vanish.cs

55 "Vehicle Vendor Options" (1.6.0) by WhiteThunder (0.06s) - VehicleVendorOptions.cs

56 "WaterBases" (1.0.4) by Nikedemos (0.47s) - WaterBases.cs

57 "WaterEvent" (2.0.4) by KpucTaJl (0.33s) - WaterEvent.cs

58 "Zone Manager" (3.0.23) by k1lly0u (0.73s) - ZoneManager.cs



Merged post

Hope this helps'