Time Nick Message 02:04 runxiyu_ If we're running a Minetest server for the sole purpose of simulating circuits in multiplayer in mesecon, what settings/options (e.g. worldgen, etc) could help decrease the server load and improve performance? 03:03 Mantar reduce server step, shorten active block range. Both will have an impact on your mesecons though 03:04 Mantar I'm not an expert on mesecons stuff though 03:29 Blockhead256 runxiyu_: I would consider using versions of mods that the mt-mods team put out 03:29 Blockhead256 https://github.com/mt-mods 03:30 Blockhead256 https://github.com/minetest-monitoring/mesecons_ratelimiter 03:30 Blockhead256 https://github.com/mt-mods/mooncontroller 03:41 runxiyu_ Mantar: I think reducing active block range would be fine if I just added the mesecons region to forceload 03:41 runxiyu_ Mantar: though... that kinda defeats the point 03:41 runxiyu_ BlockheadsBot: I meant to keep mesecons running well but disable basically everything else 03:42 runxiyu_ I guess part of that is looking for a more minimal game than minetest_game 06:23 Blockhead256 runxiyu_: yes, if the sole purpose is to simulate circuits then I would take out most of the mods from Minetest Game or even start from scratch 06:24 Blockhead256 It depends how minimal you want to go, but maybe just some basic solid building blocks. Maybe you do want things like doors and trapdoors though? 06:25 Blockhead256 you defnitely want to get rid of things like the ABMs in Minetest Game that check for flower growth 06:49 runxiyu_ yeah 06:49 runxiyu_ hm 06:56 mtvisitor Compared with "SharpNet Photo Realism" texture pack, I found "Dungeon Soup" is more slight texture pack. 06:58 mtvisitor btw, I think 30/100 is at least for MTE's score. ;-) 07:02 mtvisitor is advtrain mod(s) also very popular for minetest servers ? 07:08 MTDiscord mtvisitor: not really. I would say it mainly targets specific audiences that only make up a small portion of MT users 07:09 mtvisitor ok, glad to know. 07:10 * mtvisitor only play techage modpack in single player mode with his limited spare time. 07:51 Blockhead256 Advtrains can be good for public transport, but it is a heavyweight. Travelnet is more popular 07:52 Blockhead256 imo for teleportation I rank it: telemosaic > teleport_potion > travelnet 08:11 Blockhead256 minecart mod is also more popular than advtrains 08:11 Blockhead256 (from joe7575) 10:01 runxiyu_ 2024-06-28 10:00:49: ERROR[Main]: /usr/share/games/minetest/builtin/game/register.lua:67: Name default:mese does not follow naming conventions: "rxmin:" or ":" prefix required 10:01 runxiyu_ I'm in my own little mod thing and I need to define a mese block 10:01 runxiyu_ I need it to be default:mese... is this possible? 10:05 sfan5 yes, prefix it with : 10:05 sfan5 (only during registration) 10:05 runxiyu_ ah 10:05 runxiyu_ thanks! 17:04 nekobit Furi0us_mat: share code 17:10 Furi0us_mat on_step = function(self, dtime) 17:10 Furi0us_mat paleotest.on_step(self, dtime) 17:10 Furi0us_mat local pos = self.object:get_pos() 17:10 Furi0us_mat local objects = minetest.get_objects_inside_radius(pos, 30) 17:10 Furi0us_mat for _, object in ipairs(objects) do 17:10 Furi0us_mat if object:get_luaentity() and object:get_luaentity().name == "endgame:tentacle" then 17:10 Furi0us_mat on_step = function(self, dtime) 17:10 Furi0us_mat paleotest.on_step(self, dtime) 17:10 Furi0us_mat local pos = self.object:get_pos() 17:10 Furi0us_mat local objects = minetest.get_objects_inside_radius(pos, 30) 17:10 Furi0us_mat for _, object in ipairs(objects) do 17:10 Furi0us_mat if object:get_luaentity() and object:get_luaentity().name == "endgame:tentacle" then 17:11 nekobit dude dont blow up my phone lol 17:11 nekobit use a pastebin 17:13 nekobit use a pastebin!!!!! 17:14 nekobit paste.ubuntu.com 17:22 Furi0us_mat https://pastebin.ubuntu.com/p/v9gMK2HmQt/plain/ 17:24 nekobit ill.peep in a sec 17:28 nekobit oh wtf 17:28 nekobit Furi0us_mat: did you private your paste? 17:29 nekobit its asking me for a login 17:33 Furi0us_mat normally no, I clicked on copy the link, it may be private by default, I rarely if ever use pastebin 17:33 nekobit this is Ubuntu pastebin 17:33 nekobit can u try paste.sqt.wtf 17:35 Furi0us_mat https://paste.sqt.wtf/a71c8f@raw 17:43 nekobit can you put your error in too? 17:43 nekobit maybe some more code? 17:45 Furi0us_mat The error : https://paste.sqt.wtf/5a74b8@raw 17:49 Krock Furi0us_mat: the object was removed in paleotest.on_step 17:50 Krock hence any getter functions will return no value (which is on lua side de-facto equivalent to nil) 17:51 nekobit check if pos isnt nil 17:52 nekobit er, create a copy of the object then check nil. or move your on_step call after 17:53 Krock no. the pos == nil check is better. copying the object will in fact copy the reference, which won't help at all 17:54 nekobit but pos will crash 17:54 nekobit so create a copy of the object then check if object is nil 17:54 nekobit and run the on_step call later 17:54 MTDiscord local pos = obj:get_pos() if not pos then return end 17:55 nekobit ^ 17:55 nekobit wait 17:55 nekobit not ^ 17:55 nekobit check if obj is nil 17:55 nekobit not pos 17:55 nekobit get_pos() crashes 17:55 Krock nekobit: please have a look at the error message again 17:55 MTDiscord If you make a copy of the reference to the object it will never be nil, unless you insert it into a weak table, and even in that case, the C++ reference can be cleared before the lua references go away. 17:55 sfan5 i don't think objects suddenly become nil 17:56 MTDiscord if the object became nil then that was your doing, not because the engine dereferenced it 17:56 nekobit oh, my bad, it was not get_pos making it nil 17:56 MTDiscord er unreferenced I mean 18:24 Furi0us_mat the thing I find strange is why does it ask for a Local "v"? 18:25 nekobit because vector.lua is simply freaking out 18:25 nekobit so it must use a variable v somewhere 18:25 MTDiscord the stack trace is there for a reason 18:26 nekobit i honestly hate minetest's lua debugging. Is it possible to improve it in any way 18:26 nekobit i wish it showed the faulty line or certain variables 18:27 nekobit or even a full stack dump 18:27 MTDiscord yeah improvements like that are possible and i experimented with such things 18:28 nekobit i also wish it didnt hard crash the game and just throw you to the terminal 18:28 nekobit in the mainmenu at least crashes have a dialog box 18:39 Furi0us_mat the error comes directly from minetest in the mainmenu 18:42 Furi0us_mat I've just noticed that it asks for a local "v" directly in the minetest vector file. 19:32 Furi0us_mat and would you have any code to suggest for an invincible entity only if the "endgame:tentacle" entity is within a 100-block radius?