My mod won't show, why?

drpeppercan
Member
 
Posts: 42
Joined: Mon Oct 19, 2015 22:46
In-game: drpeppercan

My mod won't show, why?

by drpeppercan » Thu Sep 29, 2016 15:03

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
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: My mod won't show, why?

by rubenwardy » Thu Sep 29, 2016 16:15

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
 

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: My mod won't show, why?

by Napiophelios » Fri Sep 30, 2016 03:47

make sure the mod.conf file has the correct information in it
 

drpeppercan
Member
 
Posts: 42
Joined: Mon Oct 19, 2015 22:46
In-game: drpeppercan

Re: My mod won't show, why?

by drpeppercan » Fri Sep 30, 2016 12:38

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.
 

drpeppercan
Member
 
Posts: 42
Joined: Mon Oct 19, 2015 22:46
In-game: drpeppercan

Re: My mod won't show, why?

by drpeppercan » Sat Oct 01, 2016 13:44

Ok, it's been solved!
Thanks to Napiophelios.
It was a matter of getting a build from sfan5.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 1 guest

cron