Jump to content

BluePsion Gamer

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by BluePsion Gamer

  1. Thank you to everyone for the help. Shout out to Tels on the Discord that let me know that you can't use name: identifier for the other ingredients, only in the output. Still struggling though. I think I may have encountered some kind of bug though I do admit I am using the crafting system in a way not currently in game. I stripped it all down as if I was going to type out each one by hand and got an interesting result, here's the .json in its entirety: [ { ingredientPattern: "A L", ingredients: { "A": { type: "item", code: "game:armor-body-chain-copper"}, "L": { type: "item", code: "game:metalchain-copper"} }, width: 1, height: 2, output: { type: "item", code: "game:armor-body-chain-copper" } } ] No server errors when this is loaded but something bizarre happens. I'd expect the recipe to consume the two items above and then hand back a new item defined by output. Something weird happens. I let a drifter hit my armor to see what would happen and then tried my recipe and the output chain was not a new item, but was the same item with 32 durability added. What in the world. There is one mod for repairing armor up on the mod database called ArmorRepair by Asraiel. I tested this mod and got the same result. His .json files look good but produce the same effect. So far the only way I've found to get a new chain is to use the returnedStack option to return a new chain mail. This does actually create a new chain mail item with full durability. Of course I need an output to make a valid recipe. For a quick hack I can make this create a dirt block or something, and that's fine for me and my friends... but not something I'd package as a mod for the community! Anyone know what could be going on here, or how I could force the crafting system to give me a new item as an output? I know C# so I'll see about setting up a proper dev environment and seeing if I can find what is wrong... but I don't think all the code of the game is exposed like that. Edit: It is totally there to look at. My hypothesis is they want to make sure if you use items with lower durability in crafting, you get lower durability items back. Time for some coffee and some browsing. I'm impressed at the openness of this game.
  2. I'm making a simple mod to repair armor using ingots of the same type. This is my first mod and I'm hoping to refine it and put it out for other people too. Well I'm stuck! I explored the .json files first and then made my own. I started with chain body armor. I want you to be able to take your armor in upper slot, put in ingot of same type in the lower, and get your repaired armor back! The thing is it won't work unless I hard code the ingot type. I'd rather not have to do that as using the variables with name= is a lot more elegant, but is it possible? { ingredientPattern: "A L", ingredients: { "A": { type: "item", code: "armor-body-chain-*", name: "metal"}, "L": { type: "item", code: "ingot-{metal}" } }, width: 1, height: 2, output: { type: "item", code: "armor-body-chain-{metal}", quantity: 1 } } ] That's the whole JSON, the error I get is this. 16:04:36 [Server Error] Grid Recipe with output Item code game:armor-body-chain-copper contains an ingredient that cannot be resolved: Item code game:ingot-{metal} 16:04:36 [Server Error] Grid Recipe with output Item code game:armor-body-chain-tinbronze contains an ingredient that cannot be resolved: Item code game:ingot-{metal} 16:04:36 [Server Error] Grid Recipe with output Item code game:armor-body-chain-bismuthbronze contains an ingredient that cannot be resolved: Item code game:ingot-{metal} 16:04:36 [Server Error] Grid Recipe with output Item code game:armor-body-chain-blackbronze contains an ingredient that cannot be resolved: Item code game:ingot-{metal} 16:04:36 [Server Error] Grid Recipe with output Item code game:armor-body-chain-iron contains an ingredient that cannot be resolved: Item code game:ingot-{metal} 16:04:36 [Server Error] Grid Recipe with output Item code game:armor-body-chain-meteoriciron contains an ingredient that cannot be resolved: Item code game:ingot-{metal} 16:04:36 [Server Error] Grid Recipe with output Item code game:armor-body-chain-steel contains an ingredient that cannot be resolved: Item code game:ingot-{metal} 16:04:36 [Server Error] Grid Recipe with output Item code game:armor-body-chain-gold contains an ingredient that cannot be resolved: Item code game:ingot-{metal} 16:04:36 [Server Error] Grid Recipe with output Item code game:armor-body-chain-silver contains an ingredient that cannot be resolved: Item code game:ingot-{metal} So it is definitely storing the text at the wildcard in "metal" but .. then can only fetch it for the output. I've tried hard-coding the ingot type, ex ingot-tinbronze and it works. But why doesn't this? Thank you!
  3. Nevermind I'm a dumb dumb, forgot to assign the permissions of the server directory and the server wasn't even starting properly. Picking your port with : works fine.
  4. I've been having a lot of fun playing Vintage story and decided to set up a creative server also for me and my friend. I am hosting on a debian machine using systemctl. No issues connecting or setting it up. The thing is I want to be able for us to pick what server we get on by the port number. The default is 42420 and that is set to our normal world. I set up the creative for 42421 and I can't figure out how to pick a different port in the game. I tried the normal method of a : then the port like this, Host/IP Address: 10.0.0.5:42421 But no luck. How can I tell vintage story client to look for the server on a different port? Thank you!
  5. I love this game! I have a problem though that I'm not sure how to fix. It has happened twice. First was last night while playing on single player/Windows 10. I had just finished building a new fence for my animals when I died of starvation. My base was right near the spawn point, about a 30 second run. I got there and everything was gone but weirder still was that the fence work I had done was un-done. Today I put a dedicated server up on my Debian machine and invited my friend to play over the internet. We played for a few hours with no problems. Then I found a new cave we decided to move into. I was stacking firewood against the wall. He ran in and dumped some stuff off and left for more. Then I died again of starvation. When I got back a minute or so later everything I had dropped on death was gone, but so was all the stuff he had dropped. Also, my wall of firewood was gone like I had never stacked it! It seems like certain deaths are causing the sever to roll back for several minutes. Anyone run into this or know how to fix it?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.