Mods / [Obsolete] vendor

Tags: #Other
Author: KenigVovan
Side: Both
Created: May 15th 2022 at 2:45 PM
Last modified: Jan 21st 2024 at 9:33 AM
Downloads: 5795
Follow Unfollow 1

Latest release (for outdated Vintage Story v1.19.1):
vendor_1.4.0.zip  1-click install


Adds new trader which uses coins from trade-o-mat mod. 
Made for CAN server

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.4.0 192 Jan 21st 2024 at 9:33 AM Show vendor_1.4.0.zip 1-click install
v1.3.4 208 Jun 19th 2023 at 4:08 PM Show vendor_v1.3.4.zip 1-click install
v1.3.3 170 Jun 4th 2023 at 10:50 AM Show vendor_v1.3.3.zip 1-click install
v1.3.2 174 May 13th 2023 at 8:32 AM Show vendor_v1.3.2.zip 1-click install
v1.3.1 184 May 11th 2023 at 4:53 PM Show vendor_v1.3.1.zip 1-click install
v1.3.0 197 May 6th 2023 at 6:02 PM Show vendor_v1.3.0.zip 1-click install
v1.2.16 200 Apr 2nd 2023 at 2:42 PM Show vendor_v1.2.16.zip 1-click install
v1.2.15 179 Apr 2nd 2023 at 2:04 PM Show vendor_v1.2.15.zip 1-click install
v1.2.14 285 Jan 24th 2023 at 4:47 PM Show vendor_v1.2.14.zip 1-click install
v1.2.13 243 Dec 23rd 2022 at 4:33 PM Show vendor_v1.2.13.zip 1-click install
v1.2.12 215 Dec 15th 2022 at 1:48 PM Show vendor_v1.2.12.zip 1-click install
v1.2.11 227 Dec 10th 2022 at 10:01 AM Show vendor_v1.2.11.zip 1-click install
v1.2.10 216 Dec 9th 2022 at 7:28 PM Show vendor_v1.2.10.zip 1-click install
v1.2.9 202 Dec 9th 2022 at 5:38 PM Show vendor_v1.2.9.zip 1-click install
v1.2.8 233 Nov 17th 2022 at 10:17 AM Show vendor_v1.2.8.zip 1-click install
v1.2.7 228 Nov 13th 2022 at 1:48 PM Show vendor_v1.2.7.zip 1-click install
v1.2.6 229 Oct 20th 2022 at 4:51 PM Show vendor_v1.2.6.zip 1-click install
v1.2.5 219 Oct 2nd 2022 at 8:54 AM Show vendor_v1.2.5.zip 1-click install
v1.2.4 223 Sep 26th 2022 at 7:14 AM Show vendor_v1.2.4.zip 1-click install
v1.2.3 219 Sep 25th 2022 at 11:44 AM Show vendor_v1.2.3.zip 1-click install
v1.2.2 224 Sep 24th 2022 at 10:56 PM Show vendor_v1.2.2.zip 1-click install
v1.2.0 230 Sep 23rd 2022 at 6:00 PM Show vendor_v1.2.0.zip 1-click install
v1.0.3 251 Jul 3rd 2022 at 12:04 PM Show vendor_v1.0.3.zip 1-click install
v1.0.2 273 May 22nd 2022 at 3:03 PM Show vendor_v1.0.2.zip 1-click install
v1.0.1 285 May 21st 2022 at 7:14 PM Show vendor_v1.0.1.zip 1-click install
v1.0.0 276 May 15th 2022 at 2:48 PM Show vendor_v1.0.0.zip 1-click install

6 Comments (oldest first | newest first)

💬 KenigVovan , Nov 17th 2022 at 7:59 PM

Runehawk
this traders won't be spawn by default, you would need to place them with "/ven new" and remove "/ven del".
On the server we have one trader which stays at the spawn and one which visits cities(using other mods; vanilla traders + caravans are deleted), so idk if you would need them.
But if you still want, you can change items he buys/sells in "assets\vendor\entities\humanoid\cantrader.json"

💬 RuneScholar, Nov 17th 2022 at 11:43 AM

I know this is intended for a server but would it work ok in a single player game/lan game with friends?

💬 KenigVovan , Jul 10th 2022 at 12:33 PM

@Vronizos,  for 1.17 i'll add new version which copy vanila trader entity(with it's gui, texture, shape) but it will use coins from tradeomat. Trades will be set through enity's .json file, not with config file.

💬 Vronizos, Jul 10th 2022 at 12:15 PM

i have some issue with start this mod:


System.NullReferenceException: Object reference not set to an instance of an object

in vendor.src.vendor.Dispose()
in Vintagestory.Common.ModLoader.Dispose()
in Vintagestory.Server.ServerMain.EnterRunPhase(EnumServerRunPhase runPhase)
in Vintagestory.Server.ServerMain.Stop(String reason)
in _7zNxEbLnuy6Bq08TdMSIu9ZbrKf._ZHhrbmNLuSrtHTKBjZE8YscjKrG()
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()

💬 KenigVovan , May 22nd 2022 at 4:45 PM

@Kara, through the config file you can set categories and items/blocks vendor will buy. There is already list of default trades which you can use as example. But "maxAmount" of object vendor will buy is not depends on players and if 1st player sell to 0 others won't be able to sell anything before categories will be updated.
Time delta in which vendor update it's categories and "maxAmount" is also can be set in config and is 1 day by default.

💬 Kara, May 18th 2022 at 3:08 AM

if this is going to be a NPC that admins can configure.... this this will be amazing, for quests!!. <3

 (edit comment delete)