Mods / CAN Market
Category:
#Crafting
#QoL
#Tweak
Author: KenigVovan
Side: Both
Created: Dec 9th 2022 at 8:23 PM
Last modified: Oct 9th at 4:14 PM
Downloads: 32140
Follow Unfollow 45
Author: KenigVovan
Side: Both
Created: Dec 9th 2022 at 8:23 PM
Last modified: Oct 9th at 4:14 PM
Downloads: 32140
Follow Unfollow 45
Latest file for v1.20.0-pre:
canmarket_0.4.0.zip
1-click install
Inspired by mod for TFC Minecraft mod MerchantsTFC by Aleksey-Terzi github
Contributors:
- MOTOR_plus (onchest trade block model)
- justOmi - (ukrainian translation)
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v0.4.0 | 102 | Oct 9th at 4:14 PM | Show | canmarket_0.4.0.zip | Install now | |
v0.3.32 | 1697 | May 21st at 3:59 PM | Show | canmarket_0.3.32.zip | Install now | |
v0.3.31 | 898 | Apr 25th at 6:42 PM | Show | canmarket_0.3.31.zip | Install now | |
v0.3.30 | 251 | Apr 21st at 8:10 AM | Show | canmarket_0.3.30.zip | Install now | |
v0.3.29 | 114 | Apr 19th at 3:24 PM | Show | canmarket_0.3.29.zip | Install now | |
v0.3.28 | 372 | Apr 2nd at 4:07 PM | Show | canmarket_0.3.28.zip | Install now | |
v0.3.27 | 108 | Mar 30th at 7:20 AM | Show | canmarket_0.3.27.zip | Install now | |
v0.3.26 | 554 | Mar 28th at 7:45 AM | Show | canmarket_0.3.26.zip | Install now | |
v0.3.25 | 222 | Mar 24th at 7:29 AM | Show | canmarket_0.3.25.zip | Install now | |
v0.3.24 | 1133 | Feb 7th at 6:46 PM | Show | canmarket_0.3.24.zip | Install now | |
v0.3.23 | 660 | Jan 30th at 8:43 PM | Show | canmarket_0.3.23.zip | Install now | |
v0.3.22 | 337 | Jan 19th at 7:55 PM | Show | canmarket_0.3.22.zip | Install now | |
v0.3.21 | 209 | Jan 14th at 1:34 PM | Show | canmarket_0.3.21.zip | Install now | |
v0.3.20 | 956 | Dec 28th 2023 at 6:33 PM | Show | canmarket_0.3.20.zip | Install now | |
v0.3.19 | 1065 | Nov 21st 2023 at 7:25 PM | Show | canmarket_0.3.19.zip | Install now | |
v0.3.18 | 243 | Nov 18th 2023 at 4:38 PM | Show | canmarket_0.3.18.zip | Install now | |
v0.3.17 | 258 | Nov 11th 2023 at 9:29 AM | Show | canmarket_0.3.17.zip | Install now | |
v0.3.16 | 366 | Nov 6th 2023 at 8:55 PM | Show | canmarket_0.3.16.zip | Install now | |
v0.3.15 | 139 | Nov 5th 2023 at 12:31 PM | Show | canmarket_0.3.15.zip | Install now | |
v0.3.14 | 3998 | Sep 23rd 2023 at 5:16 PM | Show | canmarket_0.3.14.zip | Install now | |
v0.3.13 | 339 | Sep 20th 2023 at 3:38 PM | Show | canmarket_0.3.13.zip | Install now | |
v0.3.12 | 2097 | Aug 29th 2023 at 2:52 PM | Show | canmarket_0.3.12.zip | Install now | |
v0.3.11 | 223 | Aug 28th 2023 at 3:25 PM | Show | canmarket_0.3.11.zip | Install now | |
v0.3.10 | 4468 | Jul 3rd 2023 at 3:13 PM | Show | canmarket_v0.3.10.zip | Install now | |
v0.3.9 | 488 | Jun 29th 2023 at 3:38 PM | Show | canmarket_v0.3.9.zip | Install now | |
v0.3.8 | 625 | Jun 16th 2023 at 6:20 PM | Show | canmarket_v0.3.8.zip | Install now | |
v0.3.7 | 334 | Jun 15th 2023 at 4:31 PM | Show | canmarket_v0.3.7.zip | Install now | |
v0.3.6 | 198 | Jun 14th 2023 at 2:51 PM | Show | canmarket_v0.3.6.zip | Install now | |
v0.3.5 | 297 | Jun 11th 2023 at 2:56 PM | Show | canmarket_v0.3.5.zip | Install now | |
v0.3.4 | 218 | Jun 10th 2023 at 11:44 AM | Show | canmarket_v0.3.4.zip | Install now | |
v0.3.3 | 221 | Jun 5th 2023 at 7:58 PM | Show | canmarket_v0.3.3.zip | Install now | |
v0.3.2 | 270 | Jun 4th 2023 at 2:28 PM | Show | canmarket_v0.3.2.zip | Install now | |
v0.3.1 | 135 | Jun 4th 2023 at 8:56 AM | Show | canmarket_v0.3.1_TEST.zip | Install now | |
v0.3.0 | 145 | Jun 3rd 2023 at 5:22 PM | Show | canmarket_v0.3.0_TEST.zip | Install now | |
v0.2.7 | 2182 | May 9th 2023 at 6:07 PM | Show | canmarket_v0.2.7.zip | Install now | |
v0.2.6 | 548 | May 3rd 2023 at 8:31 PM | Show | canmarket_v0.2.6.zip | Install now | |
v0.2.5 | 421 | May 3rd 2023 at 6:18 AM | Show | canmarket_v0.2.5.zip | Install now | |
v0.2.4 | 201 | May 2nd 2023 at 5:03 PM | Show | canmarket_v0.2.4.zip | Install now | |
v0.2.3 | 321 | Apr 29th 2023 at 8:38 PM | Show | canmarket_v0.2.3.zip | Install now | |
v0.2.2 | 693 | Apr 12th 2023 at 5:57 PM | Show | canmarket_v0.2.2.zip | Install now | |
v0.2.1 | 396 | Apr 7th 2023 at 1:39 PM | Show | canmarket_v0.2.1.zip | Install now | |
v0.2.0 | 566 | Mar 7th 2023 at 7:15 AM | Show | canmarket_v0.2.0.zip | Install now | |
v1.0.10 | 268 | Mar 26th 2023 at 10:31 AM | Show | canmarket_v1.0.10.zip | Install now | |
v1.0.9 | 412 | Feb 25th 2023 at 8:44 PM | Show | canmarket_v1.0.9.zip | Install now | |
v1.0.8 | 605 | Dec 22nd 2022 at 1:44 PM | Show | canmarket_v1.0.8.zip | Install now | |
v1.0.7 | 206 | Dec 19th 2022 at 12:12 PM | Show | canmarket_v1.0.7.zip | Install now | |
v1.0.6 | 213 | Dec 17th 2022 at 3:01 PM | Show | canmarket_v1.0.6.zip | Install now | |
v1.0.5 | 199 | Dec 16th 2022 at 5:41 PM | Show | canmarket_v1.0.5.zip | Install now | |
v1.0.4 | 209 | Dec 15th 2022 at 7:25 PM | Show | canmarket_v1.0.4.zip | Install now | |
v1.0.3 | 209 | Dec 15th 2022 at 1:46 PM | Show | canmarket_v1.0.3.zip | Install now | |
v1.0.2 | 199 | Dec 14th 2022 at 11:46 AM | Show | canmarket_v1.0.2.zip | Install now | |
v1.0.1 | 222 | Dec 10th 2022 at 9:38 AM | Show | canmarket_v1.0.1.zip | Install now | |
v1.0.0 | 201 | Dec 24th 2022 at 10:14 AM | Show | canmarket_v1.0.0.zip | Install now |
Hebiru
All of them? Did you have servercontrol permission?
There is also another mod with trading blocks with more functionalities I guess - Vinconomy
Commands dont work for me
Can you at least add them as a smithing/casting recipe, and give the admins the ability to enable or disable casting/smithing recipes in the configs?
DilanRona
I added them as non-craftables, which admins would take from creative menu,
I can for example add smithing recipe for them but I guess for multiplayer it's not welcome to have crafts for them.
i see your mod adds 3 gears to the game. copper, silver and gold. but no recipes for crafting, smelting or clay forming. How do we go about getting them?
SiiMeR I see you are also having this issue, on server bootup.
Hey! Since version 0.3.29, the cairo-sharp dependency is included in the build. This should not be included as it is provided by the base game. It seems that in 1.19.8, the VS devs have made some changes to dependency loading, which means that this mod now fails to load on both the server side and client side, due to the cairo-sharp assembly already being loaded.
0.3.30 Market block crafting not work
TwitchyHaggis
I tried it now again in area with +37C and wasn't able to get rot from sell slot, for now I'm not sure what conditions lead to the issue you got. You mentioned that it happens ~1 per 1 irl day maybe something else specific you noticed? [I left world with set stall to run for few hours but no luck]
KenigVovan It could be, the region in question sits at between 5C-40C thru the year. For example, in the storage, the bread shows a spoil timer of 5.3 years, the stall however shows the bread spoiling in 13 days.
TwitchyHaggis
it happens during high temperature?
DejFidOFF
nono, I don't change a spoil rate for chest's slots, PERISH_DIVIDER alters what "old" food can be still sold. With PERISH_DIVIDER set to 4 then food need to still have 75% or more time from start expiration duration
https://mods.vintagestory.at/show/mod/4810#cmt-25898 Re: Food spoiling in the market stall. I'm experiencing this currently, got some bread that should be spoil free for over a year, but it's spoiling in a couple days in the block and changing to rot, so I have to go and recreate the listing every RL day or two.
Is there a fix any closer for this, or can I check anything to assist?
PERISH_DIVIDER - change a bottom border for perish items, 2 - only >= 50% of max duration time will be used by trade block in trades, 4 - >=25% ...
Sorry I am little bit confused. English is not my primary language. If I set the value to 4 the food stay last longer ?
2= spoils faster then 4 ?
Super ! Thank you !
DejFidOFF
fixed
0.3.29 corrupted files in handbook
KenigVovan
Thank you apreciate that <3
DejFidOFF
vanila trunk and vanila/extra chest's labeled chests should now work with onchest trading block, 0.3.29
Ok. Just asking. I tell everybody to reinforce and lock their chests or put it to the claim. That´s not a big deal.
But I have a suggestion - is it possible to make it compatible with extra chests ? Will be helpfull. Thank you.
https://mods.vintagestory.at/show/mod/137
DejFidOFF
because I made it work this way? ["The chest under onchest block is not protected by in any way by mod. You need to reinforce and lock it or place it in a claim. Other players can open trade block GUI and buy even if use flag is not on for everyone in claim."]
If you have a suggestion for a new block with different behavior you can write it here on in a discord thread
Why when place a market block on the chest ( at the server ) is not locked and everyone can open it ( the chest )?
Kara
try 0.3.25, if an issue will be still there, please check if there is some other error/debug msg in log regarding "InventoryCANStall"
1. Also does it crash all players who tries to open stall?
2. On chest market block also crashs players?
3. Newly placed behaves the same way? (If not what is in the crashing one's slots)
4. Something specific were done right before the issue appeared? Version update, new mods added...
From console:
23.3.2024 19:46:02 [Server Event] Player Gryphon got removed. Reason: Threw an exception at the server
From client crash:
Running on 64 bit Windows 10.0.19045.0 with 32696 MB RAM
Game Version: v1.19.5 (Stable)
3/23/2024 10:47:44 PM: Critical error occurred
Loaded Mods:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'The ThreadLocal object has been disposed.'.
at System.Threading.ThreadLocal`1.GetValueSlow()
at Vintagestory.API.Common.CollectibleObject.UpdateAndGetTransitionStatesNative_Patch0(CollectibleObject this, IWorldAccessor world, ItemSlot inslot)
at Vintagestory.API.Common.CollectibleObject.AppendPerishableInfoText(ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1817
at Vintagestory.API.Common.CollectibleObject.GetHeldItemInfo_Patch0(CollectibleObject this, ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world, Boolean withDebugInfo)
at Vintagestory.API.Common.Block.GetHeldItemInfo(ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world, Boolean withDebugInfo) in VintagestoryApi\Common\Collectible\Block\Block.cs:line 2235
at Vintagestory.GameContent.GuiHandbookItemStackPage..ctor(ICoreClientAPI capi, ItemStack stack) in VSSurvivalMod\Systems\Handbook\Gui\GuiHandbookItemStackPage.cs:line 33
at Vintagestory.GameContent.ModSystemSurvivalHandbook.onCreatePagesAsync() in VSSurvivalMod\Systems\Handbook\SurvivalHandbook.cs:line 79
at Vintagestory.GameContent.GuiDialogHandbook.LoadPages_Async() in VSSurvivalMod\Systems\Handbook\Gui\GuiDialogHandbook.cs:line 418
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Crashing/Errors happening when opening anything market store block related.
Sableye
Food shouldn't spoil at all in market block's slots and there is 100% some issue there, I'll check.
Regarding muffins and other items - they are probably have shapes in market block and are not seen, some transition of shapes are needed in code, I'll check
Loving that I can use vessels on the market blocks, thank you! One note with them is that the market block has it's own spoil rate, so the 'food' in the display spoils quicker than what is in the vessels below, and that causes them to stop reading the bread that is still inside available (displays 0 instead of having several stacks, because the market entry doesn't refresh after I remove the 'spoiled' food.
I was additionally wondering if there is a way to force it to display the modded food items? I can't get muffins or candies etc from Expanded Cooking to display, so my bakery just looks empty all the time. ^^;
Would love to see compatability for this in the future! Thanks so much!
FYI client crash interacting with the stalls when immersivemousemode is on in v0.3.20 (on roguehouse). still checking to see if it repros on v0.3.23 and 1.19.3
Also, can you push your changes to github? The source doesn't appear to have been touched since 0.3.7, and I'd prefer to work out what is missing via actual source, rather than having to rely on ilspy's decompilation
KenigVovan
GUI doesn't open, it was already the case after updating from 0.3.19 to 0.3.21.
Thanks a lot again for looking into it :)
Nicodemus
gui is not possible to open or trading process is not working? And after update from 0.3.21 to 22 or from 0.3.19 to 0.3.20?
KenigVovan
Thanks!
And is it normal that the already installed onchest trade blocks don't work anymore?
Nicodemus
Hi, fixed in 0.3.22
Hi, it seems that when we try to put some chiseled stuff up for sale, it makes the game crash. But we can put chiseled stuff in the "price" slot.
CAN Market version: 0.3.21
Vintage Story version: 1.19.1
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-douglasfir-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-douglasfir-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-willow-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-willow-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-honeylocust-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-honeylocust-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-bearnut-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-bearnut-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-blackpoplar-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-blackpoplar-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-pyramidalpoplar-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-pyramidalpoplar-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-catalpa-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-catalpa-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-mahogany-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-mahogany-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-sal-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-sal-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-saxaul-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-saxaul-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-spruce-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-spruce-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-sycamore-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-sycamore-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-elm-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-elm-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-beech-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-beech-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-eucalyptus-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-eucalyptus-north cannot be resolved
13.12.2023 18:36:11 [Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-cedar-north in Grid recipe
13.12.2023 18:36:11 [Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-cedar-north cannot be resolved
Vityuri
I'll take a look at it for a next version, but probably it is possible
Is it possible for both on chest stall and warehouse stalls to work with storage vessels, so perishable food can be preserved longer?
Adelion
fixed in 0.3.19
crash by store payment on button. (newest version 0.3.18)
Newfie
re-uploaded
Where is 0.3.15 all the new players joining my server kept crashing when downloading mods and I wondered why till i found that its missing from the logs
Yes, crates from https://mods.vintagestory.at/rhadditions
Alatyr
yea, I see, they have the same code, but depends on attributes on item/block. I'll add check for attibute (but it won't sell you wrong item/block now at least=)
metal crates were from a mod, I guess?
I don't check for papertag on a crate now, I'll take a look at it as well
When putting metal cratesup for sale, he counts all the cratesas one. That is, if you put 2 steel cratesand 4 iron crates for sale, both lots will display 6 crates on the counter. Same thing with lanterns, they have same id, so stall can't recognize them correctly.
And If there is a crate with a papertag in the warehouse, then items that should not be there are still placed in this crate.
KenigVovan
Polish version
pl.json
{
"item-cangearpayment-copper": "Miedziana przekładnia",
"item-cangearpayment-silver": "Srebrna przekładnia",
"item-cangearpayment-gold": "Złota przekładnia",
"block-onchestmarketblock-*-north": "Blok rynkowy",
"gui-warehouse-title-bar": "Magazyn",
"gui-warehouse-sign-book": "Podpis",
"gui-stall-bar": "Stragan",
"gui-stall-owner": "Właściciel: {0}",
"gui-stall-prices-goods": "Ceny Towary",
"gui-adminshop-name": "Admin",
"block-rusty-stall": "Zardzewiały stragan",
"block-iron-stall": "Żelazny stragan",
"item-itemcanchestslist": "Książka magazynowa",
"block-rusty-warehouse": "Zardzewiały magazyn",
"block-iron-warehouse": "Żelazny magazyn",
"block-gold-warehouse": "Złoty magazyn",
"warehousebook-info": "Podpisano w magazynie na pozycji {0}",
"signed-by-player": " przez {0}",
"onchest-block-prices": "Ceny",
"onchest-block-goods": "Towary",
"gui-onchesttradeblock-bar": "Blok handlowy"
}
Alatyr
try 0.3.14, shouldn't kick and send price to the void now
It's crashing because of the crates. Apparently the game is trying to put 2 different items in 1 box or something like that. As a result, both the item being sold and the currency for which it was bought disappears.
also get this server exception from some warehouses, that only kicks me from the server. the other one the user said it crashed them entirely
https://pastebin.com/L7jF329P
User got this client crash while attempting to purchase things from a warehouse on the sever
https://pastebin.com/V3ZLdBKZ
Left side
Alatyr
it doesn't work if you place trade block on right side of the trunk. Which side did you have?
Wooden trunk
Alatyr
additional info in tooltip is possible, wrote it down for next updates.
What type of chest do you use? Stocks numbers should be updated on trade block gui openening and on fininshed trade
Impressive. How about describing the range of the warhouse and the stall in the tooltip?
Also, the market for the chest does not update the number of goods.
Alatyr
yes, added in 0.3.12
Is it possible to make a warehouse work with crates?
Nice, getting strong Boundless Shopping vibes from this! :)
Cathhy
Hi, should work now (0.3.11)
Hello! Really cool mod, but those two commands dont seem to work:
/canmarket si on
/canmarket sp off
What am I doing wrong? Im trying to use those on a market stall.
thank you!
tRead
A small wiki page is added
I recommend adding a little more info to this page:
There are problems with trade in perishable products. What is displayed on the counter can eventually turn into rot, despite the fact that the food in the chest is still fresh.
RogueRaiden
fixed in 0.3.10
looks like both stalls always drop the rusty version, and all warehouses drop the rusty version
PeterSanderson
grid recipe for onchest trade block uses "plank-*" but there are no such variants of trade blocks as
I'll modify this recipe and add new one for wildcraft, but in on of the next versions.
The following error came up in the console on my server. An issue with Wildcraft Trees.
Thank you for the response!
Hi gndrneutralnoun ,
it doesn't make much sence to have it in a singleplayer, since a player set block, trades and containers with goods for trades.
Mod doesn't spawn anything by itself
Is this solely a server trading mod, or could I set this up for a singleplayer game? I can't tell from the description, sorry.
@KenigVovan
Thank you! I will ask my sever host about the config.
I just figured it was strange since they where all made at the same time, the 10 and 60 used on the slot are inside of the actual container. I'll update you if they make the changes and if it starts to work.
Jenpai
It is probably caused by expiration date difference, trade block won't count food in the chest with less than half of the in-goods'-slot food (by default PERISH_DIVIDER = 2, 50%), you can change PERISH_DIVIDER in config
Or you can add "transitionstate" in IGNORED_STACK_ATTRIBTES_LIST in config and it will ignore state of food at all
Having problems with Candied fruit (example: Candied Pineapple) from expanded foods. The on chest marketstall doesn't seem to register the items are in the chest.
Screenshot: prnt.sc/uVZtc6g9ugKT
hey,
I would like a tradeblock that only offers one item instead of four items. It would also be great if there was an option to sell items as bundles, such as the three-part banners.
Kind regards Sergio
suggestion: let the owner bring up a list with players that bought items from them. not really necessary, but i believe a lot are curious who their customers are.
Is there any way to make the copper, silver and gold gears added by this mod? I tried smithing them but there isn't an option, and also no mold to cast them. They appear on the help menu and creative inventory, but no way to make them. I'm running the latest version of the mod, 0.2.6 for 1.18.1 if that matters.
KenigVovan
I checked, it works. There are only two nuances. The first - miniatures of goods that are put up for sale are very small. The second - you need to free up at least one slot in the market and put it up for sale again, after such actions it is updated and everything shows thumbnails.
Sp0wN
try 0.2.6
The store and the teams work at one hundred percent. Nice mod. Respect to the author and low bow. While building on my store server, I noticed that almost all decorative blocks do not have a model. Just little white squares. Example photo here -
JunidO
is it a server on which I can join a get crash myself?
If not what items are set in the slots? And what are the steps to get it, just rejoin the game near a trade block?
Running on 64 bit Windows with 16 GB RAM
Game Version: v1.18.1 (Stable)
03.05.2023 06:00:01: Critical error occurred in the following mod: canmarket@0.2.4
Loaded Mods: aculinaryartillery@1.0.12, ancienttools@1.5.3, atwatersedge@1.3.1, backpackpackplus@1.0.3, signs@1.0.0, bettercrates@1.6.0, canmarket@0.2.4, Ceramos@0.3.1, chiseltools@1.8.4, claims@0.2.5, extrachests@1.7.0, fancysky@1.0.6, pantherinae@1.0.3, unochre@1.1.0, primitivesurvival@3.1.8, qptech@1.13.02, RangedWeapons@0.6.2, sortablestorage@1.8.0, translocatorengineeringredux@1.4.1, visibleore@1.0.1, game@1.18.1, wildcrafttrees@1.1.5, wildcraft@1.6.5, alchemy@1.6.10, alphaweaponpackfix@1.0.0, animalcages@2.1.5, claimsext@0.2.3, coinage@1.3.0, expandedfoods@1.6.5, hudclock@2.9.1, sailboat@1.1.0, kreaturesandkritters@1.0.3, medievalexpansion@3.9.1, nemi@1.1.0, paxel@1.3.0, petai@1.7.1, SimpleMobFootSteps@1.0.3, tablet@0.1.4, creative@1.18.1, survival@1.18.1, xlib@0.7.0, accessibilitytweaks@3.3.1, cats@1.7.0, xskills@0.7.0, wildcraftxskillspatch@0.2.0
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei canmarket.src.BE.BECANMarket.GenMesh(ItemStack stack)
bei canmarket.src.BE.BECANMarket.updateMesh(Int32 slotid)
bei canmarket.src.BE.BECANMarket.UpdateMeshes()
bei canmarket.src.BE.BECANMarket.FromTreeAttributes(ITreeAttribute tree, IWorldAccessor worldForResolving)
bei Vintagestory.Client.NoObf.ClientChunk.AddOrUpdateBlockEntityFromPacket(Packet_BlockEntity p, ClientMain game) in VintagestoryLib\Client\Model\ClientChunk.cs:Zeile 399.
bei Vintagestory.Client.NoObf.GeneralPacketHandler.HandleBlockEntities(Packet_Server packet) in VintagestoryLib\Client\Systems\GeneralPacketHandler.cs:Zeile 409.
bei Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:Zeile 744.
bei Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:Zeile 163.
bei Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:Zeile 681.
bei Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:Zeile 625.
bei Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:Zeile 119.
bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
bei OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:Zeile 476.
bei OpenTK.GameWindow.DispatchRenderFrame() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:Zeile 452.
bei OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:Zeile 375.
bei Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
bei Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:Zeile 93.
---
It´s a very nice mod, but it makes vintage story unplayable. Allways after a relog, your client crashs with this log.
DonCall In the description of the mod, an error was made in one letter. To install the functionality of the admin shop, you need to write:
/canmaRket si on - to activate the admin shop, there will be an inscription (SI)
/canmaRket si off - to turn off the admin shop
KenigVovan We are waiting for an update of the mod, as it is currently causing a slight hang on the server. With this error:
29.4.2023 11:31:46 [Server Fatal] System.ArgumentException: Source array was not long enough. Check srcIndex and length, and t
he array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Bo
olean reliable)
at System.Collections.Generic.Queue`1.SetCapacity(Int32 capacity)
at System.Collections.Generic.Queue`1.Enqueue(T item)
at Vintagestory.GameContent.EntityBlockFalling.OnGameTick(Single dt) in C:\Users\Tyron\Documents\vintagestory\game\VSEssent
ials\Entity\EntityBlockFalling.cs:line 410
at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt) in C:\Users\Tyron\Documents\vintagestory\game\V
intagestoryLib\Server\Systems\World\EntitySimulation.cs:line 287
at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt) in C:\Users\Tyron\Documents\vintagestory\game\V
intagestoryLib\Server\Systems\World\EntitySimulation.cs:line 152
at Vintagestory.Server.ServerMain.Process() in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\ServerMain
.cs:line 762
29.4.2023 11:31:46 [Server Fatal] System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.Common.BlockAccessorBase.GetBlock(BlockPos pos, Int32 layer) in C:\Users\Tyron\Documents\vintagestory\game\
VintagestoryLib\Common\API\BlockAccessorBase.cs:line 85
at Vintagestory.Server.ServerMain.TriggerNeighbourBlocksUpdate(BlockPos pos) in C:\Users\Tyron\Documents\vintagestory\game\
VintagestoryLib\Server\ServerMain.cs:line 2015
at Vintagestory.Server.ServerSystemBlockSimulation.HandleDirtyAndUpdatedBlocks() in C:\Users\Tyron\Documents\vintagestory\g
ame\VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 716
at Vintagestory.Server.ServerSystemBlockSimulation.UpdateEvery100ms(Single t1) in C:\Users\Tyron\Documents\vintagestory\gam
e\VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 702
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in C:\Users\Tyron\Doc
uments\vintagestory\game\VintagestoryLib\Common\EventManager.cs:line 84
at Vintagestory.Server.CoreServerEventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in C:\Users
\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\ServerEventManager.cs:line 122
at Vintagestory.Server.ServerMain.Process() in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\ServerMain
.cs:line 769
Running on 64 bit Windows with 16 GB RAM
Game Version: v1.18.1 (Stable)
29.04.2023 19:03:44: Critical error occurred in the following mod: canmarket@0.2.2
Loaded Mods: aculinaryartillery@1.0.12, ancienttools@1.5.3, atwatersedge@1.3.1, backpackpackplus@1.0.3, signs@1.0.0, bettercrates@1.6.0, canmarket@0.2.2, Ceramos@0.3.1, chiseltools@1.8.4, claims@0.2.5, extrachests@1.7.0, fancysky@1.0.6, pantherinae@1.0.3, unochre@1.1.0, primitivesurvival@3.1.8, qptech@1.13.02, visibleore@1.0.1, game@1.18.1, wildcrafttrees@1.1.5, wildcraft@1.6.5, alchemy@1.6.9, claimsext@0.2.3, coinage@1.3.0, expandedfoods@1.6.5, hudclock@2.9.1, kreaturesandkritters@1.0.3, nemi@1.1.0, petai@1.7.1, SimpleMobFootSteps@1.0.3, tablet@0.1.4, creative@1.18.1, survival@1.18.1, wildfarmingrevival@1.0.1, xlib@0.7.0, accessibilitytweaks@3.3.1, cats@1.7.0, xskills@0.7.0, wildcraftxskillspatch@0.2.0
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei canmarket.src.BE.BECANMarket.GenMesh(ItemStack stack)
bei canmarket.src.BE.BECANMarket.updateMesh(Int32 slotid)
bei canmarket.src.BE.BECANMarket.UpdateMeshes()
bei canmarket.src.BE.BECANMarket.FromTreeAttributes(ITreeAttribute tree, IWorldAccessor worldForResolving)
bei Vintagestory.Client.NoObf.ClientChunk.AddOrUpdateBlockEntityFromPacket(Packet_BlockEntity p, ClientMain game) in VintagestoryLib\Client\Model\ClientChunk.cs:Zeile 399.
bei Vintagestory.Client.NoObf.GeneralPacketHandler.HandleBlockEntities(Packet_Server packet) in VintagestoryLib\Client\Systems\GeneralPacketHandler.cs:Zeile 409.
bei Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:Zeile 744.
bei Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:Zeile 163.
bei Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:Zeile 681.
bei Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:Zeile 625.
bei Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:Zeile 119.
bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
bei OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:Zeile 476.
bei OpenTK.GameWindow.DispatchRenderFrame() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:Zeile 452.
bei OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:Zeile 375.
bei Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
bei Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:Zeile 93.
is it possible to dump the items at the adminshop ?
or do i need to dump it by myself then
Hi
Game Version: v1.18.0-pre.8 (Unstable)
11.04.2023 12:58:41: Critical error occurred in the following mod: canmarket@0.2.0
Loaded Mods: aculinaryartillery@1.0.12, weaponpacka@1.3.1, tonwexp@1.1.0, betterdrifters@2.1.3, canmarket@0.2.0, chiseltools@1.8.2, commonlib@1.0.4, dungeonsandshafts@0.2.3, fieldsofgold@2.1.6, hqzlights@1.0.0, moreclasses@1.2.5, playercorpse@1.6.0-rc.1, primitivesurvival@3.1.5, qptech@1.13.01, sortablestorage@1.8.0, spyglass@0.4.5, game@1.18.0-pre.8, awearablelight@1.0.4, carryon@0.13.0-pre.2, carryonmore@1.5.0, coinage@1.2.0, lavoisier@1.2.6-pre.1, lichen@1.6.2, medievalexpansion@3.9.0, morepiles@1.3.0, petai@1.6.0, usefulstuff17@1.1.3, creative@1.18.0-pre.8, survival@1.18.0-pre.8, workbenchexpansion@1.6.0, bullseye@2.5.0-pre.2, chemistrylib@1.1.1, em@2.0.0-pre.5, feverstonehorses@1.4.1, bricklayers@2.0.0-pre.4, kosfire@1.1.1-pre.1
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в canmarket.src.BE.BECANMarket.GenMesh(ItemStack stack)
в canmarket.src.BE.BECANMarket.updateMesh(Int32 slotid)
в canmarket.src.BE.BECANMarket.UpdateMeshes()
в canmarket.src.BE.BECANMarket.FromTreeAttributes(ITreeAttribute tree, IWorldAccessor worldForResolving)
в Vintagestory.Client.NoObf.ClientChunk.AddOrUpdateBlockEntityFromPacket(Packet_BlockEntity p, ClientMain game) в VintagestoryLib\Client\Model\ClientChunk.cs:строка 399
в Vintagestory.Client.NoObf.GeneralPacketHandler.HandleBlockEntities(Packet_Server packet) в VintagestoryLib\Client\Systems\GeneralPacketHandler.cs:строка 405
в Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) в VintagestoryLib\Client\ClientMain.cs:строка 744
в Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) в VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:строка 163
в Vintagestory.Client.ScreenManager.Render(Single dt) в VintagestoryLib\Client\ScreenManager.cs:строка 681
в Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) в VintagestoryLib\Client\ScreenManager.cs:строка 625
в Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) в VintagestoryLib\Client\ClientPlatform\GameWindow.cs:строка 119
в System.EventHandler`1.Invoke(Object sender, TEventArgs e)
в OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) в C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:строка 476
в OpenTK.GameWindow.DispatchRenderFrame() в C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:строка 452
в OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) в C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:строка 375
в Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
в Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) в VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:строка 93
I really need help
KenigVovan
You made my day! Thanks! works like a charm
DonCall
I'll try to add version for 1.18 with that today
KenigVovan
Hi, yes. But we need this Mod for 1.18. Do you implement the function in it?
DonCall
HI, did you try it on 1.0.10 version? 0.2.0 for 1.18 doesn't have it yet
Hi,
/canmaket si on doesn't work.
Tried "/canmaket is on" ... doesn't work.
also...
/canmarket si on doesn't work.
Tried "/canmarket is on" ... doesn't work.
I sincerely hope that you will continue to develop it. I think it is a great mod, mandatory for multiplayer.
Could you please update it when 1.18 is released?
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-douglasfir-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-douglasfir-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-willow-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-willow-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-honeylocust-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-honeylocust-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-bearnut-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-bearnut-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-blackpoplar-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-blackpoplar-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-pyramidalpoplar-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-pyramidalpoplar-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-catalpa-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-catalpa-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-mahogany-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-mahogany-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-sal-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-sal-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-saxaul-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-saxaul-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-spruce-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-spruce-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-sycamore-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-sycamore-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-elm-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-elm-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-beech-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-beech-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-eucalyptus-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-eucalyptus-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code canmarket:onchestmarketblock-cedar-north in Grid recipe
07:25:44 [Server Error] Grid Recipe 'canmarket:canmarketonchestmarketblock': Output Block code canmarket:onchestmarketblock-cedar-north cannot be resolved
07:25:44 [Server Warning] Failed resolving crafting recipe ingredient with code necessaries:sharpener_disc-obsidian in Grid recipe
07:25:44 [Server Error] Grid Recipe with output Item code necessaries:sharpener-diamond contains an ingredient that cannot be resolved: Item code necessaries:sharpener_disc-obsidian