Minetest logo

IRC log for #minetest, 2023-09-11

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

All times shown according to UTC.

Time Nick Message
00:01 loggingbot_ joined #minetest
00:01 Topic for #minetest is now The official Minetest channel | Latest version: 5.7.0 (2023-04-08) | General, player and modding discussion is on-topic. If in doubt, post here | Responses may take a while, be patient | Rules: https://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: https://minetest.net/servers | IRC logs: https://irc.minetest.net/minetest
00:01 yella joined #minetest
00:01 fury999io joined #minetest
00:02 isAAAc joined #minetest
00:02 fury999io joined #minetest
00:02 Warr1024 joined #minetest
00:02 mmuller joined #minetest
00:03 syl joined #minetest
00:03 fluxionary joined #minetest
00:03 [MTMatrix] <localhost> how set force name who edited node via lua modding? (for rollback)
00:04 Megaf joined #minetest
00:04 Noisytoot joined #minetest
00:05 Krock joined #minetest
00:05 lumidify joined #minetest
00:05 pounce joined #minetest
00:06 dabbill joined #minetest
00:07 fluxionary joined #minetest
00:20 hare_hare_yukai okay i got my answer, and my computer blew up in the process
00:23 [MTMatrix] <ancientmariner> 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:31 Kilroy joined #minetest
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?
00:49 _yella_ joined #minetest
00:50 _yella_ joined #minetest
00:56 _yella_ joined #minetest
00:56 _yella_ joined #minetest
01:02 smk joined #minetest
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] <localhost> what if simulate tnt via voxelmanip directly, it will be more faster and less laggy?
01:58 liceDibrarian joined #minetest
02:10 Alias joined #minetest
02:12 YuGiOhJCJ joined #minetest
03:04 muurkha hare_hare_yukai: usually -variable in Lua means "the negative of variable".  like if variable is -53, then -variable is 53
03:17 fluxionary joined #minetest
03:21 sparky4 joined #minetest
03:25 liceDibrarian joined #minetest
03:27 BuckarooBanzai joined #minetest
03:58 liceDibrarian joined #minetest
04:00 MTDiscord joined #minetest
04:15 wsor1 Krock: could you take a look at https://github.com/minetest-mods/mymillwork/pull/7 when you have a chance please?
04:21 TomTom joined #minetest
04:34 Sobinec joined #minetest
04:34 the_sea_peoples joined #minetest
04:41 Verticen joined #minetest
04:56 Lesha_Vel joined #minetest
05:02 calcul0n joined #minetest
05:03 Verticen joined #minetest
05:11 definitelya joined #minetest
05:17 definitelya I get some neat would-be-copypasta from this, IDK why. ._. https://forum.minetest.net/viewtopic.php?f=3&amp;p=428689
05:18 definitelya +vibes
06:11 freelikegnu joined #minetest
06:17 v-rob joined #minetest
06:49 rod_tout_court joined #minetest
07:02 mrkubax10 joined #minetest
07:11 m33 joined #minetest
07:42 [MTMatrix] <localhost> Cringe question: possible make placeholder like 503 error via socat when player attempt connect (raw data)?
07:56 s20 joined #minetest
08:04 Thelie joined #minetest
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 :)
08:50 Lesha_Vel joined #minetest
09:02 [MTMatrix] <localhost> How change on_place speed? full_punch_interval no happens
09:41 calcul0n joined #minetest
10:21 lemonzest joined #minetest
10:45 erle look what's for dinner https://mister-muffin.de/p/YK29.png
11:14 [MTMatrix] <localhost> Unifieddyes support?
11:17 s20 joined #minetest
11:38 [MTMatrix] <localhost> So... question rate limit exceed i guess
11:38 [MTMatrix] <localhost> So... questions rate limit exceed i guess
11:46 [MTMatrix] <localhost> 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] <localhost> 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 <luatic> 4 unique IP addresses* (erle's botnet)
11:55 [MTMatrix] <localhost> tor nodes XD
12:03 MTDiscord <zmv7> It's would be excellent if mobile it will look not-broken on multicraft clients
12:19 [MTMatrix] <localhost> some stupid question: swap_node recording to rollback function?
12:20 [MTMatrix] <localhost> 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:29 Sobinec joined #minetest
12:42 [MTMatrix] <localhost> when minetest.register_on_swap_node ?
12:59 erle what
12:59 erle localhost what do you want to do
13:11 appguru joined #minetest
13:21 nickodd joined #minetest
13:41 Trifton joined #minetest
14:23 hare_hare_yukai someone help me i cant implement strength/weakness potions for mcl2
14:23 hare_hare_yukai xd
14:26 TheSilentLink joined #minetest
14:27 [MTMatrix] <localhost> 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] <localhost> 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] <localhost> sorry for my bad english
14:49 [MTMatrix] <localhost> why /deletebloks nothing todo? It says deleted, but still mapblocks with nodes not deleted
14:49 [MTMatrix] <localhost> why /deleteblokcs nothing todo? It says deleted, but still mapblocks with nodes not deleted
14:49 [MTMatrix] <localhost> *deleteblocks
14:52 Pexin joined #minetest
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:34 mrkubax10 joined #minetest
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
15:46 v-rob joined #minetest
15:57 Sobinec joined #minetest
16:28 Talkless joined #minetest
16:45 Niklp joined #minetest
16:49 Thelie joined #minetest
16:54 Desour joined #minetest
16:57 fluxionary joined #minetest
16:58 nuala joined #minetest
17:01 MinetestBot [git] grorp -> minetest/minetest: Make the crosshair DPI-aware (#13772) 833c324 https://github.com/minetest/minetest/commit/833c32449858c72e1c4ddc2f9306e1f010693c76 (2023-09-11T16:59:32Z)
17:15 MinetestBot [git] tenplus1 -> minetest/minetest_game: Stairs: Add helper function for textures and simplify code (#3060) 03177f1 https://github.com/minetest/minetest_game/commit/03177f158469c7601cf98c742956824cb62cc116 (2023-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:40 mrkubax10 joined #minetest
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 <warr1024> 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 <warr1024> I think the documentation for it should say "historical, deprecated" 😏
17:51 jaca122 joined #minetest
17:55 Desour joined #minetest
18:14 Desour joined #minetest
18:21 [MTMatrix] <localhost> How i can calculate position blocks from raw data in map.sqlite for remove some blocks around platform?
18:21 [MTMatrix] <localhost> It possible?
18:22 Thelie joined #minetest
18:25 MTDiscord <warr1024> By "blocks" I assume you mean proper mapblocks, not individual nodes?
18:25 MTDiscord <warr1024> 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 <warr1024> 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 <rollerozxa> 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 <warr1024> 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] <localhost> yeah, just super big area... If i try in world editor it causes OOM
18:28 Verticen joined #minetest
18:28 calcul0n the delete block function from the api is horribly slow, even for just a few blocks
18:28 MTDiscord <warr1024> 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] <localhost> also if i use method replace node with air == delete data from map.sqlite?
18:40 MTDiscord <warr1024> 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 <warr1024> 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.
18:45 appguru joined #minetest
18:50 v-rob joined #minetest
18:51 kamdard joined #minetest
18:57 Sobinec joined #minetest
19:10 Boingo joined #minetest
19:33 olliy joined #minetest
19:49 Desour joined #minetest
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
20:40 v-rob joined #minetest
20:47 ghoti joined #minetest
20:57 Thelie joined #minetest
21:11 TheSilentLink joined #minetest
21:41 olliy1or joined #minetest
22:00 erle hare_hare_yukai use notepad.exe
22:32 panwolfram joined #minetest
22:58 [MTMatrix] <localhost> vi
22:58 [MTMatrix] <localhost> 🫠
22:59 Verticen joined #minetest
23:17 Yonle joined #minetest
23:17 hare_hare_yukai fuck how do i exit this terminal
23:18 [MTMatrix] <localhost> :3
23:18 [MTMatrix] <localhost> no escape
23:24 jonadab joined #minetest
23:24 hare_hare_yukai :q!
23:52 v-rob joined #minetest
23:53 [MTMatrix] <localhost> 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] <localhost> 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

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