Time Nick Message 00:03 [MTMatrix] how set force name who edited node via lua modding? (for rollback) 00:20 hare_hare_yukai okay i got my answer, and my computer blew up in the process 00:23 [MTMatrix] stack overflow :) 00:24 hare_hare_yukai hey you're a mcl2 dev right, im trying to implement strength and weakness potions 00:24 hare_hare_yukai could u take a look at my code and tell me how i would do it correctly 00:24 hare_hare_yukai hold on let me send it 00:24 muurkha mineclone2 players have strength? 00:30 hare_hare_yukai https://termbin.com/y6md 00:31 hare_hare_yukai code starts at local function get_player_strong_weak_factors 00:35 hare_hare_yukai i think i need to override the final damage without actually doing set_hp or punch 00:36 hare_hare_yukai if i use either register_on_player_hpchange or register_on_punchplayer things will loop infinitely and explode if i set_hp or punch inside the registers 00:37 hare_hare_yukai i think i can minetest.register_on_player_hpchange make modifier true? 01:07 * muurkha yells at _yella_ for bouncing on and offline 01:07 muurkha AAAAA 01:35 hare_hare_yukai what the fuck is 01:35 hare_hare_yukai -variable 01:41 [MTMatrix] what if simulate tnt via voxelmanip directly, it will be more faster and less laggy? 03:04 muurkha hare_hare_yukai: usually -variable in Lua means "the negative of variable". like if variable is -53, then -variable is 53 04:15 wsor1 Krock: could you take a look at https://github.com/minetest-mods/mymillwork/pull/7 when you have a chance please? 05:17 definitelya I get some neat would-be-copypasta from this, IDK why. ._. https://forum.minetest.net/viewtopic.php?f=3&p=428689 05:18 definitelya +vibes 07:42 [MTMatrix] Cringe question: possible make placeholder like 503 error via socat when player attempt connect (raw data)? 08:05 s20 What's the equivalent of minetest --version on Windows? Could anyone please tell? 08:06 erle s20 maybe it is this? minetest.exe --version 08:07 s20 Hmm, will try. Thanks 08:10 s20 Yup, tried on another system and works 08:12 erle hth 08:12 s20 hth? 08:13 erle s20 happy to help 08:14 s20 Ah :) 09:02 [MTMatrix] How change on_place speed? full_punch_interval no happens 10:45 erle look what's for dinner https://mister-muffin.de/p/YK29.png 11:14 [MTMatrix] Unifieddyes support? 11:38 [MTMatrix] So... question rate limit exceed i guess 11:38 [MTMatrix] So... questions rate limit exceed i guess 11:46 [MTMatrix] This is optimal solution if I try use minetest.after(time, func, ...) in on_place event? Or find other better solution? 11:48 erle localhost unicode on signs 11:50 erle https://mister-muffin.de/p/pWkL.png 11:50 [MTMatrix] nice, cool! 11:52 erle localhost i made this thing https://content.minetest.net/packages/erlehmann/unicode_text/ 11:52 erle 3 people downloaded it so far and one is already making signs 11:52 erle guess that's nice 11:53 erle 4 people! :D 11:54 MTDiscord 4 unique IP addresses* (erle's botnet) 11:55 [MTMatrix] tor nodes XD 12:03 MTDiscord It's would be excellent if mobile it will look not-broken on multicraft clients 12:19 [MTMatrix] some stupid question: swap_node recording to rollback function? 12:20 [MTMatrix] same as place_node for rollback? 12:24 erle i changed the screenshot for unicode_text because *already* someone asked if it can render arrows lol https://content.minetest.net/uploads/37b12cab68.png 12:24 erle i guess this picture makes the emoji support clear hehe 12:42 [MTMatrix] when minetest.register_on_swap_node ? 12:59 erle what 12:59 erle localhost what do you want to do 14:23 hare_hare_yukai someone help me i cant implement strength/weakness potions for mcl2 14:23 hare_hare_yukai xd 14:27 [MTMatrix] just when i place node via tool - server logger action silent, just when place default block - it writes "someone placed". And I'm not sure what non-logged actions will be writen to rollback 14:27 [MTMatrix] just when i place node via tool - server logger action silent, just when place default block - it writes "someone placed node_name". And I'm not sure what non-logged actions will be writen to rollback 14:28 [MTMatrix] sorry for my bad english 14:49 [MTMatrix] why /deletebloks nothing todo? It says deleted, but still mapblocks with nodes not deleted 14:49 [MTMatrix] why /deleteblokcs nothing todo? It says deleted, but still mapblocks with nodes not deleted 14:49 [MTMatrix] *deleteblocks 14:56 hare_hare_yukai whats 1 - 4 in lua guys 15:26 erle can anyone explain to me what GitHub may have changed recently that makes firefox go “[GFX1-]: wr_renderer_render: OutOfMemory” ? 15:26 erle it only happens with javascript enabled 15:27 erle and completely destroys font rendering on the page. i have no idea how to even achieve that using js … 15:45 erle Warr1024 do you think the issue can be closed based on my comment? https://github.com/minetest/minetest/issues/9946#issuecomment-1714128231 17:01 MinetestBot 02[git] 04grorp -> 03minetest/minetest: Make the crosshair DPI-aware (#13772) 13833c324 https://github.com/minetest/minetest/commit/833c32449858c72e1c4ddc2f9306e1f010693c76 (152023-09-11T16:59:32Z) 17:15 MinetestBot 02[git] 04tenplus1 -> 03minetest/minetest_game: Stairs: Add helper function for textures and simplify code (#3060) 1303177f1 https://github.com/minetest/minetest_game/commit/03177f158469c7601cf98c742956824cb62cc116 (152023-09-11T17:14:16Z) 17:21 erle celeron55 is this clickbaity enough lol https://github.com/minetest/minetest/pull/13790#issuecomment-1714288074 17:32 celeron55 erle: pretty good 17:36 erle celeron55 great, then the only fallout from my action is that zughy now hates me, which is exactly as before :P 17:39 celeron55 it's not exactly clear what to do though. it can't just stay there undocumented and barely used. it needs to be well defined 17:43 erle celeron55 i don't see the issue with documenting it except that it is work. it can probably be reverse engineered from current usage, given that 32 mods contain the string (not all of them might do something with it). historical usage is most often accompanied by the comment ”grass grows underneath” ;) 17:43 MTDiscord Heh, that's not actually the way I use it, even. I allow grass to grow beneath things that "pass" air but not "are" air. 17:44 MTDiscord I think the documentation for it should say "historical, deprecated" 😏 18:21 [MTMatrix] How i can calculate position blocks from raw data in map.sqlite for remove some blocks around platform? 18:21 [MTMatrix] It possible? 18:25 MTDiscord By "blocks" I assume you mean proper mapblocks, not individual nodes? 18:25 MTDiscord It's possible, and I've done it, but it's a mess, and it's pretty dangerous (make sure you have backups and are ready to use them) to mess about with the database directly, though it is a pretty fast way to do it. 18:26 MTDiscord You might get better traction though if you approach it from in-game and use the mod API; I think there are "delete blocks" methods. 18:26 MTDiscord you could use mtmappurge or whatever the tool is called, it works on a map database and can purge blocks outside of a given range 18:27 MTDiscord A caveat with deleting mapblocks is that you need a pretty wide margin around existing builds if you're using actual mapgen features (e.g. caves, dungeons, etc) or else they can carve into blocks adjacent to the generation and cause damage to builds. I usually require at least a full mapchunk (80x80x80, aligned) of safety margin surrounding areas actually developed by players. 18:27 [MTMatrix] yeah, just super big area... If i try in world editor it causes OOM 18:28 calcul0n the delete block function from the api is horribly slow, even for just a few blocks 18:28 MTDiscord Using the mod API to delete gargantuan areas is doable, but you'd have to break it up into smaller pieces of work and spread the workload out across multiple server steps. Not trivial, but not impossible... 18:36 [MTMatrix] also if i use method replace node with air == delete data from map.sqlite? 18:40 MTDiscord No, replacing nodes with air does not cause mapblocks to be deleted. A mapblock that's absent and one that's full of air mean different things (the former will regenerated it from mapgen when it's emerged, the latter will just load a block full of air) 18:40 MTDiscord a mapblock that's entirely full of air will be smaller than a generated terrain mapblock as it will compress better, but it will still take up space. 20:24 hare_hare_yukai i think my IDE is spying on me 20:24 hare_hare_yukai it somehow knows my IGN despite me never typing it in 22:00 erle hare_hare_yukai use notepad.exe 22:58 [MTMatrix] vi 22:58 [MTMatrix] 🫠 23:17 hare_hare_yukai fuck how do i exit this terminal 23:18 [MTMatrix] :3 23:18 [MTMatrix] no escape 23:24 hare_hare_yukai :q! 23:53 [MTMatrix] good, but, how read position for example, what mean "1140883404", I can't parse it. I guessing this as 114,88,34.4 23:54 erle maybe just maybe 23:54 erle there is a function that can help you there 23:58 [MTMatrix] Just is my mistake of creating wrong platform geometry... Is 2x larger than. I fix that, but map.sqlite 50~ MBytes now, and after some deletions via world editor //deleteblocks is still can't be smaller 23:59 celeron55 https://github.com/minetest/minetest/blob/master/doc/world_format.txt#L265 23:59 celeron55 this is documented, if you'd care to look for it 23:59 celeron55 absolutely no need to guess anything