[Mod] Craft Guide [craft_guide] - Shows crafts for all loade

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Thu Nov 08, 2012 12:40

madarexxx wrote:1) I put wood planks in output section, put chest on planks, throw away planks, pick them up. Cheat!

:O I just noticed that, I have to remove the mod from my server now -_-

madarexxx wrote:2) recipes, containing "group:*" are showing not correctly - there are "unknown item" in recipe.
P.s. what about reverse search? All recipes using wood for example.

+1 (if someone is going to work on this mod :P)
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
qwrwed
Member
 
Posts: 323
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Fri Nov 09, 2012 08:27

Zeg9 wrote:
madarexxx wrote:1) I put wood planks in output section, put chest on planks, throw away planks, pick them up. Cheat!

:O I just noticed that, I have to remove the mod from my server now -_-


I thought that only happened in old versions?
 

User avatar
GloopMaster
Member
 
Posts: 213
Joined: Wed Aug 01, 2012 18:03

by GloopMaster » Fri Nov 09, 2012 13:04

qwrwed wrote:
Zeg9 wrote:
madarexxx wrote:1) I put wood planks in output section, put chest on planks, throw away planks, pick them up. Cheat!

:O I just noticed that, I have to remove the mod from my server now -_-


I thought that only happened in old versions?


Which IIRC are the only available ones.
Meow.

That is all.
 

frenchfan=binou
 

by frenchfan=binou » Thu Dec 13, 2012 20:38

hello everybody :)

Zeg9 wrote:
madarexxx wrote:2) recipes, containing "group:*" are showing not correctly - there are "unknown item" in recipe.
P.s. what about reverse search? All recipes using wood for example.

+1 (if someone is going to work on this mod :P)


With this version (and later i guess) :

Minetest 0.4.4 (zip) :

https://github.com/downloads/celeron55/minetest/minetest-0.4.4-win32.zip

minetest-0.4.4-win32(CRC32=FB9B9F9A).zip = thank you for adding the CRC32 please, this is better.


The parentheses are there because it is an addition by myself.

If you do directly on the server (source) do this please :

minetest-0.4.4-win32-CRC32=FB9B9F9A.zip ; thank you in advance for the use of this suggestion.


The problem with the decoding of the code by a mod :

I have the bug "unknown item" in the mod CraftGuide = "group:stone" = the model "group:" is the problem !

For example, wanting to see how to make a stone sword (sword_stone), i get the block "unknown item" in the workshop = "C:\Fonctionne sans installation\Minetest\textures\base\pack\unknown_item.png" on place the good block (stone).

"sword_stone" = I get "unknown item" in the workshop only for "group:stone", but not for "default:stick" !

"C:\Fonctionne sans installation\Minetest\bin\debug.txt"

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
24:59:59: ACTION[ServerThread]: [CraftGuide] pseudohere requests recipe 1 for default:sword_stone
24:59:59: ACTION[ServerThread]: [CraftGuide] {recipe = {1 = {1 = "group:stone"}, 2 = {1 = "group:stone"}, 3 = {1 = "default:stick"}}, output = "default:sword_stone"}


(note: action taken at the same instant ; info because i changed the private infos, username and pseudo)

Does someone can please, thank you in advance, update code CraftGuide to fix this problem ?

Page and link source of the mod used, and which does not work properly :

cornernote/minetest-craft_guide · GitHub :
https://github.com/cornernote/minetest-craft_guide

ZIP :
https://github.com/cornernote/minetest-craft_guide/archive/master.zip <= here.

I use, minetest-craft_guide-master(CRC32=998E650B).zip (commits 2012-11-08 05:30:08)

prevent stealing of items · 95c4df8 · cornernote/minetest-craft_guide · GitHub :
https://github.com/cornernote/minetest-craft_guide/commit/95c4df8418036542be95ef566f181c58d6a0001b

(I also use minetest-mod-mesecons-master(CRC32=A732607F).zip)

Solution, or the discovery of the problem (by chance ; sic) :

"C:\Fonctionne sans installation\Minetest\mods\minetest\minetest-craft_guide-master\craft_guide\api_craft_guide.lua"

English / French (model or source by defaut) / ...

C:\Works with an installation
C:\Works with no installation
20120130-03h00

C:\Fonctionne avec installation
C:\Fonctionne sans installation


Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
(...)
-- create_inventory
craft_guide.create_inventory = function(inv, search)
    local craft_guide_list = {}
    for name,def in pairs(minetest.registered_items) do
        -- local craft_recipe = minetest.get_craft_recipe(name);
        -- if craft_recipe.items ~= nil then
        local craft = craft_guide.crafts[name];
        if craft ~= nil then
            if (not def.groups.not_in_craft_guide or def.groups.not_in_craft_guide == 0)
                    --and (not def.groups.not_in_creative_inventory or def.groups.not_in_creative_inventory == 0)
                    and def.description and def.description ~= "" then
                if search then
                    if string.find(def.name, search) or string.find(def.description, search) then
                        table.insert(craft_guide_list, name)
                    end
                else
                    table.insert(craft_guide_list, name)
                end
            end
        end
    end

    table.sort(craft_guide_list)
    for i=0,inv:get_size("main"),1 do
        inv:set_stack("main", i, nil)
    end
    inv:set_size("main", #craft_guide_list)
    for _,itemstring in ipairs(craft_guide_list) do
        inv:add_item("main", ItemStack(itemstring))
    end
end


-- allow_metadata_inventory_move
(...)


if craft ~= nil then

and def.description and def.description ~= "" then

=> ~= !!! ??? ("&#126;" = "~" = tilde)

Tilde - Wikipedia, the free encyclopedia :
http://en.wikipedia.org/wiki/Tilde

Does someone can please, thank you in advance, update code CraftGuide to fix this problem ?

It should, please, be a guide minetest installed by default (as the same thing on the xbox with Minecraft, at best, if possible), because now, all possible assistance is scattered and fragmented, on the web, what is it, how to use, how to make it, and with the translation of all this information and i hope (man(s) and or woman(s) blessed are you) function "automatical recipe" (same as xbox, at best, if possible) ; (else there is a sort of "tied sale" of the game with internet).

Ho, a discovery today, please use it to view / convers the files correctly dynamically (for a graphical user interface (please) to change with interactive help files configurations) ; Dos2unix / Unix2Dos - Text file format converters = http://dos2unix.sourceforge.net/ ; source info = dos2unix | Free software downloads at SourceForge.net - Liens éclairs = http://bajazet.fr/shaarli/?emc7Ug via Dossier : Demander une augmentation - Comment répondre aux 11 principales objections - Liens en vrac de sebsauvage = http://sebsauvage.net/links/?bJ0s3w

((My previous message ; still valid but the mod CraftGuide is a good (very good) beginning of a solution, to refine and complete of course : http://minetest.net/forum/viewtopic.php?pid=56157#p56157 ; 2012-12-11-16h52m29 UTC+0100 (15:52:29 = forum)))

Thank you very much in advance.
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Fri Dec 14, 2012 21:25

Great mod!
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Wed Dec 26, 2012 16:10

For those users with give, can it display the item code so we aren't guessing around?

Edit: Or just let users with give get items easily right from the guide?
Last edited by rarkenin on Wed Dec 26, 2012 16:10, edited 1 time in total.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Wed Dec 26, 2012 16:44

rarkenin wrote:For those users with give, can it display the item code so we aren't guessing around?

Edit: Or just let users with give get items easily right from the guide?


--> Just fork creative mode so it only shows to players with give
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Wed Dec 26, 2012 17:18

rarkenin wrote:For those users with give, can it display the item code so we aren't guessing around?

Edit: Or just let users with give get items easily right from the guide?


I don't think anyone's maintaining this anymore. I was going to, but I couldn't figgure out how to get it to do what it needed to to take it in the direction I thought it should go. Sorry.

Zeg9 wrote:
rarkenin wrote:For those users with give, can it display the item code so we aren't guessing around?

Edit: Or just let users with give get items easily right from the guide?


--> Just fork creative mode so it only shows to players with give


I plans to do that actually, but right now, I'd also have to fork inventoty_plus to make it compatible with the creative fork. Maybe I should just build creative mode/give into inventory_plus ....
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Wed Dec 26, 2012 18:19

Look into RealBadAngel's Unified Inventory mod. It has a the craft guide built in, which displays the actual item/node name as you were wanting. Requires very recent git (it depends on some features not found in older 0.4.4-dev builds).

http://minetest.net/forum/viewtopic.php?id=3933
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Thu Dec 27, 2012 19:15

RealBadAngel's Unified Inventory is great, but has one problem. It doesn't allow the adding of menu pages, but rather, it takes over the entire menu. For people who use inventory_plus, switching may mean giving up other things. In addition, some people may not want bags installed, which are built into RealBadAngel's Unified Inventory. Especially since there's a bug in bags that cause items to be lost if the bags are accenentally switched with items still in them.

I just looked at it on your server though, and the craft guide does look great!
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Sat Jan 05, 2013 21:48

Found a crash by accidentally crashing 0gb_us's server:

Searching for something like ]-] may cause a server crash.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Sat Jan 05, 2013 22:01

I repeated it, and the server didn't crash again. I think some other plugin on port 30000 caused the issue.

EDIT: That reminds me though, I need to get that error-catching script in place before the next crash.

EDIT: Nope, you were right, it was opening brackets, not close brackets, that cause the issue. People, you have been warned.
Last edited by 0gb.us on Sat Jan 05, 2013 22:34, edited 1 time in total.
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Sat Jan 05, 2013 22:35

0gb.us wrote:I repeated it, and the server didn't crash again. I think some other plugin on port 30000 caused the issue.

EDIT: That reminds me though, I need to get that error-catching script in place before the next crash.

0gb.us and I tested it again on his server, it looks like some backslashes in some complex combination with square brackets is the culprit.

Edit:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
[
ended up being the string that crashes it.

I'm guessing a regex is used?
Last edited by rarkenin on Sat Jan 05, 2013 22:55, edited 1 time in total.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Sat Jan 05, 2013 22:52

We think regular expressions are being used, or something. If anyone cares to maintain this, that's where I'd start looking.
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Sat Jan 05, 2013 23:00

Using pcall( in a safe manner, a rudimentary error control system can be created. Also this page include some stuff on pcall(.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
 

User avatar
xavier108
Member
 
Posts: 227
Joined: Sat Nov 24, 2012 06:05
IRC: Ezlif

by xavier108 » Sun Jan 06, 2013 06:24

It have help me in my daily minetest life +5
Ezlif :D
 

BZab
Member
 
Posts: 126
Joined: Mon Jan 28, 2013 10:04

by BZab » Fri Feb 01, 2013 10:35

I use, its great, but now in latest v. of minetest, on creative (idk as on non-creative) it shows only recipes for 1st page of inventory...
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Thu Feb 21, 2013 20:22

I repaired the mod, I don't know if have a bug in my version but don't is working here. I make some changes and now is working. Nice mod. :D
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Thu Feb 21, 2013 20:39

well will you upload it? also could you make one for inventory plus?
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Thu Feb 21, 2013 21:13

Inventory plus already have one... I only corrected this one to make a item in the game for guide you when you are crafting. I update after test some more.
Last edited by deivan on Thu Feb 21, 2013 21:40, edited 1 time in total.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Thu Feb 21, 2013 21:32

could you give me a link to it or are you talking about unified_inventory
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Thu Feb 21, 2013 21:41

Ops... Is about the Unified, sorry.
 

Captain_AuXiL
Member
 
Posts: 26
Joined: Fri Feb 01, 2013 09:44

by Captain_AuXiL » Wed Feb 27, 2013 04:30

I have a question or rather a problem. I can't seem to get this mod to work right. It shows only the recipe for how to make a craft guide. How do I get it to display all possible recipes that are within Minetest?
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Feb 27, 2013 04:46

This mod is really outdated. It's better to use RealBadAngel's Unified Inventory.
Edit: Here: http://forum.minetest.net/viewtopic.php?id=3933
Last edited by kaeza on Wed Feb 27, 2013 04:48, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Wed Feb 27, 2013 06:21

kaeza wrote:This mod is really outdated. It's better to use RealBadAngel's Unified Inventory.
Edit: Here: http://forum.minetest.net/viewtopic.php?id=3933


The problem with using Unified Inventory is that you get less customization. It takes over the menu, so anything that adds to the menu (warp menus, Zeg9's skins, et cetera) cannot be used with it. It also adds bags, whether you like it or not. Unified Inventory is great for some servers, but not a good solution for everyone.

That said, with craft_guide installed, any user can easily crash the server by entering an opening bracket into the craft guide search field. I would shy away from installing craft_guide on any public server.
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Wed Feb 27, 2013 10:00

I already have a corrected version of the craft guide but I have a small problem with the display of alternatives and methods of crafting... I update it ASAP.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sat Mar 02, 2013 20:12

could you give a download link soon
deivan wrote:I already have a corrected version of the craft guide but I have a small problem with the display of alternatives and methods of crafting... I update it ASAP.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Wed Mar 06, 2013 12:48

Roger! Roger! I only have a critical bug to solve before it.
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Wed Mar 06, 2013 12:55

The new version support recipes with formulas to 5x5, don't have the search bug (don't crash) but see only one recipe for each item.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Mar 06, 2013 13:06

Please release. Also could you add a soft dependency for inventory plus
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: Google [Bot] and 35 guests

cron