Minetest logo

IRC log for #minetest-dev, 2018-05-30

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

All times shown according to UTC.

Time Nick Message
00:00 EvergreenTree joined #minetest-dev
00:05 davisonio_ joined #minetest-dev
00:05 crazyR_ joined #minetest-dev
00:05 __vy_ joined #minetest-dev
00:05 Ruslan1_ joined #minetest-dev
00:05 paramat merging
00:06 Ruslan1_ joined #minetest-dev
00:07 paramat actually no, minor issues remain :)
00:16 popey joined #minetest-dev
00:28 Taoki joined #minetest-dev
00:52 behalebabo joined #minetest-dev
00:58 warr[m] joined #minetest-dev
01:08 wowaname[m] joined #minetest-dev
01:30 popey_ joined #minetest-dev
02:20 Tmanyo joined #minetest-dev
02:38 EvergreenTree joined #minetest-dev
03:01 AndroBuilder joined #minetest-dev
03:35 Ruslan1 joined #minetest-dev
03:46 Darcidride_ joined #minetest-dev
06:28 Lunatrius` joined #minetest-dev
07:19 ANAND Hello! How do I loop through all connected players (in C++)?
07:23 Player-2 joined #minetest-dev
07:56 nerzhul look at Server class we have a method
07:59 ANAND joined #minetest-dev
08:11 Lymkwi joined #minetest-dev
08:23 Sator joined #minetest-dev
09:06 Fixer joined #minetest-dev
09:18 troller joined #minetest-dev
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:38 Lone-Star joined #minetest-dev
09:39 Sator ANAND, will look into it. Thanks again!
09:39 ANAND No problem!
10:10 entuland joined #minetest-dev
11:08 entuland joined #minetest-dev
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:16 entuland joined #minetest-dev
11:22 ANAND Oh I had gotten disconnected back then.. thanks sfan5 and nerzhul !
11:24 entuland joined #minetest-dev
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)
11:50 lumberJ joined #minetest-dev
12:07 Beton joined #minetest-dev
12:07 longerstaff13 joined #minetest-dev
12:13 entuland joined #minetest-dev
12:31 proller joined #minetest-dev
12:37 Raven262 joined #minetest-dev
13:24 Taoki joined #minetest-dev
13:36 antims joined #minetest-dev
14:09 ShadowNinja joined #minetest-dev
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
14:38 Krock joined #minetest-dev
15:04 proller joined #minetest-dev
15:43 Cornelia joined #minetest-dev
16:02 entuland joined #minetest-dev
16:37 proller joined #minetest-dev
16:51 longerstaff13 joined #minetest-dev
17:04 entuland joined #minetest-dev
17:09 Foz joined #minetest-dev
17:27 troller joined #minetest-dev
17:28 Cornelia joined #minetest-dev
17:59 Sator joined #minetest-dev
18:00 entuland joined #minetest-dev
18:06 entuland joined #minetest-dev
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
18:29 Sentis joined #minetest-dev
18:30 Sentis left #minetest-dev
18:30 Sentis joined #minetest-dev
18:34 Sator joined #minetest-dev
18:34 paramat joined #minetest-dev
18:51 p_gimeno joined #minetest-dev
19:06 kilbith joined #minetest-dev
19:44 paramat there are some PRs by bell07 in MTG waiting for review
19:49 Player-2 joined #minetest-dev
20:05 YuGiOhJCJ joined #minetest-dev
20:38 troller joined #minetest-dev
21:10 Sator joined #minetest-dev
21:11 zorman2000 joined #minetest-dev
21:12 Ruslan1 joined #minetest-dev
22:06 entuland joined #minetest-dev
22:26 proller joined #minetest-dev
22:58 Beton_ joined #minetest-dev
23:09 paramat joined #minetest-dev
23:44 paramat joined #minetest-dev

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