Time Nick Message 00:04 Brackston Switch to Linux? 00:04 Brackston Sorry, I could not help myself. 00:26 AntumDeluge Kaiser, what are you trying to do? 00:27 AntumDeluge If you're just trying to run the Minetest client, I would download the package labeled 'mingw'. I had problems with the visual studio built version. 00:35 Lone-Star just a quick question, do you have to have a certain amount of posts before you can start a thread in the mod release section of the forums? 00:35 AntumDeluge You must post mods in WIP mods section. Then, you have to request it be moved to mod releases. 00:38 Lone-Star ok, thanks 00:50 AntumDeluge There is the following line in a mod that I have been changing: 00:50 AntumDeluge pointed_thing.ref:punch(user, {full_punch_interval=1.0, damage_groups=def.damage_groups}, 'default:bronze_pick', nil) 00:50 AntumDeluge This is in the 'on_use' function of registering a tool. 00:51 AntumDeluge I don't understand why 'default:bronze_pick' is used. 00:51 AntumDeluge I tried changing it to 'nil', but then Minetest crashes. 00:51 AntumDeluge What the mod is attempting to do is, if the item in hand is pointing at an object. Then it will use the default behavior of picking the item up. 00:53 AntumDeluge I don't like that it needs to depend on 'default' just to be able to use the default functionality of pointing at an object & picking it up. 00:53 AntumDeluge What is the string for the hand? 00:53 AntumDeluge Is it just "hand"? 00:55 AntumDeluge https://github.com/minetest/minetest/blob/71b02d6/doc/lua_api.txt#L4132 00:56 AntumDeluge What is "pointed_thing"? Is it an ObjectRef? 00:57 AntumDeluge Okay, I think I found some info in the Wiki: http://dev.minetest.net/ObjectRef:punch 00:57 AntumDeluge ...except that "tool_capabilities" isn't documented. :-\ 01:00 AntumDeluge Interesting. If I set "tool_capabilities" to "nil" it crashes. But if I set it to an empty string it works fine. 02:04 rdococ Mreow. 02:48 AntumDeluge Does anyone know how I could fix this? https://github.com/AntumMT/mod-slingshot/blob/6d82281/api.lua#L56 02:49 AntumDeluge In the line "ob:punch(ob, 1.0, {damage_groups={fleshy=4}}, nil)" the puncher should be the player who is attacking. But, I'm not sure how to find which player is attacking from the "register_globalstep" function. 03:46 jas_ hello 03:46 AntumDeluge Hi jas_ 03:48 redblade7 hi 03:49 jas_ there's minetest.register_on_punchplayer, dunno if that helps AntumDeluge https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2301 03:53 AntumDeluge I'll check it out jas_, but I don't think it's what I'm looking for. 03:53 jas_ ok. there's also register_on_hpchange. 03:54 AntumDeluge You mean "register_on_player_hpchange"? 03:55 jas_ well now i'd have to check, but i think you may be right. 03:56 jas_ these names are hard for me to remember. 03:56 AntumDeluge That's what was in lua_api.txt 03:56 jas_ ok 03:57 jas_ well, i figure if you need to get the puncher, onpunch, or on_hpchange might work? i'm just spitballin' tho 03:59 AntumDeluge I just realized that the previous developer actually already had a way to get the puncher. It gets stored on a local variable when "on_use" is called. So, problem solved. 03:59 jas_ nice! 04:04 AntumDeluge Excellent! Now defensive mobs attacked by my slingshot mod will know who to retaliate against. ^^ 05:03 Natechip wow 05:03 Natechip looks like many were hit by the k-line spam bots 06:13 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: l_server, clientenvironment, clientiface: code modernization 133e80bf9 https://git.io/v7A9z (152017-08-17T06:11:39Z) 06:28 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: clientmap, clientmedia: code modernization 13b204bc4 https://git.io/v7AHB (152017-08-17T06:26:52Z) 06:54 jas_ http://imgur.com/7w1PcEl 08:40 hisforever Hi I'm having trouble with the farming mod. Can I delett out of the Mod pack then add it as a stand alone mod? 16:45 Genshin Lo 17:15 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: Typo fix in compat code from commit 1d8d01074fdb52946f81110bebf1d0011… 138432efa https://git.io/v7ptU (152017-08-17T17:15:12Z) 17:18 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: Reduce dedicated server step to 0.09 (#6252) 139bd1887 https://git.io/v7ptR (152017-08-17T17:16:02Z) 18:25 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: clientobject, clouds, collision, clientsimpleobject: code modernizati… 13c738d1e https://git.io/v7pcz (152017-08-17T18:23:54Z) 20:20 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: C++ modernize: Pragma once (#6264) 13921151d https://git.io/v7prj (152017-08-17T20:19:39Z) 21:03 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: Modernize src/c* src/d* and src/e* files (#6263) 1313e995b https://git.io/v7pbv (152017-08-17T21:02:50Z) 22:02 jas_ !server 22:02 MinetestBot jas_: *** SkyWars *** by Telesight | skywars.telesight.nl:30010 | Clients: 17/50, 22/34 | Version: 0.4.15 / minetest | Ping: 6ms 22:25 bigfoot547 Why are all these builds erroring? 22:25 bigfoot547 https://travis-ci.org/minetest/minetest/pull_requests 23:06 Calinou bigfoot547: the builds of the master branch are failing: https://github.com/minetest/minetest/commits/master 23:06 Calinou so it's logical that the builds of pull requests also fail (most of the time) 23:06 Calinou the last successful build on the master branch seems to be https://github.com/minetest/minetest/commit/b9ab51dd81bb15fb4d718ab0b3c6e06d0cab5141 23:07 bigfoot547 Okay 23:10 rubenwardy it looks like something external changed