Time Nick Message 04:00 tzenfore Where on earth is my other IRC client? 04:01 tzenfore Ah, I see. I still had Quassel Core running 04:09 crazylad is there anyone that is working on implementing colored lighting yet? just curious, as I am sort of learning how certain things in the MT engine work 04:11 [MatrxMT] https://github.com/luanti-org/luanti/issues/2670 04:12 [MatrxMT] long time requested, but can't see any recent attempts 04:18 crazylad ah, well, I've seen that issue - I've also seen this branch but iirc I could get it to work -> https://github.com/Andrey2470T/minetest/tree/colored_lighting 12:24 Bombo hi 12:26 Bombo is there a cmd that i can send to a server to see if it is running? i can connect with 'ncat -uv 192.168.2.109 30000' but i see no response... anything like version or stats? 12:28 Bombo problem is client connect times out when i try to connect to .109 from .110, network seems to work though 'ncat -lu 30000' on .109 and 'ncat -uv .109' on .110 does work (i see what i type) 12:33 MTDiscord see the source of the irc !up command 12:33 Bombo !up 12:33 MinetestBot Bombo: give me an address and (optionally) a port 12:33 Bombo !up 192.168.2.109 30000 12:33 MinetestBot 192.168.2.109:30000 seems to be down 12:34 Bombo !up source 12:34 MinetestBot source:30000 seems to be down (host did not resolve) 12:34 Bombo !source up 12:34 Bombo !help up 12:34 MinetestBot https://github.com/sfan5/minetestbot-modules/blob/master/COMMANDS.md 12:52 Bombo why python and not lua ;) 12:52 Bombo it worked, server is up, weird, i get timeout 12:52 Bombo with the client 12:58 Bombo when i connect with the client on .109 (to the dedicated server on .109) it works 13:14 Bombo VERBOSE[ConnectionReceive]: con(56/0) Peer 1 sending from different address. Ignoring. 13:16 Bombo VERBOSE[ConnectionSend]: con(56/0)RE-SENDING timed-out RELIABLE to 192.168.2.109(t/o=0.5): count=1, channel=0, seqnum=65500 13:16 Bombo what does that mean hmmm 13:16 Bombo ERROR[Main]: Connection timed out. 13:21 Bombo oh no, on .110 the serverup.py says 'seems to be down' 17:21 crazylad I wonder where in the source code light is rendered as a diamond on the map, and if it is possible to make it a circle... 17:27 jonadab That would be a function of the mechanism by which light propagates from light-source nodes to adjacent voxels. 17:30 jonadab To make it a circle, I think the algorithm would probably have to skip over intermediate voxels and do distance calculations based on coordinates, taking into account all "sufficiently nearby" light sources. Could have performance implications, and working out things that _block_ light could be tricky to get right. 17:31 MinetestBot lhofhansl: Aug-09 01:37 UTC as regards: https://github.com/luanti-org/luanti/pull/16339#issuecomment-3168986708 increasing the mapblock timeout is not sufficient unless the timeout is increased to truly extrodinary values, for it appears that mapblock usage counters are incremented when they are queued rather than when the emerge thread does in fact get around to generating them, so that even a modest amount of process 17:40 crazylad jonadeb: oh, true - but I can't speak for how difficult things would be to implement in C++, since I don't even know how to code Lua well yet lol 17:41 crazylad was just trying to find the file where it performs that algorithm to see if I can modify a few things 18:09 jonadab I think the change you're talking about would be less "modifying a few things" and more "rewriting the function with a completely different algorithm". 18:09 jonadab But off the top of my head, I do not know whether it happens in lua, or in the engine. 18:13 luatic light propagation is C++ 18:18 jonadab That makes sense, as it would give better perf. 18:19 crazylad yes, I at least know that, but I have been searching around many C++ files, both client and server-side, and have not found the main function where this happens 18:31 MinetestBot 02[git] 04lhofhansl -> 03luanti-org/luanti: Use consistent dtime_limit (#16492) 13053ca62 https://github.com/luanti-org/luanti/commit/053ca6287ad417608393b51ed1a19bde3cc04755 (152025-09-12T18:29:40Z) 18:34 jonadab crazylad: Have you looked through voxelalgorithms.cpp ? 18:34 jonadab Maybe specifically look for places where the word "propagation" is used. 18:34 jonadab Or the verb, "propagate" 18:36 MTDiscord Or, even better: propagat 18:36 * crazylad inspects that file 18:37 crazylad hmm... "void spread_light()..." :D 18:37 crazylad thanks jonadab