Time Nick Message 00:18 sagax uff, 00:18 sagax minetest very awesome 00:19 swift110 hey guys 00:19 sagax but how to gen awesome map? example - i generate 10 random maps and can't found cotton. map just not have cotton, and papyrus 00:23 calcul0n well, they do, they can just be hard to find sometimes 00:23 calcul0n you fond cotton in jungle biomes by digging junglegrass 00:23 calcul0n *find 00:29 sagax uff, i gen map with fractal 02:07 grzesiek11 is 5.0 client compatible with 5.1 server? minetest version are driving me crazy. i have 5.0 in android, 0.4.17 in repo and 5.1 in 5-stable branch... 02:28 calcul0n i think all 5.x should be compatible, but they are not with 0.4 02:29 calcul0n note that 5.0 is the one coming after 0.4, don't ask me why :) 02:47 epoch pretty sure major versions may break network compatibility, but minor versions won't. 02:47 epoch so hopefully anything that is 5.something should work with any other 5.something. 02:48 epoch not sure what might break between minor versions... mods? 02:57 epoch https://wiki.minetest.net/Version_number 03:14 swift110 rubenwardy, great book 03:18 Edgy1 forum down eh? 08:40 grzesiek11 calcul0n, epoch: thanks for help 08:41 grzesiek11 so it's something wrong with my setup 08:42 grzesiek11 i have 5.1 server on debian machine and trying to connect with 5.0 from android, it times out. 08:42 grzesiek11 other things i host on the machine are working fine 09:11 epoch is the debian behind a NAT? 09:12 epoch thinking the "other things" might be TCP things, and minetest being UDP could mean that all the TCP ports were forwarded, but not the UDP ports. 09:27 grzesiek11 it's in my lan, so nope 09:35 supahati firewall on debian? 09:35 Quiark could also be the return UDP packet can't find the wai 09:43 grzesiek11 oof, i forgot about firewall... i'm stupid :c 14:51 Ruslan1 VanessaE 14:53 Genshin Howdy o/ 14:54 Ruslan1 Hi Genshin 14:55 tomraceror Heya 14:57 Ruslan1 Hi tomraceror 14:57 tomraceror hello 15:01 Genshin I've been running on a interesting bug lately, it appears certain hostile npcs are healing players everyone they punch them... X) 15:01 Genshin *every time* 15:02 Genshin been messing around with function register_player_on_hpchange() 15:05 Genshin I'm aware that entities can use function punch() to hit a player or entity within it's attack radius, but for some strange reason argument hp_change is returning a positive value instead of a negative value to decrease hp... 15:05 ANAND O_O 15:51 Genshin ANAND, that is exactly my expression when witnessing such weirdness 15:52 Genshin I can show you the code if you'd like to see it 16:50 scr267 Just wondering which table the privileges are stored in? 16:51 sfan5 "the" privileges? 16:51 sfan5 as in which ones exist? or who has which privileges? 16:51 scr267 Yes like 'creative','fly', etc.. 16:51 scr267 oh 16:51 scr267 who has which privileges yes :) 16:51 scr267 I want to try to bulk-update privileges on all players in my database; 16:52 scr267 (OOps, added a semicolon at the end of my sentence) 16:53 sfan5 https://github.com/minetest/minetest/blob/master/builtin/game/auth.lua 16:53 sfan5 the data structures are not public however 16:54 sfan5 oh well they are no longer there 16:54 sfan5 they're in C++ now 16:54 sfan5 either way: you need to use the provided API or edit auth.txt/auth.sqlite manually 16:55 scr267 Ah its in the auth file... oki doke. 16:55 scr267 Thanks very much! :) 16:56 scr267 sfan5, Nice I found the data in the auth.sqlite file - indeed. :) 16:58 scr267 sfan5, Do you think it would be crazy to backup the file and try to insert a new priv for all players manually? 16:58 scr267 I wouldn't do a single statement per player though. 16:58 sfan5 no that's fine 16:58 sfan5 in fact you don't need a backup if you know what you're doing 17:00 scr267 Oki doke. well, ill make a backup anyway :) 17:00 scr267 I assume there is no other way to bulk update privs? 17:00 scr267 as in: /grant * somepriv 17:02 sfan5 not that I know 17:03 scr267 Ok thanks again! 17:27 scr267 Huh, weird I could have sworn this would have been valid but I get a unique constraing failed error: INSERT INTO user_privileges ( id, privilege ) SELECT DISTINCT(a.id),"pvp" FROM auth a LEFT JOIN user_privileges u ON a.id = u.id WHERE u.privilege NOT LIKE '%pvp%' ORDER BY a.id; 17:27 scr267 Oh well, back to the drawing board. 17:29 tomraceror It's too high for me. 17:32 scr267 Too high? 17:32 scr267 It's only 2 lines 17:32 scr267 And that depends on the width of your monitor ;) 17:43 tomraceror nah i meant sth other 17:43 tomraceror Es ist zu hoch für mich^^ 17:50 sfan5 scr267: have you tried simplifying it into INSERT INTO user_privileges(id, privilege) SELECT id, 'pvp' FROM auth a WHERE NOT EXISTS (SELECT 1 FROM user_privileges u WHERE u.id = a.id AND privilege LIKE '%pvp%') 17:51 scr267 sfan5, nope, but I can give that a try... that looks quite good too. 17:52 scr267 Looks good!!! :) 17:52 scr267 It worked perfectly... Very kind of you to fix that for me. 17:53 scr267 Thanks! 17:55 scr267 You should add that query to the Wiki ;) 17:56 scr267 Awesome for doing bulk updates... although, I guess someone could shoot themselves in the foot with it :-/ 18:25 MinetestBot 02[git] 04random-geek -> 03minetest/minetest: Change some usages of "deprecated" to "obsolete" (#9062) 13f2e6229 https://git.io/JeudM (152019-10-29T18:23:12Z) 22:31 hisforever Hi I had to reinstall my linux Mint today, I can't find the Minetest 5.1.0? 22:32 hisforever only the MT 4.16 is showing up in package manger 22:36 Lone_Wolf I think you have to add a special PPA or something 22:40 hisforever thanks lone_wolf 22:40 Lone_Wolf :thinking: