Page 1 of 1

My mod won't show, why?

PostPosted: Thu Sep 29, 2016 15:03
by drpeppercan
Hi all,

This is my mod dir structure:

Image

And this is my init.lua script content:
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
minetest.register_node("nellys_poster:nellys_poster", {
   drawtype = 'mesh',
   mesh = 'nellys_poster.b3d',
   tile_images = {"nellys_poster.png"},
   groups = {oddly_breakable_by_hand=2},
}


What else should I be checking?

Thanks guys :)

DPC

Re: My mod won't show, why?

PostPosted: Thu Sep 29, 2016 16:15
by rubenwardy
You're missing a ) to close the ( on the first line

If this isn't the problem, please show us mod.cong and the last 20 lines of debug.txt

Re: My mod won't show, why?

PostPosted: Fri Sep 30, 2016 03:47
by Napiophelios
make sure the mod.conf file has the correct information in it

Re: My mod won't show, why?

PostPosted: Fri Sep 30, 2016 12:38
by drpeppercan
rubenwardy! Hey man!
I just started reading your Minetest Modding Book! I love it! Thanks a bunch for sharing it :)

I added the missing closing parenthesis. Thanks for that.
I changed the mod's name to "poster", it used to be "nellys_poster" (same as the node).
I am not including info from the debug.txt because it's not up to date anymore. And it won't update it either.
I open Minetest, it shows nothing in the Mods tab. Then I open/run the world I made before, also I created a new one. But the debug.txt won't get updated.

Image

Napiophelios,
Thanks, I just corrected the mod.conf file. Now it says:

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
name = poster



The depends.txt only says:

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
default


I guess is something specific to Minetest, because I just tried another mod, and it still did not show.
I tried Nathan's dog mob

I have reinstalled Minetest twice, and rebooted computer too.

Re: My mod won't show, why?

PostPosted: Sat Oct 01, 2016 13:44
by drpeppercan
Ok, it's been solved!
Thanks to Napiophelios.
It was a matter of getting a build from sfan5.