Minetest logo

IRC log for #minetest, 2017-08-09

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

All times shown according to UTC.

Time Nick Message
00:04 Emperor_Genshin joined #minetest
00:04 Emperor_Genshin joined #minetest
00:05 Genshin Lo
00:06 bigfoot547 Hey Genshin
00:06 Genshin o/
00:07 bigfoot547 /o/ _|__|_
00:09 Genshin (╯ ͡° ͜ʖ ͡°) ╯︵/(.□ . \)
00:09 bigfoot547 How long did it take you to find that on the internet?
00:09 bigfoot547 :P
00:10 Genshin Didn't took me long, just converting the face to lenny took me a minute lol
00:11 Genshin How are things lately?
00:12 bigfoot547 Good :) how about you?
00:13 bigfoot547 Life o' meter:
00:13 bigfoot547 __________
00:13 Genshin Tired, with a back pain, at least i'm doing okay relaxing on my bean bag chair while chatting on hexchat through my desktop
00:14 bigfoot547 Nooo
00:14 bigfoot547 my slow-typing skills backfired
00:14 bigfoot547 __________
00:14 Genshin lol
00:14 bigfoot547 AAHH
00:14 bigfoot547 Take 3: action!
00:14 bigfoot547 __________
00:15 bigfoot547 [4████3██████]
00:15 bigfoot547 Tadaa
00:15 Genshin heh
00:15 bigfoot547 life-o-meter
00:15 bigfoot547 it's maxed out
00:15 Genshin Maxed out eh
00:15 Genshin Sweet!
00:15 bigfoot547 lel
00:30 FelipeO_O joined #minetest
00:32 Natechip 4W3h7a9t 4was that bigfoot5474?
00:32 Natechip XD
00:47 MrbpBlueEyes joined #minetest
00:58 Tirifto_ joined #minetest
01:00 vifino joined #minetest
01:05 twoelk left #minetest
01:05 Lymkwi joined #minetest
01:05 MinetestBot [git] juozaspo -> minetest/minetest: Fix error not printed to console when no name is provided 837328f https://git.io/v7Phh (2017-08-09T01:04:06Z)
01:14 AntumDeluge joined #minetest
01:38 Zehra joined #minetest
02:03 CalebDavis joined #minetest
02:07 GreenDimond joined #minetest
02:07 GreenDimond does Minetest use a font library?
02:08 GreenDimond I ask because if so - is there a way to center text?
02:08 VanessaE freetype, at least on linux.
02:23 Tmanyo joined #minetest
02:24 est31 joined #minetest
02:48 GreenDimond joined #minetest
02:49 GreenDimond is it possible to use lua to find the physical length of a string?
02:49 GreenDimond Because I would rather not define how many spaces every character uses
02:54 VanessaE GreenDimond: if you mean the length in pixels, no, there is not.
02:54 VanessaE but the length of a string in bytes, there's a function for that, I forget what it was.
02:58 GreenDimond Wouldnt it provide the same thing?
02:58 GreenDimond pixels vs. bytes?
02:58 GreenDimond I just want to center some text xD
03:01 GreenDimond Because I can't use character count to center it since characters arent all the same width
03:09 GreenDimond are bytes in this case used as a unit of measurement?
03:11 VanessaE when I say bytes I mean characters
03:12 VanessaE like "hello" is 5 chars but might take 50 pixels
03:12 GreenDimond darn
03:12 VanessaE sowwy :)
03:12 GreenDimond do you know of any way to center text in MT?
03:12 VanessaE nope
03:12 GreenDimond :/
03:12 GreenDimond can text be applied to entities?
03:13 GreenDimond (without defining each character as an image)
03:13 VanessaE nope.
03:15 GreenDimond so my only options are to either define all 64 characters' space-equivalent or use each character as an image and display an entity
03:15 VanessaE I guess so, depending on what it is you're ultimately trying to do
03:15 GreenDimond modify the name tag so it has another string of text above it
03:15 VanessaE remember, too, that not everyone will have the same font settings as you
03:15 GreenDimond that is also true
03:16 GreenDimond andI realize that :/
03:16 KaadmY GreenDimond: um, the length of a string in bytes is not even close to the pixel size
03:16 GreenDimond *and I
03:16 GreenDimond KaadmY: Yes that was answered about 2 minutes ago
03:16 KaadmY Each character is one byte if the string is standard ASCII
03:16 KaadmY Ah okay
03:16 GreenDimond so the only way to make it centered for everyone is to do the entity method.
03:16 GreenDimond Darn.
03:16 GreenDimond or...
03:17 GreenDimond hmmmmmmm
03:17 GreenDimond ok
03:17 GreenDimond thx VanessaE
03:39 dabbill joined #minetest
04:10 Brackston left #minetest
04:21 Azelphur joined #minetest
05:00 InstantKofeGirl joined #minetest
05:00 sticksy joined #minetest
05:45 Freejack joined #minetest
06:01 georgeowell joined #minetest
06:11 torgdor joined #minetest
06:29 CWz joined #minetest
06:32 Freejack joined #minetest
06:37 SonosFuer joined #minetest
06:45 jas_ how best to force a respawn?  https://github.com/jastevenson303/dcbl_default/commit/2c167d05949118f98f5fe9803a9ae24d5d068cde#diff-d6265af3707130baeeddbe6b8b920658R238
06:45 jas_ i saw send_respawn() client side but, so there's an on_die and on_respawn
06:46 jas_ but no way to force it?  in that mod i just sent to spawn pos, refilled hearts/hunger and minetest.closed_formspec
06:46 jas_ i doubt that's equivilent to whatever send_respawn() is doing client side
06:52 jas_ in certain fps you automatically respawn after about 5 seconds
06:53 Hawk777 joined #minetest
07:21 rmbeer joined #minetest
07:21 rmbeer hello
07:21 rmbeer i have a option for cmake for avoid the OpenAL?
07:22 sticksy rmbeer can you do without sound?
07:22 sticksy Disable sound and OpenAL should not be needed
07:46 Lukc joined #minetest
07:46 rmbeer sticksy, i say without OpenAL, no without sound...
07:46 rmbeer use vorbis or ogg
07:46 rmbeer and alsa?
07:46 proller joined #minetest
07:46 rmbeer or pulseaudio
07:49 sticksy rmbeer I need to go... The last time I checked, OpenAL was needed for sound. I don't think there was an ALSA driver.
07:49 sticksy What is the OpenAL issue?
07:56 Krock joined #minetest
08:29 slemonide joined #minetest
08:38 rmbeer sticksy, nothing, but it's not important for playing any audio
08:42 evilchristel joined #minetest
08:49 ensonic joined #minetest
08:50 loggingbot_ joined #minetest
08:50 Topic for #minetest is now Welcome to #minetest, official Minetest channel | Latest version: 0.4.16 (2017-06-03) | Responses may take a while, be patient | Rules: http://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: http://minetest.net/servers | IRC logs: http://irc.minetest.net/minetest/
08:50 rmbeer joined #minetest
08:52 cyberarm joined #minetest
08:58 rumble joined #minetest
09:11 Tirifto joined #minetest
09:12 Fixer joined #minetest
09:21 Beton joined #minetest
09:23 frostsnow joined #minetest
09:24 proller joined #minetest
09:31 troller joined #minetest
09:31 catninja joined #minetest
09:31 mransom joined #minetest
09:36 behalebabo joined #minetest
09:36 Someguy123 joined #minetest
09:38 Cork joined #minetest
10:05 red-001 jas_, huh I don't think there is a way to force a respawn
10:05 red-001 have you tried manually reseting the HP?
10:06 red-001 then closing the formspec
10:06 jas_ yeah that's what i did. set_hp(20)... but i wonder what else is done.  oh, yes formspec close
10:06 jas_ so those two things and it seems normal, i have not tested yet tho
10:06 jas_ i couldn't find what send_respawn did
10:06 jas_ if that was it, i mean
10:07 red-001 it sends the respawn packet to the server
10:07 red-001 requesting the player is respawned
10:07 jas_ so doing it manually might be bypassing on_respawn callbacks?
10:07 red-001 it is likely to
10:07 red-001 you could try calling them yourself if you really need them
10:08 jas_ oh ok
10:08 jas_ just to let the server now they respawned, i would think
10:08 jas_ know* lol
10:08 red-001 oh also reset breath
10:09 red-001 https://github.com/minetest/minetest/blob/c8faee4eda27022319a25d5959205496ef75414e/src/server.cpp#L2660
10:09 jas_ alright.  i position at static_spawnpoint.  otherwise i dunno what is normally done.  i like the idea of random (re)spawnpoints
10:09 red-001 PLAYER_MAX_BREATH and PLAYER_MAX_HP are constants
10:10 jas_ thx
10:10 red-001 yeah there really should be a way to force a player to be respawned
10:10 jas_ yeah, i will likely test it out tho
10:13 MinetestBot [git] paramat -> minetest/minetest: Mgv7: Raise spawn point by 1 node for no mountain case a4048e4 https://git.io/v7XaT (2017-08-09T10:06:33Z)
10:13 MinetestBot [git] paramat -> minetest/minetest: Step height: Add as a player object property 3d0e8a6 https://git.io/v7Xak (2017-08-09T10:06:22Z)
10:13 MinetestBot [git] JRottm -> minetest/minetest: Minimap: Leaner minimap arrow makes it easier to see the direction 7cd1251 https://git.io/v7XaI (2017-08-09T10:04:09Z)
10:13 MinetestBot [git] Wuzzy2 -> minetest/minetest: Key change menu: Expose more keys f339409 https://git.io/v7XaL (2017-08-09T10:00:24Z)
10:21 Krock red-001, player:set_hp(0)  and the respawn happens :P
10:22 red-001 Krock, the player needs to press respawn on the formspec
10:22 red-001 which means you can't auto respawn people on a timer
10:26 Krock bool was_handled = minetest.registered_on_respawnplayers(player)
10:27 proller joined #minetest
10:29 Krock s/bool/local/
10:30 MinetestBot [git] paramat -> minetest/minetest_game: Player API: Integrate settable player step height 77c9408 https://git.io/v7XVX (2017-08-09T10:27:37Z)
10:50 est31 left #minetest
11:13 Lymkwi joined #minetest
11:31 ThomasMonroe joined #minetest
11:33 Pie-jacker875 joined #minetest
11:34 CalebDavis joined #minetest
11:38 Piejacker joined #minetest
11:54 LBPHacker joined #minetest
11:55 Jousway joined #minetest
11:56 proller joined #minetest
12:12 DI3HARD139 joined #minetest
12:13 Jordach joined #minetest
12:23 RobbieF joined #minetest
12:33 Lymkwi joined #minetest
12:39 Krock joined #minetest
12:50 jas_ ?
12:51 Krock !
12:51 jas_ i'm trying that whatever it is heh
12:52 jas_ :/ i don't think there's a way have a server initial a client's respawn
12:52 jas_ unless CSM?
12:53 Beton_ joined #minetest
12:53 jas_ dunno how to csm
12:54 jas_ initiate* a client's a respawn.  if i just set_hp(20) on_die, then they miss out on on_respawn callbacks.
12:55 jas_ but maybe it doesn't matter idk.  i wonder can a server just send the client client-side mods... so weird
13:05 AndDT joined #minetest
13:05 enricom joined #minetest
13:06 CalebDavis why are you not able to set the hotbar size to 24
13:08 Calinou CalebDavis: it would be way too wide to be usable
13:08 Calinou in Carbone, I set the hotbar size to 16, but it's not a good idea, it means it'll span two lines in inventory
13:09 Calinou although I think hotbar size 8 is too small… Minecraft has 9 at least
13:09 Calinou 10-12 would be ideal IMO, if you look around, many shooter games do fine with 10-12 different weapon slots
13:09 Calinou to switch to slots 10-12, you'd just use 0, - and = (on QWERTY)
13:10 CalebDavis ok but then why can you set it to 23 and it has 1 slot less on the top tow then on the botom row
13:10 CalebDavis row^
13:10 CalebDavis ill probly just stick to 8
13:20 ThomasMonroe does anyone know of a reason why i am getting NodeResolver  errors if i remove flowers and create a new world?
13:42 ThomasMonroe syr bout that
13:42 ThomasMonroe ^
13:42 ThomasMonroe sry*
13:49 lisac joined #minetest
14:09 behalebabo joined #minetest
14:19 ThomasMonroe joined #minetest
14:25 DS-minetest joined #minetest
14:26 Lymkwi joined #minetest
14:27 Brackston joined #minetest
14:32 KaadmY Calinou: 9 slots works well because it gives room for the health/armor bars to be aligned with the hotbar
14:32 KaadmY 8 slots is slightly narrow, ie. Minetest's
14:37 Calinou KaadmY: 10-12 slots would be ideal
14:37 Calinou even 9 slots is a bit low today (with today's wide screens)
14:37 Calinou in Minecraft, I found myself fiddling with the hotbar quite a bit when I was building stuff
14:38 proller joined #minetest
14:39 KaadmY You can get at most 10 slots if you use number keys
14:39 KaadmY And past 8-9 it gets hard to reach with one hand
14:40 antims joined #minetest
14:46 Beton__ joined #minetest
15:13 behalebabo joined #minetest
15:21 twoelk joined #minetest
15:35 Fixer Calinou: at least in MC you can shift click on pointed node, very fast and handy, in mt you are hmhmhgmhed
15:35 ensonic joined #minetest
15:37 cx384 joined #minetest
15:42 Alcyone2 joined #minetest
15:48 LBPHacker joined #minetest
15:56 Telesight joined #minetest
16:05 soupfly joined #minetest
16:10 proller joined #minetest
16:22 Lord_Vlad joined #minetest
16:23 Lord_Vlad Anybody knows how to remove yourself some privs ?
16:24 FreeFull joined #minetest
16:25 calcul0n Lord_Vlad, with /revoke name priv
16:26 Lord_Vlad Great, thanks
16:43 Beton_ joined #minetest
16:46 soupfly joined #minetest
16:57 Marolinha joined #minetest
17:01 Marolinha left #minetest
17:10 swift110 joined #minetest
17:12 erstazi joined #minetest
17:15 Billre joined #minetest
17:17 Jordach joined #minetest
17:20 dan2wik_ joined #minetest
17:24 CalebDavis joined #minetest
17:41 proller joined #minetest
18:04 Tux[Qyou] joined #minetest
18:04 Tux[Qyou] joined #minetest
18:06 LBPHacker joined #minetest
18:22 ssieb joined #minetest
18:29 Zehra joined #minetest
18:33 behalebabo joined #minetest
18:34 Tirifto joined #minetest
18:51 behalebabo joined #minetest
19:03 slemonide joined #minetest
19:09 lisac joined #minetest
19:12 jas_ !server
19:12 MinetestBot jas_: *** LandofSurvivors *** by Telesight | landofsurvivors.telesight.nl:30007 | Clients: 0/15, 0/1 | Version: 0.4.15 / minetest | Ping: 6ms
19:13 bhelit joined #minetest
19:17 bhelit are the variables [itemstack, user, pointed] produced by the function (in my case register_tool) on_use = function(itemstack, user, pointed),
19:19 bhelit calcul0n, yesterday {von_use = function(itemstack, user, pointed) hearth(user) end, } do i run function to create the user variable? still tring to digest it today
19:19 Krock no, they're produced in c++ side, where these objects/uservalues are pushed to Lua
19:20 Krock wehre you finally can use them as function parameters in your code
19:20 Krock *where
19:21 bhelit hmm that is odd. coming from perl/c is a bit weird
19:23 bhelit Krock, i thought lua used ANSI C?
19:24 calcul0n yes, but the minetest engine is in c++
19:24 Krock indeed, unicode encodings in c++, ANSI C in Lua
19:25 BamaHit joined #minetest
19:26 bhelit thanks i appreciate the correction. i tend to make assumptions
19:27 BamaHit Hey guys, I was trying to alter the unified_inventory to let you get 1 item instead of 99 by holding shift when clikcing. I did this https://pastebin.com/J0jQNZ02 but it isn't recongizing the shift button being pressed.
19:28 Krock wrong "stack" variable, I'd say
19:28 Krock or the code isn't executed because it's in the wrong place
19:29 calcul0n i'm not sure get_player_control() will work in a formspec
19:29 BamaHit if i remove the if else and only use "stack:set_count(stack:get_stack_max())" that is default and does 99; if i change to "stack:set_count(1)" it does 1 at a time.
19:30 BamaHit That would explain the reason calcul0n
19:31 BamaHit I tried to find the way inventory handles it with right, left and middle click. and would implant that, but i cna't find that coding.
19:31 calcul0n i guess it's coded in the engine
19:31 Krock perhaps keys aren't updated in formspecs
19:41 Taoki[mobile] joined #minetest
19:50 ThomasMonroe joined #minetest
19:53 bigfoot547 joined #minetest
20:01 RobbieF left #minetest
20:17 GreenDimond joined #minetest
20:17 GreenDimond how do I attach a label to an entity?
20:17 ThomasMonroe errrrr....tenplus1 just left
20:18 GreenDimond :/
20:18 ThomasMonroe hows everything on HOMETOWN?
20:18 GreenDimond no idea
20:18 GreenDimond I am taking a week break :P
20:18 ThomasMonroe ah ok, nice
20:18 ThomasMonroe people need breaks every now and then
20:19 GreenDimond Perhaps someone else knows how to attach labels to entities?
20:23 lisac joined #minetest
20:27 lisac joined #minetest
20:31 GreenDimond All the people that have made mobs mods are either not here or have left MT
20:33 Raven262 Except for tenplus1 i guess.
20:33 Raven262 But he just left, so i guess you are right.
20:33 Raven262 He'll probably be here tomorrow though.
20:35 GreenDimond The almighty Wuzzy isnt here either
20:35 Jordach joined #minetest
20:35 GreenDimond And maikerumine isnt
20:36 GreenDimond Is it possible that Mr. Jordach knows how to attach labels to entities?
20:36 bigfoot547 Like nametags?
20:36 bigfoot547 Wasy
20:36 GreenDimond Yes
20:36 GreenDimond Nametags
20:36 GreenDimond Kinda
20:36 GreenDimond Yes like nametags
20:36 GreenDimond I cant english
20:36 bigfoot547 it's the set_nametag function
20:37 bigfoot547 or the like
20:37 calcul0n GreenDimond, there's a Object.set_nametag_attributes
20:37 GreenDimond thats a thing?
20:37 bigfoot547 Yes
20:37 calcul0n entity:set_nametag_attributes({color=colorspec, text="name"})
20:37 GreenDimond :O
20:37 calcul0n just a guess, i never used it
20:38 GreenDimond thanksya!
20:38 bigfoot547 Yes
20:38 GreenDimond Thank you both :P
20:38 bigfoot547 I've used that b4 :P
20:38 bigfoot547 I made a waypoint on the HUD for every player before I found that out
20:51 GreenDimond worked!
20:51 GreenDimond thanks
21:11 YuGiOhJCJ joined #minetest
21:12 cyberarm joined #minetest
21:15 Pie-jacker875 joined #minetest
21:21 troller joined #minetest
21:43 slemonide joined #minetest
21:51 lisac joined #minetest
21:51 _god_ joined #minetest
21:54 ssieb joined #minetest
22:00 lisac joined #minetest
22:02 lisac joined #minetest
22:05 lisac joined #minetest
22:07 lisac joined #minetest
22:08 Fixer joined #minetest
22:10 lisac joined #minetest
22:11 lisac joined #minetest
22:13 lisac joined #minetest
22:15 Billre left #minetest
22:21 lisac joined #minetest
22:22 lisac joined #minetest
22:25 lisac joined #minetest
22:28 lisac joined #minetest
22:33 bigfoot547 joined #minetest
22:34 bigfoot547 joined #minetest
22:37 Fixer joined #minetest
22:44 Fixer_ joined #minetest
22:54 redblade7 joined #minetest
23:11 DI3HARD139 joined #minetest
23:24 proller__ joined #minetest
23:26 bigfoot547 joined #minetest
23:40 DMackey joined #minetest
23:54 Emperor_Genshin joined #minetest
23:54 Emperor_Genshin joined #minetest

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