Minetest logo

IRC log for #minetest, 2020-03-09

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

All times shown according to UTC.

Time Nick Message
00:51 Extex sfan5 how would I make my motorbike able to make jumps off of ramps? Like detect the incline and apply y velocity to preform the jump when the ramp ends
01:07 calcul0n joined #minetest
01:12 Extex joined #minetest
01:15 Fear_ joined #minetest
01:50 MistahDarcy joined #minetest
02:52 swift110 joined #minetest
02:53 Extex Does get_entity_name still work?
03:21 swift110 hmm
04:02 Taoki joined #minetest
04:24 Quiark Extex: the motorbike should have current velocity vector which only decreases a little with air friction. And a lot with crashing into ground
04:24 Quiark but I guess it depends how collision detection works
04:25 Extex I'm using entity stepheight
04:52 maccraft123 joined #minetest
06:37 AndDT joined #minetest
06:38 maccraft joined #minetest
08:38 ShadowNinja joined #minetest
08:42 fluxflux_ joined #minetest
09:19 Miniontoby joined #minetest
09:20 aheinecke joined #minetest
09:20 Miniontoby joined #minetest
09:42 Beton joined #minetest
09:42 df458 joined #minetest
09:46 shangul joined #minetest
09:46 shangul Hello. Any way to install dedicated server on FreeBSD ARM?
10:21 erlehmann joined #minetest
10:22 Rafi59 joined #minetest
10:36 proller joined #minetest
10:49 Fixer joined #minetest
11:02 Volgaar joined #minetest
11:49 maccraft123 joined #minetest
12:20 tomraceror joined #minetest
12:26 FreeFull joined #minetest
12:37 calcul0n joined #minetest
12:51 SmugLeaf joined #minetest
13:00 HDMI_STECKDOSE joined #minetest
13:17 nepugia joined #minetest
14:03 Verts joined #minetest
14:04 Volgaar joined #minetest
14:10 maccraft joined #minetest
14:24 absurb joined #minetest
14:29 SwissalpS joined #minetest
14:46 erlehmann joined #minetest
15:06 mangul joined #minetest
15:19 nepugia joined #minetest
15:40 fluxflux_ joined #minetest
15:47 maccraft joined #minetest
15:57 Extex joined #minetest
16:31 proller joined #minetest
16:39 qzo joined #minetest
16:47 tomraceror joined #minetest
16:59 calcul0n_ joined #minetest
17:13 HDMI_STECKDOSE joined #minetest
17:18 Rafi59 joined #minetest
17:23 proller joined #minetest
17:25 maccraft joined #minetest
17:27 DS-minetest joined #minetest
17:56 yrungr joined #minetest
17:57 yrungr hi. i just build the dev version of minetest from the git repo. apparently the stable version in on branch stable-5 (https://github.com/minetest/minetest/tree/stable-5), but git branch is only showing me master.
18:00 rubenwardy `git remote update origin`
18:01 yrungr i did that, but git branch is still only showing master.
18:02 DS-minetest did you clone (or pull?, I'm not good in git) that branch?
18:03 yrungr clone.
18:03 DusXMT git branch --list --remote
18:03 DusXMT By default, it only shows local branches
18:03 DS-minetest yeah, but did you clone the correct branch?
18:03 yrungr https://www.minetest.net/downloads/ < that page has links to stable and dev, but they are both the same repo.
18:03 DusXMT then you can 'git checkout -b stable-5 origin/stable-5'
18:04 DusXMT This will create a local branch stable-5 from the remote branch origin/stable-5
18:04 BurningPrinces1 Is minetest written in lua?
18:04 yrungr DusXMT: git checkout -b stable-5 origin/stable-5
18:04 yrungr fatal: 'origin/stable-5' is not a commit and a branch 'stable-5' cannot be created from it
18:05 DS-minetest BurningPrinces1: only parts of minetest
18:05 DusXMT yrungr:  What does 'git branch --list --remote' say? (I don't have a copy of the minetest repository here, being a player)
18:05 BurningPrinces1 Oh, so it still has to be compiled?
18:05 DusXMT BurningPrinces1: It would be one heck of a slow game if it was all in lua
18:05 BurningPrinces1 Oh, I never knew Lua was slow
18:06 yrungr DusXMT: git branch --list --remote origin/HEAD -> origin/master origin/master
18:06 yrungr fatal: 'origin/stable-5' is not a commit and a branch 'stable-5' cannot be created from itorigin/HEAD -> origin/master origin/master
18:06 yrungr bother.
18:07 yrungr DusXMT: https://pastebin.com/HaTybkYK
18:07 BurningPrincess1 DusXMT: part written in C++?
18:08 DusXMT yrungr: That's weird, it showed up for me, https://dpaste.org/jt8D
18:08 yrungr DusXMT: that is weird.
18:08 yrungr DusXMT: ok. i'll delete and redo.
18:09 DusXMT $ git clone --branch stable-5 https://github.com/minetest/minetest/
18:10 DusXMT This will download the git repo, and switch it to the stable-5 branch right away :)
18:10 DS-minetest FYI you can also limit the depth with --depth (to make the cloning faster)
18:10 yrungr DusXMT: i recloned the git repo and now i can see the branches. o_O
18:11 DusXMT BurningPrincess1: https://github.com/minetest/minetest - if you click at the colorful bar on this website, you'll see the languages used :)
18:12 yrungr DusXMT: ok. i used your branch git clone command, really helpful. they should have that on the website.
18:13 BurningPrincess1 DusXMT:  thank you
18:13 DusXMT yrungr: If you want to learn how to use git in a more productive fashion, this book is really neat: https://git-scm.com/book/en/v2
18:15 BurningPrincess1 Hm, mostly C++ with 8.8 % C and 8.2% lua that is intersing, thought it would have more Lua in it
18:16 DS-minetest joined #minetest
18:16 DusXMT BurningPrincess1: Well, a lot of the game content is written in Lua, the minetest repo just contains the game (engine), and the bare "minimal" game
18:17 DS-minetest and builtin is written in lua
18:17 DusXMT https://github.com/minetest/minetest_game
18:17 BurningPrincess1 DusXMT: thank you, this is rather intesaing
18:18 BurningPrincess1 One thing I do l;ike about Minetest is that it is easyt to mod
18:18 Blo0D joined #minetest
18:19 yrungr i like the way minetest keeps it's core game very basic and lets mods do everything else. makes a lot of sense for the developers.
18:19 DS-minetest that's because minetest calls lua script code from c, the mods don't have to be linked to the executable
18:19 yrungr otherwise they'd get dragged into all the gameplay discussions.
18:20 DS-minetest modding is too limited without sscsm :(
18:20 calcul0n__ joined #minetest
18:20 yrungr sscsm?
18:20 DS-minetest server-sent client side modding
18:23 maccraft joined #minetest
18:29 shangul joined #minetest
18:33 tpe joined #minetest
18:36 Wuzzy joined #minetest
18:41 yrungr ok. i have the stable server and stable client built, but when i join the server it's pure black. and the server doesn't seem to be creating a new ~/.minetest folder
18:42 DS-minetest black?
18:43 yrungr yep.
18:43 DS-minetest try pressing buttons like I or esc
18:43 yrungr they work, but there is no content.
18:43 DS-minetest and do '/grantme all'
18:43 DS-minetest and activate noclip
18:43 yrungr 178.62.65.106:30000
18:49 yrungr ok. server is working, but it's not generating ~/.minetest. isn't it supposed to do that?
18:50 sfan5 probably
18:50 DS-minetest depends on how you built it
18:50 sfan5 and how you run it
18:51 yrungr cmake . -DRUN_IN_PLACE=TRUE -DBUILD_SERVER=TRUE
18:51 DS-minetest then the world is in the worlds folder of your cloned repo
18:51 yrungr oh.
18:52 yrungr is that the run in place thing does?
18:52 DS-minetest yep
18:52 yrungr ahhh.
18:52 yrungr thanks.
18:52 DS-minetest !next
18:52 MinetestBot Another satisfied customer. Next!
18:52 yrungr :)
18:55 yrungr ok. rebuilt it with cmake . -DBUILD_SERVER=TRUE, but it's still not making .minetest.
18:55 yrungr anything else i need to do?
18:56 Krock you need to run make to make minetest
18:56 Krock cmake only generates the Makefile
18:57 yrungr make -j$(nproc)
18:57 yrungr done
18:57 yrungr still not making ~/.minetest
18:57 Krock good :)
18:57 Krock not so good
18:57 DS-minetest the binary in /bin/ is then the old one, right?
18:57 Krock how about make install?
18:58 yrungr ok. i deleted bin/minetestserver
18:58 yrungr cmake . -DBUILD_SERVER=TRUE
18:59 yrungr make -j$(nproc)
18:59 yrungr there is a new minetestserver binary
18:59 yrungr ran that. doesn't make ~/.minetest
18:59 yrungr any idea?
19:00 sfan5 delete CMakeCache.txt before you try to change the options
19:03 yrungr sfan5: ah nice. a lot more compiling is happening now.
19:03 Verts joined #minetest
19:03 yrungr before it seemed to not change anything.
19:04 yrungr thanks everyone. this is an amazingly helpful channel. :)
19:06 Krock !next
19:06 MinetestBot Another satisfied customer. Next!
19:07 DS-minetest I've got a question: why do we store an inv_width to player inventories?
19:08 DS-minetest (in the player database)
19:09 DS-minetest and why are players and mapblocks stored separated?
19:09 Krock I'd assume that's legacy code
19:09 DS-minetest is that only because of historic reasons?
19:09 Krock because you might want different backends for these
19:09 yrungr https://github.com/minetest/minetest/issues/9082 < this bug is annoying.
19:10 sfan5 !title
19:10 MinetestBot sfan5: Unable to Register and Join a server · Issue #9082 · minetest/minetest · GitHub
19:10 yrungr the "register and join" thing freezes up unless you entered a password on the previous page.
19:11 Krock please retry with a recent 5.2.0-dev build
19:11 Krock cannot reproduce
19:11 yrungr i'm getting this on the stable build.
19:12 Krock ¯\_(ツ)_/¯
19:13 Krock to track this issue down, it would be helpful to know whether it's still present in 5.2.0-dev, and whether it's limited to a graphics card or OSA
19:13 Krock *OS
19:13 yrungr i'll try.
19:14 Krock or SSD, as a recent race condition case demonstrated
19:16 yrungr building dev.
19:19 calcul0n joined #minetest
19:20 yrungr woo. i have a .minetest folder now. :)
19:20 yrungr thanks everyone.
19:23 yrungr Krock: i just build the dev version. if you don't enter password on the server browser page and then add it in the "register and join" sections it gives you a "passwords do not match" error, intstead of just glitching like it does on stable, so it looks like they fixed the bug in dev.
19:24 Krock good
19:25 yrungr the "register and join" screen seems a bit unecessary though.
19:26 DS-minetest imo that second promt is great
19:26 Krock reduces accidental typos
19:26 Krock or intended typos
19:27 DS-minetest and you only have to do it once
19:28 yrungr i guess, it just wasn't clear on the stable version.
19:29 yrungr dev gives you a "passwords don't match", which makes it a lot clear.
19:29 yrungr clearer.
19:35 Krock IIRC, that message also existed in stable but wasn't set to visible
19:36 BurningPrincess1 What diffaces does -dev have?
19:36 Krock https://dev.minetest.net/Changelog
19:36 BurningPrincess1 Thanks
19:38 BurningPrincess1 Why !"Rename "private messages" to "direct messages" (Calinou) "?
19:38 Pie-jacker875 joined #minetest
19:38 DS-minetest IIRC because they are not private
19:38 BurningPrincess1 Oh
19:38 DS-minetest server owners can read them
19:38 yrungr Krock: how usable is dev?
19:39 BurningPrincess1 DS-minetest:  I think I heard of DMs being read bfore
19:39 Krock yrungr: currently Minetest is in feature freeze. This means you can rely on this page to find out the remaining important bugs: https://github.com/minetest/minetest/labels/Blocker
19:40 yrungr cool. thanks Krock
19:40 yrungr Krock: when those are fixed will current dev become the new stable?
19:41 Krock yes
19:41 yrungr sweet.
19:41 calcul0n joined #minetest
19:45 scr267 Silly idea but: Would it be possible for a mapgen to do a smooth transition from a former mapgen?
19:45 scr267 I feel like pointy haired boss for even thinking stuff like  this
19:46 Krock scr267: code exists: https://github.com/SmallJoker/peoplecantlua/tree/master/peoplecantblur
19:46 Krock problem is detecting such transitions
19:46 scr267 !?!??!! seriously!?
19:46 scr267 holy cripes!
19:46 Krock well, it requires manual interaction
19:46 scr267 I'll check that out
19:46 scr267 ok
19:47 Krock it's only adjusting the terrain height (walls) but does the job quite well
19:47 scr267 so it creates a mapgen 'blur'?
19:47 scr267 hehehe interesting
19:47 Krock no, it's just a regular mod
19:47 Krock well, biome blending would be possible too
19:47 Krock didn't consider that yet
19:47 DS-minetest the demo video can't be found
19:48 yrungr now that i have a stable build server, will i have a lot more luck running mods?
19:48 Krock yrungr: compared to?
19:48 maccraft joined #minetest
19:48 yrungr Krock: 0.4.16
19:48 Krock of
19:48 Krock course
19:48 yrungr cool.
19:48 yrungr looking forward to playing with more mods.
19:49 scr267 Krock, Thanks for that mate!  Don't forget to hit the !next button :)
19:49 Krock !mod rickroll
19:49 MinetestBot Krock: Rick Roller [rickroll] by taikedz - https://forum.minetest.net/viewtopic.php?t=15649
19:49 Krock !next
19:49 MinetestBot Another satisfied customer. Next!
19:50 DS-minetest hm, that rickroll mod should rather generate a new ore that looks like mese, but when you punch it, it rickrolls and becomes stone
19:53 Krock as soon there's FFmpeg support
19:54 DS-minetest ah, that's the usecases
20:26 df458 joined #minetest
21:04 maccraft joined #minetest
21:05 calcul0n_ joined #minetest
21:10 yrungr oh wow. just discovered the pitch move in the stable build. love it. :)
21:33 GreenDimond joined #minetest
21:34 GreenDimond Why in the world was CSM minetest.register_on_connect() removed?
21:35 GreenDimond It's kind of an important feature
21:36 sfan5 https://github.com/minetest/minetest/issues/6939 it was broken
21:36 DS-minetest maybe you dont need it
21:36 DS-minetest minetest.after could be usef
21:37 DS-minetest d*
21:37 GreenDimond Ah, right.
21:37 DS-minetest maybe
21:37 GreenDimond it can be, yeah. If I cant use it on its own, Ill use it as a recursive check until a constraint is satisfied.
21:38 DS-minetest +
21:44 mizux joined #minetest
21:54 maccraft joined #minetest
23:02 Hirato joined #minetest
23:06 tomraceror joined #minetest
23:12 Extex joined #minetest
23:12 Wuzzy what is the difference between style[] and style_type[]?
23:16 DrFrankenstone joined #minetest
23:17 Sokomine joined #minetest
23:23 rubenwardy Wuzzy: style is for an element, style type is for an element type
23:23 rubenwardy style takes an element name, style_type takes a type name (button, item_image_button, image, ...)
23:24 rubenwardy see "Styling Formspecs" in lua_api.txt
23:24 Wuzzy so style applies to *one* element only?
23:24 rubenwardy yes
23:24 Wuzzy ok
23:24 Wuzzy well lua_api.txt confused me a bit ...
23:24 rubenwardy styles also only apply to elements registered after
23:24 rubenwardy so you can call style_type multiple times to change the styling
23:25 Wuzzy oh i found the correct section now
23:26 Wuzzy rubenwardy: what if both style_type and style are set and they match the same eleemnt?
23:26 Wuzzy which takes precedence?
23:27 rubenwardy style takes precedence, because it's less generic
23:27 Wuzzy good
23:27 Wuzzy correct answer
23:27 Wuzzy ?
23:27 rubenwardy lol
23:27 Wuzzy anything else would have been silly
23:27 rubenwardy it is Minetest
23:39 calcul0n joined #minetest
23:42 calcul0n joined #minetest
23:52 dabbill joined #minetest

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