Minetest logo

IRC log for #minetest, 2019-10-29

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:03 Lone_Wolf joined #minetest
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:25 s0da left #minetest
00:29 sagax uff, i gen map with fractal
00:38 Fuchs joined #minetest
00:51 ANAND joined #minetest
00:59 proller joined #minetest
01:26 ssieb joined #minetest
01:42 Pie-jacker875 joined #minetest
02:05 grzesiek11 joined #minetest
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?
04:38 ensonic joined #minetest
05:14 mage joined #minetest
05:50 ensonic joined #minetest
06:12 Flabb joined #minetest
07:04 Flabb joined #minetest
07:12 TomTom joined #minetest
07:40 CWz joined #minetest
07:51 supahati joined #minetest
08:39 ShadowNinja joined #minetest
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:12 Ruslan1 joined #minetest
09:19 fluxflux joined #minetest
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
10:44 proller joined #minetest
11:23 Fixer joined #minetest
11:24 proller joined #minetest
11:33 riff-IRC joined #minetest
11:44 calcul0n joined #minetest
12:51 kurtzmusch joined #minetest
12:54 tomraceror joined #minetest
13:29 kurtzmusch joined #minetest
13:51 tomraceror joined #minetest
13:53 illwieckz joined #minetest
14:22 swift110 joined #minetest
14:34 Taoki joined #minetest
14:35 craigger joined #minetest
14:43 Ruslan1 joined #minetest
14:51 Ruslan1 VanessaE
14:51 Emperor_Genshin joined #minetest
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:15 ensonic joined #minetest
15:18 Emperor_Genshin joined #minetest
15:32 Emperor_Genshin joined #minetest
15:34 Emperor_Genshin1 joined #minetest
15:39 Emperor_Genshin joined #minetest
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
15:53 Lone_Wolf joined #minetest
16:36 minduser00 joined #minetest
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 tomraceror joined #minetest
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:55 nepugia joined #minetest
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:28 minduser00 joined #minetest
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:36 sec^nd joined #minetest
17:43 tomraceror nah i meant sth other
17:43 tomraceror Es ist zu hoch für mich^^
17:47 twoelk joined #minetest
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 Fixer_ joined #minetest
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:03 Krock joined #minetest
18:14 Genshin joined #minetest
18:18 ensonic joined #minetest
18:25 MinetestBot [git] random-geek -> minetest/minetest: Change some usages of "deprecated" to "obsolete" (#9062) f2e6229 https://git.io/JeudM (2019-10-29T18:23:12Z)
18:30 FreeFull joined #minetest
18:36 Volgaar joined #minetest
18:39 ssieb joined #minetest
18:47 Pie-jacker875 joined #minetest
19:33 Pie-jacker875 joined #minetest
19:39 Pie-jacker875 joined #minetest
19:46 Pie-jacker875 joined #minetest
19:51 Taoki joined #minetest
20:16 swift110 joined #minetest
20:36 proller joined #minetest
20:40 ensonic joined #minetest
20:57 kurtzmusch joined #minetest
22:29 hisforever joined #minetest
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:
23:29 ssieb joined #minetest
23:36 cdde joined #minetest
23:47 grzesiek11 joined #minetest
23:49 minduser00 joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext