Search found 1833 matches

Return to advanced search

Note that the nodedefs use metatable, so to get the real content, you may need to use rawget(t, i).
by Hybrid Dog
Sun Sep 25, 2016 09:56
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 627989

You may want to do 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
minetest.after(0, function()
   local t = minetest.registered_on_generateds
   for i = 1, #t do
      local func = t[i]
      t[i] = function(...)
         print(minetest.get_current_modname())
         return func(...)
      end
   end
end)
by Hybrid Dog
Fri Sep 23, 2016 18:02
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 627989

If somewhere it is marked as weak it (e.g. if the buffer table is stored in a weak table) can be collected, can't it?
And how much memory does buffer use?
by Hybrid Dog
Mon Sep 19, 2016 16:24
 
Forum: Modding Discussion
Topic: [Help] Mapgen causes OOM crashes [mod] [snow]
Replies: 9
Views: 1099

l made a mod to collect the values and show their distribution in a picture: https://github.com/HybridDog/pnoiseana
Image
by Hybrid Dog
Sun Sep 18, 2016 13:07
 
Forum: Modding Discussion
Topic: Perlin noise average values
Replies: 3
Views: 570

by Hybrid Dog
Sun Sep 18, 2016 11:33
 
Forum: Old Mods
Topic: [Mod] Diamonds [v6] [diamonds]
Replies: 69
Views: 44937

Perlin noise average values

l use perlin noise to detect whether the position at x and z belong to the sumpf biome. https://github.com/HybridDog/sumpf/blob/master/sumpf/mapgen.lua#L127 To allow custom biome sizes and rarity, l need to find out how to predict the noise values occurrences. Simply using sinus doesn't work right. ...
by Hybrid Dog
Sat Sep 17, 2016 21:12
 
Forum: Modding Discussion
Topic: Perlin noise average values
Replies: 3
Views: 570

If l use a buffer localized outside the on_generated and a bit map becomes generated but then no more mapgen happens because the players don't load new mapchunks, does the garbage collector remove the buffer because it's unused or does it keep it until shutdown?
by Hybrid Dog
Sat Sep 17, 2016 19:57
 
Forum: Modding Discussion
Topic: [Help] Mapgen causes OOM crashes [mod] [snow]
Replies: 9
Views: 1099

There are 2 noise optimisations that can be done: 1. Don't recreate noise objects in every mapchunk. Done, thanks. 2. Use the new noise buffers in 'get perlin map'. What is the difference between putting the noise values into an existing table and storing them in a new table? https://github.com/min...
by Hybrid Dog
Sat Sep 17, 2016 10:08
 
Forum: Modding Discussion
Topic: [Help] Mapgen causes OOM crashes [mod] [snow]
Replies: 9
Views: 1099

They're causing sparking, the flickering depends on the camera position if bumpmapping is enabled. l thought about it as a shader christmas egg, it should only be active at night.
by Hybrid Dog
Thu Sep 15, 2016 19:10
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

[Help] Mapgen causes OOM crashes [mod] [snow]

The snow mod's mapgen somehow takes too much memory resulting in crashes. l didn't experience one yet, but someone reported crashes: https://github.com/Splizard/minetest-mod-snow/issues/22 l couldn't figure out the reason for the memory overfilling yet, please help me. Here's the mapgen code: https:...
by Hybrid Dog
Thu Sep 15, 2016 13:13
 
Forum: Modding Discussion
Topic: [Help] Mapgen causes OOM crashes [mod] [snow]
Replies: 9
Views: 1099

http://imgh.us/screenshot_20160913_173204.png http://imgh.us/screenshot_20160913_174221.png http://imgh.us/screenshot_20160913_174943.png http://imgh.us/screenshot_20160914_120950.png http://imgh.us/screenshot_20160914_121102.png http://imgh.us/screenshot_20160914_121421.png http://imgh.us/screensh...
by Hybrid Dog
Thu Sep 15, 2016 07:16
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

Using nodeupdate the snow could fall down to the ground l guess.
by Hybrid Dog
Thu Sep 15, 2016 07:06
 
Forum: Mod Releases
Topic: [Mod] TreeCapitator [treecapitator]
Replies: 59
Views: 23812

l tested $ enfuse.
So l took screenshots of this place at night and day time (caused cloud offset), then l used enfuse to get one image from them,
after that l modified the result with gimp (retinex, etc.).
by Hybrid Dog
Mon Sep 12, 2016 07:59
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

Image
by Hybrid Dog
Sun Sep 11, 2016 19:32
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

azekill_DIABLO, l assume

If you didn't remove the flinders yet (for security reasons), you can crash them until they are fine glass powder.
by Hybrid Dog
Sun Sep 11, 2016 15:31
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

idk, maybe you need to add a flag to src/CMakeLists.txt
by Hybrid Dog
Sun Sep 11, 2016 09:06
 
Forum: Minetest Engine
Topic: noob c++ coder needs help
Replies: 3
Views: 2720

Could anyone provide a fitting screenshot for this mod?
by Hybrid Dog
Sat Sep 10, 2016 12:42
 
Forum: WIP Mods
Topic: [Mod] Nyancat's heaven (reworked) [nyanland]
Replies: 16
Views: 4760

paramat, you can use a weierstraß fractal function to avoid the lines (l haven't tested it), but then the terrain slightly gets the typical mock-repeating look. anyway, pure ws noise mapgen works great for the eastern side of the fractured game: https://forum.minetest.net/download/file.php?mode=view...
by Hybrid Dog
Wed Sep 07, 2016 18:14
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

https://forum.minetest.net/download/file.php?mode=view&id=7533&sid=78af2c3788059fbc5b5855925699872a https://forum.minetest.net/download/file.php?mode=view&id=7534&sid=78af2c3788059fbc5b5855925699872a https://forum.minetest.net/download/file.php?mode=view&id=7535&sid=78af2c37...
by Hybrid Dog
Tue Sep 06, 2016 06:50
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

Jeija's timber mod caused following: If you dig one of the nodes listed there then the nodes above them also become dug (if they have the same name). It's deprecated now because its function is added to default for papyrus and cactus. l haven't tested the other ones, deivan's mod obviously additiona...
by Hybrid Dog
Tue Aug 30, 2016 16:10
 
Forum: Mod Releases
Topic: [Mod] TreeCapitator [treecapitator]
Replies: 59
Views: 23812

duane, could you use perlin noise to make castles with yards?

↓abs(noise_value)
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
0, .5, .6, .8, .9, 1
0,  2,  0,  1,  2, 3

↑building_height
by Hybrid Dog
Mon Aug 29, 2016 13:24
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

rubenwardy wrote:This is better than no editor.

You're right.
Anyway, l need a file browser mod.
by Hybrid Dog
Mon Aug 29, 2016 13:16
 
Forum: WIP Mods
Topic: [Mod] Text / Code Editor [0.1][editor]
Replies: 12
Views: 1570

Unfortunately the current multiline formspec text field is extremely inconvenient and it does not likely change (https://github.com/minetest/minetest/pull/3474), so your efforts are for the cat.
by Hybrid Dog
Sun Aug 28, 2016 17:43
 
Forum: WIP Mods
Topic: [Mod] Text / Code Editor [0.1][editor]
Replies: 12
Views: 1570

quotes of two pms

The newest version of my superpickaxe mod allows viewing the status of the node timer. https://github.com/HybridDog/superpick Just join in singleplayer mode as admin, put the tool into the first inventory slot and then hold left, right and sneak (by default a+d+shift) and right click the seed. It s...
by Hybrid Dog
Sat Aug 27, 2016 14:30
 
Forum: Minetest Problems
Topic: [Solved]Problems of plant growth on 0.4.14
Replies: 6
Views: 1062

farming_plus disabled seed growing, l fixed it in my version: https://github.com/HybridDog/farming_pl ... f0b25f894d
by Hybrid Dog
Wed Aug 24, 2016 16:15
 
Forum: Minetest Problems
Topic: [Solved]Problems of plant growth on 0.4.14
Replies: 6
Views: 1062

Image
by Hybrid Dog
Sun Aug 21, 2016 18:59
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

col.rgb = (vec3(max(col.rgb.r, max(col.rgb.g, col.rgb.b))) * 5 + col.rgb) / 6; col.rgb = (col.rgb - vec3(0.5)) * vec3(4) + vec3(1.5); https://forum.minetest.net/download/file.php?mode=view&id=7364&sid=263bf3427b958a8cc5e3dd213362eaca https://forum.minetest.net/download/file.php?mode=view&...
by Hybrid Dog
Sun Aug 21, 2016 18:52
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

miloszs, there's a programmable robot:
https://github.com/HybridDog/simple_robots

It could get support for remote control (with digiline sender).
by Hybrid Dog
Sun Aug 21, 2016 18:34
 
Forum: Mod Releases
Topic: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesecons]
Replies: 1738
Views: 536314

Do you like this grass slope?
Image
by Hybrid Dog
Sat Aug 20, 2016 12:09
 
Forum: Minetest General
Topic: Post your screenshots!
Replies: 5323
Views: 1378297

Try this:
col.rgb = vec3(max(col.rgb.r, max(col.rgb.g, col.rgb.b)));
Image
by Hybrid Dog
Sat Aug 20, 2016 11:55
 
Forum: Minetest Engine
Topic: Black-and-white Minetest/video games
Replies: 20
Views: 9390
PreviousNext

Return to advanced search

cron