Luanti logo

IRC log for #minetest, 2017-10-24

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
13 more elements. Show/hide.
01:10 jas_ https://ventspace.wordpress.com/2017/10/20/games-look-bad-part-1-hdr-and-tone-mapping/ <-- haven't read all of this yet; found it on news.ycombinator.com
17 more elements. Show/hide.
03:23 MinetestBot [git] paramat -> minetest/minetest_game: Footstep sounds: 5 new sounds 3f14d10 https://git.io/vdpAz (2017-10-24T03:21:34Z)
26 more elements. Show/hide.
06:36 MinetestBot [git] paramat -> minetest/minetest_game: Binoculars / Map mods: Clarify key-activation of items in descriptions 36df80f https://git.io/vdhJ6 (2017-10-24T06:34:15Z)
5 more elements. Show/hide.
07:04 Calinou "it's on Hacker News, therefore it's true" :)
07:05 Calinou just saying, but games aren't here to look like real life, in fact they'd be less playable if they did
07:07 Calinou it's true that most AAAs tend to add unneeded effects, sometimes not even possible to disable
07:07 Calinou but it's AAAs ¯\_(ツ)_/¯
07:07 Calinou I mean, "adjustable FOV" is still a swear word for most of them
07:07 rtjure joined #minetest
07:09 o11c it's also true that nobody cares about color, though
82 more elements. Show/hide.
14:50 jas_ https://www.youtube.com/watch?v=wI4nRD-DRpk
14:51 jas_ !title
14:51 MinetestBot jas_: Lonnie Donegan - Rock Island Line (Live) 15/6/1961 - YouTube
14:54 RobbieF left #minetest
14:54 jas_ i didn't read that article i linked, sorry
14:55 jas_ (i shoulda linked the comments instead... https://news.ycombinator.com/item?id=15534622)
55 more elements. Show/hide.
18:04 orbea Any ideas on how to fix this crash in the tenplus1's bonemeal mod? https://github.com/tenplus1/bonemeal/issues/5
18:05 orbea idk anyone is looking at the issues there...
18:05 deltasquared ugh, not from me, my head is full of breadth-first search algorithms right now >_>
18:06 rtjure joined #minetest
18:07 Krock orbea, are you using the latest bonemeal version without any modifications?
18:07 Krock because it looks like the grass table is empty
18:09 sfan5 there are no grass types defined for sand
18:09 sfan5 but the code does not account for this case
18:11 orbea Krock: yes, latest commit with no modificaitons
18:11 orbea *modifications
4 more elements. Show/hide.
18:40 orbea seems it can be worked around with this: http://sprunge.us/NhDb
18:40 orbea so there is a problem in the grass function?
18:41 Krock that's definitely NOT a solution
18:41 rtjure joined #minetest
18:41 Krock nod = #grass > 0 and grass[math.random(1, #grass)] or ""
18:41 orbea yea, didn't suggest it was
18:42 orbea just it helps narrow down where its going wrong?
18:42 Freejack joined #minetest
18:42 sfan5 it doesn't help at all really
18:42 sfan5 it's just an incorrect "solution"
18:42 Krock you could add a print() line to check what elements are inside "grass"
18:42 sfan5 hint: there are none
18:43 Krock sfan5, but to an earlier time there should be some in it. I don't see the code where the table gets changed
18:43 sfan5 Krock: for loop right below
18:44 Krock that only takes the values from the deco table
18:45 Tazy how to view that table?
18:45 Krock ah.. it changes it to an empty table due index 3
18:46 Krock Tazy, print(dump(obj))
18:46 orbea my problem is I can't reproduce this crash for w/e reason, but Tazy can easily...
18:46 Krock s/obj/grass/
18:47 sfan5 whether math.random(0,0) raises an exception can be lua version dependent
18:47 orbea lua-5.1.5 here
18:47 * orbea checks what the server its crashed on is using
18:47 Krock respectively math.random(1,0)
18:48 Krock changing the line to   nod = #grass > 0 and grass[math.random(1, #grass)] or ""   will fix that, but dunno if that's intended
18:49 Tazy orbea, default:silver_sand
18:49 sfan5 Krock: on luajit math.random(1,0) returns nil which would index the table by nil -> also nil and then turn into ""
18:49 sfan5 so yes probably intended
18:49 orbea Tazy: i tired silver_sand too
18:50 orbea the server is on lua52...
18:51 orbea dont suppose it will stop crashing if I use lua51 instead :P
18:51 Tazy i'm on lua 5.1 too
18:52 rtjure joined #minetest
18:53 sfan5 are you sure you're not using luajit on either?
18:53 Tazy no luajit, PAX kills it if i were.
18:53 orbea im using luajit locally
18:54 sfan5 must've changed between 5.1 and 5.2 too then
18:54 Tazy server is freebsd, so probably not.
18:54 orbea doesn't have luajit
18:55 sfan5 what
18:55 sfan5 this bug is impossible if the behaviour of 5.1 and 5.2 is identical
18:59 Tazy I'm not sure what exactly goes wrong there.. with it.
19:01 rtjure joined #minetest
19:02 orbea there I go
19:02 orbea rebuilt minetest locally without luajit and boom
19:10 * orbea waits for minetest to build with lua51+luajit on freebsd... :)
19:11 * Tazy ponders the actual fix
19:12 orbea yea, not a fix, but hopefully it will only blow up locally now...
19:12 sfan5 Krock has pointed out a fix already
2 more elements. Show/hide.
19:15 Tazy not sure how it translates, since rarely looking at lua..
19:16 orbea sorry, i missed that line, im not all here right now with a bad migraine...
19:18 Tazy oh, thanks. overthought it some..
2 more elements. Show/hide.
19:27 orbea thanks for the help, seems to work :) http://sprunge.us/ihDK
2 more elements. Show/hide.
19:37 orbea https://github.com/tenplus1/bonemeal/pull/6
37 more elements. Show/hide.
23:00 nmoin Is an iOS version planned?
23:07 rtjure joined #minetest
23:07 rubenwardy > asks question
23:07 rubenwardy > leaves immediately
23:08 jas_ >\x20
7 more elements. Show/hide.

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