Time Nick Message 02:35 zat Anybody bothered if I add the possibility of adding a Lua function reference to the decorations list of a simple deco? 14:15 Megaf maybe theres a new way to clearobjects that would not make the server freezes 14:15 Megaf maybe something like the mese sand tubes 14:15 Megaf they vacumm the objects 14:16 Megaf so, a vacumm tube with a range of 16 nodes like could be place on the center of a 16x16x16 area and than the items pulverized 14:16 Megaf this could be done block by block 14:17 Megaf yes, it would take long, be it wouldnt have a big impact on perfromance 14:17 Megaf performance* 14:25 CraigyDavi Megaf, using the builtin_item mod seems to work for me 16:11 kaeza small patch: https://github.com/kaeza/minetest/commit/2a33f7f92c5d274335d7e92865b6545e1d7954a7 16:29 kaeza eh fuck it, this is better: https://github.com/kaeza/minetest/commit/5f6cb872604daad7dc205f3fac6787cc2ffe2322 16:30 Megaf CraigyDavi: I don't understand how that works 16:32 Megaf kaeza: that's a great idea 16:32 Megaf did you made a pull request already? 16:32 kaeza no 16:32 CraigyDavi Simple, really. Just using remove_items in minetest.conf when using the mod. There's no problems 16:54 kaeza there was a big party for pull request number 1000, and we are 1/3 of the way to 2k ._. 18:28 SoniEx2 nodes should get an on_entity_collide 18:32 RealBadAngel what for? 19:12 VanessaE RealBadAngel: maybe he wants to make an in-game pinball machine :P 19:15 Megaf #1000 19:15 ShadowBot https://github.com/minetest/minetest/issues/1000 -- Fix entity duplication once and for all by celeron55 19:15 Megaf #2000 19:15 ShadowBot Megaf: Error: Delemiter not found in "HTTP Error 404: Not Found" 19:16 Megaf #1200 19:16 ShadowBot https://github.com/minetest/minetest/issues/1200 -- Add support for exiting formspecs by doubleclicking outside by sapier 19:48 RealBadAngel ShadowNinja, here? 19:49 ShadowNinja RealBadAngel: Yep. 19:49 RealBadAngel check the code, ttl still works in unloaded blocks, it adds dtime_s on activation 19:50 RealBadAngel which is game time - block's timestamp 20:15 Megaf CraigyDavi: default is 300 seconds, so to change the value I just put remove_items = 120 in minetest.conf, right? 20:40 ShadowNinja RealBadAngel: But why not just use the gametime? 20:41 ShadowNinja VanessaE: I made a in-game PONG machine. I stoped when a digilines/LuaC bug stoped my from making the controls properly though. 20:46 RealBadAngel ShadowNinja, i did before, but sapier thought that gametime may overflow 20:47 RealBadAngel also, the code is a bit simplier now 21:04 ShadowNinja RealBadAngel: Lua uses doubles, which give you more than 50 bits of precision (52?) which is plenty. Even a 32-bit number should be fine, since most players don't play continuously for a hundred years. 21:05 ShadowNinja Even with regular realtime it should be plenty big enough. 21:05 RealBadAngel tell that to sapier ;) 21:06 RealBadAngel anyway, either the solution game_time is used for calculations 21:06 ShadowNinja RealBadAngel: Is the block timestamp gametime or realtime? 21:06 RealBadAngel gametime 21:06 ShadowNinja Alright, good. 21:19 CraigyDavi Megaf, Yes. That will remove items every 2 mins. Without causing lag to the server. 21:21 RealBadAngel ShadowNinja, what about default ttl? is 15 minutes ok with you? 21:22 proller why uou hate items? 21:24 ShadowNinja RealBadAngel: Yes. 21:25 RealBadAngel proller, i hate items so much that in my worlds i will make ttl = 1s 21:25 proller make default = -1 and set it to 1 in you worlds 21:26 RealBadAngel if you want to stress your servers youre free to set it to -1, nothing easier 21:28 RealBadAngel we do want optimized things for players that are not even able to find config file 21:28 RealBadAngel since you do know where it is, what problem do you have exactly? 21:29 proller instead of optimizing item handling you want delete all items.. okay, its true minetest way 21:29 RealBadAngel having things easy come, easy go, doesnt help gameplay 21:30 RealBadAngel it in fact kills the gameplay 21:30 RealBadAngel and minetest suffer from that a lot 21:31 RealBadAngel theres no risk at all, player's death means nothing 21:31 RealBadAngel so its not a sandbox world anymore, its kindergarten 21:33 RealBadAngel and btw, if you do love your items put them into chests, they are made on purpose :P 23:10 diemartin wouldn't it be cleaner to use table.concat() here? https://github.com/minetest/minetest/blob/master/builtin/game/chatcommands.lua#L391 23:14 diemartin that file needs some cleanup ._. 23:14 diemartin (mostly style issues though) 23:22 jin_xi kaeza: look at formspec toolkit. its all string concatenation too 23:24 jin_xi idk if it matters much tho 23:31 kaeza https://github.com/minetest/minetest/blob/master/builtin/fstk/tabview.lua#L251 this should be in `ui' table (or `core' or whatever) 23:33 kaeza hmm