Minetest logo

IRC log for #minetest-hub, 2018-05-10

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

All times shown according to UTC.

Time Nick Message
00:16 DI3HARD139 joined #minetest-hub
01:00 ANAND joined #minetest-hub
01:04 twoelk left #minetest-hub
01:15 Jordach joined #minetest-hub
02:11 AndroBuilder joined #minetest-hub
02:14 sniper338 joined #minetest-hub
02:14 sniper338 joined #minetest-hub
07:29 ANAND_ joined #minetest-hub
07:38 Gael-de-Sailly joined #minetest-hub
08:14 Gael-de-Sailly joined #minetest-hub
08:25 longerstaff13-m joined #minetest-hub
08:38 redneonglow joined #minetest-hub
08:43 Krock joined #minetest-hub
09:42 CWz joined #minetest-hub
09:50 Fixer joined #minetest-hub
10:09 Krock joined #minetest-hub
10:42 nerzhul joined #minetest-hub
10:59 Megaf !server Megaf
10:59 MinetestBot Megaf: Megaf Server v4 | mt.megaf.info:30003 | Clients: 0/20, 0/1 | Version: 0.4.17-dev / MegafXploreNext | Ping: 11ms
11:14 redneonglow !server farms
11:14 MinetestBot redneonglow: THE DIGITAL FARMS | 45.33.65.68:52000 | Clients: 2/15, 0/6 | Version: 0.4.16-redblade7 / minetest_game | Ping: 77ms
11:14 redneonglow !server gardens
11:14 MinetestBot redneonglow: THE CREATIVE GARDENS | 45.33.65.68:53000 | Clients: 2/15, 1/2 | Version: 0.4.16-redblade7 / minetest_game | Ping: 81ms
11:14 redneonglow !server valley
11:14 MinetestBot redneonglow: THE VALLEYS | 45.33.65.68:54000 | Clients: 0/15, 0/3 | Version: 0.4.16-redblade7 / minetest_game | Ping: 78ms
11:14 redneonglow didnt know you can do that here
11:15 Krock you can also do that with /query MinetestBot to not spam here
11:17 IcyDiamond Woop
11:22 Megaf Has my server gotten the lowest ping again?
11:22 Megaf !server sort:lping:least
11:22 MinetestBot Megaf: No results
11:26 nerzhul IcyDiamond, gg
11:26 nerzhul don't forget for dmarc and spf
11:37 longerstaff13-m Hi
11:38 sniper338 joined #minetest-hub
11:40 sniper570 joined #minetest-hub
11:40 Calinou !server sort:lag:least
11:40 MinetestBot Calinou: No results
11:40 sniper570 joined #minetest-hub
11:44 redneonglow Krock: thank you for telling me
11:45 redneonglow gotta go later
11:58 aerozoic joined #minetest-hub
12:00 ANAND Greetings! How do I prevent a chat message from being sent to everyone, from within minetest.register_on_chat_message?
12:05 Krock return true
12:05 ANAND alright, thanks!
12:11 Krock !next
12:11 MinetestBot Another satisfied customer. Next!
12:12 ANAND XD
12:13 ANAND Hi MinetestBot
12:13 MinetestBot Hey ANAND
12:13 ANAND :D
12:16 IcyDiamond that was a very simple answer
12:16 IcyDiamond XD
12:29 Mr_Pardison joined #minetest-hub
12:30 IhrFussel joined #minetest-hub
13:21 CWz joined #minetest-hub
14:25 sniper570 joined #minetest-hub
14:26 RobbieF joined #minetest-hub
14:39 Fixer 2 bee or not 2 bee?
14:40 Mr-Pardison would you like that in Klingon?
14:40 ThomasMonroe lol
14:40 Mr-Pardison taH pagh taHbe'
14:41 VanessaE meh, if I want bees I just go outside and look at the flowering bush on the side of the house.  always a couple'a pollen jocks ther.e
14:41 VanessaE there*
14:41 ThomasMonroe heya VE
14:41 Mr-Pardison I'd like to take up beekeeping as a hobby.
14:41 VanessaE hi
14:41 ThomasMonroe how's things going for you?
14:42 VanessaE things are just...going.  about like usual
14:42 ThomasMonroe lol normal is good..I think
14:42 Mr-Pardison IMO there is no definitive definition of 'normal'
14:43 RobbieF left #minetest-hub
14:43 VanessaE normal?  me?  bah
14:43 ThomasMonroe normal=everyone else weird=me
14:43 VanessaE I'm anything BUT normal.
14:43 Mr-Pardison same.
14:43 ThomasMonroe lol walnuts where I'm from
14:44 Mr-Pardison did you know that the Romans believed that the walnut was a physical model of the human brain?
14:44 ThomasMonroe I think I did read that somewhere xD
14:45 * ThomasMonroe reaps the consequence of reading alot of things
14:45 Mr-Pardison not consequences good sir.
14:45 Mr-Pardison the benefits.
14:46 Mr-Pardison I've known the answers to questions that teachers have asked when no one else has a clue.
14:49 ThomasMonroe lol
14:49 ThomasMonroe true
15:13 IhrFussel The only way to make a player stop mid air without fly is an entity right?
15:14 IhrFussel Or can I just set speed to 0?
15:15 Mr-Pardison or hit them with a freeze ray :P
15:17 rdococ [Yay] The yay is online.
15:18 longerstaff13 hi
15:19 * rubenwardy set ban on rdococ@* Yay is not allowed
15:19 IhrFussel Is gravity 0 "stop moving"?
15:19 rdococ To be yay is defined as to be yey, and to be yey is defined as to be yay
15:20 rdococ IhrFussel: Gravity 0 means you stop accelerating vertically - that is, your vertical speed only changes if you're on the ground and you jump, or due to collision, IIRC
15:20 rdococ but I think you can still move horizontally (albeit probably slower or less so if you're in the air)
15:20 IhrFussel rdococ, so if someone is mid-air and gravity gets set to 0...what happens?
15:20 Krock IhrFussel, no, it's "stop falling down"
15:21 Krock they'll simply continue falling due their velocity
15:21 Krock but they won't fall faster
15:21 IhrFussel I need the best way to make a player stop moving mid-air on a certain condition
15:21 rdococ Krock: depends on what their velocity was when gravity is set to 0, though - if they jump as it was set to 0 then the velocity they end up having could be upwards and they'd float up
15:22 Krock yes, right
15:22 IhrFussel I want to emulate fly server-side as much as possible
15:22 Krock IhrFussel, a method is attaching them to an entity
15:22 rdococ ^ what I was in the middle of typing
15:22 Krock :P
15:22 IhrFussel So is it the only way also?
15:23 Krock yes, because you can't control the player speed directly
15:24 Krock there's still the method of setting the walk speed and jump speed to 0
15:24 Krock but then it's more a repositioning than moving
15:24 rdococ teleporting wand with a range of 32 blocks
15:24 IhrFussel I need the behavior to pretty much mirror fly mode
15:25 benrob0329 joined #minetest-hub
15:25 Krock just grant them fly :3
15:25 IhrFussel I want to support players who play with apps that require VIP to fly
15:26 rdococ Create a hypnotizing image that compels them to install the official client for their device
15:26 IhrFussel They are on iOS and this will always be a bad fact about MT..not supporting iOS
15:26 benrob0329 sfan5: I know of a networked, platform independent, flexable, themable GUI system :^)
15:26 longerstaff13 why is my audio quality so shit all of a sudden on my speakers?
15:27 rdococ IhrFussel: I'm pretty sure the App Store for iOS wouldn't allow something like Minetest on it
15:27 rdococ also, iOS sucks anyay
15:27 rdococ s/anyay/anyway/
15:27 longerstaff13 it sounds fuzzy, if you know what I mean by that
15:27 benrob0329 longerstaff13: multiple alsa streams on a hardware device?
15:27 rdococ longerstaff13: like a kitten?
15:27 longerstaff13 rdococ: no
15:27 longerstaff13 benrob0329: maybe
15:27 IhrFussel iPhone has a big market share and I don't want to ignore iOS users, so I want to offer server-side fly the apps cannot forbid
15:28 longerstaff13 I'll try reboot my tower... brb
15:28 rdococ IhrFussel: I would ban iOS users telling them to get a better OS and install the official version of the game engine on it
15:29 benrob0329 Or we Duel license MT :^)
15:29 Krock we don't have an iOS app because nobody developed the build system for it yet and nobody wants to pay for the store
15:30 rubenwardy Krock: the App Store is incompatible with the GPL
15:30 benrob0329 Krock: the App Store doesn't allow copyleft software because there is no guarantee of source code redistribution
15:30 benrob0329 Not that that stops people
15:30 Krock well then, we have a 3rd reason
15:31 rubenwardy https://apple.stackexchange.com/questions/6109/is-it-possible-to-have-gpl-software-in-the-mac-app-store
15:31 rubenwardy you could just pretend it's fine
15:31 rdococ dual licensing makes no sense to me
15:31 rubenwardy and we can't dual license unless you contact all 330+ contributors and they give permission
15:31 longerstaff13 still sounds bad
15:32 longerstaff13 it was fine at 8 this mornig
15:32 longerstaff13 morning*
15:33 benrob0329 Code contribution should probably be a copyright transfer
15:33 benrob0329 Would help when projects have to switch licenses after many years
15:33 rubenwardy unfortunately that's no the case
15:33 rubenwardy without a CLA that is
15:34 benrob0329 Couldn't you put a clause on contributing.MD?
15:34 rdococ how would that affect the contributions made before the clause was added?
15:35 rubenwardy too late
15:40 rdococ my laptop seems to have slightly larger than normal pixels
15:59 benrob0329 rdococ: it wouldnt
16:13 Calinou adding an LGPL exception is only possible with the consent of all contributors, so yeah
16:13 Calinou (also, a CLA is not copyright assignment)
16:13 Calinou there are subtle but important differences
16:13 Calinou (actually, not that subtle)
16:30 sofar a CLA *can be* a copyright assignment
16:31 sofar it can be anything, even
16:31 rubenwardy ^
16:31 sofar it could be a first-born assignment
16:32 Gael-de-Sailly joined #minetest-hub
16:33 sofar the whole problem is that Apple doesn't want to be obligated to distribute sources of GPL binaries to customers
16:34 sofar and an app store is still obligated by the GPL compliance clauses to do so
16:34 sofar note, so is the google play store
16:35 sofar of course, both google and apple could just do a legal imdemnification clause to app makers that requires them to provide the GPL compliance
16:36 sofar which would be entirely reasonable I think, and I don't htink the FSF would object to such a thing
16:36 IhrFussel If I call self.object:remove() inside an entity's on_step() ... should it disappear right away or is it normal that it seems to stay there until I walk away from it?
16:37 sofar the remove can't happen until the on_step() finishes, so it is queued
16:40 IhrFussel on_activate() only gets called once per entity loading on map right?
16:40 xerox123 o/ hello
16:41 sofar IhrFussel: not if the mapblock is unloaded and loaded again?
16:41 sofar wait, I'm not sure
16:42 IhrFussel Well that's what I'm asking...whether or not on_activate() gets called reliably whenever the entity appears on map
16:53 sofar as far as I remember the API, it does get called every time the entity is either made new, or loaded from a stored mapblock
16:53 sofar hence the second arg to the function is the stored data
16:53 sofar which is "" when it's a new entity, but some data if it was stored
17:02 Calinou what did you use to make that diagram?
17:04 rubenwardy Doxygen and GraphVIS
17:04 rubenwardy *VIX
17:04 rubenwardy **VIZ
17:05 rubenwardy see http://doxy.minetest.net/classGame.html
17:07 rubenwardy server class is a bit less spaghetti looking
17:07 rubenwardy huh, you can't see workers though
17:07 rubenwardy weird how it leaves some stuff out
17:08 Mr-Pardison but what if we like spaghetti?
17:08 rubenwardy ahh, it's because I've blocked std containers from doxygen
17:08 rubenwardy so it'll be ignoring lists like that
17:24 nerzhul who update that doxy ? :p
17:32 rubenwardy ShadowNinja:
17:33 rubenwardy also, MFW you're using a VPN in the Netherlands and websites show you the wrong language
17:34 * Mr-Pardison thanks google for that
17:35 zorman2000 joined #minetest-hub
17:36 zorman2000 Hi all... any core devs around? I'm getting a very mysterious crash in Minetest while testing my mod
17:36 * rubenwardy hides
17:37 zorman2000 Hey rubenwardy :)
17:37 zorman2000 Any idea why I could be getting this:
17:37 zorman2000 *** Error in `Development/minetest/bin/minetest': corrupted size vs. prev_size: 0x00007862500489d0 ***
17:37 zorman2000 It is a memory allocation error
17:38 Krock zorman2000, ran it in gdb yet?
17:38 Krock which means you should try to reproduce it
17:38 Krock also check whether it still happens in 0.4.17-dev (backport-0.4 branch on GitHub)
17:38 zorman2000 I haven't. When it crashed it provided some backtrace... might be helpful if I copy it to pastebin?
17:39 zorman2000 I'm using 0.5
17:39 Krock ah then it's less bad. 0.5.0-dev has already a few reported crashes
17:40 Krock copy them to pastebin or directly into https://github.com/minetest/minetest/issues/7272
17:40 zorman2000 https://paste.ubuntu.com/p/4jCwCz88zD/
17:40 zorman2000 ^ There you go
17:41 zorman2000 It is hard to reproduce, happens sometimes
17:41 zorman2000 I have had it a few times now, but it is semi-random, it happens some times, others it doesn't
17:41 Krock I also observed some crashes in singleplayer but couldn't reproduce them after I ran the stuff in gdb. Heisenbugs.
17:42 zorman2000 How exactly do I run it in gdb? Unfortunately I'm not familiar with C/C++ ecosystem
17:42 Krock however, a crash for lua_pcall in luaentity_Step isn't reported there yet
17:43 zorman2000 Ok, should I add this to the GitHub issue you linked?
17:43 Krock just "gdb minetest", then "r" for run and when it crashed "bt"
17:43 Krock yes please.
17:43 zorman2000 Cool, I will start all my runs from GDB then, and if it happens again will provide more updates
17:43 Krock but the memory map seems less useful in this case :/
17:44 zorman2000 Should I copy only the backtrace?
17:44 Krock nvm, copy everything. maybe it'll be helpful somehow. don't forget the code markdown tags to format it nicely :)
17:45 zorman2000 Yes sure
17:52 zorman2000 Added: https://github.com/minetest/minetest/issues/7272#issuecomment-388131536
17:54 zorman2000 Btw, in 0.4.16 I also get a crash, different error but on similar circumstances
17:55 zorman2000 It complains about some irrlicht serialization.h
17:55 zorman2000 Should I try to find this as well? Where should I report it if it is for 0.4.16?
17:56 IhrFussel If I leave the player attached to a flying entity...could that entity imitate the exact fly behavior more or less? (move with constant speed when pressing arrows/up/down and stop as soon as no key is pressed)
17:57 Mr-Pardison IhrFussel:  If you are talking about what I think you are talking about, then look at flying mobs like dragons and bats that can be tamed and ridden.
17:57 Krock IhrFussel, more or less, yes. However, if you want to make the player mortal, then you'll have to use 0.5.0-dev
17:58 Krock or damage the player manually by catching all on_punch callbacks from the entity which then should be larger than the player so the entity but not the player is hit
18:00 IhrFussel The only thing I don't quite understan is: How do I get the look direction? So that if the attached player holds up arrow the entity will move in that exact direction
18:00 Krock palyer:get_vertical_look or similar
18:01 Krock use vertical and horizontal to calculate the direction in the 3D set
18:01 Krock well only horizontal if you want it like fly
18:01 IhrFussel left/right arrow would also need their respective directions
18:02 IcyDiamond get_look_dir()
18:02 Krock IcyDiamond, that also includes vertical, which we don't want if it should be an exact fly copy
18:02 IcyDiamond get_look_vertical() is pitch, get_look_horizontal() is yaw
18:03 Krock oh well, get_look_dir(), set the Y component to 0 and normalize the vector again :D
18:06 IhrFussel Any code examples? Like if I do in on_step() if controls.up then ???
18:10 Krock IhrFussel, hotairballoons does about the same (.zip here https://forum.minetest.net/viewtopic.php?p=245864#p245864 ), where you can look at the on_step callback
18:11 Krock left and right would also add velocity, but yaw + math.pi/2 or - math.pi/2
18:23 Mr_Pardison joined #minetest-hub
18:30 IhrFussel Krock, if this is forwards then what's the formular for left/right local vec_forward = {x=dir.x*speed,y=-2,z=dir.z*speed}
18:42 Krock https://github.com/minetest/minetest/blob/master/src/localplayer.cpp#L588-L612 whereas move_direction is defined here https://github.com/minetest/minetest/blob/master/src/localplayer.cpp#L485-L486
18:42 Krock and all the rotation functions can be re-done in Lua
18:59 rdococ I created a lua class system which supports multiple inheritance, which is cool
19:00 rdococ The code is pretty messy, though
19:00 rdococ Gonna document it before I show people
19:01 Krock s/show people/forget what I did/
19:02 rdococ It's still fresh in my memory, and the fact that I tend to stick to a certain coding style helps
19:06 Fixer don't forget to use a debug build for gdb runs
19:11 rdococ Fixer: Can't tell if you're talking about my 'lua class system' or not, but in case you am, I'm testing with Lua 5.1 at the moment (this would suggest but not guarantee compatibility with LuaJIT)
19:11 Krock Fixer, it could also be the optimizations which cause the issue
19:11 Krock however, these issues are very rare compared to the others
19:13 Gael-de-Sailly joined #minetest-hub
19:42 rdococ Scientific curiosity simultaneously killed and didn't kill the cat~
19:53 Calinou Schrodinger's nyancat
19:54 redneonglow joined #minetest-hub
20:15 Mr_Pardison yo and bye
20:17 Mr_Pardison joined #minetest-hub
20:41 Ruslan1 joined #minetest-hub
20:46 garywhite joined #minetest-hub
20:58 longerstaff13-m joined #minetest-hub
21:14 Fixer *_*
21:15 Krock <[°_°]>
21:22 rdococ <[â—•uâ—•]>
21:22 rdococ <[◕∇◕]>
21:59 benrob0329_ joined #minetest-hub
22:11 ThomasMonroe @_@
22:13 CBugDCoder joined #minetest-hub
22:30 rdococ ThomasMonroe: <[◕∇◕]>
22:32 ThomasMonroe O_o
22:38 Raven262 joined #minetest-hub
22:50 EvergreenTree joined #minetest-hub
23:01 Fixer o_O
23:03 ThomasMonroe Q_Q
23:21 Fixer hah, in MC 1.7.10 walking on planks above ice also gives slippery
23:26 garywhite joined #minetest-hub

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