-
Posts
275 -
Joined
-
Last visited
-
Days Won
15
Content Type
Profiles
Forums
News
Store
Everything posted by ZigTheHedge
-
Updated to 1.0B. Possibly fixed all the issues found so far
-
If you know how to reproduce it, you can do it in single player world and send it to me
-
I cannot reproduce it
-
What've you done exactly?
-
Hey, fellow players! Here's the mod which adds machines and coins for server offline trading! Vending machine variant: Market stall variant: Trade'o'rug (allows to sale five different items "as-is" for a difference prices - so it's possible to sell food for example): These blocks are used for trading of course! The owner (player who has placed the block down) is able to set the trade (sneak-click): Here Trade'o'mat expects to exchange 4 cattail roots for 1 sack of carrot seeds. And stock is filled for 12 deals. When the potential buyer opens interface, he sees the following: Just place required price to the left slot and push "Deal!" button to make a trade. And here are the coins to use with my Trade'o'mats and just for exchange between players. Video Tutorials (English and Deutsch) courtesy of Julius van Vern: Changelogs and downloads have been moved to MODDB! https://mods.vintagestory.at/show/mod/59 Older versions: 1.13.4 (no longer maintained): tradeomat_v1.13.4-1.31B.zip 1.14.0+: tradeomat_v1.14.0-1.5.5.zip 1.15-pre.1: tradeomat_v1.15.0-1.5.7.zip Suggestions are welcome! And bug reports also of course.
- 147 replies
-
- 12
-
1.16.0 Necessaries - now with a repairing ability! [1.1.1]
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
Updated to 0.74. Fixed mailbox behavior when trying to send a parcel to unloaded chunk. -
1.16.0 Necessaries - now with a repairing ability! [1.1.1]
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
Updated mod to 0.73 to be compatible with game version 1.13.4. Please note: this version will NOT run on game versions below 1.13.4! -
1.16.0 Necessaries - now with a repairing ability! [1.1.1]
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
Update 0.72-B: - fixed crash when receiving parcels - fixed log spam because of Branch Cutters - fixed constant damage when falling on a Rusty Spikes (now it depends on falling height) -
1.16.0 Necessaries - now with a repairing ability! [1.1.1]
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
Hmmmm... that’s the thing I havn’t thought of... Will do, thanks! -
[1.12.14] DeathText - Resetting the text for death(only server)
ZigTheHedge replied to Sayary's topic in Mod Releases
Hey! Nice idea! And here’s the advise: make death texts to be arrays, so that the random text will be displayed -
1.16.0 Necessaries - now with a repairing ability! [1.1.1]
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
What kind of problems? -
1.16.0 Necessaries - now with a repairing ability! [1.1.1]
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
Update! 0.7-B! - Added: Branch Cutters. Tool for leaves gathering. - Patched: Wild Vines now can be used as a ladders. - Added version 0.7-B-immersion for use alongside Immersion mode. -
1.16.0 Necessaries - now with a repairing ability! [1.1.1]
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
Everyone! Entities get hurt when they “fall” on a spike. So, when entity is cautious, spikes are safe. -
1.15-pre.1 DeathCounter for streamers (streamdc)
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
Done! Please update to 1.1.0- 21 replies
-
- 1
-
1.16.0 Necessaries - now with a repairing ability! [1.1.1]
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
That happens because Immersion removes vanilla Barrel. I'll try to fix this. That's a good idea! I'll think about what I can do with it. -
1.16.0 Necessaries - now with a repairing ability! [1.1.1]
ZigTheHedge posted a topic in Mod Releases
Hey, fellow players! Here's the initial public release of my "tweaks collection" mod, which aims to make yours (actually, mine ) survival experience better! This mod adds the following thingies: 1. Mailbox 2. Trashcan, the 3. Rusty Spikes 4. Trapdoor patch! Since version 0.7-B: 5. Branch Cutter! 6. Vines patch Changelogs and downloads have been moved to MODDB! https://mods.vintagestory.at/show/mod/19 0.72-B changelog: 0.74 changelog: 0.75B changelog: 0.7.7-B changelog: 0.7.8-B changelog: 0.8.2-B changelog: 7. Grindstone 0.8.3-B changelog: 8. Sulfuric Acid and Glue! 0.8.4-B changelog: 0.8.5-B changelog: 0.8.6-B changelog: 0.8.7 changelog: 0.8.8 changelog: 0.8.9 changelog: 0.8.10 changelog: 0.8.11 changelog: 0.8.12 changelog: Please keep me notified about found bugs! And stay tuned for more content! Yeeeehaaaah! For fellow modders (aka Mod Compatibility): Older versions: 1.15-rc.2: necessaries_v1.15.2-0.8.12.zip 1.14.5+: necessaries_v1.14.5-0.8.9.zip 1.14.0+: necessaries_v1.14.0-0.7.8-B.zip 1.13.4: necessaries_v1.13.4-0.7.7B.zip 1.12.14: If (and only!) you're already using Immersion mod, use -immersion version of Necessaries which is compatible. necessaries_v0.73.zip necessaries_v0.73-immersion.zip -
Hey, fellow modders! Another question: I'm trying to make a custom molding recipe. I've made a form (copy/tweaking the toolmold.json of course), a recipe of the "clayforming" type for the mold, and a resulting item of course. Well, all the processing chain is working flawlessly: I can use a clay on a ground to knap a mold form, burn it, and pour a liquid metal into it to get a result. But I can't see the last step of this process in a Handbook! If I'm pressing "H" hovering my final item, I can only see the item explanation without any directions of getting it. What should I do to make the handbook recognize my molding recipe? UPD: Well, to fix this, you have to explicitly add "createdBy" (case-sensitive!) token in item json: attributes: { handbook: { createdBy: "metalmolding" } },
-
[Resolved] Itemstack TreeAttributes sync?
ZigTheHedge replied to ZigTheHedge's topic in Mods & Mod Development
Oh, man... stack.ResolveBlockOrItem() did the trick! Thanks!- 3 replies
-
- 1
-
- itemstack
- dropped item with attributes
-
(and 1 more)
Tagged with:
-
[Resolved] Itemstack TreeAttributes sync?
ZigTheHedge replied to ZigTheHedge's topic in Mods & Mod Development
Hi, Tyron! The player. Regular right click with Item form of Block. Yeah, I know. The screenshot just showing that stack.ItemAttributes were there during the "save" in OnBlockBroken, and weren't during "load" in OnBlockPlaced. They should serialize via Attributes.SetItemstack, right?- 3 replies
-
- itemstack
- dropped item with attributes
-
(and 1 more)
Tagged with:
-
Hey, fellow modders and authors of such a great API! I'm struggling with a problem, which I can't find the source of. When player breaks my block, it's inventory should be saved in dropped Item Attributes. Well, it does, I can confirm it via debug. Now, when I try to place the block using that item, I only get partial information from the former ItemStacks. Here are the code parts: OnBlockBroken (everything is saving inside ItemStack::Attributes just fine) public override void OnBlockBroken(IWorldAccessor world, BlockPos blockPos, IPlayer byPlayer, float dropQuantityMultiplier = 1) { if (world.Side == EnumAppSide.Server && (byPlayer == null || byPlayer.WorldData.CurrentGameMode != EnumGameMode.Creative)) { ItemStack[] drops = GetDrops(world, blockPos, byPlayer, 1); ItemStack droppedItem = null; if (drops != null) { if(drops.Length > 0) { droppedItem = drops[0].Clone(); } } if (EntityClass != null) { BlockEntity entity = world.BlockAccessor.GetBlockEntity(blockPos); if (entity != null) { if (entity is IBlockEntityContainer) { ParcelInventory inv = (ParcelInventory)((IBlockEntityContainer)entity).Inventory; droppedItem.Attributes.SetInt("contentsCount", inv.Slots.Length); for (int i = 0; i < inv.Slots.Length; i++) { ItemStack stack = inv.Slots[i].Itemstack.Clone(); droppedItem.Attributes.SetItemstack("slot_" + i, stack); } //droppedItem.Attributes has three Values. First one - is the size of the following ItemStacks, which are two. world.SpawnItemEntity(droppedItem, new Vec3d(blockPos.X + 0.5, blockPos.Y + 0.5, blockPos.Z + 0.5), null); } } } world.PlaySoundAt(Sounds?.GetBreakSound(byPlayer), blockPos.X, blockPos.Y, blockPos.Z, byPlayer); } world.BlockAccessor.SetBlock(0, blockPos); } Debug info from slot_0 (everything is fine - we have an Item here): OnBlockPlaced (ItemStack::Attributes gone crazy and lost almost all information about ItemStack beside Id) public override void OnBlockPlaced(IWorldAccessor world, BlockPos blockPos, ItemStack byItemStack = null) { base.OnBlockPlaced(world, blockPos, byItemStack); if (world.Side == EnumAppSide.Server && byItemStack != null) { int contentsCount = byItemStack.Attributes.GetInt("contentsCount", -1); if (contentsCount != -1) { if (EntityClass != null) { BlockEntity entity = world.BlockAccessor.GetBlockEntity(blockPos); if (entity != null) { if (entity is IBlockEntityContainer) { ParcelInventory inv = (ParcelInventory)((IBlockEntityContainer)entity).Inventory; for (int i = 0; i < contentsCount; i++) { ItemStack stack = byItemStack.Attributes.GetItemstack("slot_" + i); // stack is not a valid ItemStack! Block == null, Item == null ItemAttributes == null! inv.Slots[i].Itemstack = stack.Clone(); inv.MarkSlotDirty(i); } } entity.MarkDirty(true); world.BlockAccessor.MarkBlockEntityDirty(blockPos); } } } } } Debug info from stack (NPEs everywhere!): Any ideas?
- 3 replies
-
- itemstack
- dropped item with attributes
-
(and 1 more)
Tagged with:
-
1.15-pre.1 DeathCounter for streamers (streamdc)
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
That's the reason. Mod needs to be installed on both server and client.- 21 replies
-
1.15-pre.1 DeathCounter for streamers (streamdc)
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
Are you absolutely sure? Check your serverdata/serverconfig.json file and look for "ModPaths" setting. streamdc_v1.0.0.zip file should be placed intact (!!!no need to unzip it) in one of these locations. Next, you should put the same archive in your Mods folder in client. Either in %appdata%\roaming\vintagestory\mods or in main folder\mods. And, just in case, try to die at least once before issuing the command.- 21 replies
-
- 1
-
1.15-pre.1 DeathCounter for streamers (streamdc)
ZigTheHedge replied to ZigTheHedge's topic in Mod Releases
@Avic, язык общения на форуме - английский. Мой мод работает и на сервере и в сингле. Файл с модом нужно поместить в Mods в каталоге с установленной игрой.- 21 replies
-
- 1
-
This small mod adds two functions: 1. It keeps track of players deaths (on server as well) and creates local file (called deathcounter.txt, located in %appdata%\roaming\vintagestoryData) with only one string - the number of player deaths. So during the stream you can output it in an overlay. 2. To view your Top-5 of deaths, use /dc command (privilege is .Chat). 3. If player dies, a WayPoint is created automatically, and Top-5 is also sent to player. Since 1.1.0: 4. Creation of WayPoint is customizable with the config file (%appdata%\roaming\vintagestoryData\ModConfig\StreamDCConfig.json). You can choose whether to create the waypoint at all, or change it's color and icon. Suggestions are welcome! 1.15-pre.1: streamdc_v1.15.0-1.1.1.zip 1.14: streamdc_v1.14-1.1.0.zip
- 21 replies
-
- 5