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

User avatar
darket
Member
Posts: 34
Joined: Sun Nov 27, 2011 10:35
Location: Russian
Contact:

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

by darket » Post

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
Last edited by darket on Thu Jul 05, 2012 03:43, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

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.

User avatar
darket
Member
Posts: 34
Joined: Sun Nov 27, 2011 10:35
Location: Russian
Contact:

by darket » Post

Ok understood. The next version will change the recipe

User avatar
neko259
Member
Posts: 805
Joined: Sun Jun 19, 2011 06:51

by neko259 » Post

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.
s3tuPDfUv2IyvXHzPmE31MQvnWULv1zj

bwog
Member
Posts: 283
Joined: Wed Nov 30, 2011 14:09
Location: United States
Contact:

by bwog » Post

Ignore this post.
Last edited by bwog on Fri Dec 09, 2011 17:02, edited 1 time in total.

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

bwog wrote:Ignore this post.
Why ?
I love mods :D

User avatar
darket
Member
Posts: 34
Joined: Sun Nov 27, 2011 10:35
Location: Russian
Contact:

by darket » Post

Last edited by darket on Sat Dec 10, 2011 11:57, edited 1 time in total.

bwog
Member
Posts: 283
Joined: Wed Nov 30, 2011 14:09
Location: United States
Contact:

by bwog » Post

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.

User avatar
darket
Member
Posts: 34
Joined: Sun Nov 27, 2011 10:35
Location: Russian
Contact:

by darket » Post

Updated

MarkTraceur
Member
Posts: 103
Joined: Sat Dec 03, 2011 05:41
Location: San Francisco, CA
Contact:

by MarkTraceur » Post

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
Mods: https://gitorious.org/marktraceur-minetest-mods
IRC: marktraceur on freenode

User avatar
xyz
Member
Posts: 450
Joined: Thu Nov 10, 2011 14:25

by xyz » Post

if (n.name=="door:darket") or (n.name == "door:darket") then
lolwut?

User avatar
RAPHAEL
Member
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Post

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:
00: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.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)

User avatar
darket
Member
Posts: 34
Joined: Sun Nov 27, 2011 10:35
Location: Russian
Contact:

by darket » Post

Hmm.......

User avatar
RAPHAEL
Member
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Post

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.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)

User avatar
dannydark
Member
Posts: 428
Joined: Fri Aug 12, 2011 21:28
Location: Manchester, UK

by dannydark » Post

@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.

User avatar
RAPHAEL
Member
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Post

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
Last edited by RAPHAEL on Thu Dec 22, 2011 21:24, edited 1 time in total.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)

User avatar
dannydark
Member
Posts: 428
Joined: Fri Aug 12, 2011 21:28
Location: Manchester, UK

by dannydark » Post

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.
Last edited by dannydark on Thu Dec 22, 2011 22:19, edited 1 time in total.

Demostan
Member
Posts: 14
Joined: Wed Feb 29, 2012 17:38

by Demostan » Post

i dont now why but i like it
When you have a dream you never,ever,ever let it go.

User avatar
darket
Member
Posts: 34
Joined: Sun Nov 27, 2011 10:35
Location: Russian
Contact:

by darket » Post

Update!!

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

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 :-)

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Welcome back! :P

User avatar
Bas080
Member
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080
Location: Netherlands

by Bas080 » Post

Unifieddyes mod has dyes with which you could color stuff. I'm using it for my cotton mod https://github.com/bas080/cotton

thetinydon
Member
Posts: 15
Joined: Sun Jul 29, 2012 05:59

by thetinydon » Post

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.
Last edited by thetinydon on Fri Aug 24, 2012 09:07, edited 1 time in total.
THIS IS SPARTA!!!

User avatar
Echo
Member
Posts: 122
Joined: Tue Jul 31, 2012 08:11
Location: Germany

by Echo » Post

missing

Code: Select all

})
at the end?
Is LIGHT_MAX defined?

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

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.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests