Page 1 of 1

The classic error init.lua

PostPosted: Sun Apr 28, 2013 03:17
by BrunoMine
I am a long time with the classic mistake!
I download the mod folder and colorectal Minetest 0.4.6/Mods/Minetest.
Always appears the following error message:

ModError: Failed to load and tun
C:\Users\Bruno\Desktop\minetest-0.4.6\bin\..\mods\minetest\cart-master\init.lua

This occurs with all mods. I tested over 10 and was exactly the same error.
Can anyone give a solution to it!

PostPosted: Sun Apr 28, 2013 05:09
by jojoa1997
Get rid of the master. Also check topic totals and use the name in [ ]. Finally check the init.lua and either use the name like "<name>:stone" or minetest.get_mod path(<name>)

PostPosted: Sun Apr 28, 2013 06:48
by sfan5
Moved because wrong section

PostPosted: Sun Apr 28, 2013 09:04
by xavier108
sfan5 wrote:Moved because wrong section

What's seem to be wrong??

PostPosted: Sun Apr 28, 2013 09:07
by sfan5
xavier108 wrote:
sfan5 wrote:Moved because wrong section

What's seem to be wrong??

It was in "Discussion in other languages" but is in English

PostPosted: Sun Apr 28, 2013 09:08
by xavier108
sfan5 wrote:
xavier108 wrote:
sfan5 wrote:Moved because wrong section

What's seem to be wrong??

It was in "Discussion in other languages" but is in English

Oh ok

PostPosted: Sun Apr 28, 2013 17:18
by BrunoMine
I already said in the other topic. I do not speak English fluently. It is necessary to use a simple and readable.
Be as clear as possible.
Thank you!

PostPosted: Sun Apr 28, 2013 17:20
by PilzAdam
brunob.santos wrote:I already said in the other topic. I do not speak English fluently. It is necessary to use a simple and readable.
Be as clear as possible.
Thank you!

The language in your post is billions of times better than what some native speakers in the forums produce.</offtopic>

PostPosted: Sun Apr 28, 2013 17:28
by sfan5
/me agrees

PostPosted: Sun Apr 28, 2013 18:06
by BrunoMine
PilzAdam wrote:
brunob.santos wrote:I already said in the other topic. I do not speak English fluently. It is necessary to use a simple and readable.
Be as clear as possible.
Thank you!

The language in your post is billions of times better than what some native speakers in the forums produce.</offtopic>


understood
I some cases, do not understand what you say.
Specify what to do step by step to resolve the error!

PostPosted: Sun Apr 28, 2013 18:15
by rubenwardy
Look at each mod's forum post (google "minetest modname")

The title will look something like this:

[Mod] Example [1.0][exam]


Rename the mod's folder to the specified name (in bold)
If it is a [Modpack] then you can just leave it.

PostPosted: Sun Apr 28, 2013 18:36
by BrunoMine
thank you
Now I can help other members who speak Portuguese!

PostPosted: Sun Apr 28, 2013 18:47
by BrunoMine
Just explain me better [Mod pack].
What procedure

PostPosted: Mon Apr 29, 2013 13:05
by Topywo
brunob.santos wrote:Just explain me better [Mod pack].
What procedure


A modpack is a combination of mods that have a sort of theme together.

The name of a modpack isn't important (afaik). Important is that the name of the mods inside it are correct and that there's a file in the modpack folder called "modpack.txt". This modpack.txt may be empty.

P.s. another way to find (most of the times) the right name to give to a mod folder is to open the init.lua and look how the nodes/entities/tools are called. Since their name is "modname:itemname", the modname is the right name to give to the mod folder.

Example:
minetest.register_node("flowers:dandelion_white", {

modname = flowers --> The right name of the mod is flowers