Time Nick Message 02:38 MTDiscord so the answer is no, regular clients cannot see or move past the old limit even with the new server, the limit is enforced client side 03:57 erlehmann MisterE if you just increased the limit server-side i think they should be able to see one mapblock further 03:57 erlehmann but i am not sure and very sleepy 03:58 erlehmann further than normal i mean 03:58 erlehmann n8 11:07 sfan5 @MisterE the limit is hardcoded in every piece of code that uses a specific datatype for positions 11:07 sfan5 so yes you absolutely need a new/incompatible client 11:09 MTDiscord @MisterE, Modder of Sortz 12:06 MTDiscord Thank you 12:10 MTDiscord Well I hope proller gan get the limits broken but until such time as that is merged its not terribly useful to me 15:54 webguy Hello, might someone be able to confirm 15:54 webguy My server is accessible at publicaccess.club port 30000 16:11 MTDiscord Command sent from Discord by school of hard knocks, Inc: 16:11 MTDiscord !up is the command for that i think 16:11 MinetestBot ValueError: too many values to unpack (expected 2) (file "/home/sfan5/mtbot/modules/serverup.py", line 48, in serverup) 16:12 MTDiscord Command sent from Discord by school of hard knocks, Inc: 16:12 MTDiscord !up test.com 30000 16:12 MinetestBot test.com:30000 seems to be down (IPv4) 16:12 MTDiscord Command sent from Discord by school of hard knocks, Inc: 16:12 MTDiscord !up publicaccess.com 300000 16:12 MinetestBot publicaccess.com:300000 seems to be down (IPv4) 16:12 MTDiscord Command sent from Discord by school of hard knocks, Inc: 16:12 MTDiscord !up publicaccess.com 30000 16:13 MinetestBot publicaccess.com:30000 seems to be down (IPv4) 16:13 MTDiscord Command sent from Discord by school of hard knocks, Inc: 16:13 MTDiscord !up publicaccess.club 30000 16:13 MinetestBot publicaccess.club:30000 is up (82ms) (IPv4) 16:13 MTDiscord ^webguy 17:09 MTDiscord Oh that's pretty neat that it tells you exactly what's wrong 17:11 MTDiscord It just sits there, watching, waiting. Ready to serve on command, analyzing every piece of text that runs through this channel 17:12 MTDiscord Only to be awakened to respond with a "ValueError" 17:14 MTDiscord Command sent from Discord by rust_shill_u128: 17:14 MTDiscord !up exec("print('hello')") 17:14 MinetestBot exec("print('hello')"):30000 seems to be down (host did not resolve) 17:14 MTDiscord Outsmarted by a robot 17:14 erlehmann !up 127.0.0.1 17:14 MinetestBot 127.0.0.1:30000 seems to be down 17:14 erlehmann !up 127.0.0.1:22 17:14 MinetestBot 127.0.0.1:22 seems to be down 17:14 erlehmann !up 127.0.0.1:80 17:14 erlehmann well 17:15 MTDiscord How did you even do that? 18:24 mrkubax10 How can I get node orientation when using paramtype2="facedir"? 18:25 Desour look into the source code how it rotates, and then do these rotations yourself 18:26 Desour or wait some years until builtin has helpers for this 18:27 Desour #11932 goes in that direction for example 18:27 ShadowBot https://github.com/minetest/minetest/issues/11932 -- Add helper function to rotate a facedir by aerkiaga 18:30 mrkubax10 but I would like to get orientation of already placed node (like where it is facing), sorry maybe question wasn't clear enough 18:31 calcul0n there's minetest.facedir_to_dir() and dir_to_facedir 18:31 Desour first find out which direction your orientation is for facedir=0 18:31 Desour calcul0n: they are pretty useless, as they only work for one side 18:32 Desour then rotate that direction according to facedir 18:32 Desour the resulting direction is your orientation 18:33 mrkubax10 thanks 18:33 Desour see here for how you have to rotate: https://github.com/minetest/minetest/blob/e030d9cff08636a3c9ed301efb5e35b7642ac166/src/client/mesh.cpp#L299-L315 20:50 comrad hi, my game database has grown to 1.9gb (sqlite3) is there a way to clean up the file? 20:50 comrad at game startup i get messages like "SQLite3 database has been locked for 1000 ms; this causes lag." 20:51 Desour which database? 20:52 comrad sqlite3 20:53 Desour no, which file 20:53 comrad ah, sorry 20:53 comrad map.sqlite it is 20:56 Desour well, you could easily remove some mapchunks, but: don't remove single mapblocks (might cause issues with lbms), only whole chunks; mods might have stored something in mapstorage, this might lead to bugs; you can easily delete parts of the world you didn't want to delete; and other issues might exist 20:56 Desour I don't know of anything that does it automatically for you 20:56 comrad okay, thanks 20:56 comrad i will look into some sqlite-commands then 21:29 Desour btw, if anyone is interested in the debug hook thing from yesterday (yes, I'm also speaking to you, log reader, don't think we couldn't see you), I haven't found a lua bytecode instruction that does a test and set at once, so my possibilities were to either do a ffi call to a C function (not tested yet) or always create new tables, see https://github.com/Desour/dslib/blob/264d0a3cf76756d511995190b73f47bfb2f8b22f/src/raw_buffer.lua#L176 . oh, and if anyone 21:29 Desour sees mistakes in that code, please tell me. also note that it's slower than normal tables for now 21:36 MTDiscord removing debug,sethook will break basically any mod that trys to sandbox lua code 21:36 MTDiscord think mesecons, digicompute, etc 21:37 Desour indeed. but then why can't such mods request the insecure env? 21:37 Desour (or provide sandboxes from a trusted mod or builtin) 21:37 MTDiscord well, i dont see you providing a sandbox 21:38 MTDiscord but advocating removal 21:38 MTDiscord they could request insecure env, however it still doesnt change the fact that it would be a breaking change 21:40 Desour I don't think I have advocated the plain removal of debug.s/gethook yet 21:41 MTDiscord to quote yesterday "debug.sethook really shouldn't be in the non-insecure env" seems like advocating to me, but maybe im dumb 21:41 Desour giving mods sethook was a bad decision back when the env was made more secure 21:42 Desour they shouldn't have it, but we shouldn't plainly change it either 21:54 comrad is the binary data which is saved in the blocks-table different in format in sqlite3 than in postgresql? 21:55 comrad read: can i push the sql-statements from sqlite3 into postgresql? or do i have to modify the values? 21:56 Desour idk 21:58 sfan5 comrad: it's the same 21:58 comrad thanks 21:59 sfan5 however the position column(s) might differ 21:59 sfan5 and there's basically no reason for you to touch the data manually, Minetest provides migration options 22:03 comrad yeah, but its running in a docker 22:03 comrad i found the source-code which creates the database, i created the tables manually now 22:07 comrad sfan5: the sqlite3-blocks-table has only one pos-column, the postgresql has three 22:17 sfan5 you should be able to invoke the migration utility even with docker 22:23 comrad yeah in theory, but i am not a huge docker fan, so i kind of trying to avoid it ;)