[Mod] More Blocks [moreblocks]

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

Re: [Mod] More Blocks [moreblocks]

by Megaf » Sun Jan 25, 2015 23:44

18:38:55: ERROR[main]: ========== ERROR FROM LUA ===========
18:38:55: ERROR[main]: Failed to load and run script from
18:38:55: ERROR[main]: /home/minetest/Server/bin/../mods/moreblocks/init.lua:
18:38:55: ERROR[main]: /home/minetest/Server/bin/../mods/moreblocks/crafting.lua:456: unexpected symbol near '<'
18:38:55: ERROR[main]: stack traceback:
18:38:55: ERROR[main]: [C]: in function 'dofile'
18:38:55: ERROR[main]: /home/minetest/Server/bin/../mods/moreblocks/init.lua:28: in main chunk
18:38:55: ERROR[main]: ======= END OF ERROR FROM LUA ========
18:38:55: ERROR[main]: Server: Failed to load and run /home/minetest/Server/bin/../mods/moreblocks/init.lua
18:38:55: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/minetest/Server/bin/../mods/moreblocks/init.lua
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] More Blocks [moreblocks]

by Calinou » Mon Jan 26, 2015 16:56

Megaf wrote:18:38:55: ERROR[main]: ========== ERROR FROM LUA ===========
18:38:55: ERROR[main]: Failed to load and run script from
18:38:55: ERROR[main]: /home/minetest/Server/bin/../mods/moreblocks/init.lua:
18:38:55: ERROR[main]: /home/minetest/Server/bin/../mods/moreblocks/crafting.lua:456: unexpected symbol near '<'
18:38:55: ERROR[main]: stack traceback:
18:38:55: ERROR[main]: [C]: in function 'dofile'
18:38:55: ERROR[main]: /home/minetest/Server/bin/../mods/moreblocks/init.lua:28: in main chunk
18:38:55: ERROR[main]: ======= END OF ERROR FROM LUA ========
18:38:55: ERROR[main]: Server: Failed to load and run /home/minetest/Server/bin/../mods/moreblocks/init.lua
18:38:55: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/minetest/Server/bin/../mods/moreblocks/init.lua


In the latest More Blocks, there is no “<” symbol in the entire crafting.lua file.

This is lines 456-458:

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
minetest.register_craft({
   type = "cooking", output = "moreblocks:tar", recipe = "default:gravel",
})
 

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

Re: [Mod] More Blocks [moreblocks]

by Megaf » Thu Jan 29, 2015 12:49

+ Spoiler

In the latest More Blocks, there is no “<” symbol in the entire crafting.lua file.

This is lines 456-458:

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
minetest.register_craft({
   type = "cooking", output = "moreblocks:tar", recipe = "default:gravel",
})


Ok, I did a fresh git clone of Moreblocks and it works now. Thanks.

By the way, labs are only visible from one face, from the other one they are totally invisible.
 

dgm5555
Member
 
Posts: 244
Joined: Tue Apr 08, 2014 19:45

Re: [Mod] More Blocks [moreblocks]

by dgm5555 » Wed Feb 04, 2015 10:51

Just updated more blocks a few minutes ago. Now it fails to run:-
10:46:55: ERROR[main]: ========== ERROR FROM LUA ===========
10:46:55: ERROR[main]: Failed to load and run script from
10:46:55: ERROR[main]: /home/david/.minetest/mods/moreblocks/init.lua:
10:46:55: ERROR[main]: ...d/.minetest/mods/moreblocks/stairsplus/registrations.lua:39: attempt to index local 'ndef' (a nil value)
10:46:55: ERROR[main]: stack traceback:
10:46:55: ERROR[main]: ...d/.minetest/mods/moreblocks/stairsplus/registrations.lua:39: in main chunk
10:46:55: ERROR[main]: [C]: in function 'dofile'
10:46:55: ERROR[main]: /home/david/.minetest/mods/moreblocks/stairsplus/init.lua:52: in main chunk
10:46:55: ERROR[main]: [C]: in function 'dofile'
10:46:55: ERROR[main]: /home/david/.minetest/mods/moreblocks/init.lua:25: in main chunk
10:46:55: ERROR[main]: ======= END OF ERROR FROM LUA ========
10:46:55: ERROR[main]: Server: Failed to load and run /home/david/.minetest/mods/moreblocks/init.lua
10:46:55: ERROR[main]: ModError: ModError: Failed to load and run /home/david/.minetest/mods/moreblocks/init.lua
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] More Blocks [moreblocks]

by Calinou » Wed Feb 04, 2015 16:56

dgm5555 wrote:Just updated more blocks a few minutes ago. Now it fails to run:-
10:46:55: ERROR[main]: ========== ERROR FROM LUA ===========
10:46:55: ERROR[main]: Failed to load and run script from
10:46:55: ERROR[main]: /home/david/.minetest/mods/moreblocks/init.lua:
10:46:55: ERROR[main]: ...d/.minetest/mods/moreblocks/stairsplus/registrations.lua:39: attempt to index local 'ndef' (a nil value)
10:46:55: ERROR[main]: stack traceback:
10:46:55: ERROR[main]: ...d/.minetest/mods/moreblocks/stairsplus/registrations.lua:39: in main chunk
10:46:55: ERROR[main]: [C]: in function 'dofile'
10:46:55: ERROR[main]: /home/david/.minetest/mods/moreblocks/stairsplus/init.lua:52: in main chunk
10:46:55: ERROR[main]: [C]: in function 'dofile'
10:46:55: ERROR[main]: /home/david/.minetest/mods/moreblocks/init.lua:25: in main chunk
10:46:55: ERROR[main]: ======= END OF ERROR FROM LUA ========
10:46:55: ERROR[main]: Server: Failed to load and run /home/david/.minetest/mods/moreblocks/init.lua
10:46:55: ERROR[main]: ModError: ModError: Failed to load and run /home/david/.minetest/mods/moreblocks/init.lua


This appears to be the same issue as this one.

What version of Minetest do you use? Please use 0.4.11 or newer.
 

dgm5555
Member
 
Posts: 244
Joined: Tue Apr 08, 2014 19:45

Re: [Mod] More Blocks [moreblocks]

by dgm5555 » Thu Feb 05, 2015 18:00

Unfortunately due to all the serious bugs I've experienced in 0.4.11 , I've reverted to 0.4.10.
Would you have any idea how far back I have to go to get a version of moreblocks which works under .10 - I foolishly didn't keep a copy of my working version under .10.

EDIT: Don't worry, I picked a commit just before the release of .11, and it seems to work fine:-
https://gitorious.org/calinou/moreblocks/archive/4b682f47301e68d83da98f6ee5d57c6f526ba051.zip
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] More Blocks [moreblocks]

by Inocudom » Mon Feb 09, 2015 17:03

I... Guess this problem... Will never be fixed then... Never... Never... Never...
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] More Blocks [moreblocks]

by Calinou » Mon Feb 09, 2015 17:16

Inocudom wrote:I... Guess this problem... Will never be fixed then... Never... Never... Never...


It is possible to exclude non-existing nodes instead of crashing using some code (VanessaE should have it), but I haven't applied it (yet).
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Mod] More Blocks [moreblocks]

by VanessaE » Mon Feb 09, 2015 18:40

The fix is actually as obvious as it seems :-)

After line 37 of registrations.lua, add if ndef then , and before line 57, add a corresponding end . Be sure to adjust the indentation accordingly.

This will stop stairsplus from trying to register a node that isn't actually defined by the current game.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

Dartmouth
Member
 
Posts: 121
Joined: Sat Dec 06, 2014 14:39
IRC: pilino1234

Re: [Mod] More Blocks [moreblocks]

by Dartmouth » Wed Feb 11, 2015 11:10

VanessaE wrote:The fix is actually as obvious as it seems :-)

After line 37 of registrations.lua, add if ndef then , and before line 57, add a corresponding end . Be sure to adjust the indentation accordingly.

This will stop stairsplus from trying to register a node that isn't actually defined by the current game.


Should it be like this?
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
[...]
   if ndef 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
[...]


However, it gives me this error when running:

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
11:33:39: ERROR[main]: ========== ERROR FROM LUA ===========
11:33:39: ERROR[main]: Failed to load and run script from
11:33:39: ERROR[main]: /home/martin/.minetest/mods/moreblocks/init.lua:
11:33:39: ERROR[main]: ...n/.minetest/mods/moreblocks/stairsplus/registrations.lua:57: unexpected symbol near 'end'
11:33:39: ERROR[main]: stack traceback:
11:33:39: ERROR[main]:  [C]: in function 'dofile'
11:33:39: ERROR[main]:  /home/martin/.minetest/mods/moreblocks/stairsplus/init.lua:52: in main chunk
11:33:39: ERROR[main]:  [C]: in function 'dofile'
11:33:39: ERROR[main]:  /home/martin/.minetest/mods/moreblocks/init.lua:25: in main chunk
11:33:39: ERROR[main]: ======= END OF ERROR FROM LUA ========


Minetest 0.4.11 stable and latest moreblocks...

Any hints on how to fix this?

EDIT: Found it :) the "end" should be added AFTER line 57, so that the brackets from line 50 are closed.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] More Blocks [moreblocks]

by Calinou » Wed Feb 11, 2015 17:10

Thanks, I have committed this (tested).

https://gitorious.org/calinou/moreblock ... ae0493af40
 

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

Re: [Mod] More Blocks [moreblocks]

by jp » Fri Mar 27, 2015 09:15

A bug present since months : the glass nodes from the circular saw lack of borders on 5 faces (sides and underside).

Image
 

User avatar
numzero
New member
 
Posts: 2
Joined: Tue Apr 21, 2015 18:51
GitHub: numberZero

Re: [Mod] More Blocks [moreblocks]

by numzero » Tue Apr 21, 2015 19:28

In minetest d1d5618 I had stairs and slabs from both Stairs (from minetest_game) and Moreblocks mods as different node types. Here is a patch that fixes that:
+ Spoiler

Adding Stairs as soft dependency ensures that it, if present, is loaded before the Moreblocks mod.
Explicit copying of fields.groups is necessary to keep basic stairs in creative inventory (and, what is more important for me, in Unified Inventory) while not adding them all.
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] More Blocks [moreblocks]

by Minetestforfun » Wed Apr 22, 2015 19:57

+ Spoiler


+1, it will be solved someday ? :(
 

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

Re: [Mod] More Blocks [moreblocks]

by jp » Wed Apr 22, 2015 21:00

 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: [Mod] More Blocks [moreblocks]

by addi » Sat Jun 06, 2015 07:26

Where do i find the current version?
is it on Github again? https://github.com/Calinou/moreblocks/
on notabug? https://notabug.org/calinou/moreblocks
or gitorious? https://gitorious.org/calinou/moreblocks/
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] More Blocks [moreblocks]

by Calinou » Sat Jun 06, 2015 09:08

addi wrote:Where do i find the current version?
is it on Github again? https://github.com/Calinou/moreblocks/
on notabug? https://notabug.org/calinou/moreblocks
or gitorious? https://gitorious.org/calinou/moreblocks/


On GitHub, the two other ones are obsolete now. (Gitorious is also read-only since June 1th 2015).
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: [Mod] More Blocks [moreblocks]

by addi » Sat Jun 06, 2015 09:10

thanks
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] More Blocks [moreblocks]

by Calinou » Sat Jun 06, 2015 09:12

More Blocks now features the slopes in the circular saw:

Image
 

mgl
Member
 
Posts: 35
Joined: Wed Sep 10, 2014 16:13
GitHub: mgl512

Re: [Mod] More Blocks [moreblocks]

by mgl » Sat Jun 06, 2015 17:45

I got a very confusing error about the functions core.item_place_node() and core.add_node() from the minetest file 'builtin/game/item.lua' while trying to place your updated saw.

It was because the subgame I used didn't have the default.gui* constants (and textures, especially the file 'gui_formbg.png') found in minetest_game (in file 'minetest_game/mods/default/init.lua').

Adding them solved it. Might help others.
 

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

Re: [Mod] More Blocks [moreblocks]

by jp » Sat Jun 06, 2015 18:01

Yes, subgames must use a recent base of minetest_game (>= 0.4.10) for using the fancy GUI style.

(Carbone uses a 0.4.9 minetest_game base, AFAIK)
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

Re: [Mod] More Blocks [moreblocks]

by lightonflux » Mon Sep 28, 2015 20:55

Could you edited the first post? The situation about the right code repository is a bit confusing.
 

necron099
Member
 
Posts: 58
Joined: Wed Feb 27, 2013 16:10

Re: [Mod] More Blocks [moreblocks]

by necron099 » Mon Dec 14, 2015 13:35

Calinou,

I ran into a bug? I downloaded this from github and installed it into a subgame I was working on and there was no breath bar displayed. Removed all mods and replaced them one by one until I found the cause of this.

Just to be sure yesterday I downloaded and compiled a fresh minetest and minetest_game and unzipped this mod (there were no other mods except the default ones) and waited underwater for a couple of minutes and no breath bar showed up. Took this mod out and the breath bar appeared.
 

schnico
New member
 
Posts: 6
Joined: Fri Jan 08, 2016 21:13
In-game: schnico

Re: [Mod] More Blocks [moreblocks]

by schnico » Fri Jan 08, 2016 21:19

Hi calinou,

why does pinewood doesn't work with circular saw anymore?
We used it often on our server, but after updating your mod there were only ugly unknown nodes instead of pinewood slabs. :(

cheers, schnico
 

schnico
New member
 
Posts: 6
Joined: Fri Jan 08, 2016 21:13
In-game: schnico

Re: [Mod] More Blocks [moreblocks]

by schnico » Fri Jan 08, 2016 21:47

schnico wrote:Hi calinou,

why does pinewood doesn't work with circular saw anymore?
We used it often on our server, but after updating your mod there were only ugly unknown nodes instead of pinewood slabs. :(

cheers, schnico


Forgot it, it was just because of our old game. (default:pinewood -> default:pine_wood)
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] More Blocks [moreblocks]

by Calinou » Fri Jan 22, 2016 19:38

More Blocks is now in the minetest-mods organization. Here's the new GitHub link: https://github.com/minetest-mods/moreblocks

Note that existing clones and URLs will continue to work, as the repository was transferred.
 

DoyleChris
Member
 
Posts: 176
Joined: Sat Jul 25, 2015 19:54
In-game: DoyleChris

Re: [Mod] More Blocks [moreblocks]

by DoyleChris » Fri Apr 15, 2016 20:46

I tried increasing the amount of light the Super_glow_Glass.
I changed the light_source in Node.lua but it seems still to be the same amount.
I was looking to increase it to 2 times as bright.
Any idea how to do it.
 

sofar
Member
 
Posts: 781
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [Mod] More Blocks [moreblocks]

by sofar » Fri Apr 15, 2016 20:49

DoyleChris wrote:I tried increasing the amount of light the Super_glow_Glass.
I changed the light_source in Node.lua but it seems still to be the same amount.
I was looking to increase it to 2 times as bright.
Any idea how to do it.


15 is the maximum value, sorry. This is a limitation in the mintest engine, not moreblocks.
 

Emon
Member
 
Posts: 48
Joined: Tue Apr 26, 2016 09:35

Re: [Mod] More Blocks [moreblocks]

by Emon » Mon May 16, 2016 21:47

Italian version available here.
 

ABJ
Member
 
Posts: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] More Blocks [moreblocks]

by ABJ » Fri Sep 02, 2016 09:59

I like this mod a lot :)
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 5 guests

cron