Time Nick Message 15:01 GNUHacker if I make a formspec like: "listring[current_player;inventory2]" give me my own inventory2. How can I get another player inventory2? some like a "listring[another_player;inventory2]" . Pls help 15:01 GNUHacker inventory2 is an example 15:42 erlehmann is it possible to make the inventory of a node secret so it is only sent to the client when interacting with the node? 15:43 erlehmann i am asking because some ppl have a ton of chests with cursed items 15:43 erlehmann and the general area becomes pretty laggy 15:43 sfan5 nope 15:43 sfan5 the engine could probably seamlessly do this without needing any client modifications 15:47 erlehmann last time someone did this it was fleck 15:47 erlehmann and it broke both local map saving and client prediction 15:47 erlehmann for inventories 15:48 erlehmann like prediction if stuff stacks 15:49 erlehmann sfan5 are you aware of anything that limits mapblock size? 15:50 sfan5 no 15:50 sfan5 this is the PR you mean btw #11014 15:50 ShadowBot https://github.com/minetest/minetest/issues/11014 -- Send only relevant ItemStack meta fields to Client by EliasFleckenstein03 15:51 erlehmann sfan5 what if i make a private meta with the inventory string and on right click i copy the private meta into the inventory and when the formspec gets closed i copy it back to the private meta? 15:52 erlehmann i bet that solution implies some kind of dupe lol 15:52 sfan5 what's the point of that question 15:52 sfan5 if you implement the workaround it'd get you what you want 15:52 sfan5 I guess that's a "yes" 15:53 erlehmann you mean that thing could work? 15:53 sfan5 yes 15:53 erlehmann i was not sure if it would work 15:53 erlehmann hmmm 15:53 erlehmann lots of state management for two people having chests open hehe 15:53 erlehmann or technically, N people having chests open 15:53 sfan5 you have to be very careful about multiple players opening a chest but other than that it's not that bad of an idea 15:54 erlehmann “not that bad of an idea” is basically all of my contributions lol 15:55 erlehmann “not bad”, but not as praise, but as “we'll let it slide” 17:10 erlehmann sfan5, but what about hoppers 17:11 sfan5 you need to make them handle it 17:11 sfan5 if you don't have any external mods that can work 17:16 erlehmann sfan5 is the “if #data > 65530 then -- would crash the engine” an educated guess or an actual hard limit? 17:17 sfan5 I explain that last time 17:27 erlehmann sfan5 yeah the engine stores some other stuff i know. i will just use the value, i trust you to get it more right than me. 17:29 sfan5 is not exact to clarify 17:29 sfan5 it's* 17:31 erlehmann ok 17:32 erlehmann thx sfan5 you helped a lot 17:53 Guest62 hello 18:00 Krock hi guest 18:13 MTDiscord sfan5, when you say "Mind downloading a 5.5.0-dev build to test?" do you mean just a latest build? 18:13 sfan5 sure 18:13 MTDiscord I did that in that video I posted, it's still broken 18:14 MTDiscord In fact, it's slightly worse 18:14 sfan5 ah sorry I didn't watch that far 18:14 MTDiscord All good 18:14 sfan5 can you give me a ZIP of the test game? 18:17 MTDiscord https://github.com/jordan4ibanez/bug_showcase 18:18 sfan5 wait okay so the bug is not "set_physics_override doesn't do anything", correct? 18:20 MTDiscord The bug is set_physics_override({sneak = false}) not only doesn't disable sneaking, it allows you to slow down like you're sneaking, clips on random collision geometry/nothing at all, completely breaks movement, sometimes clips into nodes 18:20 erlehmann hey jordan4ibanez can you maybe explain why your item pick up thing is superiour and what it actually yoes on a conceptual level? cora and me have not managed to figure it out completely. 18:20 erlehmann yoes → does 18:21 sfan5 "allows you to slow down like you're sneaking" intended as far as I'm aware, could be documented better probably 18:21 MTDiscord It's simple, when you pick up an item, it instantly collects, the item moving towards you and disappearing is a complete visual compliment of that 18:21 erlehmann wait what 18:22 erlehmann jordan4ibanez so do you have any idea why the previous implementation did this thing where an item danced between two players or a player further away could pickup the thing? 18:23 MTDiscord allows you to slow down like you're sneaking, when I see the settings "sneak = false", I would assume that setting this to false would turn the sneak key from an engine implementation of slowing a player down and not letting them fall off the sides of nodes, into a key input that can be utilized by games to implement in game mechanics 18:23 sfan5 you can do that you just have to set sneak speed identical to walk speed 18:23 sfan5 anyway maybe someone else disagrees that it's a feature 18:23 sfan5 time to reproduce this ynway 18:24 sfan5 +a 18:24 MTDiscord How does one set the sneak speed? 18:24 Krock https://github.com/minetest/minetest/blob/master/minetest.conf.example#L1513-L1515 18:25 sfan5 movement_speed_crouch, minetest.conf 18:25 Krock ninja'd 18:25 sfan5 this is bad 18:25 sfan5 I believe there's a PR that exposes this to set_physics_override 18:25 MTDiscord erlehmann, well I would assume it's because it just runs through objects in area and the first player in that ordered array becomes the solution to X in X < null, where null should be replaced with the closest distance using Y = vector.distance(pos, X) 18:26 MTDiscord Well that conf is pretty cool, but, how do I change it in a game? 18:26 sfan5 you can provide a default value via game.conf 18:26 MTDiscord This will hopefully affect any player that joins the server? 18:27 sfan5 it's read and sent by the server yet 18:27 sfan5 just no Lua API ... yet 18:27 MTDiscord Oh very nice, thank you 18:29 sfan5 I don't notice anything out of the ordinary in bug_showcase 18:36 sfan5 time to download a windows build 18:46 sfan5 nope fine there too 18:47 sfan5 must be the high fps like krock said 18:47 MTDiscord I have a 144 hz monitor, try it without vsync 18:47 sfan5 can't seem to disable that here 18:47 Krock __GL_SYNC_TO_VBLANK=0 vblank_mode=0 minetest 18:47 Krock anyway 18:47 Krock it's a duplicate issue, at least in that regard 18:48 MTDiscord A duplicate to what? 18:48 Krock see issue tracker 18:48 sfan5 oh nvm there's max_fps too 18:48 Krock even with max_fps and vsync off, the driver might still force vsync 18:49 sfan5 seems so 18:55 MTDiscord If you are on AMD you must do vblank_mode=0 minetest 18:55 MTDiscord IIRC I might be remembering wrong 18:55 MTDiscord For Linux 18:56 sfan5 nvidia unfortunately 18:57 MTDiscord Apparently vblank_mode=0 also works for nouveau 18:59 MTDiscord You can also try export __GL_SYNC_TO_VBLANK=0 19:00 MTDiscord For the proprietary ones 19:02 sfan5 eh i'll reboot into windows 19:06 sfan5 the PR i was thinking about btw #11465 19:06 ShadowBot https://github.com/minetest/minetest/issues/11465 -- New physics overrides by Wuzzy2 19:06 sfan5 however it doesn't actually add the crouch spee 19:43 sfan5 I can no longer see the position in debug info 19:44 sfan5 what nonsense is this 19:44 sfan5 I thought games didn't have to do anyhing special to enable this 19:44 sfan5 ah it was basic_debug 19:45 Krock blame #9315 19:45 ShadowBot https://github.com/minetest/minetest/issues/9315 -- Require 'basic_debug' priv to view gameplay-relevant debug info (2nd try), require 'debug' priv to view wireframe by Wuzzy2 19:45 sfan5 ok so the collision bug definitely exists 19:45 sfan5 at the ~640 FPS I have 19:49 entuland uh... you get 640fps? 19:49 sfan5 yes? 19:49 entuland okay, guess I just have crappy rig then :P 19:57 sfan5 if you don't disable the default fps limit you won't get more than 60 19:57 sfan5 just btw 20:00 entuland oh that may be it as well 20:00 entuland not that it would make any difference with my 60Hz monitor anyways 20:13 erlehmann sfan5, can i use your code here in mineclonia under GPLv3 or any later version? https://git.minetest.land/Mineclonia/Mineclonia/pulls/131 20:15 sfan5 you can use it under any license you want 20:17 erlehmann thx 20:23 TheInformer Is minetest running on M1 Macs yet? 20:25 MTDiscord @JorDACh ^ 20:25 MTDiscord yes 20:25 MTDiscord and unfortunately broken by a recent contrib 20:26 TheInformer ok so installing through brew would not work? 20:27 MTDiscord brew will likely be massively broken right now 20:27 TheInformer Oh ok 20:29 sfan5 brew installs the stable version by default anyway 20:29 sfan5 if you want to run it download one of Jordach's builds 20:30 TheInformer on the forum? 20:30 sfan5 I guess so? 20:30 TheInformer yeah i found it nevermind 20:31 TheInformer does it have to run through rosetta? 20:32 sfan5 no 20:33 TheInformer it just freezes if i dont 20:33 sfan5 shouldn't 20:33 sfan5 presumably it works for @Jordach 20:33 TheInformer 2021-07-28 16:31:42: [Main]: INFO: signal_handler(): got SIGTERM, shutting down. 20:33 MTDiscord what one did you use 20:33 MTDiscord Universal requires Big Sur or later 20:33 TheInformer minetest-5.5.0-dev-63fc728a8-BigSur-Universal-Lua.zip 20:33 TheInformer im on big sur 20:33 MTDiscord x64 JIT should run on any old mac 20:34 MTDiscord may require latest Big Sur 20:34 TheInformer I 20:34 TheInformer I 20:34 TheInformer crap 20:34 MTDiscord if you're running 11.3 or under 20:34 TheInformer I am on an M1 Mac mini 20:34 MTDiscord you're gonna have a bad time 20:34 TheInformer Oh ok, im on 11.2.2 20:35 MTDiscord i can force cmake to build with older versions 20:35 MTDiscord hold on 20:35 TheInformer No, I can just update my mac, no problem 20:35 MTDiscord and yes my x64 JIT build works fine on the 2013 MBAir running Catalina 20:35 MTDiscord so i know the SDK works