Minetest logo

IRC log for #minetest, 2019-05-30

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

All times shown according to UTC.

Time Nick Message
00:34 scr267_ joined #minetest
01:04 Ruslan1 joined #minetest
01:06 Taoki joined #minetest
01:12 el joined #minetest
01:13 Pie-jacker875 joined #minetest
01:18 cdde joined #minetest
01:43 ssieb joined #minetest
01:44 Cornelia joined #minetest
02:05 twoelk|2 joined #minetest
02:25 Miner_48er joined #minetest
02:47 cdde joined #minetest
03:25 cdde joined #minetest
04:02 twoelk|2 left #minetest
04:20 nowhere_man joined #minetest
05:22 milkt joined #minetest
05:48 bingfengfsx joined #minetest
06:15 bingfengfsx joined #minetest
06:36 CWz joined #minetest
06:51 Krock joined #minetest
07:05 jluc joined #minetest
07:15 fwhcat joined #minetest
07:31 pyrollo joined #minetest
08:32 ensonic joined #minetest
08:37 SNDBX joined #minetest
08:46 SNDBX hi
08:46 SNDBX today I am going to stream day to of my new survival world (MineClone 2)
08:46 SNDBX *day 2
08:59 SNDBX I am live with a new survival world of minetest / MineClone (day 2), please join me and help build a new world! https://www.youtube.com/channel/UCkWAn0Wt8Gw4p3m_y37gZuw/live
09:18 ensonic joined #minetest
09:26 proller joined #minetest
09:49 proller joined #minetest
10:14 milkt joined #minetest
10:23 Krock joined #minetest
10:26 milkt joined #minetest
10:26 Copenhagen_Bram joined #minetest
10:27 DachshundLord joined #minetest
10:38 Fixer joined #minetest
10:52 proller joined #minetest
11:06 proller joined #minetest
11:14 milkt joined #minetest
11:19 Beton joined #minetest
11:34 proller joined #minetest
11:49 Fixer_ joined #minetest
11:52 Krock joined #minetest
11:57 OxE7 joined #minetest
12:11 epoch joined #minetest
12:13 milkt joined #minetest
12:26 lisac joined #minetest
12:37 lisac joined #minetest
12:39 proller joined #minetest
12:47 Flitzpiepe joined #minetest
12:55 greeter joined #minetest
12:59 epoch anyone want a bookmarklet to linkify the address column of https://servers.minetest.net/ ?
13:00 Flitzpiepe joined #minetest
13:01 proller joined #minetest
13:05 bingfengfsx joined #minetest
13:09 rubenwardy joined #minetest
13:18 Joseph15 joined #minetest
13:18 Joseph15 Hello! I have a modding question.
13:18 epoch ok
13:19 Krock ok
13:19 Joseph15 If I have 2 craftitems or tools and I want to replace item one with item two when I release Left Mouse Button, How would I do that?
13:19 Joseph15 or right mouse button
13:19 Joseph15 I meant right
13:19 Joseph15 I know about the controls mod but idk how to make that work
13:20 Joseph15 also, I looked at some bow mods that do this for charging the bow, but I got confused by the code
13:20 Krock local old_rmb = player:get_player_controls().rmb
13:20 seastack joined #minetest
13:20 Joseph15 and use that as a function of the craftitem?
13:21 Krock then get the new rmb value to see whether it got released
13:21 Krock you'll have to keep that variable stored somewhere
13:21 Joseph15 Hmmm ok
13:21 Krock thing is: there's no callback when releasing a mouse button, so you could register a globalstep callback
13:22 Joseph15 ok, but is there docs on that?
13:22 Joseph15 I'm still new to lua coding
13:22 Joseph15 I understand callbacks just not globalstep callbacks
13:24 Krock hmm.. what if you try after_use? https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L5973
13:25 Flitzpiepe joined #minetest
13:25 Joseph15 this would be only left click though, right?
13:26 Joseph15 I'm trying to make a blocking mod, where if you are holding the mod's sword and right click, it will replace with another item that is the blocking sword version
13:26 Krock well then.. on_place to record the first time when the button was pressed
13:26 Joseph15 I got that working
13:27 Joseph15 the issue is putting the non-blocking sword back once you release rightclick
13:27 Krock https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3692
13:27 Krock 1) as soon on_place is called, put the player name into a mod's local table
13:27 Krock 2) iterate through these entires each step
13:28 Krock 3) when the player control "rmb" is no longer set, reset the wielded item
13:28 Krock 4) ???
13:28 Krock 5) profit
13:29 Joseph15 ok, so somethinglike this? minetest.register_globalstep(function(dtime)) if player:get_player_controls().rmb  <insert replacement code here>
13:29 Joseph15 probably not that exact code but somethinglike it right?
13:30 JosephOnPhone joined #minetest
13:33 illwieckz joined #minetest
13:37 Joseph15 sorry but I'm still on the lesser side of understandig, oof
13:41 Krock https://pastebin.com/raw/4rdeVLsm
13:41 Krock untested
13:44 xSmurf joined #minetest
13:45 greeter joined #minetest
13:54 Tux[Qyou] joined #minetest
13:54 greeter joined #minetest
14:02 bingfengfsx joined #minetest
14:03 bingfengfsx 共和有两个层面意思:一是,指的是不同的政治机构间的各安其分、和谐共处,它包括政治体系的立法、行政和司法等主要部门;二是,指的是不同政治群体和政治力量,如政党、区域、民族,乃至国家之间在宪法、法律和国际法基础上各安其分的过程和状态。
14:04 bingfengfsx Sorry, I sent it in the wrong place.
14:05 greeter joined #minetest
14:16 scr267 joined #minetest
14:20 bashir joined #minetest
14:21 scr267 joined #minetest
14:21 greeter joined #minetest
14:34 bingfengfsx joined #minetest
14:48 illwieckz joined #minetest
14:56 proller joined #minetest
14:58 Joseph15 Thanks Krock, I will test it later.
15:05 ensonic joined #minetest
15:10 bingfengfsx joined #minetest
15:17 rubenwardy joined #minetest
15:26 riff-IRC joined #minetest
16:02 Joseph15_ joined #minetest
16:02 nri joined #minetest
16:19 FrostRanger joined #minetest
16:20 nowhereman joined #minetest
16:27 milkt joined #minetest
16:28 epoch https://en.wikipedia.org/wiki/Breeder_reactor one of these in technic would be neat
16:33 troller joined #minetest
17:11 pauloue joined #minetest
17:19 Joseph15_ joined #minetest
17:42 YuGiOhJCJ joined #minetest
17:43 troller joined #minetest
17:44 Joseph15_ joined #minetest
17:45 Joseph15_ How could I make it so if you are holding a certain item in your hand you take less damage when hit by another player?
17:47 Joseph15_ Like if I were to hold a shield item in my hand take half damage only when holding it
17:49 Multi_ left #minetest
17:52 rubenwardy register_on_hpchange, Joseph15_
17:54 Joseph15_ so on the register hp change I will then give hearts back?
17:55 Joseph15_ Like local hp change?
17:57 Joseph15_ Local hp_gain
18:02 MattJ joined #minetest
18:03 rubenwardy you can return a new HP
18:04 Joseph15_ So like, if I take 4 hearts of damage, return two?
18:29 Joseph15_ joined #minetest
18:32 puzzlecube joined #minetest
18:47 ssieb joined #minetest
18:49 troller joined #minetest
19:22 Unit193 joined #minetest
19:51 FreeFull joined #minetest
20:03 proller joined #minetest
20:29 Edgy1 joined #minetest
20:29 DI3HARD139-m43 joined #minetest
20:39 Edgy1 joined #minetest
21:17 pauloue joined #minetest
21:29 cdde joined #minetest
21:47 sec^nd joined #minetest
21:59 Ruslan1 joined #minetest
22:00 Ruslan1 VanessaE
22:01 VanessaE yes?
22:01 Ruslan1 I was pm you
22:01 VanessaE don't.
22:01 Ruslan1 Why
22:02 VanessaE I don't like to use pm's.  anything you need to say can be said in public.
22:02 VanessaE (mostly)
22:03 Ruslan1 Ok I join your channel
22:04 VanessaE you can't.
22:04 VanessaE you must use a real IRC client, and you must register your nick with nickserv.
22:04 VanessaE webchat won't do.
22:04 Ruslan1 Oh
22:05 Ruslan1 I’ll switch it
22:06 Ruslan1 I’m gonna change my nick
22:07 Ruslan1 joined #minetest
22:11 Ruslan1 joined #minetest
22:11 VanessaE kiwiirc is not a real irc client
22:11 Ruslan1 VanessaE I’m back
22:13 Ruslan1 VanessaE give me link
22:13 VanessaE google it :P
22:13 VanessaE if you don't know what a real IRC client is versus webchat, you don't need to be in my server channel.
22:13 VanessaE no offense.
22:14 Ruslan1 Ok
22:16 Ruslan1 joined #minetest
22:17 Ruslan1 This one
22:18 Ruslan1 Here is real one
22:19 Ruslan1 I join real one
22:19 Ruslan1 VanessaE
22:20 VanessaE that's a webchat.
22:20 VanessaE not an irc client.
22:21 Ruslan1 Yes
22:22 VanessaE no.
22:22 VanessaE it is not.
22:23 Ruslan1 Ok maybe I won’t join your channel
22:26 Ruslan1 VanessaE
22:31 kayky joined #minetest
22:32 tuedel_ joined #minetest
22:37 tuedel joined #minetest
22:39 Blo0D joined #minetest
22:40 ircSparky is the dir from on_punchplayer different than vector.direction(hitterpos, playerpos) for any particular reason? it seems to just point from one players feet to the others head, the y value increases to ~1 when the players are at the same position, and lowers  as they get farther away
22:41 ircSparky if the remove the y value and normalize they end up the same
22:44 ircSparky not sure, it's just weird. It seems like it would be better to just send the hitters look direction
22:46 Fritigern joined #minetest
22:49 VanessaE sounds like a bug to m
22:49 VanessaE me*
22:50 ircSparky ill see if there anything related in the git issues
23:13 turtleman joined #minetest
23:13 benrob0329 joined #minetest
23:27 ircSparky dosnt look like there is one
23:38 mothrah joined #minetest
23:42 mothrah Hello. Not sure if this server is more for modders or players, but if anyone has info about manipulating the "heat" and "humidity" values in the biomes API to better space my biomes, I would love it hear it!
23:42 VanessaE "this server"?
23:43 VanessaE you're on a general Minetest chat channel :)
23:43 epoch I bet they came from discord
23:43 clavi nope, the glorious webchat
23:44 Unioll joined #minetest
23:44 mothrah I did come from discord, yes. This general, abstractly-defined place.
23:45 p_gimeno mothrah: there's a thread in the forums dedicated to Q&A relative to map generation, I'd say that's your best shot
23:46 p_gimeno https://forum.minetest.net/viewtopic.php?f=47&amp;t=15272
23:48 tune it's called a channel, it's on the freenode server
23:49 clavi and discord has no servers, just chatrooms
23:49 tune iirc the things people call servers are internally called guilds
23:49 tune never used it personally but it's hard to ignore the unsightly monster
23:50 mothrah Thank you for the link. Browsing it now.
23:50 galaxie tune: Discord? Yeah, it's hideous. Try using it in Tor.
23:50 mothrah So. . . this is a guild?
23:50 tune this is an irc channel
23:50 galaxie mothrah: IRC channel.
23:50 tune was talking about discord for a sec
23:50 mothrah Gotcha.
23:52 p_gimeno freenode is a network of servers actually, the individual servers have little relevance because their only purpose is to distribute load, e.g. I'm on leguin.freenode.net, tune is on livingstone.freenode.net, mothrah is on herbert.freenode.net...
23:54 VanessaE and by servers, p_gimeno means the underlying chat network, not minetest.

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