Page 1 of 2

[Mod] DARKET Mods update [0.3] [dicormod]

PostPosted: Sat Dec 03, 2011 11:03
by darket
Image{Updated}
screenshots
Image
License (code and textures): WTFPL
The Regard from russia!I have solved to do the small decorative modes.
In he is present:Rug,new plate,2 type of the stand openning and usual for beauty,laminate,parquet,white brick.Here is strictly recipes:
4 stone=1 white brick
Image
1 glass=1 strengthening glass
Image
8 woods+1 tree=1 bedside table
Image
1 stand+1 stick=1 openning bedside table
Image
1 wood+2 free=15 laminate (New recipe)
Image
2 wood+1 free=15 parquet (New recipe)
Image
6 stick + 1 wood =15 carpet
Image
1 torch+ 1 tree =15 Light block
Image
+ Secret Jedi sword)
----------------NEW--------------------------
Image
Multi-colored bricks
To complete the work required WoolMod
Craft:
Image
1 white brick+1 green dye= 1 Green Block
Image
1 white brick+1 red dye= 1 Red Block
Image
1 white brick+1 brown dye= 1 Brown Block
Image
1 white brick+1 green dye= 1 Yellow Block
++++++++++++++++++++++++++++++++++
1 desert stone + 2 stick = Desert Shovel
Image
3. desert stone + 2 stick = desert Pick
Image
------------------------------------------------
Well that's all leave komenty))
Then I'll lay out here more and more fashion.
Download
Older versions:
0.1
Download
0.2
Download

PostPosted: Sat Dec 03, 2011 12:01
by Calinou
I love the parquet and laminate.
However, your white brick recipe is conflicting with my stone brick recipe... (in a mod I'm devloping).
I suggest adding 2 steel ingots above the 4 stone.

PostPosted: Sat Dec 03, 2011 13:21
by darket
Ok understood. The next version will change the recipe

PostPosted: Sat Dec 03, 2011 16:01
by neko259
I like parquet and laminate, but I suggest to make them more difficult to craft. Maybe add some 'machines' working on coal (like furnace) for separating blocks into small bricks used to construct suck blocks.

PostPosted: Fri Dec 09, 2011 16:58
by bwog
Ignore this post.

PostPosted: Sat Dec 10, 2011 08:33
by Staffs
bwog wrote:Ignore this post.

Why ?

PostPosted: Sat Dec 10, 2011 11:54
by darket

PostPosted: Sat Dec 10, 2011 13:53
by bwog
Staffs wrote:
bwog wrote:Ignore this post.

Why ?

Because I thought I had a problem with it but it was just that I forgot to do something.


Darket, you need to update it for the latest dev release.

PostPosted: Sun Dec 11, 2011 05:48
by darket
Updated

PostPosted: Sun Dec 11, 2011 08:26
by MarkTraceur
You should consider putting your project on gitorious:

https://gitorious.org

And let me know here, I can add you to the modders group:

https://gitorious.org/+minetest-modders

PostPosted: Mon Dec 12, 2011 05:20
by xyz
if (n.name=="door:darket") or (n.name == "door:darket") then
lolwut?

PostPosted: Thu Dec 22, 2011 07:02
by RAPHAEL
hmm well an odd thing I came across and am stumped how to fix it.

I tried to migrate my server over to a friends server since he has almost triple the upload bandwidth that I do and dicormod won't load and gives this error:
0:57:29: ERROR[main]: Failed to load and run script from /usr/bin/../share/minetest/mods/dicormod/init.lua:
00:57:29: ERROR[main]: [LUA]
00:57:29: ERROR[main]: [LUA] /usr/bin/../share/minetest/mods/dicormod/init.lua:114: attempt to perform arithmetic on global 'LIGHT_MAX' (a nil value)
00:57:29: ERROR[main]: stack traceback:
00:57:29: ERROR[main]: /usr/bin/../share/minetest/mods/dicormod/init.lua:114: in main chunk
00:57:29: ERROR[main]: [LUA]
00:57:29: ERROR[main]: Server: Failed to load and run /usr/bin/../share/minetest/mods/dicormod/init.lua


I even redownloaded the mod here and installed fresh but same error.

Original server machine: Ubuntu Natty
New server machine: Linux Mint 11 (based on Natty)
Same minetest versions, same mods, same world, same config, different user.

All other mods load.

PostPosted: Thu Dec 22, 2011 07:26
by darket
Hmm.......

PostPosted: Thu Dec 22, 2011 20:10
by RAPHAEL
An update.. seems the dicormod is the cause of the issues of my server migration. I don't know enough about lua and minetest modding to say what is wrong but without the dicormod the server loads without issue. With it, it doesn't load right. Thought I should make note.

PostPosted: Thu Dec 22, 2011 20:41
by dannydark
@Raphael I just had a quick look at the code of the latest version of this mod and it loaded fine for me, only issue it did show in the debug log is for the use of light_propagates which is deprecated, I changed all of the light_propagates to sunlight_propagates and that stopped any errors showing.

Although saying that I don't know if that is the cause of your error.

PostPosted: Thu Dec 22, 2011 21:16
by RAPHAEL
dannydark wrote:@Raphael I just had a quick look at the code of the latest version of this mod and it loaded fine for me, only issue it did show in the debug log is for the use of light_propagates which is deprecated, I changed all of the light_propagates to sunlight_propagates and that stopped any errors showing.

Although saying that I don't know if that is the cause of your error.


Alright I edited the mod as stated and the server doesn't load with this error:
15:13:32: ERROR[main]: Failed to load and run script from /home/tabot/.minetest/usermods/dicormod/init.lua:
15:13:32: ERROR[main]: [LUA]
15:13:32: ERROR[main]: [LUA] /home/tabot/.minetest/usermods/dicormod/init.lua:114: attempt to perform arithmetic on global 'LIGHT_MAX' (a nil value)
15:13:32: ERROR[main]: stack traceback:
15:13:32: ERROR[main]: /home/tabot/.minetest/usermods/dicormod/init.lua:114: in main chunk
15:13:32: ERROR[main]: [LUA]
15:13:32: ERROR[main]: Server: Failed to load and run /home/tabot/.minetest/usermods/dicormod/init.lua


However with some tinkering I noticed if I remove the following from the dicormod it loads:
dicormod:kover
dicormod:sword
dicormod:steklo
dicormod:light_block

Although not tested I suspect it is steklo and light_block causing the issues.

EDIT: It seems to be issues with:
dicormod:kover
dicormod:steklo
dicormod:light_block

PostPosted: Thu Dec 22, 2011 22:16
by dannydark
According to the error it seems the problem is with this line: light_source = LIGHT_MAX-1, (line 114).

So I would have thought just taking the light_block node out would have fixed it or do you get a different error after that?

EDIT: Strange though how it doesn't throw that error on my build which is just compiled from the latest source with a few additional changes, maybe its clashing with another mod...although that is a complete guess as I haven't looked too much into the Modding API.

PostPosted: Sun Mar 11, 2012 12:34
by Demostan
i dont now why but i like it

PostPosted: Thu Jul 05, 2012 03:12
by darket
Update!!

PostPosted: Thu Jul 05, 2012 14:11
by Topywo
I let file roller install rar and unrar to download this mod :-)

Idk if it's normal for .rar, that I had to make the folder/map/directory "dicormod" myself, to put in the textures-folder and the init.lua.
Also made a file 'depends.txt' with default and wool in it.

I had some texture-errors, but don't have time to figure them out now... My 'test-minetest' is getting a bit of a mess :-)

PostPosted: Thu Jul 05, 2012 14:57
by Calinou
Welcome back! :P

PostPosted: Thu Jul 12, 2012 13:35
by Bas080
Unifieddyes mod has dyes with which you could color stuff. I'm using it for my cotton mod https://github.com/bas080/cotton

PostPosted: Fri Aug 24, 2012 09:06
by thetinydon
I have a problem with the mod. I kept on getting a similar problem Raphael had. I removed this code from lua and got minetest to load:

minetest.register_node("dicormod:light_block", {
tile_images = {"lightbloc.png", "lightbloc.png", "lightbloc.png"},
-- FIXME: minetest.inventorycube only cares for the first texture
--inventory_image = minetest.inventorycube("lightbloc.png", "lightbloc.png", "lightbloc.png")
inventory_image = minetest.inventorycube("lightbloc.png"),
is_ground_content = true,
paramtype = "light",
light_propagates = true,
light_source = LIGHT_MAX-1,
selection_box = {
type = "wallmounted",
wall_top = {-0.2, 0.6-0.8, -0.2, 0.2, 0.7, 0.2},
wall_bottom = {-0.2, -0.5, -0.2, 0.2, -0.6+0.7, 0.2},
wall_side = {-0.6, -0.4, -0.2, -0.2+0.4, 0.4, 0.2},
},
material = minetest.digprop_constanttime(0.0),
furnace_burntime = 4,


Could you tell me what is wrong with this so I can put it back in?

I dont know anything about messing with this stuff, and I would really appreciate the help.

PostPosted: Fri Aug 24, 2012 09:26
by Echo
missing
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
})
at the end?
Is LIGHT_MAX defined?

PostPosted: Fri Aug 24, 2012 13:27
by VanessaE
Also, your image filenames should be changed to follow the standard naming convention for mods - put your mod name at the start of a filename. e.g. lightbloc.png --> dicormod_lightbloc.png for example.

PostPosted: Wed Sep 26, 2012 10:06
by VanessaE
For the sake of having the fewest dependencies, can you please update this mod so that it relies on Jordach's wool mod (and by extension, the game's built-in wool mod)?. The one you use now relies on the presence of rats, which don't exist in the vanilla game anymore (you need MOB Framework to get them).

Also, please re-package the rar so that it puts everything into a folder named "dicormod" when extracted. Recommend you use Zip format in future as well.

Thanks :-)

PostPosted: Fri Dec 07, 2012 18:43
by Inocudom
This mod has a few nice decorations so updating it would be nice.

PostPosted: Tue Apr 08, 2014 12:21
by JPRuehmann
Id like to try it out but get an error
could you please fix it?
here is the error.

21:45:17: ERROR[main]: ========== ERROR FROM LUA ===========
21:45:17: ERROR[main]: Failed to load and run script from
21:45:17: ERROR[main]: /home/ruehmann/.minetest/mods/dicormod/init.lua:
21:45:17: ERROR[main]: /home/ruehmann/.minetest/mods/dicormod/init.lua:262: attempt to index global 'default' (a nil value)
21:45:17: ERROR[main]: stack traceback:
21:45:17: ERROR[main]: /home/ruehmann/.minetest/mods/dicormod/init.lua:262: in main chunk
21:45:17: ERROR[main]: ======= END OF ERROR FROM LUA ========
21:45:17: ERROR[main]: Server: Failed to load and run /home/ruehmann/.minetest/mods/dicormod/init.lua
21:45:17: ERROR[main]: ModError: ModError: Failed to load and run /home/ruehmann/.minetest/mods/dicormod/init.lua

Thanks,
JPR

PostPosted: Tue Apr 08, 2014 13:34
by Inocudom
What version of Minetest are you using?

PostPosted: Tue Apr 08, 2014 17:00
by JPRuehmann
VER=0.4.9-150-gaf01a95