Minetest logo

IRC log for #minetest, 2021-06-26

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

All times shown according to UTC.

Time Nick Message
00:04 Extex joined #minetest
02:20 AndrewYu joined #minetest
02:21 AndrewYu What is the limitation of MT displaying unicode, ie. Chinese charactars 像这样? Fonts? Protocol? (I hope it'd be fonts. Then it could be fixed with a simple client modification)
02:25 queria joined #minetest
02:27 MTDiscord <Warr1024> Have you tried it and found it not to be working?  I would expect the fonts to be the only barrier...
02:28 MTDiscord <Warr1024> As I recall, MT ships with Arimo and Cousine fonts, and I don't know what their unicode coverage is like.  I think Noto Sans has very good coverage though, so maybe swapping it in would work.
02:28 MTDiscord <Warr1024> Unfortunately I think font installation may be manual, which means probably particularly annoying on android?  You have to install the fonts either system-wide maybe or in ~/.minetest/fonts...
02:46 AndrewYu True
02:46 AndrewYu I'm on archlinux, it should be okay. However, one of my friends is on Windows, which *might* make things harder
02:47 MTDiscord <MNH48> for CJK characters, it's just font... I used Noto Sans CJK and it will usually appear fine
02:47 MTDiscord <MNH48> but for arabic, there might be separate issue
02:50 * AndrewYu is not arabic :D
02:53 MTDiscord <Warr1024> I remember the issue with Noto Sans being that there are so many characters in unicode they couldn't fit them all into one font
02:54 MTDiscord <Warr1024> Minetest also only shows text in one font at a time and doesn't switch fonts based on language, so I think it probably doesn't do the "fallback" font thing
02:54 AndrewYu I guess I
02:54 AndrewYu I'm going to use Noto Sans CJK SC for my chinese
02:54 MTDiscord <Warr1024> I think on Windows installing a font is just the same process, isn't it?  Find the font, drop it into the minetest "fonts" folder, and then change the font setting, whatever that is
03:05 * AndrewYu will try to let his friend solve Windows since AndrewYu is a windows idiot
03:30 absurb joined #minetest
04:00 aldo joined #minetest
04:35 Pexin AndrewYu: are you talking chat output or formspec?
04:45 hecks joined #minetest
04:46 MTDiscord <MNH48> the chat does work in displaying chinese, when font is set to Noto Sans CJK SC ... though input might be a problem on windows side
04:46 MTDiscord <MNH48> https://cdn.discordapp.com/attachments/749727888659447960/858206643313311764/unknown.png
05:03 independent56_ ahaha, yeah "farTown" is a much better name
05:45 independent56_ is there a way, using amidst, that i can see contours? i need a relitively flat section of land for a settlement, but i dont want to load all those mapblocks scouting, i need to use amidst.
05:58 YuGiOhJCJ joined #minetest
06:08 MTDiscord <AntumDeluge> Is it possible, in a mod, to show a node texture to one player, but show a different texture on the same node to a different player?
06:11 MTDiscord <AntumDeluge> I have my own fork of the walking_light mod. It has a debugging mode that changes the texture of nodes with light added. However, when the debugging is enabled, all players see the texture change. I was wondering if it would be possible to only show the texture change to the admin that invoked the command to enable debugging. Or, as an alternative, only show the texture to players that have a certain privilege.
06:12 MTDiscord <AntumDeluge> https://github.com/AntumMT/mod-walking_light/blob/bf57713/chat.lua#L70
06:13 CWz joined #minetest
06:24 SwissalpS joined #minetest
06:25 MTDiscord <Warr1024> The only visuals you can show to selected players only as far as I know are particles and HUDs
06:26 MTDiscord <Warr1024> There are also image waypoint HUDs so you don't have to use text waypoints.
06:26 MTDiscord <Warr1024> Obviously both are extremely limited in that you can de fact only show sprites with them
06:27 MTDiscord <Warr1024> I have an "admin mode" in my puzzlemap mod that allows admins to see nodes that have special attributes attached to them, and I believe I ended up using particles to do that.  It was very much not ideal but I don't think there were really better options.
06:29 MTDiscord <AntumDeluge> Thank you @Warr1024. I appreciate that input. It sounds like particles may be what I need to use. I was just now looking at waypoints (as I know nothing about them, & it was suggested I use them for a different mod). But sounds like from what you say, I won't be able to use them to visually represent a node on the screen.
06:37 Extex Is there some way to find Servers that contain a certain mod?
06:38 Extex Like you can see what mods a specific server has but is there a way to see what servers have a mod
06:41 MTDiscord <AntumDeluge> As far as I know, there is no way to look it up.
06:42 MTDiscord <AntumDeluge> I know that some servers use a specific game. If you know the game they use, you can look up which mods that particular game includes.
06:43 MTDiscord <AntumDeluge> There is the /mods chat command, but you can only use that once you have connected. And not sure if need any special privileges to use it.
06:55 MTDiscord <Warr1024> the server list actually captures mod lists from servers, IF they're using the normal MT server software or otherwise volunteer that information when pinged by the server list
06:56 MTDiscord <Warr1024> searching the server list requires you to parse the JSON probably
06:56 MTDiscord <Warr1024> the data is definitely there for at least some servers because you can see it on the HTML-formatted list too...
07:06 Flabb joined #minetest
07:25 asterismo joined #minetest
07:35 specing_ joined #minetest
07:45 QwertyDragon joined #minetest
08:01 Talkless joined #minetest
08:02 tech_exorcist joined #minetest
08:05 tech_exorcist joined #minetest
08:18 tech_exorcist joined #minetest
08:27 MTDiscord <AntumDeluge> @Warr1024 I see what you mean. I went to https://servers.minetest.net/ and by hovering my cursor over Version, Subgame[, Mapgen] column, I can see the installed mods for many of them.
08:32 independent56_ extex: you might do a crtl+f in https://servers.minetest.net. there, you can look for the mod, and it might show up.
08:33 independent56_ nope, but in https://server.minetest.net/list you will be able to do that. one warning - it is unformatted. no syntax colouring. expect to get eyestraon
08:33 independent56_ https://servers.minetest.net/list <-- not broken link
08:41 independent56_ yes, its a hack. but it will work.
08:45 MTDiscord <twoelk> hm, activated  coolTrees and moreTrees, now my map gets taken over by giant trees.  I also installed all flower mods I could find -- it's a lush world
08:46 MTDiscord <twoelk> oops, giant sequias pop up everywhere, this can't be right
08:47 VanessaE that's the idea :D
08:47 VanessaE except not really
08:48 VanessaE they ARE limited to certain areas
08:48 VanessaE https://daconcepts.com/vanessa/hobbies/minetest/worldmaps/Traintable_World/map.html#20/-338.00000/-278.50000
08:49 VanessaE this is carpathian mapgen with the full suite of flora
08:49 VanessaE you can see by browsing around where they'll show up, like at the west end of that east/west road
08:49 independent56_ https://imgur.com/a/1QaNu05 please rate my sextuple track viaduct. i spent 30 minutes on it.
08:49 VanessaE (I tried to make them need dry-ish conditions)
08:51 MTDiscord <twoelk> including that beautiflowers mod and nettles mod and wine and cuchina vegana and .... ?
08:51 VanessaE well I don't have THOSE
08:51 VanessaE but between plantlift, moretrees, and cool_trees there isn't much room left :D
08:51 VanessaE plantlife*
08:52 MTDiscord <twoelk> that's the problem I was having
08:52 VanessaE well it doesn't help that the engine tends to overload the landscape with default trees
08:52 MTDiscord <twoelk> seems I got to limit moretrees somewhat
08:52 VanessaE that map I linked?  that's typical of what I see on brand new worlds
08:54 VanessaE btw if you don't mind a little lag, you can configure moretrees to spawn the trees themselves at mapgen time, rather than spawning them as saplings that grow a bit later
08:54 MTDiscord <twoelk> I really like how cooltrees gives more variety to jungles and tundra
08:54 VanessaE independent56_: it looks like total ass and you should be ashamed.
08:54 VanessaE :P
08:55 VanessaE (it looks fine :) )
08:55 independent56_ XD yeah
08:55 independent56_ i mean, if i didnt fold it, then it would look worse. double deckerr was the only solution
08:57 independent56_ but mainly, i end up with horrible straight tracks. https://imgur.com/a/RuY8VLT each of those lines is a track. i built multiple ones because "why not?"
08:57 MTDiscord <twoelk> playing with flower mods
08:57 MTDiscord <twoelk> https://cdn.discordapp.com/attachments/749727888659447960/858269670867992596/screenshot_20210626_091629.png
08:58 VanessaE independent56_: you should play on my traintable server
08:59 VanessaE seems like you'd bring some order to the chaos that is its current rail system :P
08:59 independent56_ link to images?
08:59 VanessaE don't have any handy
08:59 MTDiscord <twoelk> desert plants didn't spread as intended - they had plans of their own
08:59 MTDiscord <twoelk> https://cdn.discordapp.com/attachments/749727888659447960/858270256120594432/screenshot_20210626_092131.png
08:59 independent56_ screenshot > imgur > save lives (UK gov parody)
08:59 VanessaE except that map link is current as of just minutes ago
09:00 independent56_ hmm, show me the link. i can look at the chaos
09:00 VanessaE https://daconcepts.com/vanessa/hobbies/minetest/worldmaps/Traintable_World/map.html#20/-355.00000/-533.50000
09:00 independent56_ wow... thats a long url
09:01 VanessaE twoelk, a bit much don't you think? :P
09:01 independent56_ modestly sized, cool server. i prefer my own.
09:01 MTDiscord <twoelk> yeah, like I said. - They might have plottet to take over
09:01 VanessaE lol
09:03 independent56_ you put my "airport" to shame: http://2.26.38.198:8080/#!/map/0/11/-226/-66
09:03 VanessaE I didn't build it :)
09:03 VanessaE I think User11 or ck43 did
09:04 independent56_ well, you supervised it's building.
09:04 VanessaE nope
09:04 independent56_ 0_0
09:04 VanessaE I was barely even there
09:04 independent56_ "let me just get into this server, build silenty, and leave haha i am so evil"
09:06 VanessaE heh
09:07 independent56_ let me show you a comparison image of old spawn station and new one
09:07 independent56_ if it loads...
09:08 independent56_ https://imgur.com/a/6N4flRi
09:08 independent56_ the second image is all i have
09:08 independent56_ zoom in XD
09:12 MTDiscord <twoelk> looks very simplistic - could use some structural elements giving the space some rythm - but then again that is what many modern stations look like
09:13 independent56_ yeah, i was aiming for that look. and all the more space to see your train
09:18 MTDiscord <twoelk> is sofar around? his flower pot mod and his item frame mod seem broken
09:18 MTDiscord <twoelk> in mt 5.dev
09:18 MTDiscord <twoelk> https://cdn.discordapp.com/attachments/749727888659447960/858275036842295336/flowerpotbroken.png
09:19 MTDiscord <twoelk> that's supposed to be a viola in the pot and frame
09:23 MTDiscord <twoelk> somebody allready mentioned that in Nov 2020 in the forum in the frames thread
09:29 entuland joined #minetest
09:34 Lunatrius` joined #minetest
09:48 calcul0n_ joined #minetest
09:48 Fixer joined #minetest
10:18 sys4 joined #minetest
10:23 Thomas-S joined #minetest
10:23 Thomas-S joined #minetest
10:23 Fixer_ joined #minetest
10:24 erlehmann joined #minetest
10:26 Lunatrius joined #minetest
10:35 twoelk joined #minetest
11:08 AndrewYu left #minetest
11:18 independent56_ im hoinh to write an issue for minetest about powerusers
11:19 specing What's the issue?
11:23 independent56_ issue 11 K
11:23 independent56_ https://github.com/minetest/minetest/issues/11392
11:24 calcul0n__ joined #minetest
11:30 specing > forced to make use of my touch pad
11:30 specing get a trackpoint lmao
11:33 Elouin joined #minetest
11:36 Elouin joined #minetest
11:43 basxto joined #minetest
11:52 delta23 joined #minetest
11:53 behalebabo joined #minetest
11:57 independent56_ XD yeah nah.
12:46 Thomas-S joined #minetest
12:46 Thomas-S joined #minetest
13:14 MTDiscord <Warr1024> Is it possible to override minetest.conf settings at the world level for SP, e.g. via world.mt?
13:14 MTDiscord <Warr1024> I have in the past used minetest.settings:set() to enforce world-specific config, e.g. as could be done in a worldmod, but this "leaks out" into the minetest.conf file and thus also affects worlds that want to use a default value.
13:21 y5nw joined #minetest
13:30 MTDiscord <appguru> You can reset settings on shutdown
13:31 MTDiscord <appguru> As the game might crash, you should probably persistently store old values as _old_somesetting = old_value and restore them on next start
13:31 MTDiscord <Warr1024> ...well yes but actually (shudder)
13:31 MTDiscord <appguru> heh, you can even change the font - and it will work - this way
13:32 MTDiscord <appguru> it's brilliant
13:32 MTDiscord <Warr1024> I can't restore them on start though because if the next start is into the world that runs this mod code, then it won't want the settings restored, and if it's into one that doesn't, it won't have the code to do the restoring.
13:32 MTDiscord <appguru> yep, users will have to rejoin your world after the crash
13:33 MTDiscord <appguru> or at least have to use the mod in both worlds
13:33 MTDiscord <Warr1024> Ugh ... I mean, is there a real solution I can try first before I try to find the end on the roll of duct tape?
13:33 MTDiscord <appguru> Sir, this is a Minetest's
14:19 Elouin joined #minetest
14:19 absurb joined #minetest
14:26 VanessaE so...
14:27 VanessaE I have a wireguard VPN set up, which I've initially configured so that the only that's routed over it is access to a webpage/service that runs on the endpoint machine (unrelated to anything I'm asking about), while all other traffic normally just goes straight out without routing through the VPN layer.
14:27 VanessaE the endpoint machine... you all know it. runs my game servers too
14:28 VanessaE If I adjust the wireguard config so that ALL traffic is routed through it, everything works just fine and the world thinks I'm in France.
14:28 VanessaE Except... I can't connect to my MT servers
14:29 VanessaE I can reach webpages running on the machine, and literally everything else works, but the client can't reach the servers -- the connection times out
14:29 VanessaE (the config adjustment above is a single-line change, the AllowedIPs setting)
14:30 MTDiscord <Warr1024> NAT for UDP might be a bit more complicated because the NATting side may not implicitly know to create applicable reverse routes...?  Might have to use bidirectional NAT instead of traditional?
14:30 VanessaE I ... am not sure I understandf
14:30 VanessaE -f
14:30 MTDiscord <Warr1024> I've solved the opposite problem, i.e. forwarding ONLY MT traffic from a gateway machine to a host.
14:32 MTDiscord <Warr1024> The situation parallels yours in that it involves MT servers and wireguard.  The difference is that the MT server host has no means of setting up forwarding, but I had a spare VPS box that I could use so he's basically borrowing just the IP/ports from me.
14:32 MTDiscord <Warr1024> Users connect to the public MT server, iptables on the VPS forwards the connections thru wireguard, and his host "dials out" with wireguard to setup the tunnel to make his MT servers available.
14:33 VanessaE wait wait
14:33 VanessaE you're looking at it from the wrong side :P
14:33 MTDiscord <Warr1024> Yeah, I only have a solution from the wrong side
14:33 VanessaE everyone else can reach the MT servers except me :)
14:33 MTDiscord <Warr1024> so I'm not sure if it can help you, but maybe there is some insight buried in here
14:33 VanessaE I mean, the VPN endpoint IS the machine the games are running on
14:33 MTDiscord <Warr1024> iptables -t nat -A PREROUTING -p udp --dport $PUBLICPORT -j DNAT --to-destination $WGPEERADDRESS:$MTPORT iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE
14:34 MTDiscord <Warr1024> Hmm, so you're like VPNing into your MT server to make your traffic come from the MT server?
14:34 MTDiscord <Warr1024> the problem might be that you can't connect out to the public IP of the MT server, you'd have to use the private internal IP
14:34 VanessaE to make my own internet traffic seem to originate from that machine, yes.
14:35 MTDiscord <Warr1024> but sometimes you can fake it to rewrite outbound traffic to the public IP as going to the private one instead
14:35 MTDiscord <Warr1024> but that depends a lot on your specific firewall and iptables is not one I know well.
14:35 VanessaE ok, I didn't think to try using the endpoint's WG IP..
14:35 * VanessaE tries
14:35 Thomas-S joined #minetest
14:35 Thomas-S joined #minetest
14:35 MTDiscord <Warr1024> I know that on OpenBSD using pf it's an issue, and I use a "redirection" to rewrite all traffic
14:35 VanessaE AH
14:35 VanessaE THAt works
14:36 MTDiscord <Warr1024> Yeah, that'll work, but that's gotta be annoying having to have different addresses depending on whether you're using the VPN or not...
14:36 VanessaE I can reach the game server if I use the remote's wg IP instead of the public domain/IP
14:36 MTDiscord <Warr1024> (and it being different from your regular players)
14:37 VanessaE ok, so
14:37 VanessaE the MT server saw me as connecting from 10.5.5.1, my PC's end of the VPN layer
14:37 MTDiscord <Warr1024> Yep, that's how it works
14:38 VanessaE which is what I expected.
14:38 MTDiscord <Warr1024> the VPN is like a separate network adapter with its own address and network and such
14:38 MTDiscord <Warr1024> and that's what you connected using
14:38 VanessaE but why won't MT answer, yet nginx, for example, does?
14:38 basxto joined #minetest
14:38 MTDiscord <Warr1024> if you can figure out the redirection/rewrite rule then you can make it so you can connect to the public IP but you'll still always see the VPN IP from MT's perspective.
14:38 VanessaE I mean, I can point my browser at any webpage that's served-up from the nginx instance on the server, using the public domain/IP, and it works
14:39 MTDiscord <Warr1024> The MT/nginx thing is why I suspect there's a TCP/UDP disparity in how the firewall is handling state.
14:39 VanessaE hm
14:40 VanessaE and something in your iptables command may be the answer?
14:40 MTDiscord <Warr1024> That seems weird to me because when I use pf, it handles TCP/UDP about the same, i.e. it seems to either work or not work for each using the same rules.  I don't know why iptables should require different rules for UDP to work, but then, I don't see why iptables should do a lot it does the way it does.
14:40 MTDiscord <Warr1024> Yeah, my iptables command is at least worth trying to understand ... maybe I should do that some day.
14:41 MTDiscord <Warr1024> It could also be an MT thing I suppose.  The dude who's actually hosting the servers has had all sorts of headaches trying to get MT to accept every connection on every port 30000 ... but in his case the biggest headache was an IPv4/v6 issue at the time.
14:41 MTDiscord <Warr1024> Using wg now everything is just pure v4 so I think things are simpler now at least.
14:41 VanessaE maybe this then, iptables -t nat -A PREROUTING -p udp --dport 30000:40000 -j DNAT --to-destination 10.5.5.1 iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE
14:42 MTDiscord <Warr1024> As long as you don't decapitate yourself by changing something that would affect port 22, you can always experiment :-)
14:42 VanessaE hm, missed a semicolon and I guess I want the server's wg IP in there.
14:45 VanessaE BINGO
14:45 VanessaE thanks :D
15:05 independent56_ http://2.26.38.198/dokuwiki/doku.php?id=guidelines:railway_guide can i get some critiscism of my article?
15:20 Krock cannot edit
15:21 independent56_ you shouldnt
15:22 independent56_ just tell me what is wrong
15:22 Krock why not
15:22 MTDiscord <entuland> meh, the page is "classed" as good, doesn't have a capital letter at the beginning of the sentences -literally none - and drops into useless antagonizing and gratuitous belittling of other people's work / world
15:25 independent56_ it's my wiki, i say what i like. it is written formally, and it is wiki styke to not have capital letters. that server is the one which gave me endeless suffering.
15:25 * entuland shrugs
15:26 Krock btw: "I" is always written in capitals
15:27 Krock but I dId not mean It lIke thIs but only for the person "I"
15:27 independent56_ ok I wIll do that all the tIme now.
15:28 rubenwardy > this page is classed as good. it features good writing and is to be held as an example of good pages.
15:28 rubenwardy https://rwdy.uk/BTvDu.png
15:29 rubenwardy > written formally
15:29 rubenwardy > no capital letters
15:29 specing lol
15:29 independent56_ meh, my wiki
15:29 entuland rubenwardy++
15:29 entuland independent56_, you asked for criticism
15:29 independent56_ and i assume full and undesputed control over rating.
15:29 Krock thanks rubenwardy. perfect meme use
15:29 rubenwardy also booo https://rwdy.uk/vilx2.png
15:29 independent56_ i meant in terms of the advice, or sentence slips. not the capitals or rating.
15:30 Krock also get a domain
15:30 rubenwardy yeah, raw IP addresses are super super dodgy
15:30 independent56_ i should... too much bother for mum.
15:30 rubenwardy if you want a free one you can use minetest.land
15:30 Krock less dodgy than benrob's shady website... https://totallynotashadyweb.site/
15:32 independent56_ ha! tiddlywiki!
15:33 Krock with edit permissions from what it looks like
15:34 MTDiscord <Warr1024> Tiddlywiki, nice, but that layout...
15:35 Krock ahhh yeessss
15:35 Krock new entry *check*
15:36 independent56_ as long as it dosent save to the server, i think that's fine
15:36 Krock aw snap. it really seems to be local only
15:37 rubenwardy it's hosted using gitlab pages
15:37 rubenwardy so no hope for being user-editable
15:38 Krock unless it has git integration
15:38 independent56_ can anyone tell me a about a dokuwiki plugin which will automaticaly capitalise?
15:38 Krock don't capitalise. be a communist.
15:38 rubenwardy you could try this: https://rwdy.uk/WSeOf.png
15:39 Krock rubenwardy: no, the upper key is more reliable
15:39 Krock ALLOWS YOU TO CAPITALISE EVERYTHING EASIER
15:39 independent56_ too much effort to edit every page and do that.
15:39 Krock perhaps write it correctly from the beginning?
15:39 calcul0n joined #minetest
15:40 independent56_ i would have done that if i was not so stupid
15:40 independent56_ anYways, aLl this Discussion of Capital LeTters, and yoU are not Using TheM?
15:40 rubenwardy context
15:41 rubenwardy It's fine to not use capitals consistently in a chat, but not in a "formal" article
15:41 rubenwardy or any article with longform text
15:41 Krock with incomplete sentences at times
15:41 rubenwardy chat tends to be incomplete sentences, and at most one sentence
15:42 independent56_ hmm... well i need to use a perl script to find and regexreplace stuff... like i go do "\. (.)" to "\. $1".
15:43 independent56_ maybe not a script, but a command, like sed.
15:43 independent56_ but i will have to test in one test file.
15:49 Wuzzy joined #minetest
15:52 MTDiscord <appguru> You can't really uses RegExes, you'll need a proper document tree
15:52 jluc joined #minetest
15:53 MTDiscord <appguru> For the content of nodes you will then be able to use regexes to split it into sentences, of which you should capitalize the first letter
15:53 MTDiscord <appguru> Probably you should use a natural language processing library for the latter though
15:54 Extex joined #minetest
15:55 MTDiscord <appguru> https://polyglot.readthedocs.io/en/latest/index.html <- polyglots tokenization would do the job
15:56 MTDiscord <appguru> Let the serial wheel reinventor tell you one thing: You can often be a thousand times faster if you don't reinvent the wheel.
15:57 Flabb joined #minetest
16:15 valhalla joined #minetest
16:16 independent56_ is there any guide to build a railyard in advtrains? i am unsure. mainly about getting trains to stick there, and making interlocking give them the right route. if it is only luacontrollers then i might be able to get it to work.
16:16 Extex joined #minetest
16:21 independent56_ like, assign routing codes to trains because of occupied track, letting the signal set the route, making it sit there with luaatc, then when there is too little, out they go!.
16:22 specing independent56_: use the source, Luke
16:22 independent56_ haha
16:22 independent56_ i should make some code and publish it
16:22 independent56_ on my wiki
16:23 independent56_ my pastebin gets status reports every 30 minutes, so it adds up and it is spam.
16:23 independent56_ and wikis allow changes to the source
16:26 MTDiscord <Benrob0329> Krock: It does have Git integration actually, you can give it a Github/Gitlab API key that it will save in local storage and commit upon save..assuming you have write access to the repository.
16:29 Krock @Benrob0329 heh that's pretty cool I guess.. but for wikis I'd really prefer a database rather than a git repo
16:30 Krock unless git is used as database to keep track of changes. hmm...
16:30 celeron55 git as a backend to a wiki sounds pretty good actually
16:31 rubenwardy github wikis use git as a backend
16:31 Krock on second thought yes. unusual but good
16:31 rubenwardy it makes a lot of sense for a wiki
16:31 MTDiscord <Benrob0329> Its just because I can host it for free really :P
16:31 * independent56_ laughs in dokuwiki not having a database
16:32 MTDiscord <Benrob0329> I have a Wiki.js instance though that is gonna be backed to a git repo whenever I get around to actually putting stuff onto it
16:32 MTDiscord <Benrob0329> Was gonna be a collaborative world building project, but I haven't had much writing inspiration as of late
16:48 independent56_ http://2.26.38.198/dokuwiki/doku.php?id=proposals:re_railyard
16:48 independent56_ ok, there is the source
16:49 independent56_ if anyone has any information regarding the ability to see the trains and when to store them, contact me.
16:56 y5nw joined #minetest
17:10 Peppy joined #minetest
17:12 Hawk777 joined #minetest
17:16 riff-IRC joined #minetest
17:19 y5nw joined #minetest
17:33 Hawk777 joined #minetest
17:38 independent56_ ha
17:38 independent56_ * y5nw is now known as ywang* ywang is now known as y5nw
17:39 y5nw I did that accidentally
17:49 Flabb joined #minetest
17:54 y5nw_ joined #minetest
17:57 y5nw joined #minetest
17:58 y5nw joined #minetest
17:58 y5nw sorry, connection problem
18:03 SwissalpS joined #minetest
18:16 independent56 aye, i feel ye pain. i had that all the time (hence the rgular timeouts when i was part of  the server)
18:17 independent56 oh wait he has gone /_/
18:18 y5nw eh, I'm still here
18:21 calcul0n joined #minetest
18:37 independent56 could you direct me to some resources about how to build a railyard? i have got some of the luaatc sorted out, but wish o know what the amount of traffic is.
18:37 independent56 http://2.26.38.198/dokuwiki/doku.php?id=proposals:re_railyard this is where the code is hosted.
18:46 specing independent56: join the linux forks server, most of the train experts should be there
18:46 independent56 if i wasn't deeply unwelcome there
18:47 MTDiscord <Jonathon> isnt he still banned from there? ?
18:47 independent56 perma.
18:47 independent56 it was a horrendous decision to project my noony state onto that server.
18:55 independent56 but i might as well use an alt to sneak information out.
18:55 CWz_ joined #minetest
18:58 MTDiscord <Jonathon> nothing like telling everyone your comming
19:00 independent56 mainly psychological... warfare?
19:00 independent56 well, not warfare, just a mean-spirited joke
19:01 MTDiscord <Jonathon> your one of those people like suchtea where they join on an alt, and just talking reveal themselves
19:01 y5nw ^
19:02 independent56 XD yeah, my speaking style is very 56i.
19:02 specing looool
19:02 specing banned for ...?
19:02 independent56 wait.. isn't independent56_ is an alt of 56i...
19:02 independent56 specing, first a fair reason, then unfair, then fair
19:02 MTDiscord <Jonathon> according to you
19:03 independent56 2/3 is'nt bad
19:03 independent56 /j
19:03 specing lol
19:04 independent56 i have a full explenation buried in the wiki
19:07 y5nw Anyway, regarding train counting, you can use the S variable for that
19:08 independent56 wdym? can i have a code example?
19:09 y5nw entry: if event.train then S.counter = (S.counter or 0) + 1 end
19:10 y5nw exit: if event.train then S.counter = (S.counter or 1) - 1 end
19:10 y5nw basically a counter should be enough to an extent
19:10 independent56 hmm
19:10 independent56 does it need to be a global variable?
19:11 y5nw *facepalm*
19:11 independent56 so it is a global variable already?
19:12 y5nw Go ahead and read this: http://git.bananach.space/advtrains.git/tree/advtrains_luaautomation/README.md?h=release-2.3.1#n52
19:12 independent56 ohhhhh
19:14 independent56 i literally did not know that piece of docs have existed.
19:27 asterismo joined #minetest
19:27 asterismo joined #minetest
19:35 specing_ joined #minetest
19:37 independent56 im going to class capital letters as bitter medicine.
19:43 tuxifan joined #minetest
19:59 Hawk777 joined #minetest
20:03 hecks joined #minetest
20:08 riff_IRC joined #minetest
20:16 Extex joined #minetest
20:31 MTDiscord <AntumDeluge> I want to iterate over a group of positions (or nodes) within a certain radius of a player. Would I use vector? For example, I want to populate a radius of 4 around the player with a certain node. How do I iterate over all positions within that radius? I see the method minetest.bulk_set_node, but I still need to find all the positions.
20:33 Krock VManip, then zyx loops and pythagoras range checks if you want a shpere
20:35 MTDiscord <AntumDeluge> Yes, I do want a sphere. Thanks. I will research that. (now that I think about it more, the mod I forked should already have the answer in it somewhere)
20:48 MTDiscord <AntumDeluge> Oh, I think I can actually just use minetest.find_nodes_in_area
20:49 MTDiscord <AntumDeluge> But that will probably give me a cube?
20:51 MTDiscord <Warr1024> almost everything is cubes by default
20:51 Talkless joined #minetest
20:52 MTDiscord <Warr1024> if you want a sphere, you can do vector.distance(pos, center) < radius, or if you really want to be perf-optimal and avoid the sqrt, local diff = vector.subtract(pos, center) then vector.dot(diff, diff) < radius^2
20:52 MTDiscord <Warr1024> If you want to iterate over them in a particular order, like nearest first, then that's a bit more interesting.
20:53 tech_exorcist joined #minetest
21:42 behalebabo joined #minetest
21:43 erlehmann if i rename an lbm in a game, will it be run again?
21:44 erlehmann like suppose i had a game
21:44 erlehmann where an lbm ran
21:44 erlehmann than a second one ran in a later version
21:44 erlehmann and i downgraded again
21:44 erlehmann can i rename the old lbm to get it to re-run?
21:51 Calinou is the up-to-date form `minetest.settings:get` or `minetest.setting_get()`?
21:51 Calinou to get a minetest.conf setting
22:00 Sven_vB joined #minetest
22:09 MTDiscord <Warr1024> erlehmann, yeah, you probably need a rename, and the rename should work I think?
22:09 MTDiscord <Warr1024> Calinou, the former format is the current one I believe
22:14 Calinou thanks :)
22:16 behalebabo joined #minetest
22:16 MTDiscord <AntumDeluge> Yes, minetest.settings:get
23:03 Conrad joined #minetest
23:21 delta23 joined #minetest
23:56 AliasAlreadyTake joined #minetest

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