Minetest logo

IRC log for #minetest-hub, 2018-09-09

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

All times shown according to UTC.

Time Nick Message
00:13 BillyS_ joined #minetest-hub
00:13 BillyS_ I have calmed down. :P
00:20 ANAND joined #minetest-hub
00:24 paramat joined #minetest-hub
00:27 BillyS o/
00:27 BillyS Does anyone here know how to move bones around in minetest?
00:28 BillyS I mean, set_bone_position is supposed to do it
00:28 BillyS but it doesn't work for me
00:29 BillyS I don't know what to put in for "bone"
02:35 benrob0329 joined #minetest-hub
02:40 pauloue joined #minetest-hub
04:37 twoelk left #minetest-hub
04:46 ChimneySwift joined #minetest-hub
05:12 paramat joined #minetest-hub
07:35 Fixer joined #minetest-hub
09:17 Gael-de-Sailly joined #minetest-hub
10:38 Fixer joined #minetest-hub
11:00 tenplus1 joined #minetest-hub
11:00 tenplus1 hifolks
11:01 tenplus1 on_punch seems to be reporting random tflp (time from last punch) values, anyone have this same issue ???
11:28 Shara Hi Ten
11:28 Shara Haven't noticed that myself, but at this point nothing would suprise me
11:29 tenplus1 hi shara...
11:29 tenplus1 I show tflp everytime I hit an entity,and when spam punching it reports different numbers each time, some high, smoe low]
11:29 Shara Trying to figure out how player metadata is meant to work myself and can't find any examples
11:30 Shara All lua api tells me is "Can be obtained using `player:get_meta()`."
11:31 tenplus1 same as node meta...  local meta = player:get_meta() ; meta:set_int("magic", 200)
11:31 Shara How do I get a value?
11:31 Shara That's the part I'm struggling with
11:32 VanessaE foo = meta:get_int("keyname")
11:32 VanessaE or get_string
11:32 Shara Ahh, thanks. I can see wherew I'm wrong :)
11:32 Shara where*
11:33 Shara I was sooo cose as well :D
11:33 Shara close*
11:33 VanessaE also, good morning. :)
11:33 Shara How's it going?
11:33 tenplus1 hi Vanessa
11:33 VanessaE it's going.
11:33 VanessaE been focused on my minislots mod
11:34 tenplus1 kewl, am working on mob api... got dungeon master fireballs able to rebound if you hit them with good weapon
11:34 Shara Trying to convince myself to face the issue of player stats in the game I'm making
11:34 VanessaE nice
11:34 Shara I want to add things like perma max hp increases and so on
11:41 Shara tenplus1: Sounds like the start of DM Sports Games
11:41 Shara Get them to hit them back and play tennis with them? :D
11:44 tenplus1 heh
11:45 tenplus1 more custom functions appearing :) they all help
12:03 ChimneySwift lol DMs were the reason I started playing with sound off XD
12:03 ChimneySwift those things are loud :p
12:04 tenplus1 hichimney,and yeah they can be
12:04 ChimneySwift hi tenplus1 xD
12:04 ChimneySwift yeah, kept freaking me out lol
12:06 tenplus1 I added a /snd <nick> <sound> command to the server which I can use to scare players :D
12:11 ChimneySwift omg so mean :o
12:11 ChimneySwift XD
12:12 tenplus1 I keep telling them not to eat the beans....   /snd <nick> fart1
12:12 ChimneySwift LOL
12:14 Shara :D
12:15 aerozoic joined #minetest-hub
12:16 tenplus1 hi aerozoic
12:16 aerozoic hi 10+1
12:17 tenplus1 o/
12:28 sys4 joined #minetest-hub
12:38 BillyS joined #minetest-hub
13:07 tenplus1 o/ billy
13:07 rdococ hi 23... in base 4
13:07 tenplus1 :P
13:08 rdococ what could be fun is creating your own numerical system
13:09 rdococ 23 means "2 * 3" or "6", 32 means "3 + 2", or "5"
13:09 tenplus1 hi rdococ
13:10 rdococ yay
13:27 longerstaff13-m joined #minetest-hub
13:30 rdococ yay lognerstaff
13:34 longerstaff13-m1 joined #minetest-hub
13:34 tenplus1 wb
13:34 CWz joined #minetest-hub
13:35 tenplus1 hi CWz
13:39 CWz_ joined #minetest-hub
13:40 IhrFussel joined #minetest-hub
13:40 tenplus1 hi fussel
13:41 Shara Hmm, fun with applying nonsense hp values and making myself unkillable
13:41 tenplus1 ?
13:41 Shara Just playing around with thing I made to adjust max hp values
13:42 Shara new player is now dead on join, but after respawn is basically immortal :D
13:42 * Shara lables it zombie_game and calls it a feature
13:42 tenplus1 zombieeeeeee
13:43 IhrFussel Hello there... "press and hold the screen" << is this the best English way to say "touch your screen and don't let go"?
13:44 Shara If talking touch screen... I'd go with "keep your finger on the screen"
13:44 Shara rather than "hold"
13:45 IhrFussel Looks like Android also uses "touch and hold"
13:45 Shara It sounds weird to me
13:46 Shara I mean, odds are you are always holding the phone/tablet anyway
13:46 Shara So "press and hold screen" to me is like "press and don't drop"
13:47 Shara That's probably just me though :P
13:52 Shara Oh great... I have an undeletable world again. I thought this bug was fixed
13:52 tenplus1 undeletable ? in the gui ?
13:52 Shara Yea, hoping it's just a one off weird thing from something stupid I've done
13:52 Shara Hmm, deletes fine after a restart
13:59 Shara Can anyone tell me what player:get_meta():get_int("hp_max") should return if "hp_max" has never been set for the player?
14:04 IhrFussel I'd say either "" or 0
14:05 IhrFussel Since meta usually always returns an empty string and never nil
14:06 Shara I seem to have ruled out either nil or 0 so far, so will try check for empty string
14:06 IhrFussel Empty string it is then
14:06 Shara Will soon know
14:07 Shara Nope, still doesn't fix it
14:08 Shara Time to start checking values of things then :)
14:17 IhrFussel It should be "" ... or was that just for get_string()?
14:17 Shara Well, test is showing me it's 0
14:18 Shara And adding a check for 0 then means printing out a test message shows me the correct value
14:18 VanessaE get_int always returns 0 for a not-set key
14:18 VanessaE and "" for get_string with no valid key
14:18 Shara Only then when I do player:set_properties using the same variable.. it gives me 20 hp instead
14:19 Shara I'm clearly missing something else...
14:20 Shara Just frustrating because I do have a working version of the code, and this version is just meant to be... simpler
14:22 tenplus1 if you already have a working version skip the meta feature and use original
14:23 Shara the working version is with meta
14:23 Shara That's why this is so ridiculous
14:23 Shara I only seem to be having any trouble once I introduce attempts to check if a value has already been set or not
14:24 tenplus1 local max_hp = tonumber(player:get_meta():get_int("hp_max")) or default_max_hp
14:25 Shara shouldn't get_int get.. a number though?
14:25 VanessaE if a number is what was set, sure :)
14:25 tenplus1 just means no matter what is returned, nil, "", 0 etc. it'll check and return a proper value
14:25 Shara This works without need of tonumber is the working version
14:25 Shara and yes, a number is what's being set
14:26 Shara The thing it's picking up on, confirme dby the test messages I've added is: local default_max_hp = 8
14:26 Shara But then hp_max = default_max_hp in player:set_properties suddenly gives 20 :D
14:27 Shara hp_max = max_hp sorry (copied current test not actual thing)
14:27 Shara I'll just give it another attempt from the start later
14:37 rubenwardy No need for the to number
14:37 rubenwardy Get int will return 0
14:37 rubenwardy Get string will return ""
14:37 rubenwardy Get will return nil
14:37 Shara It works for all other cases than a new player
14:37 rubenwardy There's also contains
14:38 IhrFussel Shara, there is an extra callback for newplayer maybe that helps?
14:39 Shara I was trying to avoid that.. that's sor tof the whole point
14:40 IhrFussel Or you set a "handled" flag for each player via meta
14:40 IhrFussel I do that a few times in my code
14:40 IhrFussel Only if not set the player must be new
14:53 xerox123 hello all
14:53 tenplus1 o/ xerox
14:56 rdococ \o/
15:08 A-Hamilton morning
15:08 tenplus1 hi mister
15:09 Shara Well, it's fixed by adding minetest.after, but then it's seriously ugly because it looks like you get attacked when you join
15:18 tenplus1 o/
15:21 clavi hey
15:22 clavi is anyone here running a server on a compressing file system like btrfs?
15:24 tenplus1 hi clavi, unfortunately no, I get better performance in ext4
15:25 clavi so you've compared ext4 and btrfs?
15:26 rdococ yay\o/\o/\o/\o/yay
15:26 tenplus1 phoronix.com does all the speed tests between partition formats
15:26 clavi I see
15:26 clavi I wonder what kind of benchmark a minetest server would most resemble
15:27 tenplus1 https://www.phoronix.com/scan.php?page=article&amp;item=bcachefs-linux-2018&amp;num=2
15:27 tenplus1 random read/write
15:27 clavi makes sense
15:27 clavi I'm running it on an SSD server at the moment
15:28 clavi would I lose much performance from running off regular HDD?
15:28 tenplus1 check the link
15:29 clavi ah yes
15:43 Krock joined #minetest-hub
15:44 Krock hi tenplus1
15:44 tenplus1 hi Krock :)
16:10 ircSparky is there any way to fix connected blocks when using clumpfall?
16:10 ircSparky https://forum.minetest.net/viewtopic.php?f=9&amp;t=20255 <-- see last post
16:25 Gael-de-Sailly joined #minetest-hub
16:26 tenplus1 hi gael
16:30 Manzano_ joined #minetest-hub
16:36 jluc joined #minetest-hub
17:35 IhrFussel The hopper mod FLOODS debug.txt
17:36 tenplus1 which one ? the one on minetest-mods or my own ?
17:36 IhrFussel Thousands of messages in there...
17:36 IhrFussel I think the one from minetest-mods
17:36 tenplus1 ahh, that one's not mines then :PP
17:37 IhrFussel I commented all .log lines out now...it probably also caused quite a bit of file write lag
17:38 tenplus1 I can imagine
17:47 jluc joined #minetest-hub
19:07 Fixer "Oh you know Alice and Bob? They smashed the other night"
19:07 Fixer loool
19:07 tenplus1 lol
19:12 tenplus1 Q. if I license a mod under MIT, can someone add changes and re-license the whole mod ???
19:18 benrob0329 joined #minetest-hub
19:24 roben1430 joined #minetest-hub
19:24 tenplus1 hibenrob
19:29 tenplus1 nite folks o//
19:29 tenplus1 left #minetest-hub
19:41 roben1430 joined #minetest-hub
20:12 roben1430 joined #minetest-hub
20:26 garywhite joined #minetest-hub
20:26 garywhite joined #minetest-hub
20:30 garywhite1 joined #minetest-hub
21:13 lisac_ joined #minetest-hub
21:38 Gael-de-Sailly joined #minetest-hub
22:10 longerstaff13-m joined #minetest-hub
22:31 Fixer !tell IhrFussel please post a bug report to that hopper repo
22:31 MinetestBot Fixer: I'll pass that on when IhrFussel is around
22:46 roben1430 joined #minetest-hub
23:18 garywhite joined #minetest-hub

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