Luanti logo

IRC log for #minetest-hub, 2020-04-23

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
25 more elements. Show/hide.
18:49 Krock rubenwardy: https://i.imgur.com/QmQvLLK.png
18:50 rubenwardy huh?
18:50 Krock customizable chat font size
18:50 rubenwardy ah right
18:50 Krock since you added the Supported by core dev label
18:52 rubenwardy I thought you were pointing out the colored chat names, and was wondering how you knew that I looked at that mod today
18:52 Krock heh no, not this time at least ;)
18:52 Krock PS: turn off your webcam
18:53 rubenwardy :O
18:53 ANAND hehe
18:53 rubenwardy all you'd be able to see is blue, I cover it
18:53 Krock you're blue dabadee
19:37 vesper joined #minetest-hub
19:43 ANAND Heya, any idea why obj:get_pos() returns nil? I reckon it might have something to do with the recent changes involving ObjectRef, but I'd like to know why.
19:44 ANAND Context: CTF has been regularly crashing due to a get_pos call returning nil
19:45 sfan5 reason 1: you call getpos() after remove()
19:45 ANAND Interestingly enough, the get_pos call is located in MTG's default mod, in item_entity.lua:19
19:45 ANAND Aha
19:45 sfan5 has already been reported
19:45 ANAND Is this supposed to happen?
19:46 sfan5 crashing no, that it returns nil yes
19:47 ANAND It crashes at L27, where the returned value is actually used
19:47 ANAND See https://github.com/minetest/minetest_game/blob/master/mods/default/item_entity.lua#L19
19:48 ANAND CTF hasn't modified any code in this file, so I think MTG might be susceptible to this crash too?
19:49 ANAND Is the solution just calling get_pos before remove?
19:50 sfan5 https://github.com/minetest/minetest_game/issues/2657
19:50 sfan5 yes
19:51 ANAND Kewl, thanks :)
19:53 ANAND CTF *occasionally* crashes at line 51 as well, which I'm guessing is probably the exact same issue. I'll check.
19:55 sfan5 yes
7 more elements. Show/hide.

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