Time Nick Message 00:05 paramat merging 00:07 paramat actually no, minor issues remain :) 07:19 ANAND Hello! How do I loop through all connected players (in C++)? 07:56 nerzhul look at Server class we have a method 09:34 Sator I am trying to create a new craftable item in minetest_game/mods/default. So far, I have added a reference in aliases.lua, crafting.lua, init.lua, and created the script of the item. However, nothing appears when I place the items on the grid. Do I have to change any other files? 09:34 ANAND Sator, #minetest please :) 09:37 ANAND Sator, you can take a look at this excellent resource to learn about the Minetest Modding (Lua) API: rubenwardy.com/minetest_modding_book 09:39 Sator ANAND, will look into it. Thanks again! 09:39 ANAND No problem! 11:11 ANAND Hello! I'd like to know how to loop through all connected players (in C++)? 11:14 sfan5 http://irc.minetest.net/minetest-dev/2018-05-30#i_5317449 11:22 ANAND Oh I had gotten disconnected back then.. thanks sfan5 and nerzhul ! 11:31 shivajiva http://dev.minetest.net/minetest.get_connected_players 11:31 ANAND shivajiva, C++ :) 11:31 shivajiva lol :) 11:39 ANAND In order to find the actual code that loops through all the players, I traced back from l_chat_send_all before, and was able to go upto ConnectionSendThread::sendToAll 11:40 ANAND Is this what I'm looking for? 11:40 ANAND for (session_t peerid : peerids) 14:30 nerzhul merging #7387 ty sfan5 14:30 ShadowBot https://github.com/minetest/minetest/issues/7387 -- Update embedded Lua to 5.1.5 by sfan5 14:32 sfan5 thanks 18:16 Sator I've been looking for a way to implement multi-material cooking. It seems I might need to modify l_craft.cpp to add a new craft method. Is there any information on it? 18:28 entuland uhm... can't you create a node and add a new crafting interface with formspec? 18:28 entuland or you want it to be the default crafting interface? 18:28 rubenwardy https://github.com/rubenwardy/crafting does that 19:44 paramat there are some PRs by bell07 in MTG waiting for review