Minetest logo

IRC log for #minetest, 2020-05-01

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

All times shown according to UTC.

Time Nick Message
01:00 kawaiipunk joined #minetest
01:08 Hawk777 joined #minetest
01:17 Pie-jacker875 joined #minetest
01:26 ANAND joined #minetest
01:44 erlehmann joined #minetest
01:45 nephele_ joined #minetest
01:47 Pie-jacker875 joined #minetest
02:15 Pie-jacker875 joined #minetest
02:28 fluxflux joined #minetest
02:31 Seirdy joined #minetest
03:22 argyle joined #minetest
03:24 argyle Is there a way to get an entity name from a GenericCAO? m_name seems to be set to "" in all? cases
03:57 FreeFull joined #minetest
04:13 twoelk left #minetest
04:14 EvergreenTree joined #minetest
05:10 calcul0n joined #minetest
05:20 Flabb joined #minetest
05:38 xSmurf joined #minetest
06:09 macc24 joined #minetest
06:13 blaise_ joined #minetest
06:29 SwissalpS joined #minetest
07:02 macc24 joined #minetest
07:30 majochup joined #minetest
07:41 ANAND joined #minetest
07:42 ANAND joined #minetest
07:54 cHyper joined #minetest
08:00 ShadowNinja joined #minetest
08:12 Zughy joined #minetest
08:26 jas_ lal
08:34 Zughy hey there Rocket Jump guy :D
08:34 TomTom joined #minetest
08:48 behalebabo joined #minetest
08:58 AndDT joined #minetest
09:30 Beton joined #minetest
09:36 sagax joined #minetest
09:40 NetherEran joined #minetest
09:46 proller joined #minetest
10:02 powi joined #minetest
10:05 powi Hi there, I have an issue trying to make a translation for a mod. I'm not able to make the translation work. Can anyone help ? Here's the repo of the mod (with locale and all) : https://github.com/FirePowi/dice
10:07 NetherEran looks like you didn't specify the textdomain in the translation file
10:08 NetherEran try adding `# textdomain:dice` as the first line
10:08 powi Thanks !!
10:11 powi Oh yes it works :3
10:42 deltanedas joined #minetest
11:46 _Zaizen_ joined #minetest
12:03 Fixer joined #minetest
12:04 twoelk joined #minetest
12:29 Wuzzy joined #minetest
12:34 turtleman joined #minetest
12:52 NetherEran joined #minetest
12:53 AntumD joined #minetest
12:59 proller joined #minetest
13:34 turtleman joined #minetest
13:35 kamdard joined #minetest
13:35 deltanedas joined #minetest
14:11 FFleder joined #minetest
14:21 deltanedas joined #minetest
14:26 erlehmann joined #minetest
14:32 calcul0n_ joined #minetest
14:47 MinetestBot [git] Lejo1 -> minetest/minetest: Give the online lua mainmenu also the client_list and mods (#8691) 74d9b60 https://git.io/JfOht (2020-05-01T14:47:17Z)
14:51 ena joined #minetest
14:52 ena hi! does anyone know how to get the coordinates of the spawn point? thanks :)
14:53 heavygale ingame or for a mod?
14:53 heavygale ingame command: /set static_spawnpoint
14:54 heavygale requires the “server” privilege
14:54 sfan5 if you do not have a static spawnpoint set then the spawnpoint is not constant
14:54 ANAND ^
14:54 SwissalpS joined #minetest
14:55 heavygale i none is set, isn't is then 0,0,0 ?
14:56 nephele_ No, i tried that, and i keep spawning in a rock :D
14:56 ena heavygale: ingame
14:56 ena and, I think the spawnpoint is constant even if I didn't define it?
14:57 ena at least if I die or if other players join they'll spawn at the same place
14:57 nephele_ sfan5, anyway to ask the engine to calculate a spawnpoint for you?
14:58 sfan5 the engine does that when you respawn, but I don't think you can ask for it
14:58 ena alternatively is there a "teleport to spawn" command?
14:58 nephele_ sfan5, :/, i don't think i can ask it to respawn either
14:59 ena i'm setting up a new local server and would like to build something at spawn, but I'm not sure which tile is the spawn point precisely
14:59 nephele_ the buildin /kill command will just tell you that dmg is disabled if you don't have it on (personally i dont see how those are related)
14:59 nephele_ ena, then use set static spawnpoint as suggested above
15:00 sfan5 nephele_: yeah
15:00 ena but this will modify the spawning point, right?
15:00 sfan5 nephele_: well if damage is disable, the player obviously can't die
15:00 nephele_ sfan5, i don't see why tbh
15:01 nephele_ respawning and getting killed is to me two destinct points
15:01 heavygale https://wiki.minetest.net/Server_commands#Server-related
15:01 sfan5 ena: it will yes, if you want to keep something to the original spawn point I'd suggest joining with a new name to determine where it is and setting the static point there
15:01 heavygale /set only changes it if you give a new value too
15:01 sfan5 nephele_: I didn't say "the player can't respawn", I didn't say "the player can't die"
15:01 sfan5 eh
15:01 sfan5 second "didn't" -> "did"
15:02 nephele_ well i did ask about respaning above, so i assumed you were responding to that :)
15:07 ena @sfan5 I did just that :)  well I didn't know changing the name was enough so I did it with another computer >.<
15:27 macc24 joined #minetest
15:29 p_gimeno left #minetest
15:32 galex-713 joined #minetest
15:38 fluxflux joined #minetest
15:39 erlehmann joined #minetest
15:42 erlehmann joined #minetest
15:51 powi_ joined #minetest
15:52 Extex joined #minetest
15:59 galex-713 joined #minetest
16:03 bwarden joined #minetest
16:06 galex-713 joined #minetest
16:17 macc24 joined #minetest
16:21 ANAND_ joined #minetest
16:26 juangh joined #minetest
16:27 troller joined #minetest
16:44 juangh hi there guys...i was looking the way to put my first access users in an specific coordinates...
16:44 juangh i miss the var for server
16:44 juangh someone can help me to remember?
16:44 juangh setspawn?
16:44 juangh static_spawnpoint?
16:45 Krock yes. https://github.com/minetest/minetest/blob/master/builtin/settingtypes.txt#L1125-L1126
16:46 juangh accessing
16:47 Krock reading. please wait...
16:48 juangh excelent...Krock...yes, I read, but i doesn't see the way to put the coords...now yes...
16:48 juangh Krock, thanks!
16:48 Krock !next
16:48 MinetestBot Another satisfied customer. Next!
16:56 orbea with minetest.get_objects_inside_radius(pos, radius), would a radius of 5 be 5 nodes in any direction from the pos?
16:57 sfan5 yes
16:57 orbea thanks
16:58 sfan5 a directional radius would be stupid if you couldn't control the direction
17:10 powi joined #minetest
17:16 deltanedas joined #minetest
17:17 deltanedas im wondering about 2 things:
17:18 deltanedas - can you add metadata to players
17:18 deltanedas - can you register an on_punchobject function when a player punches a non player object?
17:18 erlehmann joined #minetest
17:20 Krock deltanedas: 1st is done, 2nd needs implementation for the punched entity
17:20 deltanedas so can i do it for all entities
17:21 deltanedas or only entities i specifically tell to call callbacks
17:22 deltanedas ill look at some mob api mods
17:22 erlehmann joined #minetest
17:22 deltanedas maybe they have some callback tables i can use
17:27 erlehmann joined #minetest
17:31 Zughy joined #minetest
17:33 erlehmann joined #minetest
17:41 Verticen joined #minetest
17:42 erlehmann joined #minetest
18:08 Flabb joined #minetest
18:09 powi Hi there, how to escape the "=" in stringlines in the translation files (using minetest.get_translator(textdomain)) ?
18:10 erlehmann joined #minetest
18:10 Krock @= ?
18:10 powi Do I have to put in both in the file and in the S function ? (S = minetest.get_translator(textdomain))
18:12 NetherEran I think only in the file
18:12 powi Okay, I'll try it :)
18:13 Krock NetherEran: thought wrong
18:13 Krock the text within S() must have an identical string in the translation file
18:13 powi Well it worked
18:13 Krock @n escapes \n, thus I thought @=  would do the same
18:14 NetherEran @= as escape works
18:15 powi S("A function f(x,y,z), e.g. 'x^2 + y^2 + z^2 - 100'. A node will be set at (x,y,z) if f(x,y,z)=0. Can also use inequalities, e.g. 'x^2 + y^2 <= 100'.")
18:16 powi A function f(x,y,z), e.g. 'x^2 + y^2 + z^2 - 100'. A node will be set at (x,y,z) if f(x,y,z)@=0. Can also use inequalities, e.g. 'x^2 + y^2 <@= 100'.=Une fonction f(x,y,z), par exemple : « x² + y² + z² - 100 ». Un block sera positionné à (x,y,z) si f(x,y,z) @= 0. Peut aussi être une inéquation, par exemple : « x² + y² <@= 100 ».
18:16 powi This worked fine
18:16 Krock would look much better using a paste service, but well nice if it works :)
18:16 NetherEran appearently the escapes get resolved before the strings are matched
18:16 powi Oh yep, totally forgot, sry
18:17 Krock after two years I still don't know where the automatic translation update script is..
18:17 Krock Wuzzy: help? ^
18:18 Wuzzy util/updatepo.sh
18:18 Krock the other for client translations
18:18 Wuzzy oh you meant that one
18:18 Krock originally #6325
18:18 ShadowBot https://github.com/minetest/minetest/issues/6325 -- Add scripts to find and update translations. by Ekdohibs
18:18 Wuzzy wtf its still not merged yet? boo!
18:18 Wuzzy there are multiple update scripts, none of them official
18:18 Krock it's closed...
18:19 Krock explains why I can't remember the location then. thanks for the information
18:19 Wuzzy it has been shut down by paramat. nice, thank you ?
18:35 GreenXenith joined #minetest
18:39 Seirdy joined #minetest
18:41 troller joined #minetest
18:47 troller joined #minetest
19:07 ntat_ joined #minetest
19:11 fruitsnack joined #minetest
19:42 fruitsnack joined #minetest
19:45 MinetestBot [git] sfan5 -> minetest/minetest: Allow connection info to be missing from minetest.get_player_informat… ac368af https://git.io/Jf3tD (2020-05-01T19:44:28Z)
19:48 YuGiOhJCJ joined #minetest
19:49 _Zaizen_ joined #minetest
19:51 Zughy what does SSCSM stand for?
19:51 GreenXenith Server-Sent Client-Side Mod
20:03 xachman joined #minetest
20:04 xachman Hey guys do you have to turn on TNT on your server?
20:04 sfan5 you do have to yes
20:04 xachman whats the option and where?
20:04 sfan5 enable_tnt = true in minetest.conf
20:05 xachman Ok lets see if my kids destroy the entire world
20:05 deltanedas joined #minetest
20:05 Powi And this is a PR for mathplot ! Here I come with my PR for mathplot :3 https://github.com/kyleclaassen/minetest_mathplot/pull/21 :)
20:06 sfan5 !title
20:06 MinetestBot sfan5: Made it translatable AND translated it in french by FirePowi · Pull Request #21 · kyleclaassen/minetest_mathplot · GitHub
20:09 Zughy Hey guys, if anyone would like to contribute with their opinions about MT for now, it'd be great: https://forum.minetest.net/viewtopic.php?f=3&amp;t=24631
20:10 Zughy nobody asked me to do it, but I think it's a good thing..? I'm also converting the whole in a txt file with a sort of TL;DR for mods if they will ever have a look at it
20:14 _Zaizen_ Hi everyone I'm having a bit of a problem with minetest and mods. I'm trying to load signss_lib wich depends only on default and every time I enable it and save it disables it when I exit the setting tab. This problem doesn't persist on mods wich don't have dependencies
20:17 norkle joined #minetest
20:20 sfan5 do you have signs_lib installed twice for some reason?
20:22 _Zaizen_ I have it in another modpack.
20:27 sfan5 the "automatically disables" is a bug in the menu but you should really just have it once
20:28 _Zaizen_ I've tried many times and also downloaded again minetest. Same problem every time.
20:28 _Zaizen_ Wihout the other modpack it works
20:29 sfan5 delete one copy of signs_lib
20:29 _Zaizen_ Yep without the other modpack it works. I guess I will have to load the modpack I want everytime in the mods folder :/
20:47 ntat joined #minetest
20:55 MarwolTuk lua-api question: is there a way to get a list of all registered nodes with a certain group and rating? I found ndef->getIds() in the engine but this dosn't seem to be exposed into lua.
20:57 sfan5 for name, def in pairs(minetest.registered_nodes) do if def.group.whatever == 2 then print(name) end end
20:58 MarwolTuk Okay. So nothing better than iterating over all registered nodes. Thanks.
20:58 sfan5 you can cache the result if there are performance concerns
20:59 erlehmann joined #minetest
21:06 ntat joined #minetest
21:15 MarwolTuk I'm not as deep into minetest yet to tell which parts are performance-relevant but I think on node placement (on_construct) it shouldn't be that problem since it's not called that often.
21:42 a1fa joined #minetest
21:45 Pie-jacker875 joined #minetest
21:50 Pie-jacker875 joined #minetest
21:51 cheapie So someone put up a "railroad crossing when wet" sign... of course, I had to make it actually work: https://cheapiesystems.com/media/rrxing-when-wet.webm
21:52 GreenXenith rofl that's great
21:54 a1fa so i am installing a dedicated server for my kids.. any tips?
22:03 a1fa how do you specify what game to load
22:03 a1fa where is the game stored by default
22:03 a1fa /usr/lib/minetest?
22:04 sfan5 /usr/share/minetest/games/minetest_game usually
22:04 sfan5 you can specify one using the --gameid parameter
22:04 sfan5 a gameid that is, not the path
22:07 a1fa i think they want the mineclone2
22:07 a1fa do i just dump it in there
22:07 Thomas-S_ joined #minetest
22:07 Xorkle joined #minetest
22:07 namespace joined #minetest
22:07 fruitsnack joined #minetest
22:07 dzho joined #minetest
22:08 craigger joined #minetest
22:08 sfan5 a1fa: extract it there yes
22:08 TomTom joined #minetest
22:08 awell joined #minetest
22:08 dzho joined #minetest
22:08 Out`Of`Control joined #minetest
22:09 Guest88061 joined #minetest
22:09 twoelk joined #minetest
22:09 Andrey01 joined #minetest
22:10 xerox123 joined #minetest
22:10 begui joined #minetest
22:10 riff-IRC joined #minetest
22:11 fluxflux joined #minetest
22:11 nephele joined #minetest
22:11 Mahjong joined #minetest
22:11 a1fa sfan5: how do you generate the world now?
22:11 Fusl joined #minetest
22:11 bwarden joined #minetest
22:12 sfan5 the world will be generated as you play
22:12 a1fa hm
22:12 a1fa game is crashing :(
22:12 sfan5 if you want a folder, just start minetestserver and it will create one
22:12 el joined #minetest
22:12 a1fa the game loads, and then crashes
22:13 sfan5 and does it print an error message?
22:13 a1fa https://pastebin.com/raw/9TDvh4B5
22:13 Seirdy joined #minetest
22:14 sfan5 is the version of minetest you are running perhaps too old for mineclone2?
22:14 a1fa 5.1.1
22:14 a1fa minetestserver --version
22:14 a1fa Minetest 5.1.1 (Linux)
22:15 sfan5 did you download a version of mineclone that is compatible with 5.1.1?
22:15 sfan5 because if you just grabbed the newest one it will only run on 5.2
22:15 a1fa ah
22:15 a1fa i grabbed 0.6.4
22:15 a1fa err 0.64.0
22:16 Miner_48er joined #minetest
22:16 a1fa i see the errors in my ways
22:16 a1fa thank
22:16 a1fa yo
22:17 Cork joined #minetest
22:17 sfan5 most mods and games are compatible with somewhat older versions even if you grab the latest one
22:17 sfan5 Mineclone2 is an exception to this
22:19 a1fa kids will be happy
22:20 a1fa they had bunch of local worlds between their laptops, but they want their friends to play too
22:21 a1fa can you generate a new world through the console?
22:21 sfan5 delete the old one, restart minetest, there will be a new (different) one
22:22 a1fa yep did that a few times
22:22 a1fa is there a way to do w/o ssh access
22:22 sfan5 oh
22:22 sfan5 there isn't
22:59 Pie-jacker875 joined #minetest
23:04 Foz joined #minetest
23:09 Foz joined #minetest
23:14 MarwolTuk joined #minetest
23:46 MarwolTuk joined #minetest
23:46 argyle joined #minetest
23:46 erlehmann joined #minetest

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