[Mod] More Commands! [1.0.11] [morecommands]
- bigfoot
- Member
- Posts: 203
- Joined: Fri Sep 02, 2016 23:31
- GitHub: bigfoot547
- IRC: bigfoot547 or bigfoot
- In-game: bigfoot547 or bigfoot
- Location: Somewhere between polar bears and penguins.
Re: [Mod] More Commands! [1.0.10] [morecommands]
Does anybody have any suggestions?
*bump*
*bump*
- bigfoot
- Member
- Posts: 203
- Joined: Fri Sep 02, 2016 23:31
- GitHub: bigfoot547
- IRC: bigfoot547 or bigfoot
- In-game: bigfoot547 or bigfoot
- Location: Somewhere between polar bears and penguins.
Re: [Mod] More Commands! [1.0.11] [morecommands]
Updated to version 1.0.11.
Re: [Mod] More Commands! [1.0.10] [morecommands]
When I want a worldmap, almost everytime I find some unexplored gaps,bigfoot547 wrote:Does anybody have any suggestions?
or an 'uneven' border. So, I have to fly/teleport there, then make a new map.
How about some commands, like
* mapgap 0,0 - find nearest unexplored mapchunk (spiraling outward from given coordinate)
* gapfill - call mapgenerator to fill in that chunk
* mapfill 500,500 - call mapgenerator to fill in the whole map to the specified size
This probably only needs to work for a layer of +/-128 to get a nice surface-map.
Also, some commands to find map-features:
* mapfind 0,0, flat50x50 - starting at center, spiral outward to find 'flat' spots
of at least size 50x50, eg. to place a village
Possible features of interest:
* flat - terrain with max. difference in height less then 5
* cliff - terrain with height-difference > 10 on a horizontal distance of 3
* mountain - terrain-height > 60
* mountainXL - terrain-height > 100
* hill - terrain higher than 20, but lower then 60
* float - floating island
* floatland - floating island at y>1280
* water, desert, sandstone, snow, ice ... - looking for types of stones, or biomes
* waterfall
* river - with river-water
* valley
* beach - water bordered by sand
* lake - enclosed water / max. depth 10
* ocean - depth > 10
* cave - space underground
* hole - opening at the surface to a cave
* dungeon - space with mossy cobble underground
* lava
* pinetree, jungletree, acadiatree, papyrus, etc. - to find biomes by plant-type
* flowers - where is the nearest red flower?
* chest, door, torch, bed - find players place
Perhaps with an extra option to call the mapgenerator
to make more terrain until such a spot is found (or some limit is reached).
Also:
* orecount 0,0,0 coal - count number of nodes with coal-ore around position,
to get an idea how suitable a spot is for starting players
* orestat - same, but look at all types of ore
Maybe name it 'nodestat', to also look at trees, clay, etc.
'My' wiki-pages: Build-a-home - basic-robot - basic_robot_csm - basic-machines - digtron - xdecor -
Map-Database
Map-Database
- Mehdi35
- New member
- Posts: 9
- Joined: Mon Jan 30, 2017 16:04
- GitHub: Stussy
- IRC: ElMehdiBen
- In-game: ElMehdiBen
- Location: Mars
Re: [Mod] More Commands! [1.0.11] [morecommands]
Great!!!!
Like You Want My Signature :3
My Uploaded SKins:http://minetest.fensta.bplaced.net/#author=ElMehdiBen
My Uploaded SKins:http://minetest.fensta.bplaced.net/#author=ElMehdiBen
- bigfoot
- Member
- Posts: 203
- Joined: Fri Sep 02, 2016 23:31
- GitHub: bigfoot547
- IRC: bigfoot547 or bigfoot
- In-game: bigfoot547 or bigfoot
- Location: Somewhere between polar bears and penguins.
Re: [Mod] More Commands! [1.0.10] [morecommands]
I think this would be a great idea, but I have a very limited knowledge when it comes to map generation and things of the sort.hajo wrote:When I want a worldmap, almost everytime I find some unexplored gaps,bigfoot547 wrote:Does anybody have any suggestions?
or an 'uneven' border. So, I have to fly/teleport there, then make a new map.
How about some commands, like
* mapgap 0,0 - find nearest unexplored mapchunk (spiraling outward from given coordinate)
* gapfill - call mapgenerator to fill in that chunk
* mapfill 500,500 - call mapgenerator to fill in the whole map to the specified size
This probably only needs to work for a layer of +/-128 to get a nice surface-map.
Also, some commands to find map-features:
* mapfind 0,0, flat50x50 - starting at center, spiral outward to find 'flat' spots
of at least size 50x50, eg. to place a village
Possible features of interest:
* flat - terrain with max. difference in height less then 5
* cliff - terrain with height-difference > 10 on a horizontal distance of 3
* mountain - terrain-height > 60
* mountainXL - terrain-height > 100
* hill - terrain higher than 20, but lower then 60
* float - floating island
* floatland - floating island at y>1280
* water, desert, sandstone, snow, ice ... - looking for types of stones, or biomes
* waterfall
* river - with river-water
* valley
* beach - water bordered by sand
* lake - enclosed water / max. depth 10
* ocean - depth > 10
* cave - space underground
* hole - opening at the surface to a cave
* dungeon - space with mossy cobble underground
* lava
* pinetree, jungletree, acadiatree, papyrus, etc. - to find biomes by plant-type
* flowers - where is the nearest red flower?
* chest, door, torch, bed - find players place
Perhaps with an extra option to call the mapgenerator
to make more terrain until such a spot is found (or some limit is reached).
Also:
* orecount 0,0,0 coal - count number of nodes with coal-ore around position,
to get an idea how suitable a spot is for starting players
* orestat - same, but look at all types of ore
Maybe name it 'nodestat', to also look at trees, clay, etc.
Thank you! I am glad you like it.Mehdi35 wrote: Great!!!!
- Mehdi35
- New member
- Posts: 9
- Joined: Mon Jan 30, 2017 16:04
- GitHub: Stussy
- IRC: ElMehdiBen
- In-game: ElMehdiBen
- Location: Mars
Re: [Mod] More Commands! [1.0.11] [morecommands]
No Problem ! =)
Like You Want My Signature :3
My Uploaded SKins:http://minetest.fensta.bplaced.net/#author=ElMehdiBen
My Uploaded SKins:http://minetest.fensta.bplaced.net/#author=ElMehdiBen
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] More Commands! [1.0.11] [morecommands]
You don't actually need to know about map generation. You just need to use minetest.emerge_area()
(see API)
(see API)
Re: [Mod] More Commands! [1.0.10] [morecommands]
If you need an idea about that spiral, have a look at rosettacode.org.hajo wrote:* mapgap 0,0 - find nearest unexplored mapchunk (spiraling outward from given coordinate)
'My' wiki-pages: Build-a-home - basic-robot - basic_robot_csm - basic-machines - digtron - xdecor -
Map-Database
Map-Database
Re: [Mod] More Commands! [1.0.11] [morecommands]
I am currently reading this. It seems like a very good mod. I will try to use this mod on my server, when server works again. Some Commands of your mod are already there because of other mods, but that wont be a problem :)
Last edited by Web_44 on Sun Mar 19, 2017 08:22, edited 1 time in total.
Admin on:
my-web.xyz Public Czech Server (by joint007)
Owner of:
Survivors Build (offline)
German Survival (WIP)
If you are German you can write me in german because im german too
my-web.xyz Public Czech Server (by joint007)
Owner of:
Survivors Build (offline)
German Survival (WIP)
If you are German you can write me in german because im german too
Re: [Mod] More Commands! [1.0.10] [morecommands]
Ok. I installed the Mod, renamed it to "morecommands" and put it into Mods folder. But i got this Error:
Code: Select all
Failed to load and run script from C:\Users\Computer\Downloads\minetest-0.4.15-win64\minetest-0.4.15-win64\bin\..\mods\morecommands\init.lua:
...\minetest-0.4.15-win64\bin\..\mods\morecommands\init.lua:1134: attempt to call field 'override_chatcommand' (a nil value)
stack traceback:
...\minetest-0.4.15-win64\bin\..\mods\morecommands\init.lua:1134: in main chunk
Siehe debug.txt für Details.
Admin on:
my-web.xyz Public Czech Server (by joint007)
Owner of:
Survivors Build (offline)
German Survival (WIP)
If you are German you can write me in german because im german too
my-web.xyz Public Czech Server (by joint007)
Owner of:
Survivors Build (offline)
German Survival (WIP)
If you are German you can write me in german because im german too
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [Mod] More Commands! [1.0.11] [morecommands]
good job this mod is useful!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- bigfoot
- Member
- Posts: 203
- Joined: Fri Sep 02, 2016 23:31
- GitHub: bigfoot547
- IRC: bigfoot547 or bigfoot
- In-game: bigfoot547 or bigfoot
- Location: Somewhere between polar bears and penguins.
Re: [Mod] More Commands! [1.0.10] [morecommands]
You need minetest after commit efa54f9c460239c23a2014076764d6c6830589e6.Web_44 wrote:Ok. I installed the Mod, renamed it to "morecommands" and put it into Mods folder. But i got this Error:Code: Select all
Failed to load and run script from C:\Users\Computer\Downloads\minetest-0.4.15-win64\minetest-0.4.15-win64\bin\..\mods\morecommands\init.lua: ...\minetest-0.4.15-win64\bin\..\mods\morecommands\init.lua:1134: attempt to call field 'override_chatcommand' (a nil value) stack traceback: ...\minetest-0.4.15-win64\bin\..\mods\morecommands\init.lua:1134: in main chunk Siehe debug.txt für Details.
Basically, just go to master.
-
- New member
- Posts: 8
- Joined: Thu Nov 17, 2016 19:54
- GitHub: Tresonic
- In-game: Tresonic[LuLa]
- Location: Germany
Re: [Mod] More Commands! [1.0.11] [morecommands]
The mod doesn´t work for me, too:
Or is it just because I´m using 0.4.15?
Code: Select all
2017-04-29 18:23:37: ERROR[Main]: ModError: Failed to load and run script from C:\Users\x\Documents\minetest-0.4.15-win64\bin\..\mods\morecommands\init.lua:
2017-04-29 18:23:37: ERROR[Main]: ...\minetest-0.4.15-win64\bin\..\mods\morecommands\init.lua:1134: attempt to call field 'override_chatcommand' (a nil value)
2017-04-29 18:23:37: ERROR[Main]: stack traceback:
2017-04-29 18:23:37: ERROR[Main]: ...\minetest-0.4.15-win64\bin\..\mods\morecommands\init.lua:1134: in main chunk
2017-04-29 18:23:37: ERROR[Main]: Siehe debug.txt für Details.
Last edited by LuLa on Mon May 01, 2017 06:56, edited 1 time in total.
Wieso einfach, wenn's auch kompliziert geht?
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [Mod] More Commands! [1.0.11] [morecommands]
hum... never saw such functions...
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- bigfoot
- Member
- Posts: 203
- Joined: Fri Sep 02, 2016 23:31
- GitHub: bigfoot547
- IRC: bigfoot547 or bigfoot
- In-game: bigfoot547 or bigfoot
- Location: Somewhere between polar bears and penguins.
Re: [Mod] More Commands! [1.0.11] [morecommands]
LuLa, You need to update your minetest.
Who is online
Users browsing this forum: No registered users and 22 guests