Page 1 of 1

can someone help me with my first mod ?

PostPosted: Sun Oct 21, 2012 06:56
by sky
i want to make stone brick and mossy stone brick i have the init.lua ready but when i start it it says: it cannot load stonebrick/init.lua

PostPosted: Sun Oct 21, 2012 07:48
by Topywo
Exit minetest completely, go to your home folder/directory, delete the debug.txt file, start minetest up again.

Try to create/start a game, leave minetest again, go to your home folder, doubleclick on debug.txt to open it with your default text editor

Search for ERROR (most of the time the bottom part), copy all those error lines and paste them here.

Or paste your init.lua here so we can take a look at it.

Edit: Chinchow is already made a stonebrick mod: http://minetest.net/forum/viewtopic.php?id=3400 but I think it still has to be made downoadable

PostPosted: Sun Oct 21, 2012 09:32
by sky
this is from my other mod it gives me the same like in this one :


12:28:01: ERROR[main]: ========== ERROR FROM LUA ===========
12:28:01: ERROR[main]: Failed to load and run script from
12:28:01: ERROR[main]: C:\Users\@@@\Downloads\minetest-0.4.dev-20120603-win32\bin\..\games\Survival\mods\jungle\init.lua:
12:28:01: ERROR[main]: ...netest-0.4.dev-20120603-win32\bin\..\games\Survival\mods\jungle\init.lua:13: unexpected symbol near '<eof>'
12:28:01: ERROR[main]: =======END OF ERROR FROM LUA ========
12:28:01: ERROR[main]: Server: Failed to load and run C:\Users\@@@\Downloads\minetest-0.4.dev-20120603-win32\bin\..\games\Survival\mods\jungle\init.lua
12:28:01: INFO[main]: BanManager: saving to C:\Users\@@@\Downloads\minetest-0.4.dev-20120603-win32\bin\..\worlds\test\ipban.txt
12:28:02: ERROR[main]: ModError: Failed to load and run C:\Users\@@@\Downloads\minetest-0.4.dev-20120603-win32\bin\..\games\Survival\mods\jungle\init.lua

@@@ means user my hidden user

PostPosted: Sun Oct 21, 2012 09:58
by Topywo
I think you have one 'end' too much in your init.lua

PostPosted: Sun Oct 21, 2012 10:16
by sfan5
sky wrote:...
12:28:01: ERROR[main]: ...netest-0.4.dev-20120603-win32\bin\..\games\Survival\mods\jungle\init.lua:13: unexpected symbol near '<eof>'
...

Which Text Editor did your use?

PostPosted: Sun Oct 21, 2012 11:30
by sky
sfan5 wrote:Which Text Editor did your use?


word pad

PostPosted: Sun Oct 21, 2012 12:25
by Jordach
Sky; you need to install programs like:

- Notepad++
- LuaEdit
- Gedit

PostPosted: Tue Oct 23, 2012 01:30
by Chinchow
Sky I finished mine and it is now downloadable but if you want to make your own still could you show me the init?

PostPosted: Tue Oct 23, 2012 02:20
by cornernote
+1 for notepad++
best free code editor on windows