Time Nick Message 14:20 twoelk @Wuzzy , tried to have a peek at devtest, minetest crashed on loading the game. Problem could be near registering crafts for the unittest mod. mt loaded the game after I moved the unittest folder out. (using win10 machine) 14:20 twoelk haven't investigated much further 14:20 Wuzzy do you have logs? 14:21 twoelk yep 14:21 Wuzzy did minetest crash completely? 14:21 twoelk yep 14:21 Wuzzy note that devtest is for 5.2.0-dev 14:21 Wuzzy but it should still (kinda) work for 5.1.0 14:21 Wuzzy there will be missing textures, but there definitely should be no crashes 14:22 Wuzzy twoelk: i like to see what got printed to console after crash 14:22 twoelk aha, was using 5.0.1 on an ancient machine ;-P 14:22 Wuzzy hmm i guess 5.0.1 is too old 14:22 twoelk mt died silently 14:22 Wuzzy yeah probably there was a function call that did not exist back then 14:23 Wuzzy I would love to hear feedback once you got it to run 14:24 twoelk registering craft definition: (shaped, output="foo 4" ...... was the last call 14:24 twoelk without the unittest folder it seems to work 14:24 twoelk lots of missing sounds it seems though 14:25 Wuzzy what you mean? 14:26 Wuzzy most nodes dont have sounds. only the "Sound Test Nodes" have 'em 14:26 twoelk oh, that's by design, ok 14:27 Wuzzy yeah most "test nodes" are made in a way to demonstrate one feature, but that feature only. 14:27 Wuzzy this is to avoid potential side effects, basically to test a node feature in its "purest" form 14:28 Wuzzy creating devtest was fun. i have uncovered a lot of bugs and weirdnesses just by testing out all the drawtypes ? 14:28 twoelk was musing wether playing a sound that says what it is might be usefull. like walking around and the sound stating -step-step- or -crumbly-crumbly or whatever 14:28 Wuzzy ? 14:29 Wuzzy well file size is a restraint 14:29 Wuzzy theres only 1 tiny sound file, like in minimal 14:30 twoelk maybe a node that cannot be rotated and states directions of the axis like sokomines compass block might be usefull 14:30 twoelk (not just numbers) 14:32 Wuzzy oh right that compass thing was used in the earlier minimal replacement as well 14:32 Wuzzy its not strictly needed for testing imo. just press F5 14:32 Wuzzy or what do you think? 14:34 twoelk actually I would rather think some more functions of F5 could become nodes :D 14:34 Wuzzy twoelk: should you happen to find an engine bug thru devtest, let me know ? 14:34 Wuzzy twoelk: but wouldnt such nodes be redundant? 14:35 twoelk might play some more in the evening, was just idling at work in a eating break 14:35 Wuzzy twoelk: btw devtest supports settings. you can disable unittests, no need to remove the mod 14:36 twoelk yeah, I always tend to rather use the file manager or notepad before using builtin menues 14:37 Wuzzy well its the same result 14:41 twoelk hm, you didn't mean the config menu? 14:50 Wuzzy All Settings vs minetest.conf 14:50 Wuzzy two different things that lead to same result 14:55 twoelk I can only see deactivating autostart of unittest and that doesn't stop mt crashing 14:59 Wuzzy oh 14:59 Wuzzy ohhhhhh i see 15:00 * twoelk installs newer version of mt 15:02 Wuzzy twoelk: i just pushed a fix 15:03 Wuzzy it turned out disabling the unittests does not actually disable all tests 15:09 twoelk ok mt.5.0.1 can run devtest when the unittest autostart is turned of and the prefix devtest runs on mt 5.2.0 with unittest autorun active. seems both cases covered 15:10 twoelk and a little unittest bug discovered and fixed along the way :) 15:49 twoelk ugh, attempting to join a server with a pristine mt version without moving the old media folder over does remind one how usefull the local cache actually is 17:14 galaxie When you supply a vector to set_node that doesn't contain all integers, does MT automagically round it, or floor it? Like, round down. 17:20 sfan5 considering float casting in C it's probably floor 17:31 rubenwardy it's round 17:31 rubenwardy because integer positions are at the center of a node, it rounds to be the node that the floating number is in 17:52 Astrobe I am a bit surprized that the bookshelves are not protected; furnaces are even though there's no "lock" on them. Maybe people are not actually using them for storage. 17:54 sfan5 rubenwardy: that only works for rounding down 18:01 rubenwardy well, it uses this: https://github.com/minetest/minetest/blob/d5456da69de6d74206a8513fc53db38c7dd4bd22/src/util/numeric.h#L283 18:01 rubenwardy the code has changed since I last edited it 18:01 sfan5 that's rounding then 18:01 sfan5 not flooring as I guessed 18:03 rubenwardy oh, I wrote that code? https://github.com/minetest/minetest/pull/6818 18:04 rubenwardy ah, I converted the above code 18:04 rubenwardy to use doubles instead 18:04 rubenwardy so I didn't actually write it 18:35 Wuzzy https://forum.minetest.net/viewtopic.php?f=50&t=24030&p=364956