Minetest logo

IRC log for #minetest, 2021-02-03

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

All times shown according to UTC.

Time Nick Message
00:06 MarwolTuk_ joined #minetest
00:07 macc24 joined #minetest
00:12 macc24 joined #minetest
01:08 macc24 joined #minetest
01:14 macc24_ joined #minetest
01:17 macc24 joined #minetest
01:24 Verticen joined #minetest
01:40 Pie-jacker875 joined #minetest
01:58 macc24 joined #minetest
02:20 macc24 joined #minetest
02:23 Verticen joined #minetest
02:28 Hawk777 joined #minetest
02:30 Sven_vB_ joined #minetest
02:39 Gustavo6046 joined #minetest
02:41 fleeky_ joined #minetest
03:25 Hawk777 joined #minetest
03:54 flux__ joined #minetest
04:01 Verticen joined #minetest
04:29 basxto joined #minetest
04:30 Thomas-S joined #minetest
04:30 Thomas-S joined #minetest
04:30 Elouin joined #minetest
04:33 illwieckz joined #minetest
04:54 Talkless joined #minetest
05:00 MTDiscord joined #minetest
05:15 basxto joined #minetest
05:33 Wuzzy joined #minetest
05:49 TomTom joined #minetest
05:49 Sven_vB joined #minetest
07:46 xSmurf joined #minetest
08:00 ShadowNinja joined #minetest
08:16 DrFrankenstone joined #minetest
08:19 grimler32 joined #minetest
08:20 xSmurf joined #minetest
08:43 xSmurf joined #minetest
09:07 xSmurf joined #minetest
09:12 Beton joined #minetest
09:25 FeXoR joined #minetest
09:29 DrFrankenstone_ joined #minetest
09:54 DrFrankenstone joined #minetest
09:55 xSmurf joined #minetest
09:58 proller joined #minetest
10:12 xSmurf joined #minetest
10:16 galex-713 joined #minetest
10:38 xSmurf joined #minetest
11:07 riff-IRC joined #minetest
11:07 Sven_vB joined #minetest
11:07 DrFrankenstone_ joined #minetest
11:11 galex-713 joined #minetest
11:12 xSmurf joined #minetest
11:26 phoenix_ joined #minetest
11:27 phoenix_ hi, good people. I have some DPI (?) weirdness, in minecraft interface and in-game inventory. I know most likelly its not minecraft's fault,but Nvidia's drivers,ince when I use Intel HD ,doesnt happen. BUt maybe someone has an idea howto fix ?
11:27 phoenix_ Im on ubuntu,with nvidia proprietary drivers
11:27 phoenix_ https://gyazo.com/bf6c6710c74702da3431cfec2c1c8b64
11:27 phoenix_ and this is the screenshot
11:28 phoenix_ since*
11:28 phoenix_ minetest* Sorry :D
11:28 phoenix_ they so similar
11:46 proller joined #minetest
11:52 sfan5 it reads the DPI from your system so that must be set wrong or something
12:04 Ingar if the DPI is wrong you can set it in the Xorg config file (had to do that once when I had the most tiny letters on a TV)
12:04 Ingar but then I'd expect your Desktop Environment to look funky as well
12:06 tango_ it's possible that the DE is using a different way to set it
12:06 tango_ there's the server DPI, the xrm Xft.dpi setting, XSETTINGS ...
12:07 Sven_vB joined #minetest
12:13 independent56 joined #minetest
12:14 calcul0n_ joined #minetest
12:16 xSmurf joined #minetest
12:19 independent57 joined #minetest
12:25 erlehmann joined #minetest
12:26 phoenix_ Ingar, the DPI doesnt *seem* wrong. most apps and the desktop itself looks good. Only some apps dont : minetest, freeoffice, etc..
12:26 Fixer joined #minetest
12:27 phoenix_ tango_, I guess is possible. I tendn to think its the proprietary nvidia thingie,since eith free drivers (amdgpu,intel) all looks good
12:28 phoenix_ excuse my tpos, tiny keyboard ^^
12:31 phoenix_ https://gyazo.com/c2e779bececadeaf134d2e29bd7406f0
12:31 phoenix_ also, the menus .. gigantic
12:35 galex-713 joined #minetest
12:37 xSmurf joined #minetest
12:46 fleeky_ joined #minetest
12:50 qj joined #minetest
12:52 tango_ phoenix_: same monitor?
12:56 phoenix_ same monitor
12:59 phoenix_ BUt I need the nvidia driver. NOuveau is only good for..well, for almost nothing, considering newer cards . Just basic stuff
13:07 kamdard joined #minetest
13:10 SwissalpS joined #minetest
13:11 independent56 joined #minetest
13:15 BakerPrime joined #minetest
13:15 xSmurf joined #minetest
13:22 phoenix_ joined #minetest
13:25 independent56 joined #minetest
13:26 minduser00 joined #minetest
13:29 alex-resist joined #minetest
13:40 Boingo joined #minetest
13:41 Sven_vB joined #minetest
13:44 olliy joined #minetest
13:46 Rafi59 joined #minetest
13:53 Wuzzy joined #minetest
14:18 MadScientist joined #minetest
14:21 xSmurf joined #minetest
14:24 DakotaVeronica joined #minetest
14:26 Fixer_ joined #minetest
14:57 xSmurf joined #minetest
15:02 srifqi joined #minetest
15:22 MDude joined #minetest
15:22 Verticen joined #minetest
15:23 proller joined #minetest
15:28 xSmurf joined #minetest
15:31 galex-713 joined #minetest
15:38 MTDiscord <I​hrFussel> Nouveau is good enough for MT
15:39 MTDiscord <I​hrFussel> User probably left
15:41 xSmurf joined #minetest
15:53 I_am_6r1d joined #minetest
16:01 sfan5 they did
16:04 FeXoR joined #minetest
16:12 xSmurf joined #minetest
16:16 Lukwe joined #minetest
16:20 fleeky_ joined #minetest
16:27 milkt joined #minetest
16:32 Fleckenstein joined #minetest
16:35 Fleckenstein If I want to make a default for a setting, should I do if not minetest.settings:get(...) then minetest.settings:set(..., default) end on the beggining of my script or just do minetest.get(...) or default when accessing the setting? I'm pretty sure least is the way to go, but I'm currently having a fight about it with someone else.
16:36 Foz joined #minetest
16:38 MTDiscord <a​ppguru> Neither
16:38 MTDiscord <a​ppguru> You should use modlib to handle all settings for you
16:39 MTDiscord <a​ppguru> 1. settingtypes.txt specifies defaults
16:40 Fleckenstein what if it is a CSM?
16:40 MTDiscord <a​ppguru> 2. if a setting is not set, you should check for == nil and not for truthiness (that will fail with false)
16:40 Fleckenstein settingtypes.txt only affects main menu
16:41 MTDiscord <a​ppguru> minetest.settings:set is blatantly wrong though, as it will modify the users settings
16:41 Fleckenstein yea, i agree with that
16:41 MTDiscord <a​ppguru> but as said, remember to check for nil and not for truthiness
16:41 MTDiscord <a​ppguru> else your users will be unable to disable stuff which has a default of true
16:42 MTDiscord <a​ppguru> i would still recommend modlib though
16:42 MTDiscord <a​ppguru> https://github.com/appgurueu/disable_build_where_they_stand/blob/master/schema.lua
16:43 macc24 joined #minetest
16:55 rubenwardy truthiness only affects get_bool, which has a default param
16:58 MTDiscord <s​rinivas> https://github.com/samarth-ramesh/mtlauncher a shameless plug of my project. while 0.4x support is there, you need to compile it first...  very pre alpha, written in qt, have fun
16:58 Wuzzy Honest question: Why does the world need this?
16:59 MTDiscord <s​rinivas> eh, the current one sucks
16:59 MTDiscord <s​rinivas> imho
16:59 MTDiscord <s​rinivas> and, if i do it correct, adds in auto updates (assuming it is stored in a writable directory)
17:00 MTDiscord <s​rinivas> and, allows you to switch client versions easily
17:00 MTDiscord <s​rinivas> no hitting alt+tab etc
17:10 Krock @s​rinivas My approach for using multiple Minetest versions. Including a few compat patches in builtin https://i.postimg.cc/2jBLPL0z/grafik.png
17:11 Krock no need for a launcher at all
17:16 MTDiscord <s​rinivas> i see... The usecase that i envisioned was two fold: 1) have both 5.x and 0.4x clients for servers that need 4.x... and to have a password manager
17:17 MTDiscord <s​rinivas> Krock ^
17:18 MTDiscord <s​rinivas> and, Wuzzy ^
17:18 Krock hmm I see. My 0.4.x setup is long gone, hence didn't consider this to be a potential use-case. whatever. I hope other people find an use in it
17:20 MTDiscord <s​rinivas> i know people who play on redcat etc
17:20 MTDiscord <s​rinivas> and, thanks
17:20 MTDiscord <s​rinivas> my hope is to include enough setups ootb that it works with almost all servers ootb
17:21 MTDiscord <s​rinivas> multicraft, 0.4x, 5.x and when 6.x comes, that too
17:22 MTDiscord <s​rinivas> auto updates so you never miss a new feature, a merged server list that includes all that you can join, and hopefully, a clean experience that gets you ingame with as few keystrokes/clicks as possible
17:30 FreeFull joined #minetest
17:30 Wuzzy the real solution would be for JT2 to upgrade to 5.3.0 😀
17:32 alex-resist joined #minetest
17:34 Krock just shovel more quicksand so that you don't drown
17:34 Krock i.e. 0.4.x support and custom binaries until the end of the world
17:34 kevr` joined #minetest
17:39 Hawk777 joined #minetest
17:41 MTDiscord <s​rinivas> havent you heard of the irc & singularity joke?
17:41 MTDiscord <s​rinivas> https://xkcd.com/1782/
17:43 MTDiscord <s​rinivas> > the real solution would be for JT2 to upgrade to 5.3.0 😀 >  mine not to advise servers, but to provide compat and die charge of 4x brigade, into the valley of 5.x rode a n<100>
17:44 MTDiscord <s​rinivas> https://www.poetryfoundation.org/poems/45319/the-charge-of-the-light-brigade btw, for those who did not get it
17:48 Krock no not at all. this xkcd hasn't ever been posted here. like never at all.
17:48 Krock but it's something I can totally agree with
17:55 MTDiscord <s​rinivas> the asme way, as long as there is a market for 4.x clients, there is a service for me to provide lol
18:06 Talkless joined #minetest
18:18 calcul0n__ joined #minetest
18:27 proller joined #minetest
18:36 submariner joined #minetest
19:01 daiNoZord joined #minetest
19:04 daiNoZord I've spent the past few hours just trying to move a player up 2 blocks when a platform raises but I'm having no luck :( If anyone has a mo: https://pastebin.pl/view/8bd3f172
19:09 Wuzzy what is your goal with this?
19:10 Wuzzy oh i can see the problem
19:10 daiNoZord just to make a platform raise, take the player up with it, i think coming down gravity does the rest :)
19:10 Wuzzy so i guess you start with dadmin:plat1_off, right?
19:10 daiNoZord That's right
19:10 Wuzzy and when player rightclicks on it, they are supposed to teleort 2 node up?
19:10 daiNoZord Yep
19:11 Wuzzy is dadmin:plat1_on supposed to be player-placed?
19:11 Wuzzy or shall this node only appear via code action only?
19:11 daiNoZord it's just replacing the original node - so code based
19:11 Wuzzy ok
19:12 Wuzzy then the mistake is clear. the function after_place_node is wrong
19:12 Wuzzy this callback is never called. this function is only called when the PLAYER places the node, which never happens
19:12 daiNoZord ah, I see
19:12 Wuzzy you might want to use on_construct instead, which is called when the node is created, e.g. with set_node
19:13 Wuzzy also...
19:13 Wuzzy minetest.get_player_by_name()
19:13 Wuzzy this function does nothing lol
19:13 Wuzzy you forgot to assign the player variable...
19:14 Wuzzy oh this entire function is completely wrong... you will probably figure it out with the error messages you get 😛
19:14 daiNoZord aha.. I tried on_construct but with the other mistakes in the way I guess it wouldn't work. Thanks Wuzzy :)
19:16 Wuzzy on_construct can be used here, but there are other ways to solve this problem as well.
19:16 daiNoZord originally i included it in the on_rightclick but that broke the raising of the platform
19:18 numzero joined #minetest
19:37 Verticen joined #minetest
19:39 erlehmann joined #minetest
19:42 daiNoZord now it executes without errrors in terminal.... ugh lol
19:51 homthack joined #minetest
19:56 systwi joined #minetest
20:22 homthack joined #minetest
20:45 jess| joined #minetest
20:54 daiNoZord In "minetest.is_player(obj)`: boolean, whether `obj` is a player" - What is "obj"?
20:56 Krock whatever you want
20:56 Krock preferably an ObjectRef
20:57 daiNoZord so if that follows get_objects_inside radius, it'll return true if a player is present?
20:58 Verticen joined #minetest
21:01 daiNoZord or maybe local obj = minetest.get_objects_inside_radius then minetest.is_player(obj)
21:02 Krock get_objects_inside_radius returns a table
21:03 Krock you iterate through that table. the value of each pair will be the ObjectRef to pass to is_player
21:03 daiNoZord oh nuts - is this in pairs / in ipairs?
21:04 Krock like this, but using is_player(obj) instead of get_luaentity.  https://github.com/SmallJoker/boost_cart/blob/master/cart_entity.lua#L348-L351
21:04 Krock both, pairs and ipairs work because it's a numeric indexed table
21:05 daiNoZord ah - i was meant to learn this. now would be a good time then - thanks! :)
21:09 Guest22 joined #minetest
21:09 Krock browse other project code. it'll be helpful.
21:09 Guest22 What setting in the server configuration file controls the distance at which blocks can be placed?
21:10 Krock none
21:10 Krock that's a mod/game thing
21:10 Guest22 oh. So without creating a mod I can't change it then?
21:11 Guest22 It's hurting my wrists having to move for every 3 blocks.
21:11 Krock exactly. either write a mod or adjust the "creative" mod which changes the wieldhand AFAIK
21:11 Krock if you turn on creative mode in your world, this should happen automatically
21:12 daiNoZord I often do - to begin with all I did was change mods to suit my design but now I gotta learn to do things properly
21:12 Guest22 i have survival mode though
21:12 Krock Guest22: https://github.com/minetest/minetest_game/blob/master/mods/creative/init.lua#L58-L60
21:13 Krock put these two lines plus closing brackets into a new mod
21:13 Guest22 Then I can use it on survival mode too?
21:13 Krock yes
21:13 Guest22 Thank you Krock. Very helpful.
21:13 Krock !next
21:13 MinetestBot Another satisfied customer. Next!
21:21 flux__ joined #minetest
21:26 fluxflux_ joined #minetest
21:34 Guest22 What files are minimally required for a mod?  I have made the init.lua and a mod.conf, are any other files required, or will that do?
21:36 Krock init.lua alone is fine, but mod.conf is a good addition
21:37 Guest22 ok, I'm about to test it out.
21:48 proller joined #minetest
21:50 Guest22 It works. :D   That was my first experience 'making' a mod. Even though I borrowed code from the example you posted. Thanks for making my first experience a pleasant one, Krock.
21:51 Guest22 it lets me place blocks further distance, but didn't seem to affect the distance at which I can hit blocks.  Is that line of code also nearby in the code you shared to me?  If not too difficult I may want to add a line to change hitting distance too.
21:56 Guest22 Actually I think it did change the hitting block distance.  I had the wrong tool equipped.
21:57 Guest22 It's so much nicer, because now my wrists don't feel like they are cramping up. :)
22:00 Taoki joined #minetest
22:49 daiNoZord There's a missing link there.. somewhere. After 10hours of trying, I've concluded I'm having a bad day - I'll come back to it when my head stops hurting..
23:00 galex-713 joined #minetest
23:03 Gustavo6046 joined #minetest
23:07 fleeky_ joined #minetest
23:24 MDude joined #minetest
23:52 qj joined #minetest
23:59 homthack joined #minetest

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