Closed dickmosi closed 5 years ago
Can you check if the features/vendor branch fixes these issues? In my testing, they seem to work.
That branch has fixed all of the previously listed issues, however I've discovered two more with the new vendor plugin.
[ERROR] gamemodes/nutscript/plugins/vendor/derma/cl_vendoreditor.lua:106: attempt to perform arithmetic on a nil value
- unknown - gamemodes/nutscript/plugins/vendor/derma/cl_vendoreditor.lua:106
Timer Failed! [nutVendorScale][@gamemodes/nutscript/plugins/vendor/derma/cl_vendoreditor.lua (line 102)]
[dickmosi|3|STEAM_0:1:4883034] Lua Error: [ERROR] gamemodes/nutscript/plugins/vendor/derma/cl_vendoreditor.lua:106: attempt to perform arithmetic on a nil value
- unknown - gamemodes/nutscript/plugins/vendor/derma/cl_vendoreditor.lua:106
Fixed in b46892343e7c66c0484a1ab4ff5818344d485858 and 560543494d7ca2a291a2cc3034cfddaa6e3a890c.
Issue resolved, thanks!
Three issues:
https://i.imgur.com/FlLbbA1.jpg
Set the item's ITEM.price to 50 Create a vendor then set said item for 10 and make the sell for value 0.75 (75%) Then sell the item to the vendor, the money that you should get is displayed properly on "Sell for X Currency" button but the money you actually get is based on ITEM.price
https://i.imgur.com/PAFFv7g.png https://i.imgur.com/Z0iU0B2.png
Side note: When ticking the box in the faction editor, if you close the faction editor then reopen it the box won't show as being ticked even though it is. https://youtu.be/Kj2xocopt94