Minetest logo

IRC log for #minetest, 2022-03-26

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

All times shown according to UTC.

Time Nick Message
00:14 v-rob joined #minetest
00:22 Verticen joined #minetest
00:48 grouinos joined #minetest
00:56 AliasAlreadyTake joined #minetest
01:23 RhineDevil joined #minetest
01:55 Lesha_Vel joined #minetest
02:01 rubenwardy !title https://twitter.com/fsf/status/1505621504762990593
02:01 MinetestBot No title found.
02:10 Pexin twitter hasnt been a website for a while now. NothingButApp
02:17 harry-wood joined #minetest
02:50 harry-wood1 joined #minetest
03:04 Hawk777 joined #minetest
03:28 queria^clone joined #minetest
03:34 queria^clone joined #minetest
03:41 v-rob joined #minetest
04:00 MTDiscord joined #minetest
04:17 smk joined #minetest
04:27 smk left #minetest
04:30 lemonzest joined #minetest
04:31 olliy joined #minetest
05:01 riff-IRC joined #minetest
05:58 Lesha joined #minetest
06:21 grouinos joined #minetest
06:30 fling joined #minetest
06:31 Flabb joined #minetest
06:36 Fixer joined #minetest
06:48 independent56 joined #minetest
06:52 bluejay55 joined #minetest
06:53 bluejay55 Yo
06:53 bluejay55 Wait actually lemme try something
06:56 ___nick___ joined #minetest
07:06 calcul0n joined #minetest
07:16 YuGiOhJCJ joined #minetest
08:40 fossdev2 joined #minetest
09:04 LibreLikeGNU joined #minetest
09:24 lemonzest joined #minetest
09:43 specing joined #minetest
09:54 Fixer joined #minetest
10:09 MTDiscord <Trahaswi> Anybody know what is the lua code for noclip? I think that doesn’t exist but giving a try is a good idea.
10:11 sobkas joined #minetest
10:18 sfan5 noclip is implement in C++ in the client
10:18 sfan5 +ed
10:20 MTDiscord <Trahaswi> yeah i know, is there a way to make it in lua
10:24 sfan5 nope
10:25 MTDiscord <Trahaswi> okay.
10:31 MTDiscord <Trahaswi> Hm, i have a doubt, can we write mods in C++?
10:33 sobkas joined #minetest
10:35 jvalleroy joined #minetest
10:35 jvalleroy joined #minetest
10:37 sobkas joined #minetest
10:38 jvalleroy joined #minetest
10:38 jvalleroy joined #minetest
10:53 ROllerozxa well you could, but it would have to be an engine fork
11:03 Gustavo6046 joined #minetest
11:05 Gustavo6046 joined #minetest
12:11 independent56 joined #minetest
12:59 Ingar joined #minetest
13:06 mrkubax10 joined #minetest
13:18 RhineDevil joined #minetest
13:32 sys4 joined #minetest
13:32 fling joined #minetest
13:33 RhineDevil joined #minetest
13:40 appguru joined #minetest
14:34 fling joined #minetest
14:43 dabbill joined #minetest
14:48 Philaire joined #minetest
14:48 Philaire Heyo !
14:57 MTDiscord <luatic> Of course you can write mods in C++. You just can't run them [in Minetest].
14:57 fluxionary joined #minetest
15:03 Taoki joined #minetest
15:04 definitelya joined #minetest
15:05 MTDiscord <Benrob0329> @Trahaswi What are you trying to do?
15:17 TempestMancer joined #minetest
15:22 Gustavo6046 joined #minetest
15:37 wolfshappen joined #minetest
15:38 fling joined #minetest
15:39 grouinos joined #minetest
15:51 MTDiscord <Trahaswi> trying to make minetest user abilities in lua, such as noclip, fast, etc… I know that’s useless, but i want to try to do something, which is mind blowing.
15:51 MTDiscord <Benrob0329> Why not just grant and revoke the privs?
15:53 MTDiscord <Benrob0329> I suppose if you want to try to make a kind of noclip with the Lua API, you should try messing around with the player's collision properties
15:57 independent56 joined #minetest
16:00 MinetestBot [git] x2048 -> minetest/minetest: Add API to control shadow intensity from the game/mod (#11944) 0f25fa7 https://github.com/minetest/minetest/commit/0f25fa7af655b98fa401176a523f269c843d1943 (2022-03-26T15:58:26Z)
16:08 Desour joined #minetest
16:10 Talkless joined #minetest
16:25 grouinos joined #minetest
16:34 mrkubax10 left #minetest
16:42 fling joined #minetest
17:47 fling joined #minetest
18:02 Verticen joined #minetest
18:20 definitelya_ joined #minetest
18:24 tech_exorcist joined #minetest
18:30 RhineDevil joined #minetest
18:51 fling joined #minetest
18:59 MinetestBot [git] appgurueu -> minetest/minetest_game: Fix incorrectly negated comparisons 638099c https://github.com/minetest/minetest_game/commit/638099c9999e46b9a7204858b2a7c7a1efb2f94c (2022-03-26T18:58:07Z)
19:20 ___nick___ joined #minetest
19:22 ___nick___ joined #minetest
19:34 erle appgurueu what is the result of this change?
19:34 erle like what bug does it fix?
19:39 Sven_vB joined #minetest
19:46 Krock erle: code quality change only
19:47 erle Krock so no change in behaviour ig?
19:48 sfan5 honest question: why are you bothering the PR author instead of figuring out the implications yourself?
19:49 MTDiscord <Jonathon> ^this
19:49 sfan5 (not to mention that he described the issue with the old code in the PR description)
19:50 Krock https://pastebin.com/raw/J4CgzmQ9
19:51 Krock "not" is evaluated before "==", hence the previous code was not working properly. this paste demonstrates this in the "lua"/"luajit" command line interpreter
19:52 Krock pretty sure the code worked previously because the API functions are tolerant to "nil" parameters
19:55 fling joined #minetest
20:00 erle sfan5 i am bothering the PR author precisely because i could not figure it out myself and because appgurueu/luatic is one of the best lua explainers i have encountered.
20:01 sfan5 I'm surprised that you couldn't figure it out then
20:01 erle in general, i think a commit message that leaves dumbos like me with the question “what problem does this commit address” needs some work. but obviously a lot of people disagree with me here and think that domain knowledge should be taken for granted.
20:01 erle Krock, thanks
20:02 erle sfan5 i obviously didn't think too much about it. but the sentence that krock wrote would have helped me (i.e. "not" is evaluated before "==", hence the previous code was not working properly)
20:04 erle sfan5 just to spell it out: i am not lazy. i just think differently about problems and sometimes that means i get stuck on basic stuff like this and sometimes it means i find bugs that a lot of other ppl don't find.
20:04 erle everyone has blind spots
20:04 erle and apparently lua operator precedence was mine here
20:05 erle also i never looked at the PR, only at the git log
20:05 erle (that is arguably my fault, but also could have been avoided, well …)
20:16 riff-IRC joined #minetest
20:16 v-rob joined #minetest
20:24 MTDiscord <luatic> Indeed I should probably have mentioned the implications (fixing pointed thing type checks) of this in the extended description instead of just leaving it in the related GH PR & issue. It also improves upon code quality tho.
20:39 erle i am not against the patch, but yeah, i think if it's important enough to mention in the PR it could be included in the commit msg
20:39 erle damn, now i wish again we had an easy way to search contentdb source code
20:40 erle would be neat to be able to figure out where else that construct is used
20:58 definitelya joined #minetest
21:13 independent56 joined #minetest
21:23 faya joined #minetest
21:23 Sven_vB joined #minetest
21:24 v-rob joined #minetest
21:24 tech_exorcist joined #minetest
21:30 * Desour finds it funny and interesting that one can lift objects with collide_with_objects by flying below them and then upwards, and that it's just client-side. (but he doesn't think it's worth opening or searching for an issue)
21:42 specing_ joined #minetest
21:43 Verticen joined #minetest
21:54 Desour joined #minetest
21:59 fling joined #minetest
22:06 kamdard joined #minetest
22:21 Flabb joined #minetest
22:40 RhineDevil^ joined #minetest
22:49 RhineDevil^ joined #minetest
22:54 crabycowman123 joined #minetest
22:57 paradust joined #minetest
23:00 Sven_vB joined #minetest
23:03 fling joined #minetest
23:08 harry-wood joined #minetest
23:10 Lesha_Vel joined #minetest
23:24 Taoki joined #minetest
23:32 panwolfram joined #minetest
23:41 harry-wood joined #minetest
23:53 harry-wood joined #minetest
23:56 Lesha joined #minetest

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