Page 1 of 1

What is wrong with this? [ALL SOLVED NOW]

PostPosted: Fri Jul 05, 2013 16:41
by Dan Duncombe
THNX EVERGREEN! That was the problem... darn commas..

PostPosted: Fri Jul 05, 2013 16:56
by sfan5
Dan Duncombe wrote: although it is WTFPL, please don't republish as your own. Please.

wat? Either you publish it as WTFPL and allow republishing/redistributing or you don't.
WTFPL == "Do what the fuck you want"-License
-> Theres no "Don't republish this."
Dan Duncombe wrote:There are errors

What about posting these?

PostPosted: Fri Jul 05, 2013 17:15
by Dan Duncombe
This is the error I get:
-------------
Separator
-------------

17:45:19: ERROR[main]: ========== ERROR FROM LUA ===========
17:45:19: ERROR[main]: Failed to load and run script from
17:45:19: ERROR[main]: C:\Users\Daniel\Desktop\Minetest\minetest-0.4.7 broken\bin\..\mods\nanotech\init.lua:
17:45:19: ERROR[main]: ...\minetest-0.4.7 broken\bin\..\mods\nanotech/crafting.lua:11: '}' expected (to close '{' at line 9) near 'recipe'
17:45:19: ERROR[main]: stack traceback:
17:45:19: ERROR[main]: [C]: in function 'dofile'
17:45:19: ERROR[main]: ...test\minetest-0.4.7 broken\bin\..\mods\nanotech\init.lua:8: in main chunk
17:45:19: ERROR[main]: =======END OF ERROR FROM LUA ========
17:45:19: ERROR[main]: Server: Failed to load and run C:\Users\Daniel\Desktop\Minetest\minetest-0.4.7 broken\bin\..\mods\nanotech\init.lua
17:45:19: ERROR[main]: ModError: Failed to load and run C:\Users\Daniel\Desktop\Minetest\minetest-0.4.7 broken\bin\..\mods\nanotech\init.lua


Also I don't know much about licences- do you know any (free) licences that don't allow people to redistribute the package, and that they can only modify it for personal use?

PostPosted: Fri Jul 05, 2013 17:26
by Evergreen
I think for that, you would like a Creative Commons Attribution-NoDerivs 3.0 Unported License, or CC BY-ND 3.0 for short. If that is a little too harsh, you might like a Creative Commons Attribution-ShareAlike 3.0 Unported License. Or otherwise known as CC BY-SA 3.0.

PostPosted: Fri Jul 05, 2013 17:47
by mauvebic
Evergreen wrote:I think for that, you would like a Creative Commons Attribution-NoDerivs 3.0 Unported License, or CC BY-ND 3.0 for short. If that is a little too harsh, you might like a Creative Commons Attribution-ShareAlike 3.0 Unported License. Or otherwise known as CC BY-SA 3.0.


Neither of those licenses limits distribution. The former, doesn't allow modification of the source code, the latter asks for credit.

The simplest way to control distribution is to not chose a license (default copyright). Though, they won't let you post anything here unless you give up your rights over it. Personally, I think it's somewhat hypocritical since some of the people who push that policy live in countries that don't or hardly recognize copyright/copyleft but have generous protections in the form of inalienable droit d'auteur {ct}.

PostPosted: Fri Jul 05, 2013 18:13
by Dan Duncombe
Well, I don't mind copying as long as I get credit for original.

PostPosted: Fri Jul 05, 2013 18:17
by mauvebic
Then you'll want to use CC BY-SA, and it will cause less problems than using CC BY-ND.

PostPosted: Fri Jul 05, 2013 18:27
by Evergreen
Dan Duncombe wrote:Well, I don't mind copying as long as I get credit for original.
In that case, you would want to use CC BY-SA 3.0. It is my favorite license.

PostPosted: Fri Jul 05, 2013 18:38
by Dan Duncombe
Does anyone actually know what is the problem with my mod?

PostPosted: Fri Jul 05, 2013 19:14
by mauvebic
post the debug

PostPosted: Fri Jul 05, 2013 19:17
by Dan Duncombe
I have posted it, higher up on this page.

PostPosted: Fri Jul 05, 2013 20:24
by Topywo
Putting a comma behind the (all) lines with 'output' in it might help.

(see also minetest/games/minetest_game/mods/default/crafting.lua ;-) ).

Edit: Typo's

PostPosted: Fri Jul 05, 2013 20:26
by tinoesroho
... According to debug, you forgot to close the recipe. *shrug*

Also, you're on Windows, so you should be using Notepad++ for modding. No, seriously: this has syntax highlighting. On my Linux box, pluma has it, and I find it an invaluable help. I usually forget to close a tag, so highlighting helps. http://notepad-plus-plus.org/

PostPosted: Fri Jul 05, 2013 20:32
by sfan5
mauvebic wrote:Then you'll want to use CC BY-SA, and it will cause less problems than using CC BY-ND.

*-ND licenses are not accepted for mods in Mod Releases

PostPosted: Fri Jul 05, 2013 21:20
by Dan Duncombe
I already use Notepad++, and I have put this under SA not ND. I can't have forgotten to close the recipe because I copy and pasted it out of the default game, and only changed the recipe and nodenames, so it can't be that wrong (unless I copied something wrong)