Page 1 of 2

[Mod]Concrete [V2.2] [concrete] Test Needed!

PostPosted: Fri Apr 26, 2013 01:01
by ch98
This mod will add a liquid concrete which will harden in to solid concrete harder than a rock.

Download: Version 1.0
Version 1.5
Version 2.0
Version 2.1
Version 2.2
License: textures/code WTFPL

Dependencies: default

Pictures:
How to make a building with concrete very easly
Image
Make a roof
Image
Go on the roof
Image
Place concrete source (After one cement starts drying, all will go with it so place it fast)
Image
Wait for it to spread
Image
Wait for it to dry, place a door while it is still soft.
Image
After it drys, it is very hard.


Todo: colord concretes


How to use...

1.0 Place concrete source somewhere and wait for it to spread. It will start drying and dry completely within an hour. After concrete drys, It is very hard.

1.5 Place concrete source somewhere and wait for it to spread. It will start drying and dry completely within an hour. After concrete drys, It is hard. If you place an iron near it while hardening, it get's very hard.

2.0 Place concrete source somewhere and wait for it to spread. It will start drying and dry completely within an hour. After concrete drys, It is hard. If you place an iron near it while hardening, it get's very hard. while digging, it will drop gravel.

2.1 Tried fixing unknown bug caused by new feture added in 2.0

2.2 Tried fixing bug from 2.0 Testing needed


Cooking:
desert stone --> lime
lime --> cement

Recipes:
sand + cobble = gravel
gravel + cement + water bucket = concrete source + water bucket
gravel mound x 9 = gravel



Post comments and pictures!
Also look at my other mods (like Geiger counter, mudslide, and forcefield) too!

PostPosted: Fri Apr 26, 2013 05:54
by Bas080
LOL!!! Creative stuff. What about reinforced concrete?

PostPosted: Fri Apr 26, 2013 11:18
by Ragnarok
This is amazing mod :D Could you implement a feature: wall paint (you can use Unified Dyes API)?

PostPosted: Fri Apr 26, 2013 16:41
by ch98
Bas080 wrote:LOL!!! Creative stuff. What about reinforced concrete?

It is allady as hard as it can get in minetest. Only thing you can do about it is make it only diggable with mese pickax.
It may be possible to lower the strength in new version and add strength when there is steel reinforcements around it.

PostPosted: Fri Apr 26, 2013 19:24
by 12Me21
It seems like a really easy way to grief people's stuff, and why would it be so hard, real concrete is not as hard as rock.

Edit: also, the textures should all be 16 x 16, or else it will look weird with all the default materials.

EDIT x 2: oh, and it is a really cool idea, though.

PostPosted: Sat Apr 27, 2013 02:43
by stcrafts
nice! I like it!!!!

maybe you can add some node like concrete iron or some others about modern building


---------------

for my bad English XD

PostPosted: Tue Jun 11, 2013 05:45
by ch98
Should it be that when steel block is in certain range, it hardens to harder material?

PostPosted: Tue Jun 11, 2013 05:49
by stcrafts
ch98 wrote:Should it be that when steel block is in certain range, it hardens to harder material?

Yes,it look so cool

PostPosted: Tue Jun 11, 2013 06:37
by ch98
New version 1.5 with reinforced concrete at strength of old concrete and normal concrete 1 rank lower. This is not tested yet but should work within 5 or 4 blocks from steel block. Please post error message and debug text if it doesn't work. If it works, tell me too.

PostPosted: Tue Jun 18, 2013 04:56
by ch98
Someone PLEASE test the new feature. My old computer broke down and i only have ppc mac without minetest.

PostPosted: Tue Jun 18, 2013 14:06
by Mito551
ch98 wrote:Someone PLEASE test the new feature. My old computer broke down and i only have ppc mac without minetest.


it works fine. a bit slow (too big interval), to my mind, but it works.
btw, added to dwarves, changed groups so it suits your idea. only pick that can break the strongest concrete is adamantium pick.

PostPosted: Tue Jun 18, 2013 15:34
by cornellius
WOOOT!!! Now i can made floating drying concrete house

PostPosted: Tue Jun 18, 2013 18:58
by Mito551
P.S. this mod suits dwarves game very much. and your desire to make it hard as hell is only availiable in dwarves. so, yeah.

PostPosted: Tue Jun 18, 2013 22:44
by ch98
Mito551 wrote:P.S. this mod suits dwarves game very much. and your desire to make it hard as hell is only availiable in dwarves. so, yeah.

Thank you for testing!
I am planning to make it very hard by making it place new concrete every time you dig giving small amount of gravel that can be crafted back to normal gravel. Number of times replaced depend on it's strength. (on version 2.0 the next one.)

Edit: Thank you for adding it to dwarves game!

PostPosted: Wed Jun 19, 2013 01:56
by ch98
New version 2.0 with very long dig time that drops some gravel mounds that crafts back to gravel.
Someone PLEASE test this too!

PostPosted: Fri Jun 21, 2013 19:51
by ch98
Can someone PLEASE test the new version?

PostPosted: Sat Jun 22, 2013 05:34
by ndjdjksisksk
when i try to break a concrete block thaat has been a source or has just been placed there minetest crashes. sorry if this comment is mean.

PostPosted: Sun Jun 23, 2013 00:02
by ch98
can you post debug text? It tells you everything about why it was wrong.

PostPosted: Tue Jun 25, 2013 22:50
by ndjdjksisksk
it does not give me an error this is all it says:

node_dig
17:47:28: ACTION[ServerThread]: singleplayer digs concrete:concrete at (-1,13,-61)

PostPosted: Tue Jun 25, 2013 22:51
by ndjdjksisksk
and i am using 0.4.7 sounds dev

PostPosted: Wed Jun 26, 2013 03:36
by ch98
can someone else test it or tell me what is wrong with it?

PostPosted: Wed Jun 26, 2013 06:36
by Dan Duncombe
You may want to take all the different concrete numbers (ie concrete2 etc) out of the creative inventory, unless they are meant to be there.
This is what happened when digging a reinforced concrete block (Dried)
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
07:33:28: ERROR[main]: ServerError: LuaError: error: stack overflow
07:33:28: ERROR[main]: stack traceback:
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:182: in function <...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:181>
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:182: in function <...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:181>
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:182: in function <...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:181>
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:182: in function <...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:181>
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:182: in function <...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:181>
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:182: in function <...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:181>
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:182: in function <...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:181>
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:182: in function <...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:181>
07:33:28: ERROR[main]:     [C]: in function 'set_node'
07:33:28: ERROR[main]:     ...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:182: in function <...op\Minetest\minetest-0.4.7\bin\..\mods\concrete\init.lua:181>
07:33:28: ERROR[main]:     [C]: in function 'remove_node'
07:33:28: ERROR[main]:     ...\Desktop\Minetest\minetest-0.4.7\bin\..\builtin/item.lua:347: in function <...\Desktop\Minetest\minetest-0.4.7\bin\..\builtin/item.lua:313>

PostPosted: Thu Jun 27, 2013 02:00
by ch98
I removed (I think) all concrete #'s out of creative in 2.1 so someone test this!

PostPosted: Thu Jun 27, 2013 07:13
by Dan Duncombe
Version 2.1:
Concrete Numbers are not in creative inventory anymore.
Same error as before when trying to break reinforced concrete.

PostPosted: Fri Jun 28, 2013 15:39
by Cooper97
I have made an version of concrete without the error message "stack overflow". But the downside is that you can remove concrete with your hand like a tree or like wood.

PLEASE NOTE: It is only a BETA version. DO NOT use it on your server or on important maps!

Download link for my version: http://www.file-upload.net/download-7770801/concrete_Cooper97.zip.html

License: textures/code WTFPL

Dependencies: default

PostPosted: Sat Jun 29, 2013 01:18
by ch98
Cooper97 wrote:I have made an version of concrete without the error message "stack overflow". But the downside is that you can remove concrete with your hand like a tree or like wood.

PLEASE NOTE: It is only a BETA version. DO NOT use it on your server or on important maps!

Download link for my version: http://www.file-upload.net/download-7770801/concrete_Cooper97.zip.html

License: textures/code WTFPL

Dependencies: default

that is close to concrete Version 1 can you find what is causing the error? (you fixed the error by deleting the super long dig time part of script turning #'d concrete useless.

PostPosted: Sat Jun 29, 2013 01:50
by ch98
New version 2.2 is out. I tried fixing the bug again. Please yest if you have time!

PostPosted: Sat Jun 29, 2013 19:43
by BlackWing
it cashes the game if you hit it with anything lol

PostPosted: Sat Jun 29, 2013 23:39
by ch98
Can anyone please figure out what precisely is wrong with this coding?

PostPosted: Sun Jun 30, 2013 00:14
by ndjdjksisksk
ch98 wrote:Can anyone please figure out what precisely is wrong with this coding?

i am not a coder but i will try to fix it or at least find out