Time Nick Message 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:32 Natechip 4W3h7a9t 4was that 10bigfoot5474? 00:32 Natechip XD 01:05 MinetestBot 02[git] 04juozaspo -> 03minetest/minetest: Fix error not printed to console when no name is provided 13837328f https://git.io/v7Phh (152017-08-09T01:04:06Z) 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: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 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 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 rmbeer sticksy, i say without OpenAL, no without sound... 07:46 rmbeer use vorbis or ogg 07:46 rmbeer and alsa? 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? 08:38 rmbeer sticksy, nothing, but it's not important for playing any audio 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 02[git] 04paramat -> 03minetest/minetest: Mgv7: Raise spawn point by 1 node for no mountain case 13a4048e4 https://git.io/v7XaT (152017-08-09T10:06:33Z) 10:13 MinetestBot 02[git] 04paramat -> 03minetest/minetest: Step height: Add as a player object property 133d0e8a6 https://git.io/v7Xak (152017-08-09T10:06:22Z) 10:13 MinetestBot 02[git] 04JRottm -> 03minetest/minetest: Minimap: Leaner minimap arrow makes it easier to see the direction 137cd1251 https://git.io/v7XaI (152017-08-09T10:04:09Z) 10:13 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Key change menu: Expose more keys 13f339409 https://git.io/v7XaL (152017-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:29 Krock s/bool/local/ 10:30 MinetestBot 02[git] 04paramat -> 03minetest/minetest_game: Player API: Integrate settable player step height 1377c9408 https://git.io/v7XVX (152017-08-09T10:27:37Z) 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 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: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* 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: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 15:35 Fixer Calinou: at least in MC you can shift click on pointed node, very fast and handy, in mt you are hmhmhgmhed 16:23 Lord_Vlad Anybody knows how to remove yourself some privs ? 16:25 calcul0n Lord_Vlad, with /revoke name priv 16:26 Lord_Vlad Great, thanks 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: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: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 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: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 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