Minetest logo

IRC log for #minetest, 2021-08-28

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

All times shown according to UTC.

Time Nick Message
00:04 Alias joined #minetest
00:38 independent56 [sponsored ad] OMG! i just found rhotator and it literally cahnged mybuilding habits! I now build pipetunnels,not boring rectangles! buy it now at https://forum.minetest.net/viewtopic.php?p=322231 for 100% off!
01:49 MTDiscord <MisterE> can I make a tool that  has the group "emerald" = 4
01:50 MTDiscord <MisterE> and then a node with emerald = 4
01:50 MTDiscord <MisterE> and then the tool will dig the node?
01:50 MTDiscord <MisterE> basically, my question is, how do I make custom digging groups?
01:51 MTDiscord <MisterE> instead of snappy, cracky, etc?
01:52 MTDiscord <Jonathon> yes, no
01:53 MTDiscord <Jonathon> you make the group, and then define it in tool capabilites
01:53 MTDiscord <MisterE> https://tenor.com/view/well-yes-but-actually-no-well-yes-no-yes-yes-no-gif-13736934
01:53 MTDiscord <MisterE> how do I do that?
01:53 MTDiscord <Jonathon> https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L7458-L7476
01:54 MTDiscord <MisterE> groupcaps = {                 -- For example:                 choppy = {times = {[1] = 2.50, [2] = 1.40, [3] = 1.00},                          uses = 20, maxlevel = 2},             },
01:54 MTDiscord <MisterE> that?
01:54 MTDiscord <Jonathon> no, the whole section i highlighted needs to be in your def
01:55 MTDiscord <Jonathon> for example read https://github.com/minetest/minetest_game/blob/master/mods/default/tools.lua#L26-L39
01:56 rubenwardy it's just the groupcaps you need to update to support a new group for digging nodes
01:56 rubenwardy groupcaps is for nodes, damage_groups is for objects (players and entities)
01:56 MTDiscord <Jonathon> within tool_capabilites
01:56 MTDiscord <MisterE> {times = {[1] = 2.50, [2] = 1.40, [3] = 1.00},                          uses = 20, maxlevel = 2},
01:56 rubenwardy yeah, within tool_capabilities
01:56 MTDiscord <Jonathon> 1,2,3 is the group rating
01:57 MTDiscord <Jonathon> ie. testgroup = 1
01:57 MTDiscord <Jonathon> vs tesgroup = 3
01:57 MTDiscord <MisterE> does that mean that a node with choppy = 1 will take 2.5 sec to dig with this tool, choppy = 2 will take 1.4 sec, etc?
01:57 MTDiscord <Jonathon> please read above
01:57 MTDiscord <MisterE> I dont understand that...
01:57 MTDiscord <Jonathon> essentially yes
01:58 MTDiscord <MisterE> ok thx so much
01:58 MTDiscord <Jonathon> basically tool_capabilites is hand + best of tool
01:58 MTDiscord <Jonathon> except when your adding things to the hand inv, because that is broken
01:58 MTDiscord <MisterE> so if I make a new group, I can ignore hand, because hand will not support it
01:59 MTDiscord <Jonathon> correct
01:59 MTDiscord <Jonathon> just note that https://github.com/minetest/minetest/pull/11344 is a bug
01:59 MTDiscord <MisterE> ok, I dont need the hand to break these nodes, I can add oddly breakable if I need that
02:00 MTDiscord <MisterE> thx!
02:01 MTDiscord <Jonathon> shill to rubenwardy if he wants to review that pr :p i would appreciate it
02:01 MTDiscord <Jonathon> as working around that bug is annoying
02:29 MTDiscord <MisterE> a group value of 1 is usually the most difficult to break, right?
02:29 queria^clone joined #minetest
02:29 MTDiscord <Jonathon> generally yes, altho you dont have to follow that
02:30 MTDiscord <MisterE> yeha well it will make things less confusing f i do for now
02:30 MTDiscord <MisterE> thx
02:30 queria^clone joined #minetest
02:30 MTDiscord <MisterE> https://cdn.discordapp.com/attachments/749727888659447960/881002770260434975/item_emerald.png
02:30 MTDiscord <MisterE> https://cdn.discordapp.com/attachments/749727888659447960/881002773146107924/item_opal.png
02:30 MTDiscord <MisterE> https://cdn.discordapp.com/attachments/749727888659447960/881002775511699466/item_ruby.png
02:30 MTDiscord <MisterE> https://cdn.discordapp.com/attachments/749727888659447960/881002777831165962/item_sapphire.png
02:30 MTDiscord <MisterE> IDK of you can get these, but this is part of what im working on, a takeoff of eggwars called gems
02:32 MTDiscord <MisterE> each team has a mine which produces gems, and a great gem which is their spawner, and they can make gem blocks which can only be dug with gem tools... easiest to dig with the same color
02:32 MTDiscord <MisterE> and hardest to dig with one other color
02:34 MTDiscord <MisterE> then they have to try to eliminate all the other teams... last team standing wins. In order to do so they will have to break the great gem
02:35 MTDiscord <MisterE> also sword of a gem color are most effective against players of that color
03:09 kamdard joined #minetest
04:00 MTDiscord joined #minetest
05:01 riff-IRC joined #minetest
07:13 CWz joined #minetest
07:15 Verticen joined #minetest
07:27 Talkless joined #minetest
08:01 specing joined #minetest
08:11 absurb joined #minetest
08:12 TomTom joined #minetest
08:26 erlehmann joined #minetest
08:38 Norkle joined #minetest
09:22 independent56 joined #minetest
09:35 independent56 joined #minetest
10:01 olliy joined #minetest
10:15 MinetestBot [git] sfan5 -> minetest/minetest: Async-related script cleanups 6a1424f https://git.io/JEVu6 (2021-08-28T10:15:12Z)
10:15 MinetestBot [git] FnControlOption -> minetest/minetest: CI: Add macOS workflow (#11454) 0f8a6d7 https://git.io/JEVui (2021-08-28T10:14:55Z)
10:15 MinetestBot [git] savilli -> minetest/minetest: Remove redundant on_dieplayer calls 3f1adb4 https://git.io/JEVuP (2021-08-28T10:14:16Z)
10:15 proller joined #minetest
10:41 Thomas-S joined #minetest
10:41 Thomas-S joined #minetest
10:48 calcul0n__ joined #minetest
10:50 Talkless joined #minetest
10:50 Kimapr joined #minetest
11:02 independent56 joined #minetest
11:03 kilbith joined #minetest
11:03 MinetestBot kilbith: May-01 15:04 UTC <Krock> oooo nice. I love it
11:03 kilbith what the moderation is doing for this troll? https://forum.minetest.net/viewtopic.php?p=399613#p399613
11:03 kilbith I'm sick of it
11:14 sfan5 apparently they're just back from a temporary ban
11:15 independent56 What use is a tunnel like https://static.planetminecraft.com/files/resource_media/screenshot/1135/minecraft_tunnel_03npt6_383954.jpg ? What does it do?
11:16 MTDiscord <Kimapr> it looks cool. that's what it does
11:16 independent56 https://imgur.com/a/ZMTZAnu I can't even find use for my 10 m radius tunnel!
11:16 independent56 It's basically trains, utility lines, and two paths for maintance workers.
11:16 independent56 but i agree, it looks very cool.
11:17 Thomas-S left #minetest
11:19 independent56 I soemtimes look at minecraft images for reference, like "minecraft circle guide". Because they are effectively the same in purpose: build stuff with blocks and enjoy
11:20 MTDiscord <Jonathon> Ah yes, that troll on the forum is rather annoying
11:24 MTDiscord <Jonathon> https://forum.minetest.net/viewtopic.php?p=399151#p399151 probably most questionable
11:25 Thomas-S joined #minetest
11:25 Fixer joined #minetest
11:34 bwarden joined #minetest
11:51 appguru joined #minetest
12:08 independent56 Is there anything wrong if you stay up unaturally and wake up naturally?
12:08 independent56 I woke 1t 10 and i feel rethresed
12:10 independent56 despite sleeping at 02:50
12:21 kilbith joined #minetest
12:41 kilbith joined #minetest
12:46 independent56 joined #minetest
13:28 independent56 Is there any way to make three block long slopes in moreblocks? i need it for a tunnel with 31 block diameter.
13:30 independent56 https://imgur.com/a/XmFoxHI This is the only way i know.
13:35 MTDiscord <Jonathon> The more shapes you add the easier you hit the node limit
13:38 independent56 Ah, makes sense... dammit!
13:41 independent56 Can someone send screenshots of smootha dn very wide minetest tunnels?
13:56 independent56 https://imgur.com/a/ZMTZAnu
13:56 independent56 How about my tunnel?
13:56 kilbith left #minetest
14:09 DrFrankenstone joined #minetest
14:09 MinetestBot DrFrankenstone: Aug-23 12:10 UTC <BuckarooBanzai> can you disclose your workflow for the panoramic images here: http://panoramas.minetest.land/ ? thank you :)
14:17 DrFrankenstone Just got your message about panaramics Buckaroo, I rook srifqi's equirectangluar pull request (https://github.com/minetest/minetest/pull/8475) and raised the resolutiuon of both the screenshot and the cubemap that it works off. After that you just hit F12 for a screenshot and put it into a viewer. Facebook understands equirect images, but pannellum is and easy way to put it in a webpage.
14:30 independent56 joined #minetest
14:32 independent56 joined #minetest
14:38 MTDiscord <Jordach> You can also fake this by setting FoV to 90 and setting your render resolution to 1:1 square
14:39 MTDiscord <Jordach> This applies to making Minetest skyboxes as well btw
14:39 MTDiscord <Jordach> It also works inside Blender for similar purposes
14:39 DrFrankenstone yeah, and pannellum can take 6 skybox images, or an equirectangular one
14:47 Extex joined #minetest
15:21 kamdard joined #minetest
15:55 proller joined #minetest
16:03 independent56 joined #minetest
16:08 independent56 joined #minetest
16:12 Flabb joined #minetest
16:35 Hawk777 joined #minetest
17:04 Verticen joined #minetest
17:09 erlehmann hey about the caching stuff
17:09 erlehmann i'll be trying a tiny solution for linux
17:11 independent56 joined #minetest
17:19 detrout joined #minetest
17:21 independent56 joined #minetest
17:23 erlehmann joined #minetest
17:26 Flabb joined #minetest
17:41 calcul0n_ joined #minetest
17:42 proller joined #minetest
18:52 independent56 *sees clock 19:52 afer checking it last being 10:43* Another day passes by whilst playing minetest.
18:53 independent56 it felt like 3 hours
18:54 MTDiscord <MisterE> gems[ gem_name .. "_shop_gems_menu"] =
18:54 MTDiscord <MisterE> gems is a global var
18:54 MTDiscord <MisterE> then after = come a string, a formspec definition
18:54 MTDiscord <MisterE> I get an error here
18:55 MTDiscord <MisterE> unexpected symbol near '='
18:55 MTDiscord <MisterE> any ideas?
19:10 MTDiscord <MisterE> ah, found it, I use table.insert
19:11 sfan5 you can also put parentheses around the value
19:11 sfan5 just make sure there's something after the (
19:11 sfan5 the = I mean
19:16 longerstaff13 joined #minetest
19:59 specing_ joined #minetest
20:22 SatsumaKing joined #minetest
20:52 MTDiscord <MisterE> oh. nice, that would have been an easier fix
21:03 independent56 joined #minetest
21:09 independent56 joined #minetest
21:22 independent56 Do you think i should turn my server to creative? Explain your reasoning
21:44 specing independent56: are you using creative?
21:45 independent56 Yes, all the time because i am admin. I am wondering if my playersshould enjoy this too.
21:45 specing then yes, you should make it creative for everyone
21:46 specing you can also make a button granting creative so whoever wants it can obtain it
21:46 independent56 Why? What makes it worse if it's survival?
21:46 independent56 But that's a good idea. Pay 5 gold ingots and you get to get creative
21:46 specing it's not survival if 50% of stuff is built in creative
21:47 independent56 Good point
21:50 proller joined #minetest
21:51 independent56 what are the dangers ofgiving the creative inventory willy-nilly?
21:52 sfan5 people will place whatever they want in your world
21:53 independent56 ...Like what? Obsidian? Indestructable blocks?
21:53 independent56 How do i prevent this? buerocratic punishment?
21:54 sfan5 whatever the creative menu offers
21:54 independent56 Is there a way to remove stuff from the creative menu?
21:55 independent56 Something like in world.mt "creative_default:glass = false" to remove it from creative menu?
21:56 sfan5 manually add the "not_in_creative_inventory = 1" group to the nodes
21:56 sfan5 either with a mod that overrides the items or directly edit whereever it is registered
21:57 independent56 How do i do the first approach? Can i have boilerplate to copy?
21:59 appguru joined #minetest
22:00 SatsumaKing left #minetest
22:02 MTDiscord <Noodlemire> local function remove_creative(itemname)   local def = minetest.registered_items[itemname]    if def then     local override = {}     override.groups = def.groups or {}     override.groups.not_in_creative_inventory = 1      minetest.override_item(itemname, override)   end end
22:02 independent56 As well, can i give people Fly and Fast privs? What about noclip?
22:03 MTDiscord <Noodlemire> Yes, just use the /grant command. Fly, Fast, and Noclip are all names of privs that you can /grant someone.
22:04 independent56 I know that. I am just wondering about security. I can see that i may not be able to chase players with the fast priv.
22:05 independent56 Maybe i make it an admin-controlled creative server. The admin will only give creativeif you are trusted by low standards
22:06 MTDiscord <Noodlemire> I think there's at least one mod to log player activity like placing blocks? If not it'd be easy enough to make. Either way you probably shouldn't need to watch over every player's shoulder anyways.
22:07 MTDiscord <Noodlemire> "Maybe i make it an admin-controlled creative server." Probably a good idea in general.
22:07 independent56 It's already default in the logs: "action (SERVER) vandal places node default:lava_source at (0,100,0)"
22:09 independent56 with the boilerplate you gave, do  i just issue "remove_creative(advtrains:tcb)" or a variant of such?
22:09 MTDiscord <Noodlemire> Yeah, just with quotes around the item's name.
22:10 independent56 Nice!
22:10 independent56 Is it reccomended i give fly and noclip to everyone?
22:10 independent56 What are the potential security issues?
22:13 sfan5 security of what
22:14 sfan5 you cannot ask "is this secure" without definiting a threat model, what do you not want people to do?
22:14 AristotIe joined #minetest
22:14 independent56 I want my minetest server to run nicely, with minimal griefing.
22:17 independent56 And what about fast? how does that degrade the playing experience?
22:17 independent56 (oher then makingvandals impossible to catch)
22:17 MTDiscord <Jonathon> to have issues with players requires you to actually have players
22:18 MTDiscord <Jonathon> as for griefing you can install areas
22:18 independent56 XD
22:18 independent56 I already have
22:18 MTDiscord <Jonathon> serverlist says 0/0 lol
22:19 independent56 Thats why even when the server was in singleplayer, i proteced everything
22:19 independent56 No, im definately on theserver
22:19 MTDiscord <Jonathon> well now its 0/1
22:20 independent56 ha
22:25 sfan5 !server addr:i56.
22:25 MinetestBot sfan5: No results
22:25 sfan5 !server addr:56i.
22:25 MinetestBot sfan5: 56i-server | mtserver.56i.duckdns.org | Clients: 1/15, 0/1 | Version: 5.4.1 / minetest | Ping: 27ms
22:25 sfan5 there it is
22:27 independent56 What if my creative button is at 0,?,1000 ? What would happen?
22:30 sfan5 nothing?
22:30 independent56 It would filter out griefers who want fun, whilst also filtering out somehonest players
22:41 independent56 Should i give outworldedit priveladges? would it incur huge griefing?
22:54 delta23 joined #minetest
23:03 sfan5 do not give worldedit privs to anyone, they'll be able to lock up your server, destroy your entire world, etc.
23:18 independent56 Ah yeah.
23:19 independent56 "//1 -100,-100,-100" "//2 1000,1000,1000" "//emergeblocks
23:19 MTDiscord <Jonathon> speaking of worldedit, sfan5: would you accept a pr that change worldedit_gui to warning rather than a assert? that would make it easier to be put into worldmods (and games i suppose) that dont have inventories it doesnt support
23:20 sfan5 perhaps
23:40 longerstaff13 joined #minetest
23:43 independent56 joined #minetest
23:48 independent56 joined #minetest

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