Time Nick Message 10:32 MTDiscord <08a​ppguru> Andrey01: Take a look at the grappling hook force fields of https://content.minetest.net/packages/LMD/adv_weapons/ 12:45 bobbertson sfan5, I just want to say thank you for adding https://github.com/minetest/minetest/commit/2424dfe007e451bb02f87884c2b272cf307d6e7c dynamic_add_media it's super helpful for my youtube_queue mod! However, performance surely suffers with transferring media files via this method. My question is, do you think it would be possible and improve performance to instead or have an alternate lua functions that sends some kind of message to all 12:45 bobbertson the clients that then use an http fetch to get the new media at runtime rather than just on connection? 12:48 sfan5 it'd definitely be possible to have client asynchronously load media and notify the server when they're done 12:49 sfan5 though I wonder if it wouldn't make more sense to wait for CSM to be ready since then everything can happen on the client 12:54 bobbertson what is CSM exactly? 12:54 sfan5 Lua code the server sends that would run on the client 12:56 bobbertson ah ok 12:56 bobbertson my needs is i want to send ogg files to the clients in some form or another 12:56 bobbertson that are only known while people are on the server 13:17 bobbertson sfan5, will CSM allow me to have clients run the same httpfetch api thing that the server has access to? 13:17 bobbertson if so for sure i'll just wait 13:18 sfan5 that way I'm thinking the server invoke the media transfer via the usual ways (HTTP included) and the CSM code gets a notification once it's done 13:38 sfan5 also it's not clear how exactly CSM is going to work so you probably don't want to wait for it 13:41 specing sfan5: isn't there already a dynamic download call? 13:41 specing I don't think giving CSMs the ability to fetch from random websites is ok 13:42 sfan5 true, and I wasn't suggesting that 13:45 bobbertson Ya I don't think that CSM will allow me to do what i want really 13:46 bobbertson Might have to make the change myself if I want it in there 13:46 bobbertson specing, are you referring to dynamic_add_media or something else? 13:47 specing bobbertson: no idea what it's called 13:50 specing bobbertson: What is this youtube_queue mod? 13:50 specing sounds a bit illegal 14:02 bobbertson meh kinda 14:02 bobbertson im just using it for my private server 14:03 bobbertson lets users queue search terms to youtube and then youtube-dl downloads the video, extracts it to just an ogg file then pushes it out to everyone to listen to in sync 14:03 bobbertson it's not really illegal inherently 14:56 specing bobbertson: well, do you have distribution rights to the audio? 14:57 specing if not, you are violating copyright 15:10 kb1000 i dont think it being a private server matters much there 15:11 MTDiscord <05e​xe_virus> Technically it would be okay if you only streamed it 15:11 MTDiscord <05e​xe_virus> I.e. once per search 15:12 MTDiscord <05e​xe_virus> Of course that probably violates YouTube's license in some way, though it does help with the copyright issues 15:14 specing no, you still have no distribution rights 15:15 specing the only legal way would be to open a small youtube window in minetest with all the ads and annoying bits 15:16 specing what you can legally do is find music in public domain and stream that 15:16 specing also some jurisdictions don't recognise public domain, so... 15:17 specing writing the mod is the easy part 16:17 Sires Hello could someone help me creating a server with ipv6? do I just check "ipv6_server" and "enable_ipv6"? 16:18 heavygale yes 16:18 Sires hmm 16:18 heavygale not? :D 16:18 Sires I tried it and my friend couldn't connect 16:18 Sires ? 16:19 heavygale how did he try to connect 16:19 Sires he just put my ipv6 in the ip field, port in port field, his name in name field, password in password field and hit connect 16:20 heavygale should work 16:20 Sires weird 16:20 Sires it just timed out for him 16:21 Sires could you try connecting to my server just to test? 16:21 heavygale sure 16:21 heavygale maybe a firewall issue ? 16:21 Sires one sec 16:21 Sires 2804:14d:880:9568:1012:45ee:249b:cbbd 16:21 Sires port 30000 16:21 Sires not sure 16:23 heavygale times out for me too 16:23 Sires weird 16:23 heavygale do you run the server locally on your home comuter? 16:23 Sires yes 16:24 heavygale did you open the firewall in your router for 30000 and this address? 16:24 Sires uuh didn't know I had to do this 16:25 heavygale i guess so 16:25 Sires Tho I tested a simple chat room(made in python) with the same person and it worked 16:25 Sires it was in port 1234 16:25 heavygale hmm 16:25 Sires perhaps if I try changing to 1234 it might work? 16:25 heavygale :D try 16:25 Sires k one sec 16:26 heavygale or try to connect to your server with a second client locally, to check if it listens on v6 16:26 Sires it did work locally 16:26 Sires before 16:26 Sires ok I reopened in port 1234 16:26 heavygale no change for me ^^ 16:27 Sires meh 16:28 Sires hmm 16:28 Sires I'm opening it with the "host server" option 16:29 Sires perhaps if I do a dedicated server it might work? 16:29 heavygale if you can with a diffrent client locally it should beall fine 16:29 specing Ah, the long lost art of port forwarding 16:30 Sires I read I was not supposed to have to port forward when using ipv6 16:30 specing indeed 16:30 Sires and I can't port forward in ipv4 because of my ISP 16:30 specing but NATing is good for security anyway 16:30 heavygale it'sno forwarding as there's no nat in v6, but opening a firewall is mostly still requiered 16:30 specing another layer of filtering out bad stuff 16:33 heavygale sure and always use a vpn, rigt? Oo 16:34 Sires ok so I'm at "NAT -- Virtual Servers Setup" in my router 16:35 Sires port 30000 open 16:35 Sires is that where I should do it? 16:36 Sires also I opened the server by the terminal if anyone wanna test 16:37 specing heavygale: a normal VPN only helps if you ISP is malicious 16:37 specing heavygale: really helpful are multihop VPNs (a la tor) 16:37 heavygale what for? there's https :) 16:38 specing heavygale: hiding metadata 16:38 Sires https://imgur.com/TAlkfFG 16:38 heavygale looks like v4 only 16:38 Sires am I doing this right? 16:39 heavygale (as there' s no nat for v6 ^^) 16:39 Sires mm 16:39 specing there is nat for v6 16:39 Sires heavygale told me to open port in firewall or smth so what am I supposed to do? 16:40 heavygale in home routers? 16:40 big_caballito[m] you need to allow incoming traffic on port 30000 or whatever 16:41 Sires what I showed in my screenshot isn't doing that? 16:41 heavygale your screenshot only states v4 addresses 16:41 Sires ooh I think I found smth 16:41 Sires one sec 16:42 Sires here: https://imgur.com/o3LXuCs 16:42 Sires does that look what I need to use? 16:44 Sires welp gonna try it anyways 16:44 heavygale what router is that 16:46 Sires model? 16:46 heavygale or compand? ^^ 16:46 sfan5 by the way MinetestBot can test reachability for you 16:46 sfan5 !up 2804:14d:880:9568:1012:45ee:249b:cbbd 16:46 MinetestBot [2804:14d:880:9568:1012:45ee:249b:cbbd]:30000 seems to be down 16:47 Sires humax hgb10r-02 I think 16:47 Sires the server is at port 1234 16:47 sfan5 !up 2804:14d:880:9568:1012:45ee:249b:cbbd 1234 16:47 MinetestBot [2804:14d:880:9568:1012:45ee:249b:cbbd]:1234 seems to be down 16:48 sfan5 how does your minetest.conf look like? 16:48 Sires pretty default I think, except for ipv6 stuff enable 16:48 Sires enabled* 16:48 Sires you want to see the entire thing? 16:48 sfan5 yeah just to make sure 16:48 Sires k 16:48 Sires one sec 16:49 big_caballito[m] I think it's probably a firewall issue 16:50 Sires https://termbin.com/vupa 16:51 sfan5 yeah that looks correct 16:51 sfan5 are you running the server from the menu or commandline? 16:52 big_caballito[m] is port 1234 forwarded? 16:52 Sires I tried both 16:52 Sires 1234 I think not 16:52 heavygale https://www.net.com.br/documento/2018/09/12/user-manual-for-hgb10r-02-1374091901758.pdf can't find any firewall stuff,..only for blocking, not fire whitelisting? 16:52 Sires but 30000 didn't work either 16:52 Sires I just did 1234 because it worked with other application 16:53 big_caballito[m] you have to forward port 1234 then allow traffic for that port in your firewall 16:54 sfan5 did it work over ipv4? did that other application use TCP? do you perhaps have a local firewall? 16:54 Sires but I tried forwarding port 30000 and didn't work 16:54 Sires Over ipv4 I can't do port forwarding anymore, changed router and it won't allow me to 16:54 sfan5 and if you're running linux, please check using netstat -uln that minetest is listening 16:54 big_caballito[m] port forwarding is on your router, firewall is on you PC 16:54 Sires but I could do with ipv4 before changing router 16:55 Sires sfan5: it lists "udp6 0 0 :::1234 :::* " 16:55 Sires I guess thats minetest 16:55 sfan5 should be, yeah 16:56 Sires lemme check firewall 16:56 Sires k I just stopped firewall 16:56 sfan5 !up 2804:14d:880:9568:1012:45ee:249b:cbbd 1234 16:56 MinetestBot [2804:14d:880:9568:1012:45ee:249b:cbbd]:1234 seems to be down 16:56 Sires I'll put the server at port 30000 16:57 Sires I just turned it off 16:57 Sires k its on now 16:57 Sires !up 2804:14d:880:9568:1012:45ee:249b:cbbd 16:57 MinetestBot [2804:14d:880:9568:1012:45ee:249b:cbbd]:30000 seems to be down 16:57 Sires asdfasdfas 16:58 sfan5 hm 16:58 Sires disabled ipv6 firewall on router 16:59 Fractalis You need to find a way to port forward, all routers have a way to get in. 16:59 Sires do I have to restart router for it to work? 16:59 sfan5 doubt it 16:59 Sires !up 2804:14d:880:9568:1012:45ee:249b:cbbd 16:59 MinetestBot [2804:14d:880:9568:1012:45ee:249b:cbbd]:30000 is up (221ms) 16:59 Sires AWWWW 16:59 Sires YUSS 16:59 big_caballito[m] ysy!!!! 16:59 Sires anyone wanna join 16:59 Fractalis nice :) 16:59 MTDiscord <10J​ordach> conglaturations 16:59 Sires I bugged minetest_game by putting animation_blend at 1 sec 17:00 Sires and watter has negative viscosity I think 17:00 Sires thanks all for the help 17:00 big_caballito[m] whats special about your server 17:00 big_caballito[m] ie why shoud i join 17:00 Sires nothing 17:00 Sires its just if you want 17:00 big_caballito[m] *should 17:01 big_caballito[m] cool 17:13 big_caballito[m] sfan5: do i have to do anything special to connect to ipv6? 17:13 big_caballito[m] server? 17:14 sfan5 ipv6 is enabled by default on the client 17:14 big_caballito[m] !up 2804:14d:880:9568:1012:45ee:249b:cbbd 17:14 MinetestBot [2804:14d:880:9568:1012:45ee:249b:cbbd]:30000 seems to be down 17:15 big_caballito[m] oh thats why 17:15 specing Why does localplayer:get_wield_index return a 0-indexed number? Wouldn't it make more sense to make CSM developer lives easier by making the number be 1-index? 17:15 Sires wait what 17:15 Sires we are playing 17:17 big_caballito[m] !up 2804:14d:880:9568:1012:45ee:249b:cbbd 17:17 MinetestBot [2804:14d:880:9568:1012:45ee:249b:cbbd]:30000 is up (232ms) 17:17 specing (I'll put my question to -dev) 17:17 Sires !up 2804:14d:880:9568:1012:45ee:249b:cbbd 17:17 MinetestBot [2804:14d:880:9568:1012:45ee:249b:cbbd]:30000 is up (221ms) 17:17 Sires just checking* 17:20 big_caballito[m] connection keeps timing out for me :/ 17:21 big_caballito[m] no i was just typing it wrong 17:26 Sires *closed it 17:35 bobbertson specing, you are right that it's not legal to let people use it for that 17:35 bobbertson but i mean there's nothing illegal about the mod itself lol 17:36 bobbertson just like when you get a torrent client there's nothing illegal about it 18:41 Sires !up 2804:14d:880:9568:1012:45ee:249b:cbbd 18:41 MinetestBot [2804:14d:880:9568:1012:45ee:249b:cbbd]:30000 is up (219ms) 18:47 Krock assuming MTB lives in Europe, your server is like in Chile or Australia 18:47 Krock or just super bad relay stations 19:16 tango_ or it's using PTTH instead of FTTH 19:16 tango_ (P for Pigeons) 19:18 Follpvosten[m] You mean IPoAC? 19:21 tango_ Follpvosten[m]: well, the physical side of it, yes 19:21 tango_ I just found this out on wikipedia: 19:21 tango_ In September 2009, a South African IT company based in Durban pitted an 11-month-old bird armed with a data packed 4 GB memory stick against the ADSL service from the country's biggest Internet service provider, Telkom. The pigeon, Winston, took an hour and eight minutes to carry the data 80 km (50 miles). In all, the data transfer took two hours, six minutes, and fifty-seven seconds—the same amount of 19:21 tango_ time it took to transfer 4% of the data over the ADSL 19:22 tango_ the problem with IPoAC is the latency, but since we're seeing numbers in the 200s of ms, it might just as well be that 19:23 Follpvosten[m] Makes sense lol 19:23 Krock data thoughput is insane 19:41 tango_ quoting good ol' Tanenbaum, «Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway.» 20:08 Krock Tannenbaum? a pinetree? 20:17 tango_ single n 20:32 jonadab It's spelled "Tanenbaum", but it's pronounced "minix". 20:33 jonadab HTH.HAND. 21:21 Andrey01 appguru: your mod doesn`t work, it throws out to me "attempt to index global 'adv_weapons' (a nil value)" 21:23 Andrey01 I can not see how you made the grappling hook :( 21:38 bobbertson hey sfan5 do you think it would be worth making a Client::handleCommand_MediaFetch type ordeal where dynamic_add_media has an optional second arg that is a bool as to whether to use a remote_media server to fetch from using an m_media_downloader or such? Or am I going down a rabbit hole that doesn't make sense? 21:39 bobbertson Asking you since you implemented the thing closest to what I think would be useful for transferring music files at runtime 21:39 bobbertson or sound files 21:40 sfan5 how would the server know when the sound file is available for playback in that case? 21:41 sfan5 also here's an easy optimization you can make specifically for your case since you're already editing the code: in Server::dynamicAddMedia() only send the packet over channel 0 21:41 bobbertson i was thinking that handleCommand_MediaFetch would end with some sort of callback to the server saying it's done, but ya that is the biggest head scratch for me 21:42 bobbertson :o will that half the amount of data sent? 21:43 bobbertson ok ya i will make that optimization for my server 21:43 bobbertson but still think it would be nice to have the ability for getting clients to fetch from remote_media server 21:44 sfan5 yes that'll halve it 22:22 niwla23[m] Would it be technically possible to make sth like bungeecord for minetest? 22:26 Fractalis AFAIK Strings and lines are still a issue with minetest engine, 22:28 Fractalis It would be a better question for #minetest-dev i think 22:28 MTDiscord <10J​ordach> meanwhile i've been writing a lua transpiler that takes the pain away 22:34 TableToo hello 22:34 TableToo minetesters 22:35 Fractalis Hi minetester LOL 23:58 rubenwardy niwla23[m]: theoretically yes