[Mod] Technic [0.4.16-dev] [technic]

Captain_AuXiL
Member
Posts: 26
Joined: Fri Feb 01, 2013 09:44

by Captain_AuXiL » Post

Why does Minetest crash everytime I try to utilize the Technic mod?

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

What error messages do you get? (copy&paste what's in your command prompt, or the last part of debug.txt right after it crashes)
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
snakevenom
Member
Posts: 119
Joined: Sat Sep 22, 2012 12:56
Location: worthing

by snakevenom » Post

i was bored last night so i decided to implement Uu matter to the game, if you dont know what it does it basically is based on the idea that everything in life has a value and can be exchanged for different items, some items may be better than others so it takes more items to get those.

sorry for my rubbish explanation

Code: Select all

minetest.register_craftitem("default:Uu_matter", {
    description = "Uu matter",
    inventory_image = "Uu.png",
})
minetest.register_node("default:condensed_Uu", {
    tile_images = {"condensedUu.png"},
    groups={choppy},
})

minetest.register_craft({
    output = '"default:Uu_matter" 1',
    recipe = {
        {'default:dirt', 'default:dirt', 'default:dirt'},
        {'default:wood', 'default:wood', 'default:wood'},
        {'default:tree', 'default:tree', 'default:tree'},
    }
})

minetest.register_craft({
    output = '"default:condensed_Uu" 1',
    recipe = {
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
    }
})



minetest.register_craft({
    output = '"default:dirt" 50',
    recipe = {
        {'', 'default:Uu_matter', ''},
        {'', 'default:Uu_matter', ''},
        {'', 'default:Uu_matter', ''},
    }
})

minetest.register_craft({
    output = '"default:tree" 50',
    recipe = {
        {'', 'default:Uu_matter', ''},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'', 'default:Uu_matter', ''},
    }
})

minetest.register_craft({
    output = '"default:stone" 50',
    recipe = {
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'', 'default:Uu_matter', ''},
    }
})

minetest.register_craft({
    output = '"default:stone" 50',
    recipe = {
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'', 'default:Uu_matter', ''},
        {'', '', ''},
    }
})

minetest.register_craft({
    type = "cooking",
    output = "default:condensed_Uu",
    recipe = "default:Uu_matter",
})

minetest.register_craft({
    output = '"default:mese_crystal" 10',
    recipe = {
        {'default:condensed_Uu', 'default:condensed_Uu', 'default:condensed_Uu'},
        {'', 'default:Uu_matter', ''},
        {'default:condensed_Uu', 'default:condensed_Uu', ''},
    }
})

minetest.register_craft({
    output = '"default:steel_ingot" 50',
    recipe = {
        {'default:condensed_Uu', 'default:condensed_Uu', 'default:condensed_Uu'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:condensed_Uu', 'default:condensed_Uu', 'default:codensed_Uu'},
    }
})



i tested this and it worked.

i have some textures here:http://www.mediafire.com/?bghaq8lf2aa4lwc

User avatar
Archerexes
Member
Posts: 64
Joined: Wed May 02, 2012 19:43

by Archerexes » Post

snakevenom wrote:i was bored last night so i decided to implement Uu matter to the game, if you dont know what it does it basically is based on the idea that everything in life has a value and can be exchanged for different items, some items may be better than others so it takes more items to get those.

sorry for my rubbish explanation

Code: Select all

minetest.register_craftitem("default:Uu_matter", {
    description = "Uu matter",
    inventory_image = "Uu.png",
})
minetest.register_node("default:condensed_Uu", {
    tile_images = {"condensedUu.png"},
    groups={choppy},
})

minetest.register_craft({
    output = '"default:Uu_matter" 1',
    recipe = {
        {'default:dirt', 'default:dirt', 'default:dirt'},
        {'default:wood', 'default:wood', 'default:wood'},
        {'default:tree', 'default:tree', 'default:tree'},
    }
})

minetest.register_craft({
    output = '"default:condensed_Uu" 1',
    recipe = {
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
    }
})



minetest.register_craft({
    output = '"default:dirt" 50',
    recipe = {
        {'', 'default:Uu_matter', ''},
        {'', 'default:Uu_matter', ''},
        {'', 'default:Uu_matter', ''},
    }
})

minetest.register_craft({
    output = '"default:tree" 50',
    recipe = {
        {'', 'default:Uu_matter', ''},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'', 'default:Uu_matter', ''},
    }
})

minetest.register_craft({
    output = '"default:stone" 50',
    recipe = {
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'', 'default:Uu_matter', ''},
    }
})

minetest.register_craft({
    output = '"default:stone" 50',
    recipe = {
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'', 'default:Uu_matter', ''},
        {'', '', ''},
    }
})

minetest.register_craft({
    type = "cooking",
    output = "default:condensed_Uu",
    recipe = "default:Uu_matter",
})

minetest.register_craft({
    output = '"default:mese_crystal" 10',
    recipe = {
        {'default:condensed_Uu', 'default:condensed_Uu', 'default:condensed_Uu'},
        {'', 'default:Uu_matter', ''},
        {'default:condensed_Uu', 'default:condensed_Uu', ''},
    }
})

minetest.register_craft({
    output = '"default:steel_ingot" 50',
    recipe = {
        {'default:condensed_Uu', 'default:condensed_Uu', 'default:condensed_Uu'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:condensed_Uu', 'default:condensed_Uu', 'default:codensed_Uu'},
    }
})



i tested this and it worked.

i have some textures here:http://www.mediafire.com/?bghaq8lf2aa4lwc

Nice ! +1
( • ^_^ • )

ING = Archerexes

User avatar
snakevenom
Member
Posts: 119
Joined: Sat Sep 22, 2012 12:56
Location: worthing

by snakevenom » Post

Archerexes wrote:
snakevenom wrote:i was bored last night so i decided to implement Uu matter to the game, if you dont know what it does it basically is based on the idea that everything in life has a value and can be exchanged for different items, some items may be better than others so it takes more items to get those.

sorry for my rubbish explanation

Code: Select all

minetest.register_craftitem("default:Uu_matter", {
    description = "Uu matter",
    inventory_image = "Uu.png",
})
minetest.register_node("default:condensed_Uu", {
    tile_images = {"condensedUu.png"},
    groups={choppy},
})

minetest.register_craft({
    output = '"default:Uu_matter" 1',
    recipe = {
        {'default:dirt', 'default:dirt', 'default:dirt'},
        {'default:wood', 'default:wood', 'default:wood'},
        {'default:tree', 'default:tree', 'default:tree'},
    }
})

minetest.register_craft({
    output = '"default:condensed_Uu" 1',
    recipe = {
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
    }
})



minetest.register_craft({
    output = '"default:dirt" 50',
    recipe = {
        {'', 'default:Uu_matter', ''},
        {'', 'default:Uu_matter', ''},
        {'', 'default:Uu_matter', ''},
    }
})

minetest.register_craft({
    output = '"default:tree" 50',
    recipe = {
        {'', 'default:Uu_matter', ''},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'', 'default:Uu_matter', ''},
    }
})

minetest.register_craft({
    output = '"default:stone" 50',
    recipe = {
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'', 'default:Uu_matter', ''},
    }
})

minetest.register_craft({
    output = '"default:stone" 50',
    recipe = {
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'', 'default:Uu_matter', ''},
        {'', '', ''},
    }
})

minetest.register_craft({
    type = "cooking",
    output = "default:condensed_Uu",
    recipe = "default:Uu_matter",
})

minetest.register_craft({
    output = '"default:mese_crystal" 10',
    recipe = {
        {'default:condensed_Uu', 'default:condensed_Uu', 'default:condensed_Uu'},
        {'', 'default:Uu_matter', ''},
        {'default:condensed_Uu', 'default:condensed_Uu', ''},
    }
})

minetest.register_craft({
    output = '"default:steel_ingot" 50',
    recipe = {
        {'default:condensed_Uu', 'default:condensed_Uu', 'default:condensed_Uu'},
        {'default:Uu_matter', 'default:Uu_matter', 'default:Uu_matter'},
        {'default:condensed_Uu', 'default:condensed_Uu', 'default:codensed_Uu'},
    }
})



i tested this and it worked.

i have some textures here:http://www.mediafire.com/?bghaq8lf2aa4lwc

Nice ! +1
thanks :)

i was kinda hoping that someone would be able to implement a condenser into the game, if you dont know what it is just google it and you willl find out.
is it possible?

Nore
Developer
Posts: 501
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Post

Why did you remove the new generate_ore code? If it was because of the crashes, I have sent a pull to get it fixed: https://github.com/minetest/common/pull/9

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

default.generate_ore() has since been fixed, but it is now deprecated in favor of a new method that is C++ based:

https://github.com/minetest/minetest/bl ... .txt#L1692
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Traxie21
Member
Posts: 753
Joined: Mon Dec 31, 2012 10:48
Location: McKinney, Texas U.S.A.
Contact:

by Traxie21 » Post

Is there still a way to generate ores from lua?

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

Sure, just call minetest.register_ore() with a good set of parameters. Let the engine do the hard work. Here's an excerpt from the new default code:

Code: Select all

  minetest.register_ore({
    ore_type = "scatter",
    ore = "default:stone_with_coal",
    wherein = "default:stone",
    clust_scarcity = 8*8*8,
    clust_num_ores = 8,
    clust_size = 3,
    height_min = -31000,
    height_max = 64,
})
Or you can still do it the hard way by copy&pasting default.generate_ore() and modifying to your needs.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Traxie21
Member
Posts: 753
Joined: Mon Dec 31, 2012 10:48
Location: McKinney, Texas U.S.A.
Contact:

by Traxie21 » Post

Sorry, I didnt click the link before posting.
Thanks though.

oxenfreedan
Member
Posts: 218
Joined: Tue Jan 22, 2013 01:39
Location: mars

by oxenfreedan » Post

Yes redownloading it worked and the bug is fixed thx a ton guys!!!!!!!!!!!
My Awesome Map please try:
http://forum.minetest.net/viewtopic.php?id=5028
I've played minetest since 0.3.1 came out!
Mostly when on forums I'm using a uniden tablet!

oxenfreedan
Member
Posts: 218
Joined: Tue Jan 22, 2013 01:39
Location: mars

by oxenfreedan » Post

hey realbadangel really good job on the stargates!!!!!!! In the future do you think they might be able to turn and light up the triangles like in the show?!?
My Awesome Map please try:
http://forum.minetest.net/viewtopic.php?id=5028
I've played minetest since 0.3.1 came out!
Mostly when on forums I'm using a uniden tablet!

Captain_AuXiL
Member
Posts: 26
Joined: Fri Feb 01, 2013 09:44

by Captain_AuXiL » Post

There's a problem with technic-master/technic/init.lua or something like that. How to fix?

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

Captain_AuXiL wrote:There's a problem with technic-master/technic/init.lua or something like that. How to fix?
What version of MT are you using?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

Captain_AuXiL
Member
Posts: 26
Joined: Fri Feb 01, 2013 09:44

by Captain_AuXiL » Post

0.4.5 stable

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

And what is the exact text of the error message from your terminal or debug.txt?
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

Captain_AuXiL
Member
Posts: 26
Joined: Fri Feb 01, 2013 09:44

by Captain_AuXiL » Post

I'll post or send a pic of the debug

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

Screenshot received by email. Your copy of Minetest is too old to run Technic - the register_ore() call it uses was just added to the engine a few days ago, so you will need to download the latest git and compile it, or use one of the very latest builds from PilzAdam's thread at http://forum.minetest.net/viewtopic.php?id=4547.

This one should work for you:

http://ompldr.org/vaHdrZA/minetest-0.4. ... -win32.zip
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

Captain_AuXiL
Member
Posts: 26
Joined: Fri Feb 01, 2013 09:44

by Captain_AuXiL » Post

Thanks!

User avatar
RealBadAngel
Member
Posts: 557
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Post

Technic is being redesigned now (this is mostly because of latest core/default mods changes)
Before 0.4.6 is out mod will stay in rolling release style to keep the changes in track, thus always newest git of game will be required to work.
After reaching 0.4.6 release point technic tree will be split into stable and indev.
So everything new will go into indev and when new stable is out it will cause new release of stable technic.
Sorry for possible problems during the change, but it has to be done. After it using the mod for newcomers will become easier,
and experienced players, lookin for new content and willing to test it, will be able to use indev.

In next 2-3 weeks i will try to add planned and missing content like all tiers of technic machines, nuclear reactors and such.

Also as some of you have noticed technic modpack now contain stargates, teleporter gates known from SF series "Stargate SG-1".
Plan for the future is to enhance technic with alien technology known from this series like:
Zats - Jaffa/G'oauld hand weapon
Puddle Jumper - shuttle able to travel in-world and through gates
Naquadah ore and generators
Races for players: Tauri, G''oauld, Jaffa, Wrights and more, each giving other abilities and different skins
and lotsa more...

So stay tuned and expect shitload of changes soon :)
Last edited by RealBadAngel on Sat Mar 30, 2013 10:06, edited 1 time in total.

Matsetes
Member
Posts: 70
Joined: Tue Sep 11, 2012 23:36

by Matsetes » Post

Always tuned!!! And waiting for new machines with MV and HV!!!

Thelastjosh
New member
Posts: 2
Joined: Tue Mar 26, 2013 19:06

by Thelastjosh » Post

Plz read

1.I dont have more blocks
2. pipeworks makes minetest crash
3. pipeworks is missing something
Last edited by Thelastjosh on Sat Mar 30, 2013 18:40, edited 1 time in total.

madarexxx
Member
Posts: 144
Joined: Sat Aug 04, 2012 06:49

by madarexxx » Post

Hi RBA, i'm back!
Totally fresh MT from git. All deps from first post. WTF?

Code: Select all

22:22:42: ERROR[main]: ========== ERROR FROM LUA ===========
22:22:42: ERROR[main]: Failed to load and run script from 
22:22:42: ERROR[main]: /home/dima/.minetest/games/current/mods/technic/technic_worldgen/init.lua:
22:22:42: ERROR[main]: ...ames/current/mods/technic/technic_worldgen/nodes.lua:6: attempt to index global 'default' (a nil value)
22:22:42: ERROR[main]: stack traceback:
22:22:42: ERROR[main]:     ...ames/current/mods/technic/technic_worldgen/nodes.lua:6: in main chunk
22:22:42: ERROR[main]:     [C]: in function 'dofile'
22:22:42: ERROR[main]:     ...games/current/mods/technic/technic_worldgen/init.lua:5: in main chunk
22:22:42: ERROR[main]: =======END OF ERROR FROM LUA ========
22:22:42: ERROR[main]: Server: Failed to load and run /home/dima/.minetest/games/current/mods/technic/technic_worldgen/init.lua
22:22:42: ERROR[main]: ModError: Failed to load and run /home/dima/.minetest/games/current/mods/technic/technic_worldgen/init.lua
Sorry for my bad English, please help me learn it - correct my worst mistakes :)

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

madarexxx wrote:Hi RBA, i'm back!
Totally fresh MT from git. All deps from first post. WTF?

Code: Select all

22:22:42: ERROR[main]: ========== ERROR FROM LUA ===========
22:22:42: ERROR[main]: Failed to load and run script from 
22:22:42: ERROR[main]: /home/dima/.minetest/games/current/mods/technic/technic_worldgen/init.lua:
22:22:42: ERROR[main]: ...ames/current/mods/technic/technic_worldgen/nodes.lua:6: attempt to index global 'default' (a nil value)
22:22:42: ERROR[main]: stack traceback:
22:22:42: ERROR[main]:     ...ames/current/mods/technic/technic_worldgen/nodes.lua:6: in main chunk
22:22:42: ERROR[main]:     [C]: in function 'dofile'
22:22:42: ERROR[main]:     ...games/current/mods/technic/technic_worldgen/init.lua:5: in main chunk
22:22:42: ERROR[main]: =======END OF ERROR FROM LUA ========
22:22:42: ERROR[main]: Server: Failed to load and run /home/dima/.minetest/games/current/mods/technic/technic_worldgen/init.lua
22:22:42: ERROR[main]: ModError: Failed to load and run /home/dima/.minetest/games/current/mods/technic/technic_worldgen/init.lua
Do you have minetest common?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

madarexxx
Member
Posts: 144
Joined: Sat Aug 04, 2012 06:49

by madarexxx » Post

YEP!
Sorry for my bad English, please help me learn it - correct my worst mistakes :)

Post Reply

Who is online

Users browsing this forum: No registered users and 41 guests