Minetest logo

IRC log for #minetest, 2021-07-27

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

All times shown according to UTC.

Time Nick Message
00:01 DUMdum joined #minetest
00:07 specing_ joined #minetest
00:20 specing_ joined #minetest
00:29 DUMdum joined #minetest
00:43 Verticen_ joined #minetest
01:01 heavygale joined #minetest
01:32 Edgy1 sfan5 / others: is there something up with the serverlist? i'm getting lots of packet loss no matter where I ping it
01:33 Edgy1 some servers are having trouble announcing
01:33 Edgy1 packet loss ranging from 20 - 40% in canada, and 40 - 60 in finland
01:39 Edgy1 minetest works after increasing  curl_timeout
02:11 Extex joined #minetest
02:14 MinetestBot joined #minetest
02:27 celeron55 joined #minetest
03:39 aldo joined #minetest
03:44 Kimapr joined #minetest
03:58 Hawk777 joined #minetest
04:41 AntumDeluge joined #minetest
04:55 Flabb joined #minetest
05:00 riff-IRC joined #minetest
05:14 Lunatrius` joined #minetest
05:45 erlehmann joined #minetest
06:08 CWz joined #minetest
06:25 N_i_g_e_l joined #minetest
06:26 N_i_g_e_l anyone know who looks after servers.minetest.net?
06:27 nyje anybody else have a problem with the serverlist in the minetest client?
06:28 nyje I'm getting an error
06:28 nyje 2021-07-27 09:21:05: ERROR[AsyncWorker-0]: servers.minetest.net/list?proto_version_min=37&proto_version_max=39 not found (Timeout was reached) (response code 0)
06:29 MTDiscord <Sublayer plank> sfan7 runs the server list
06:29 MTDiscord <Sublayer plank> also the server list works for me, idk why you're getting errors
06:30 nyje strange, Im on minetest 5.4.1 and get nothing in the in game server list except "loading"
06:31 nyje and that error in the console
06:36 Kimapr joined #minetest
07:04 nyje left #minetest
07:36 independent56 joined #minetest
07:41 independent56 joined #minetest
07:47 sfan5 Edgy1: haven't noticed anything but i'll check
07:50 sfan5 looks like it's fine right now
07:50 sfan5 but the status page of the host says there was some packet loss between 2am and 4am, been fixed
07:53 Kimapr5 joined #minetest
07:56 calcul0n__ joined #minetest
08:02 Kimapr joined #minetest
08:04 nyje joined #minetest
08:10 tech_exorcist joined #minetest
08:35 nyje nice that 5.4.1 can be compiled for linux so simply, I guess that will break on the next version when the build will be against the irrlicht-MT fork again..
08:36 sfan5 don't worry we've made sure that's super easy too
08:37 nyje I cant figure out how to build against the irrlicht-MT fork
08:39 nyje It gets complicated, because my system tries to use the debian irrlicht, hopefully someone more persistant than me will post detailed build instructions for ubuntu/mint/debian based OS's when the next version lands ;-)
08:40 sfan5 you can git clone the repo into <minetest folder>/lib/irrlichtmt and it'll pick it up and compile it alongside automatically
08:41 nyje I tried that, and cmake just cheerfully ignored it and tried to use the packaged irrlicht ;-(
08:41 sfan5 try deleting CMakeCache.txt first
08:43 nyje I'll try again when the next version drops, the 'one line ubuntu build script' is working fine for 5.4.1 for now ;-)
08:44 nyje I'm just worried about compiling the next version on my remote headless debian VPS systems where I have my servers ;-)
08:45 sfan5 that shouldn't get any harder
08:45 sfan5 we'll see when 5.5 is done
08:45 nyje tes indeedy ;-)
08:45 nyje *yes
08:47 nyje thanks for the hints sfan5 anyhoo 8o)
08:49 Kimapr joined #minetest
08:52 independent56 joined #minetest
09:22 Fixer joined #minetest
09:35 calcul0n_ joined #minetest
09:59 nige_ joined #minetest
09:59 Alias joined #minetest
10:45 entuland joined #minetest
10:58 longerstaff13 joined #minetest
11:02 DUMdum joined #minetest
11:24 DUMdum joined #minetest
11:30 behalebabo joined #minetest
11:49 DUMdum joined #minetest
12:05 Verticen_ joined #minetest
12:19 specing_ joined #minetest
14:23 Guest83 joined #minetest
14:29 hecks joined #minetest
14:31 DUMdum joined #minetest
14:38 Fixer joined #minetest
15:23 ilomiglio joined #minetest
15:26 ilomiglio Hi, i set server_announce as true, but i still not seeing anything on minetest public test listing
15:26 ilomiglio i'm on a vps
15:27 sfan5 IP and port? configured the firewall? do you use a domain? ipv6?
15:27 ilomiglio domain set, i can play if i give the correct url but sometimes it goes in timeout
15:28 ilomiglio sfan5, 999labs.ovh:30000, firewall opened 22 tcp, 10000 udp and 30000 udp, domain 999labs.ovh configured with A to the vps ip, using ipv4
15:28 sfan5 !up 999labs.ovh 30000
15:28 MinetestBot 999labs.ovh:30000 is up (14ms) (IPv4)
15:28 sfan5 well I guess it works
15:28 sfan5 well I guess it works
15:28 sfan5 oops
15:28 sfan5 !up 999labs.ovh 30000
15:28 MinetestBot 999labs.ovh:30000 is up (14ms) (IPv4)
15:28 sfan5 !up 999labs.ovh 30000
15:28 MinetestBot 999labs.ovh:30000 is up (14ms) (IPv4)
15:29 sfan5 hmm you have two IPs on the domain
15:29 sfan5 !up 193.70.91.146
15:29 MinetestBot 193.70.91.146:30000 is up (14ms)
15:29 sfan5 !up 213.186.33.5
15:29 MinetestBot 213.186.33.5:30000 seems to be down
15:29 sfan5 the second one doesn't work, there's your issue
15:29 ilomiglio what is 213 ip?
15:30 ilomiglio lemme check, you said i have 2 ips
15:30 sfan5 I wouldn't know, it's set on your domain: https://dns.google/query?name=999labs.ovh
15:30 luizsab joined #minetest
15:30 MTDiscord <Warr1024> Yeah, if you have 2 IP addresses then each user trying to reach the thing will get a random-ish IP out of those 2, and that includes the server list.
15:30 MTDiscord <Warr1024> So your server is half-working and half not and so the server list will always be half wrong.
15:31 hecks the server is in a state of superposition until someone tries to connect to it...
15:31 luizsab hi everyone. Is there any way to move a gold loaded chest (technic mod)?
15:31 ilomiglio it may be the dns, i look at it as ec
15:31 ilomiglio a sec
15:31 luizsab the wrench just works with simple chest
15:32 ilomiglio nice tool of google dns
15:33 ilomiglio found the IPs in the dns zone
15:34 ilomiglio ok, now i have a single A record
15:35 ilomiglio server restarted
15:35 sfan5 if you wait a bit for dns to update it should start working automatically
15:35 ilomiglio also, i found a bug in give_initial_tool
15:35 ilomiglio if you set the string from minetest.conf it ignores the first item in the list
15:37 ilomiglio sfan, i directly rebooted the vps
15:42 ilomiglio i know what that ip is, it's the webmail of ovh
15:43 ilomiglio all ok now, thank you sfan5
15:46 luizsab hi everyone. Sorry by ask again, but Is there any way to move a gold loaded chest (technic mod)?
15:47 ilomiglio locked chest?
15:48 ilomiglio i use a wrench on enyek-something server but it just sort the chest inventory
15:48 luizsab no it isnt locked
15:49 luizsab there is a wrench but it just work with simple chest
15:49 ilomiglio if i got it, the wrench is used for moving the chest elsewhere or for sorting the chest inventory? i'm accustomed to a different technic mod
15:50 Extex joined #minetest
15:51 luizsab wrench move the simple chest. Gold chest has a inner command to sort
15:51 luizsab gold chest is on technic mod
15:52 ilomiglio To pickup a node simply right click on it. If the node contains a formspec,
15:52 ilomiglio you will need to shift+right click instead.
15:54 MTDiscord <Benrob0329> New (short) video premiering in ~5 minutes: https://youtu.be/B3jOmeOPEtI
16:01 Hawk777 joined #minetest
16:02 luizsab ilomiglio thank you!!! It's works, I was flying hahahaha
16:08 ilomiglio talking about give_initial_stuff
16:08 ilomiglio if i use a list without a heading comma, i lose the first item
16:18 Verticen_ joined #minetest
16:18 ilomiglio is there a way to get the number of registered player in the sqlite database from inside the mod? e.g. not using sqlite3 cmd
16:24 ilomiglio if someone needs it, it's "select count(*) from auth"
16:30 Conrad joined #minetest
16:45 garywhite joined #minetest
16:45 garywhite joined #minetest
16:47 Talkless joined #minetest
16:58 DUMdum joined #minetest
17:01 Conradish006 joined #minetest
17:10 MinetestBot [git] Wuzzy2 -> minetest/minetest: Improve documentation of tools (#11128) 216728c https://git.io/J4NVK (2021-07-27T17:09:14Z)
17:10 MinetestBot [git] rubenwardy -> minetest/minetest: ContentDB: Add reason to downloads (#10876) 9c145ba https://git.io/J4NVX (2021-07-27T17:08:49Z)
17:13 MinetestBot [git] sfan5 -> minetest/minetest: Add bold, italic and monospace font styling for HUD text elements (#1… 6e8aebf https://git.io/J4NKA (2021-07-27T17:11:46Z)
17:13 MinetestBot [git] JosiahWI -> minetest/minetest: Take advantage of IrrlichtMt CMake target (#11287) cf13691 https://git.io/J4NKh (2021-07-27T17:11:27Z)
17:17 hecks joined #minetest
17:51 Out`Of`Control joined #minetest
17:52 sys4 joined #minetest
17:53 Out`Of`Control Hi, anyone has access to servers.minetest.net, my minetest server disappear from server list. Nothing has been changed, suddenly server disappear. I  Try everything, did not help.
17:54 MTDiscord <Warr1024> hostname:port?
17:55 Out`Of`Control rbose.org:30000
17:56 MTDiscord <Warr1024> I can't find any evidence that that domain exists.
17:56 valhalla joined #minetest
17:56 MTDiscord <Warr1024> Did your domain just expire or something?
17:57 Out`Of`Control Thats odd as i can connect and ssh to it
17:57 MTDiscord <Warr1024> you must have it cached
17:57 Out`Of`Control Registry Expiry Date: 2028-02-19T21:51:59Z
17:57 MTDiscord <Warr1024> best check with your DNS provider and make sure something weird isn't going on...
17:57 Out`Of`Control I replace address with IP
17:58 Out`Of`Control 45.132.245.172
17:58 MTDiscord <Warr1024> I tried it on my own network, from my VPS, from a random "DNS lookup tool" website, and all say rbose.org does not exist.
17:59 MTDiscord <Warr1024> I'm seeing NS records and such for rbose.org, i.e. implying domain authority, I guess, but not getting an A records that point to an actual host or anything.
18:00 MTDiscord <Warr1024> The PTR reverse record for your IP back to rbose.org works
18:02 Out`Of`Control I have to look & edit DNS settings?
18:03 MTDiscord <Warr1024> Either that, or check to see if they're having an outage or other issue
18:17 Guest8270 joined #minetest
18:18 Guest8270 Warr1024 thanks
18:19 Guest1795 joined #minetest
18:20 Guest8782 joined #minetest
18:21 sfan5 !up rbose.org 30000
18:21 MinetestBot rbose.org:30000 seems to be down (host did not resolve)
18:21 sfan5 yeah that's consistent with what Warr1024 said
18:24 Out`Of`Control sfan5: strange some can connect, other not.
18:26 MTDiscord <Warr1024> I recently saw a hiccup where my VPS and my home network couldn't reach each other for like 5 minutes, and that almost never happens ... I wonder if there's an "internet weather" situation going on, like when people occasionally launch massive DDoS attacks against bits of internet infrastructure, or like that time when Azure accidentally DDoSed itself and took down a hunk of the internet...
18:27 MTDiscord <Warr1024> https://xkcd.com/908/
18:28 erlehmann ok i missed this so far, this is funny http://cheatdb.elidragon.com/packages/?type=mod
18:28 erlehmann rubenwardy, are some of those mods that are rejected from contentdb for one reason or another?
18:29 erlehmann or does it only superficially look similar?
18:29 MTDiscord <Sublayer plank> well they all seem to be clientmods
18:29 DUMdum joined #minetest
18:30 erlehmann hmm indeed
18:30 MTDiscord <Warr1024> ContentDB is open source, anyone can run their own instance for any reason.  Mods that are ineligible for the official CDB is one obvious motivation for actually doing this, but anyone could for any reason they want.
18:30 erlehmann so i guess you can not get clientmods with contentdb?
18:32 Out`Of`Control !up rbose.org
18:32 MinetestBot rbose.org:30000 seems to be down (host did not resolve)
18:32 Out`Of`Control !up http://v2202103144741147811.powersrv.de/
18:32 MinetestBot Out`Of`Control: invalid port
18:33 MTDiscord <Sublayer plank> yeah. plus all those clientmods seem to be for... gaining an unfair advantage over others, maybe not something that would be suitable for regular contentdb
18:33 Out`Of`Control !up http://v2202103144741147811.powersrv.de 30000
18:33 MinetestBot ValueError: too many values to unpack (expected 2) (file "/home/sfan5/mtbot/modules/serverup.py", line 48, in serverup)
18:33 sfan5 (without the http)
18:33 Out`Of`Control !up v2202103144741147811.powersrv.de 30000
18:33 MinetestBot v2202103144741147811.powersrv.de:30000 is up (13ms) (IPv4)
18:33 erlehmann an unfair advantage such as stripping color from chat ;)
18:33 erlehmann !up 127.0.0.1 22
18:33 MinetestBot 127.0.0.1:22 seems to be down
18:33 erlehmann !up 127.0.0.1 80
18:33 MTDiscord <Sublayer plank> just to be clear I'm not hating on hacked clients or cheats for anarchy servers where that is the norm, but it's just not something the official contentdb would want to promote
18:34 erlehmann !up 127.0.0.1 23
18:34 MinetestBot 127.0.0.1:23 seems to be down
18:34 erlehmann !up 127.0.0.1 631
18:34 MinetestBot 127.0.0.1:631 seems to be down
18:34 erlehmann ^^
18:34 erlehmann !up ::1 80
18:34 MinetestBot [::1]:80 seems to be down
18:34 erlehmann hehe
18:34 sfan5 these clientmods do not run on an unmodified engine either, that's another simple reason it wouldn't be on the contentdb
18:34 erlehmann ah
18:34 erlehmann right
18:34 erlehmann the minetest engine is lacking all kinds of useful functions that they use
18:34 MTDiscord <Sublayer plank> well yeah there's clientmods that do more benign stuff but cheatdb is pretty clear in what type of clientmods they want
18:34 erlehmann sfan i think echest is possible on vanilla though
18:34 erlehmann as is chat ignore
18:34 MTDiscord <Sublayer plank> aren't clientmods already in the vanilla minetest engine?
18:35 MTDiscord <Sublayer plank> or does dragonfire extend the clientmod API to add more stuff
18:35 sfan5 latter
18:35 MTDiscord <Warr1024> I think if the mods would work on an unmodified MT, then they would be acceptable on CDB, even if their proposed application is questionably dishonest.  There are mods like the Troll mod on CDB, after all.
18:35 Out`Of`Control how long it take to appear on that public list of servers?
18:36 sfan5 if the list can successfully connect to your server it's close to instant
18:37 Out`Of`Control its not there
18:38 Out`Of`Control Ok i see ~  ERROR[CurlFetch]: servers.minetest.net/announce not found (Timeout was reached) (response code 0)
18:38 erlehmann > mods like the Troll mod
18:38 erlehmann what does it do?
18:40 sfan5 Out`Of`Control: that appears when your server has trouble reaching the server list
18:41 MTDiscord <Warr1024> https://content.minetest.net/packages/niwla23/troll/ <- adds a whole bunch of random commands for admins to mess with players
18:41 Out`Of`Control i can ping servers.minetest.net
18:42 MTDiscord <Warr1024> heh, "very WIP" ... well shit, what isn't?
18:42 sfan5 do you have curl_timeout configured in your config?
18:45 Out`Of`Control No i add it curl_timeout = 5000
18:46 Out`Of`Control Wait
18:46 Out`Of`Control sfan5: its now listed!
18:46 sfan5 you shouldn't need it but if it doesn't work you can try a high value like 30000
18:46 x2048 joined #minetest
18:47 MinetestBot [git] sfan5 -> minetest/minetest: buildbot: Readd missing IrrlichtMt DLLs 2866918 https://git.io/J4x7g (2021-07-27T18:37:51Z)
18:48 Out`Of`Control sfan5: thanks
18:48 Out`Of`Control Thanks everyone for help!
18:49 Out`Of`Control i have to clean up my config. Settings are not changed from 0.4.x
19:27 DUMdum joined #minetest
19:38 ServerStatsDisco joined #minetest
19:38 rocky_fuchsian_4 joined #minetest
19:39 Platekoala[m]1 joined #minetest
19:40 * rocky_fuchsian_4 < https://libera.ems.host/_matrix/media/r0/download/libera.chat/4941835d343eb3f8f7365612b641921c6e729d9f/message.txt >
19:40 rocky_fuchsian_4 Can I see a simple example for a mod that places a block? I’m not able to do this simple task.
19:40 rocky_fuchsian_4 With this code:
19:41 sfan5 you're approaching several things wrong
19:42 sfan5 first, nodes need to be registered right in the top level of your mod, not inside any callback (that includes register_on_mods_loaded)
19:42 sfan5 you're emerging an empty area from 0,0,0 to 0,0,0
19:43 rocky_fuchsian_4 https://plik.artemislena.eu/file/VRWPSKvQVFzliGQI/oiK5HDBmIpmhgDTT/init.lua
19:43 sfan5 and you're not passing a callback function but calling place_node *before* emerge_area
19:43 rocky_fuchsian_4 <sfan5 "first, nodes need to be register"> Oh okay. Let me see if that helps.
19:43 sfan5 and lastly the output from minetest.debug is not typically visible, try print() instead
19:44 DUMdum joined #minetest
19:44 rocky_fuchsian_4 <sfan5 "and you're not passing a callbac"> Do I need to emerge an area before I place blocks there?
19:45 sfan5 if you want to place it at a specific fixed location without a player nearby, yes
19:45 sfan5 in other cases no
19:59 rocky_fuchsian_4 sfan5: Any idea why this:
19:59 rocky_fuchsian_4 https://plik.artemislena.eu/file/fUudg2Zm3bHgdyRm/019eo1Lzm9bwAkrC/init.lua
19:59 rocky_fuchsian_4 Does not work?
20:00 sfan5 set_pos will not instantly load the blocks so place_node won't do anything
20:00 sfan5 it'd be much easier if you tried to place a node where the player already is
20:01 rocky_fuchsian_4 Hmm. With:
20:01 rocky_fuchsian_4 player:set_pos(vector.new(0, 10, 0));
20:01 rocky_fuchsian_4 minetest.place_node(vector.new(0, 10, 0), {name="frog:janet"});
20:01 rocky_fuchsian_4 It doesn’t seem to work either
20:02 sfan5 "where the player already is" is supposed to mean that you don't teleport them
20:02 rocky_fuchsian_4 Ohh okay.
20:03 sfan5 drop the set_pos and e.g. minetest.place_node(vector.add(player:get_pos(), vector.new(0, 2, 0)), {name="frog:janet"})
20:06 rocky_fuchsian_4 That doesn’t appear to do anything nor does it result in an error.
20:07 sfan5 are you testing it in an new world?
20:08 rocky_fuchsian_4 I test each revision in a new world, yes.
20:20 sfan5 hm true
20:20 independent56 joined #minetest
20:22 sfan5 it appears since the game teleports the player to his spawnpoint you have to add a small delay, this works http://sprunge.us/4tE6Kt
20:22 Extex joined #minetest
20:27 nuala2 joined #minetest
20:38 behalebabo joined #minetest
20:46 Ilomiglio joined #minetest
20:46 Ilomiglio Good evening, awk is so sweet
20:50 Ilomiglio turns out i could even not use it, just a strict query
21:08 Sven_vB_ joined #minetest
21:30 erlehmann DID YOU KNOW: minetest crashes if entities have too much meta
21:30 orwell96_m joined #minetest
21:30 erlehmann on unloading the map block
21:30 erlehmann have fun with this info, i am building a fix into mineclonia
21:30 sfan5 too much is probably more than 64KB, right?
21:31 erlehmann more than serializeString16 can handle
21:31 erlehmann it should not crash!
21:31 sfan5 would silently deleting the entity be better?
21:32 erlehmann no, delete it with an error message
21:32 sfan5 that's what I meant
21:32 sfan5 it's silent to the game
21:32 erlehmann i do not want to argue about the meaning of “silently” rn ;)
21:32 erlehmann but yeah
21:33 erlehmann sfan5 here https://git.minetest.land/Mineclonia/Mineclonia/issues/129
21:33 erlehmann this is the bug
21:34 erlehmann sfan5, shulkers are chests that can contain other items. that way you can easily have items that are representable in chests and inventories of players, but not as serialized entities.
21:34 erlehmann granted, this happens here because of the “drop items as entities” mod in mineclonia / mineclone2 / mineclone5
21:34 erlehmann but something like this should not crash the game IMO
21:35 erlehmann if you forceenchant a fishing rod with efficiency in any of the mcl games it will hve 127kb of useless metadata last i checked hehe
21:35 erlehmann i.e. if you drop it and walk away, i think it should crash the game
21:36 erlehmann sfan5 is there maybe an engine bug open on this already?
21:36 sfan5 not to my knowledge
21:36 sfan5 but I am not all knowing
21:36 sfan5 so search for one? :D
21:36 erlehmann well i found two
21:37 erlehmann https://github.com/minetest/minetest/issues/8977
21:37 erlehmann https://github.com/minetest/minetest/issues/10981
21:37 erlehmann the latter one
21:37 erlehmann > String too long for serializeString(16) caused by mod #10981
21:37 ShadowBot https://github.com/minetest/minetest/issues/10981 -- String too long for serializeString(16) caused by mod
21:37 sfan5 that's unfortunately way too general
21:37 sfan5 it's possibly the exact bug you mean though
21:38 Verticen_ joined #minetest
21:38 erlehmann well the mineclonia bug is very specific
21:38 erlehmann and has a way to reproudce it
21:38 erlehmann so if you could link those two i'd be thankful
21:39 sfan5 i'll consider it and perhaps open a new one
21:39 erlehmann oh btw it is important that if this emits a bug visible in-game
21:39 erlehmann i mean an error msg
21:39 erlehmann that error message does not contain coords
21:40 erlehmann otherwise evil people come and TNT my illegal items
21:40 erlehmann i wonder which server other than clamity and kay27 server are so damn cursed
21:40 sfan5 error messages are only printed to the server console/debug.txt
21:40 erlehmann i found a bedrock construction on kay27 server and he says he has no idea how it got there lol
21:41 sfan5 showing error messages ingame is an SP-only feature
21:41 erlehmann but i like cursed
21:41 erlehmann good
21:41 erlehmann :)
21:41 erlehmann ah!
21:41 erlehmann thx
21:42 erlehmann sfan5, are long itemstrings always "a:b 1 2 […]", i.e. 4 parts divided by spaces?
21:42 erlehmann bc my fix in mineclonia will be to cut off the last part
21:42 sfan5 yes no perhaps
21:42 sfan5 if you have an ItemStack just clear the meta instead?
21:42 erlehmann wdym
21:43 sfan5 like instead of operating on some string use stack:get_meta():from_table({})
21:44 sfan5 wrap that in local stack = ItemStack(s); ...; s = stack:to_string() if you haven't got one
21:44 erlehmann uh
21:44 erlehmann at the point where i am i do not have an itemstack
21:44 erlehmann i can show you
21:47 erlehmann sfan this is where it crashes https://git.minetest.land/Mineclonia/Mineclonia/src/branch/master/mods/ENTITIES/mcl_item_entity/init.lua#L450
21:47 erlehmann sfan5
21:47 erlehmann sfan5 i do not see any other possibility to fix it and at that point i only have self.itemstring
21:48 erlehmann if that is bigger or equl than 65375, the serialization fails
21:49 sfan5 http://sprunge.us/BCA8et?lua
21:50 erlehmann sfan5, are you sure it would not crash on minetest.serialize?
21:51 sfan5 yes
21:51 erlehmann why
21:51 erlehmann also where does the 65530 come from
21:51 sfan5 despite naming similarities serializeString16 is called inside the engine sometime after you return the too-long data to it
21:51 sfan5 65536 - some safety margin
21:51 erlehmann oh ok
21:52 erlehmann why safety margin lol
21:52 erlehmann we need every byte!
21:52 erlehmann but let me explore this!
21:52 erlehmann thx
21:52 sfan5 entity staticdata includes some stuff from the engine to save orientation, hp
21:52 sfan5 so you do actually need some
21:52 sfan5 and it's likely larger than 6
21:53 sfan5 (the engine invisibly adds this, you never see it)
21:53 sfan5 or actually I'm not 100% sure if that counts toward the limit
21:58 erlehmann sfan5, thx how do you want to be credited in the git history?
21:58 sfan5 say it was my idea or something
21:58 sfan5 doesn't really matter
21:59 erlehmann no i mean for author
21:59 erlehmann i need the info for git blame
21:59 sfan5 I assumed the commit author would be you
21:59 erlehmann so future generations can hold you responsible for your lua crimes
21:59 erlehmann i would be the committer
21:59 erlehmann but i can not answer why it was written
21:59 sfan5 well if you absolutely want to
21:59 sfan5 sfan5 <sfan5@live.de>
21:59 erlehmann thx
21:59 erlehmann yes
22:00 sfan5 in the future some forum user will misunderstand this and claim I worked on mineclone
22:00 Sven_vB joined #minetest
22:00 sfan5 I'm sure
22:00 erlehmann sfan5, btw this is my solution https://mister-muffin.de/p/bDRG.txt
22:00 erlehmann sfan5 too late, being in the git history basically ensures you will be in the contributors list lol
22:01 erlehmann everyone will complain this is not EXACTLY LIKE MINECRAFT
22:02 erlehmann recently i made a change to the tsm_railcorridors mod so that 1 in 1000 spawners is a pig spawner
22:02 erlehmann rationale: you sometimes get pig spawners in that other game
22:02 erlehmann and some ppl seriously say “oh but that is a bug”
22:02 erlehmann well, if you do not remove a bug for like >10 years i am pretty sure we call that a feature
22:03 nuala2 joined #minetest
22:03 erlehmann next up: bunnyhopping in quake is totally a bug ^^
22:03 sfan5 MT should have bunnyhopping
22:03 sfan5 ok well it does
22:04 sfan5 because what if someone wants to recreate quake in MT
22:04 sfan5 and someone totally should
22:04 erlehmann <sfan5> because what if someone wants to recreate quake in MT
22:04 erlehmann [[ jordach intensifies ]]
22:07 hecks joined #minetest
22:08 erlehmann sfan5, so what is wrong with this actually? i mean it is wrong, but like, on what level? only the string manip? https://mister-muffin.de/p/bDRG.txt
22:09 sfan5 string manip is unclean
22:09 erlehmann yes
22:09 erlehmann absolutely haram
22:09 sfan5 also checking only the itemstring is error prone when you have other variables that contribute to length
22:10 sfan5 I don't expect it to be actually an issue since self.always_collect, age and all that stuff are just booleans or numbers
22:10 erlehmann sfan5, can i get this as actual copyable text somewhere? http://sprunge.us/BCA8et?lua
22:10 erlehmann there are line numbers in front
22:10 sfan5 just s/\?lua//
22:10 erlehmann oh http://sprunge.us/BCA8et
22:10 erlehmann thx
22:15 erlehmann sfan5 the recursive call of self.get_staticdata looks funny
22:15 erlehmann i just need an item with a very long name!
22:16 erlehmann i will test your solution :)
22:16 erlehmann thank you so much
22:16 sfan5 fundamentally it's the same issue as in your code
22:16 erlehmann yes
22:16 sfan5 except I actually check the length of the serialized text
22:16 erlehmann this code allows you to have cursed items
22:16 erlehmann like written books without text
22:16 sfan5 spooky
22:16 erlehmann enchanted items without enchantment
22:17 erlehmann btw, you know any good weather mod?
22:17 erlehmann mineclonia inherited one from mineclone2 that works like
22:17 erlehmann “oh you are a minetest client? here is a particle for every raindrop”
22:17 MTDiscord <Jonathon> Climate_api by testificate
22:17 erlehmann which obv is a lagfest
22:18 erlehmann ok i will look at it
22:19 erlehmann thx
22:25 erlehmann that's a cool weather mod
22:29 Extex joined #minetest
22:30 erlehmann Jonathon, wow, only ~30 particle spammer packets per second instead of 800 to 1000 particle packets per second!
23:27 rocky_fuchsian_4 > it appears since the game teleports the player to his spawnpoint you have to add a small delay, this works http://sprunge.us/4tE6Kt
23:27 rocky_fuchsian_4 sfan5: This actually does not appear to work (as in it doesn’t do anything and no errors are reported).
23:27 DUMdum joined #minetest
23:29 MTDiscord <Jonathon> erlehmann: if i recall correctly weather in mineclone2 is descended from a ancient mtg version, would be interesting to compare the two to see how much it has improved since
23:49 AliasAlreadyTake joined #minetest

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