[Mod] More Blocks [moreblocks]

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

Re: [Mod] More Blocks [moreblocks]

by Calinou » Wed Apr 30, 2014 19:09

An update was made today:

  • Code cleaned up, with many bug fixes.
  • You can now craft sticks back into wood and craft sticks using saplings.
  • You can brighten or darken coal stone, iron stone, coal glass and iron glass back into their normal variants.
  • Trap Glow Glass and Trap Super Glow Glass now have different textures to separate them from their non-trap variants.
  • Trap Stone has a new texture.
  • Legacy code is not loaded anymore by default.
 

User avatar
Megaf
Member
 
Posts: 99
Joined: Fri Nov 01, 2013 18:00
GitHub: megaf
IRC: Megaf
In-game: Megaf

Re: [Mod] More Blocks [moreblocks]

by Megaf » Thu May 01, 2014 18:48

Calinou wrote:An update was made today:

  • Code cleaned up, with many bug fixes.
  • You can now craft sticks back into wood and craft sticks using saplings.
  • You can brighten or darken coal stone, iron stone, coal glass and iron glass back into their normal variants.
  • Trap Glow Glass and Trap Super Glow Glass now have different textures to separate them from their non-trap variants.
  • Trap Stone has a new texture.
  • Legacy code is not loaded anymore by default.


Thanks a million Calinou! I'm really glad to see that you still working well on this mod.
 

LazyJ
Member
 
Posts: 591
Joined: Wed Sep 12, 2012 12:29
Location: Podunk, Nowhere, USA

Re: [Mod] More Blocks [moreblocks]

by LazyJ » Sun May 04, 2014 02:08

Having some bug issues with the 2014_05_02 and 03 releases of "MoreBlocks". They seem to stem from dependencies from the "Carbone" game. Presently "MoreBlocks" will crash Minetest because "MoreBlocks" is looking for things that only exist in "Carbone".


Non-crash issue: default_fence_overlay.png not found

18:42:18: ERROR[main]: generateImage(): Could not load image "default_fence_overlay.png" while building texture
18:42:18: ERROR[main]: generateImage(): Creating a dummy image for "default_fence_overlay.png"
18:42:18: ERROR[main]: generateImage(): Could not load image "default_fence_overlay.png" while building texture
18:42:18: ERROR[main]: generateImage(): Creating a dummy image for "default_fence_overlay.png"


Crash issue: desert_cobble doesn't exist in "default"

registrations.lua: "desert_cobble" in the "local default_nodes" list does not exist causing "local ndef = minetest.registered_nodes[nodename]" to find it as a nil value.

18:06:17: ERROR[main]: ========== ERROR FROM LUA ===========
18:06:17: ERROR[main]: Failed to load and run script from
18:06:17: ERROR[main]: /home/LazyJ/Minetest/Minetest_game_stuff/049_modtest/bin/../worlds/modtest_moreblocks/worldmods/moreblocks_2014_05_03/moreblocks/init.lua:
18:06:17: ERROR[main]: ...locks_2014_05_03/moreblocks/stairsplus/registrations.lua:32: attempt to index local 'ndef' (a nil value)
18:06:17: ERROR[main]: stack traceback:
18:06:17: ERROR[main]: ...locks_2014_05_03/moreblocks/stairsplus/registrations.lua:32: in main chunk
18:06:17: ERROR[main]: [C]: in function 'dofile'
18:06:17: ERROR[main]: ...ods/moreblocks_2014_05_03/moreblocks/stairsplus/init.lua:45: in main chunk
18:06:17: ERROR[main]: [C]: in function 'dofile'
18:06:17: ERROR[main]: ...ocks/worldmods/moreblocks_2014_05_03/moreblocks/init.lua:22: in main chunk
18:06:17: ERROR[main]: ======= END OF ERROR FROM LUA ========
 

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

Re: [Mod] More Blocks [moreblocks]

by Calinou » Sun May 04, 2014 11:29

LazyJ wrote:Having some bug issues with the 2014_05_02 and 03 releases of "MoreBlocks". They seem to stem from dependencies from the "Carbone" game. Presently "MoreBlocks" will crash Minetest because "MoreBlocks" is looking for things that only exist in "Carbone".


Both issues were fixed.
 

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

Re: [Mod] More Blocks [moreblocks]

by Calinou » Mon May 05, 2014 10:36

The latest updates make it much easier to craft Stairs+ nodes without a circular saw. You can craft almost any basic-looking Stairs+ node, it's also nicely intuitive.

_ X
X X

The above recipe can be used to craft 12 panels, in addition to stairs and slabs (where _ is empty space and X is the material).

Putting a stair, slab or panel in the crafting grid splits it into microblocks. Putting 2 to 8 microblocks in the crafting grid merges them into slabs, stairs (standard, inner/outer corner and half) and full blocks. Putting an half stair in the crafting grid mirrors it.
 

User avatar
rubberduck
Member
 
Posts: 488
Joined: Thu Feb 27, 2014 19:19
Location: https://github.com/minetest/forum.minetest.net_template1
IRC: rbduck
In-game: rubberduck

Re: [Mod] More Blocks [moreblocks]

by rubberduck » Thu May 29, 2014 16:35

i noticed 2 bugs in this mod with the circular saw.

you can't stack stairs made mith the circular saw with these crafted with normal blocks (for example wooden stairs)

the other bug is, that you can get microblocks twice
for this you have to do this:
1: put any block in the saw and take one normal stair
2: take the two microblocks out ouf the saw (under the place where you put in the input-block, not in the output-area!)
3: you can take now these microblocks out of the output-area (which shouldn't be there normally, because you removed the other microblocks)

edit: i found a third bug:

with normal sticks you get 3 ladders, but with jungle sticks only one.
I tested it without this mod (but there aren't jungle sticks, because they were added with this mod), and you get only one then out of normal sticks.
 

User avatar
nman3600
Member
 
Posts: 168
Joined: Fri Feb 07, 2014 17:06
GitHub: nman3600
IRC: nman3600
In-game: nman3600

Re: [Mod] More Blocks [moreblocks]

by nman3600 » Mon Jun 16, 2014 19:01

Please may you make darkage work with the circular saw. Thanks :)
There is just no angry way to say 'Bubbles'
 

User avatar
Krock
Developer
 
Posts: 4403
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] More Blocks [moreblocks]

by Krock » Mon Jun 16, 2014 19:05

nman3600 wrote:Please may you make darkage work with the circular saw. Thanks :)

This belongs to the darkage mod. The circular saw has functions, so other mods can offer support - or not.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

Vazon
Member
 
Posts: 191
Joined: Sat Aug 17, 2013 17:20
Location: Tennessee, U.S
IRC: Vazon
In-game: Vazon

Re: [Mod] More Blocks [moreblocks]

by Vazon » Mon Jun 16, 2014 19:17

I pushed a update for my darkage mod, and yes it works with the moreblocks mod if it is there
 

User avatar
nman3600
Member
 
Posts: 168
Joined: Fri Feb 07, 2014 17:06
GitHub: nman3600
IRC: nman3600
In-game: nman3600

Re: [Mod] More Blocks [moreblocks]

by nman3600 » Mon Jun 16, 2014 20:42

Krock wrote:
nman3600 wrote:Please may you make darkage work with the circular saw. Thanks :)

This belongs to the darkage mod. The circular saw has functions, so other mods can offer support - or not.


Please could you update it on your server then?
There is just no angry way to say 'Bubbles'
 

User avatar
addi
Member
 
Posts: 659
Joined: Thu Sep 20, 2012 03:16
Location: Black-Forest, Germany
GitHub: adrido

Re: [Mod] More Blocks [moreblocks]

by addi » Sat Jul 26, 2014 04:24

Hi,

lots of thanks for adding craft recieps. :-D

but the craft recieps wont work with another mods name than moereblocks.

i have a fix for it, but i wont create an account on gitourius to create just this one pull request. so i uploaded it to my repository on bitbucket:
repo: https://bitbucket.org/adrido/moreblocks
git: https://adrido@bitbucket.org/adrido/moreblocks.git

i woud be happy if you can merge them
addi

nman3600 wrote:Please may you make darkage work with the circular saw. Thanks :)


you can use my version of the darkage mod, it supports the moreblocks mod an the circular saw:
https://bitbucket.org/adrido/darkage
 

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

Re: [Mod] More Blocks [moreblocks]

by Calinou » Mon Jul 28, 2014 08:03

addi wrote:Hi,

lots of thanks for adding craft recieps. :-D

but the craft recieps wont work with another mods name than moereblocks.

i have a fix for it, but i wont create an account on gitourius to create just this one pull request. so i uploaded it to my repository on bitbucket:
repo: https://bitbucket.org/adrido/moreblocks
git: https://adrido@bitbucket.org/adrido/moreblocks.git

i woud be happy if you can merge them
addi

nman3600 wrote:Please may you make darkage work with the circular saw. Thanks :)


you can use my version of the darkage mod, it supports the moreblocks mod an the circular saw:
https://bitbucket.org/adrido/darkage


Fixed by using a simple search-and-replace filter in stairs.lua, slabs.lua, panels.lua, microblocks.lua:
Search: "moreblocks
Replace: modname .. "
 

User avatar
addi
Member
 
Posts: 659
Joined: Thu Sep 20, 2012 03:16
Location: Black-Forest, Germany
GitHub: adrido

Re: [Mod] More Blocks [moreblocks]

by addi » Mon Jul 28, 2014 16:06

Calinou wrote:
addi wrote:Hi,

lots of thanks for adding craft recieps. :-D

but the craft recieps wont work with another mods name than moereblocks.

i have a fix for it, but i wont create an account on gitourius to create just this one pull request. so i uploaded it to my repository on bitbucket:
repo: https://bitbucket.org/adrido/moreblocks
git: https://adrido@bitbucket.org/adrido/moreblocks.git

i woud be happy if you can merge them
addi

nman3600 wrote:Please may you make darkage work with the circular saw. Thanks :)


you can use my version of the darkage mod, it supports the moreblocks mod an the circular saw:
https://bitbucket.org/adrido/darkage


Fixed by using a simple search-and-replace filter in stairs.lua, slabs.lua, panels.lua, microblocks.lua:
Search: "moreblocks
Replace: modname .. "

i have done the same :)
thanks for fixing it
 

User avatar
JKMurray
Member
 
Posts: 31
Joined: Sat Aug 24, 2013 21:20

Re: [Mod] More Blocks [moreblocks]

by JKMurray » Wed Aug 06, 2014 18:37

It's an amazing mod. We have made a little video about it and we'll be using it in the next movies! This is good.

Youtube-movie: https://www.youtube.com/watch?v=dr-a_cLlA8c
 

Sokomine
Member
 
Posts: 3910
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [Mod] More Blocks [moreblocks]

by Sokomine » Wed Aug 06, 2014 19:37

JKMurray wrote:It's an amazing mod.

Yes, it is. One of the mods that ought to be present (apart from homedecor) on each server.

JKMurray wrote:We have made a little video about it and we'll be using it in the next movies! This is good.

Good to hear! Hope there'll be progress on your mods as well. That...headless..cow is creepy :) Give it a nice texture! Also, take a look at Trainwreck Tonys server. Some of your mods are running there.
A list of my mods can be found here.
 

User avatar
JKMurray
Member
 
Posts: 31
Joined: Sat Aug 24, 2013 21:20

Re: [Mod] More Blocks [moreblocks]

by JKMurray » Wed Aug 06, 2014 20:09

Thanks Sokomine! I'll take a look at them! Currently we're thinking about doing a series on a minetest-server with all kinds of mods. Any advice from the experts?
 

Sol
Member
 
Posts: 73
Joined: Thu Jul 31, 2014 05:21
In-game: sol

Re: [Mod] More Blocks [moreblocks]

by Sol » Sun Aug 10, 2014 02:01

I have ran into a crash second time.
Code: Select all
ERROR[main]: ERROR: An unhandled exception occurred: /home/mt/bin/../mods/moreblocks/circular
_saw.lua:126: attempt to index local 'name_parts' (a nil value)
ERROR[main]: stack traceback:
ERROR[main]:  /home/mt/bin/../mods/moreblocks/circular_saw.lua:126: in function 'update_inventory'
ERROR[main]:  /home/mt/bin/../mods/moreblocks/circular_saw.lua:164: in function </home/mt/bin/../mods/mor
eblocks/circular_saw.lua:158>
There is no such thing as duty. If you know that a thing is right, you want to do it. If you don't want to do it—it isn't right. If it's right and you don't want to do it—you don't know what right is and you're not a man. -- Ayn Rand
 

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

Re: [Mod] More Blocks [moreblocks]

by Calinou » Sun Aug 10, 2014 15:56

Sol wrote:I have ran into a crash second time.
Code: Select all
ERROR[main]: ERROR: An unhandled exception occurred: /home/mt/bin/../mods/moreblocks/circular
_saw.lua:126: attempt to index local 'name_parts' (a nil value)
ERROR[main]: stack traceback:
ERROR[main]:  /home/mt/bin/../mods/moreblocks/circular_saw.lua:126: in function 'update_inventory'
ERROR[main]:  /home/mt/bin/../mods/moreblocks/circular_saw.lua:164: in function </home/mt/bin/../mods/mor
eblocks/circular_saw.lua:158>


Potential fix committed.
 

Spirosxk
New member
 
Posts: 4
Joined: Sun Oct 26, 2014 10:13

Re: [Mod] More Blocks [moreblocks]

by Spirosxk » Sun Oct 26, 2014 10:33

Hi,
Minetest 4.10 is crashing

Code: Select all
12:28:58: ERROR[main]: ========== ERROR FROM LUA ===========
12:28:58: ERROR[main]: Failed to load and run script from
12:28:58: ERROR[main]: /home/spiros/.minetest/mods/moreblocks/init.lua:
12:28:58: ERROR[main]: ...inetest/mods/moreblocks/stairsplus/registrations.lua:30: attempt to index local 'ndef' (a nil value)
12:28:58: ERROR[main]: stack traceback:
12:28:58: ERROR[main]:    ...inetest/mods/moreblocks/stairsplus/registrations.lua:30: in main chunk
12:28:58: ERROR[main]:    [C]: in function 'dofile'
12:28:58: ERROR[main]:    ...spiros/.minetest/mods/moreblocks/stairsplus/init.lua:43: in main chunk
12:28:58: ERROR[main]:    [C]: in function 'dofile'
12:28:58: ERROR[main]:    /home/spiros/.minetest/mods/moreblocks/init.lua:22: in main chunk
12:28:58: ERROR[main]: ======= END OF ERROR FROM LUA ========
12:28:58: ERROR[main]: Server: Failed to load and run /home/spiros/.minetest/mods/moreblocks/init.lua
12:28:58: ERROR[main]: ModError: ModError: Failed to load and run /home/spiros/.minetest/mods/moreblocks/init.lua
 

User avatar
Pitriss
Member
 
Posts: 253
Joined: Mon Aug 05, 2013 17:09
Location: Czech republic, Bohumin
GitHub: Pitriss
IRC: pitriss
In-game: pitriss

Re: [Mod] More Blocks [moreblocks]

by Pitriss » Sun Oct 26, 2014 10:49

Check your added materials. In gitorious code "local ndef" line is located at line 28, so I guess you added something and made typo or so there. (in your error message this line starts at line 30)

local ndef
I reject your reality and substitute my own. (A. Savage, Mythbusters)
I'm not modding and/or playing minetest anymore. All my mods were released under WTFPL. You can fix/modify them yourself. Don't ask me for support. Thanks.
 

Spirosxk
New member
 
Posts: 4
Joined: Sun Oct 26, 2014 10:13

Re: [Mod] More Blocks [moreblocks]

by Spirosxk » Sun Oct 26, 2014 11:53

Pitriss wrote:Check your added materials. In gitorious code "local ndef" line is located at line 28, so I guess you added something and made typo or so there. (in your error message this line starts at line 30)

local ndef


I haven't add anything, the mod is the default from the gitorious.
 

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

Re: [Mod] More Blocks [moreblocks]

by Topywo » Sun Oct 26, 2014 14:26

Spirosxk wrote:I haven't add anything, the mod is the default from the gitorious.


This mod loads and works for me.

- What happens if you create a new game and only enable moreblocks?
- Do you use minetest_game or another game?
 

Miner59
Member
 
Posts: 46
Joined: Mon Sep 22, 2014 19:14

Re: [Mod] More Blocks [moreblocks]

by Miner59 » Sun Oct 26, 2014 14:49

Spirosxk wrote:Hi,
Minetest 4.10 is crashing

Code: Select all
12:28:58: ERROR[main]: ========== ERROR FROM LUA ===========
12:28:58: ERROR[main]: Failed to load and run script from
12:28:58: ERROR[main]: /home/spiros/.minetest/mods/moreblocks/init.lua:
12:28:58: ERROR[main]: ...inetest/mods/moreblocks/stairsplus/registrations.lua:30: attempt to index local 'ndef' (a nil value)
12:28:58: ERROR[main]: stack traceback:
12:28:58: ERROR[main]:    ...inetest/mods/moreblocks/stairsplus/registrations.lua:30: in main chunk
12:28:58: ERROR[main]:    [C]: in function 'dofile'
12:28:58: ERROR[main]:    ...spiros/.minetest/mods/moreblocks/stairsplus/init.lua:43: in main chunk
12:28:58: ERROR[main]:    [C]: in function 'dofile'
12:28:58: ERROR[main]:    /home/spiros/.minetest/mods/moreblocks/init.lua:22: in main chunk
12:28:58: ERROR[main]: ======= END OF ERROR FROM LUA ========
12:28:58: ERROR[main]: Server: Failed to load and run /home/spiros/.minetest/mods/moreblocks/init.lua
12:28:58: ERROR[main]: ModError: ModError: Failed to load and run /home/spiros/.minetest/mods/moreblocks/init.lua



Hi,
I would add a check if ndef~=nil.
This should fix the error, but maybe not the cause of the error.
Replace old for loop in registrations.lua with this:


Code: Select all
for _, name in pairs(default_nodes) do
   local nodename = "default:" .. name
   local ndef = minetest.registered_nodes[nodename]
if ndef~=nil then
   local groups = {}
   for k, v in pairs(ndef.groups)
      -- Ignore wood and stone groups to not make them usable in crafting:
      do if k ~= "wood" and k ~= "stone" then
         groups[k] = v
      end
   end
   local drop
   if type(ndef.drop) == "string" then
      drop = ndef.drop:sub(9)
   end
   stairsplus:register_all("moreblocks", name, nodename, {
      description = ndef.description,
      drop = drop,
      groups = groups,
      sounds = ndef.sounds,
      tiles = ndef.tiles,
      sunlight_propagates = true,
   })
end
end
 

Spirosxk
New member
 
Posts: 4
Joined: Sun Oct 26, 2014 10:13

Re: [Mod] More Blocks [moreblocks]

by Spirosxk » Sun Oct 26, 2014 15:21

Topywo wrote:
Spirosxk wrote:I haven't add anything, the mod is the default from the gitorious.


This mod loads and works for me.

- What happens if you create a new game and only enable moreblocks?
- Do you use minetest_game or another game?


1) It gives me the same error
2) It's the minetest from the Ubuntu PPA.

It worked with Miner59 solution
Thank you
 

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

Re: [Mod] More Blocks [moreblocks]

by Calinou » Tue Oct 28, 2014 21:15

Added basic slopes. More will follow later.

The slopes branch requires a recent Git build to run (from 2014-10-19 or newer).

If you have cloned More Blocks, you can switch to it by typing, after using cd to go to More Blocks' folder:

Code: Select all
git checkout slopes
 

PreviousNext

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 4 guests