Page 1 of 2

[Mod] Zeg9's craft guide [github] [zcg]

Posted: Thu Apr 11, 2013 18:34
by Zeg9
Hi !
This is yet another craft guide mod.
It should load all crafting recipes, unlike the other craft guides (this is the main reason why I made this one)

Depends: Inventory++ (recommended), inventory_plus or mod menu
If you choose inventory++ or inventory_plus, the craft guide will be inside the inventory, else it will be in the mod menu (/m)
License: WTFPL
Download: latest or browse code on github
Screenshots:
Image
Image Image
WARNING: This mod is tested with the latest development of minetest.
It should work with 0.4.7 but not with older versions.

Posted: Fri Apr 12, 2013 14:50
by addi
yeah! i have waited for this!

but it doesent work for me :(

if i click in the inventory on "craft guide" it needs 3 secounds to load all, Thats ok and not the problem.
then the list is displayed correct, but if i click on a item, minetest crashes :(

here is the code from the debug.txt i hope it helps

Code: Select all

Loading all crafts, this may take some time...
All crafts loaded !
16:39:34: ACTION[ServerThread]: singleplayer leaves game. List of players: 
16:39:35: ERROR[main]: ServerError: LuaError: error: [...]\mods\zcg\init.lua:48: table index is nil
16:39:35: ERROR[main]: stack traceback:
In trans_func.
Access violation at 506E4920 write?=8 address=1349404960
16:39:35: ERROR[main]: Some exception: "Access violation"

Posted: Fri Apr 12, 2013 15:39
by Zeg9
That's weird... Probably you're running 0.4.6, or any version before this commit that fixes get_all_craft_recipes.
And thanks for trying my mod ;)
I'll add that you require the latest git to run this in the first post.

Posted: Fri Apr 12, 2013 15:59
by addi
that means u need a server compiled 2 days ago and than u can acces it wich each 0.4.6 client?
than it helps a lot! :) thanks for that info!
and lot of thanks for that mod! :D

Posted: Fri Apr 12, 2013 16:08
by Zeg9
addi wrote:that means u need a server compiled 2 days ago and than u can acces it wich each 0.4.6 client?
than it helps a lot! :) thanks for that info!
and lot of thanks for that mod! :D
Yeah you can access it with a 0.4.6 client :-)
That's what I'm doing on my server (actually, most players use 0.4.6).
Please tell me if you have any problem with the mod (or if it works great :P)

Posted: Sat Apr 13, 2013 16:01
by Zeg9
Hybrid Dog wrote:
Zeg9 wrote:Depends: inventory_plus
This one?
http://forum.minetest.net/viewtopic.php?id=3876
It should work with any implementation, but 0gb.us's is recommended.

Posted: Sat May 18, 2013 12:51
by Zeg9
Hybrid Dog wrote:0.4.7 doesn't exist yet. But it works with a new 0.4.6 version.
Notice the "when it's out"
But "git version" would be more appropriate.

Posted: Sun Jun 02, 2013 16:29
by Zeg9
Updated!
Changelog:
* Bug fixes
* Added page count
* Sort items so it is easier to find what you're looking for

Posted: Sun Jun 02, 2013 17:14
by Evergreen
0gb_us closed his github account. How am I supposed to get inventory_plus then?

Posted: Sun Jun 02, 2013 17:17
by Zeg9
Evergreen wrote:0gb_us closed his github account. How am I supposed to get inventory_plus then?
There are other inventory_plus implementation: cornernote's (the original one), and mod menu (/m to see the menu).
Please wait a few minutes, I'll find the links back.
EDIT:
* cornernote's is there: http://forum.minetest.net/viewtopic.php?id=3100
* mod menu is there: http://forum.minetest.net/viewtopic.php?id=5824

Posted: Sat Jun 08, 2013 13:00
by Evergreen
You should change the link to inventory_plus to your fork of inventory_plus.

Posted: Sat Jun 08, 2013 13:01
by Zeg9
Evergreen wrote:You should change the link to inventory_plus to your fork of inventory_plus.
I was going to do it when I forgot what I was doing on this topic.
Updating, thanks !

Posted: Sat Jun 08, 2013 13:11
by cornellius
Nice mod

Posted: Fri Jul 12, 2013 22:54
by Temperest
Simple and works, it's perfect.

Posted: Sat Jul 13, 2013 08:03
by Zeg9
Temperest wrote:Simple and works, it's perfect.
Well, thanks :p

Posted: Sat Aug 31, 2013 13:03
by Neuromancer
Just a couple of notes:

Is there a way to get rid of recipies with unknown blocks?
Can you change the "V" key to something else more obvious for "alternative" recipies.
I think some recipies are missing, for example cotton string. Not sure how we get them added.


This comes up when people try to craft mossmanikin's fishing poles when the mesecons mod is not installed. It shows several unknown blocks where the mesecon wires would be. But it isn't obvious that the "V" key show you alternative recipies for fishing poles.

I think if you had just a number of buttons that would have a tiny picture of the 3 by 3 crafting grid with "Recipie 1 of 3", or 3 buttons Grid1,Grid2,Grid3 with the 3 by 3 crafting grid icon people would know that there are 3 recipies.

Posted: Mon Sep 02, 2013 23:40
by jojoa1997
Could you add the ability to see multiple recipes of a single node and also the replacements if there is any.

Posted: Mon Dec 30, 2013 22:46
by Minearriatest
Thanks for this mod. It's a big help as it not only shows crafting for things native to the game it also shows recipes for modded items as well.

Posted: Tue Dec 31, 2013 02:03
by deasanta
Thanks dude

Posted: Fri Mar 07, 2014 19:54
by Misty
Is it possible to add a search function to this craft guide?
you know, the type of thing that lets us type in "planks" to find all the available planks, so we can choose the recipe we need from the smaller list of choices? manually searching thru all available recipes page by page can get really annoying when there are a lot of recipes.

Posted: Fri Mar 07, 2014 19:57
by CraigyDavi
Misty wrote:Is it possible to add a search function to this craft guide?
you know, the type of thing that lets us type in "planks" to find all the available planks, so we can choose the recipe we need from the smaller list of choices? manually searching thru all available recipes page by page can get really annoying when there are a lot of recipes.
That would be brilliant. I think its the only thing this craft guide needs.

Posted: Sun Mar 16, 2014 19:38
by TenPlus1
For some reason your Protector Block or PilzAdam's Beds don't appear in this crafting guide...

Posted: Sun Mar 16, 2014 19:45
by CraigyDavi
TenPlus1 wrote:For some reason your Protector Block or PilzAdam's Beds don't appear in this crafting guide...
It's due to the way that the crafts in those mods are structured.

If you want to make sure that the protection block shows in the inventory:

Change this:

Code: Select all

minetest.register_craft({
    output = protector.node .. " 4",
    recipe = {
        {"default:stone","default:stone","default:stone"},
        {"default:stone","default:steel_ingot","default:stone"},
        {"default:stone","default:stone","default:stone"},
    }
})
To this:

Code: Select all

minetest.register_craft({
    output = protector:protect 4,
    recipe = {
        {"default:stone","default:stone","default:stone"},
        {"default:stone","default:steel_ingot","default:stone"},
        {"default:stone","default:stone","default:stone"},
    }
})

Posted: Sun Mar 16, 2014 20:50
by TenPlus1
Thanks CraigyDavi, changed the recipe and protector block is shown now, the beds mod by pilzadam is next :) thx dude...

Posted: Sun Mar 16, 2014 21:03
by CraigyDavi
TenPlus1 wrote:Thanks CraigyDavi, changed the recipe and protector block is shown now, the beds mod by pilzadam is next :) thx dude...
Glad I could help :)