Minetest logo

IRC log for #minetest-dev, 2021-09-06

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

All times shown according to UTC.

Time Nick Message
01:52 Extex What does bcp and bcn represent in "__builtin:falling_node"?
01:55 MTDiscord <Warr1024> p and n are pos and node respectively, IIRC, I don't remember the bc part though...
02:01 MTDiscord <Noodlemire> Yeah, no clue what it'd stand for. It's just the next node that the falling node would collide with though. You also get bcd, which is the definition of that same node.
02:25 queria^clone joined #minetest-dev
02:33 queria^clone joined #minetest-dev
04:00 MTDiscord joined #minetest-dev
04:48 Fixer joined #minetest-dev
07:02 queria^clone joined #minetest-dev
07:12 specing_ joined #minetest-dev
07:22 queria joined #minetest-dev
08:49 erlehmann joined #minetest-dev
09:08 olliy joined #minetest-dev
09:10 erlehmann FYI: i have a computer that does not have openGL 2 (thinkpad T60) and would really like to continue to play minetest https://irc.minetest.net/minetest/2021-09-06#i_5871271
09:46 calcul0n joined #minetest-dev
09:47 sfan5 you should give the ogles2 driver a test, that won't be going away; instructions -> http://sprunge.us/t0oPuV?sh
09:47 erlehmann thx
09:51 ivanb joined #minetest-dev
10:11 erlehmann sfan5, which shell is that?
10:12 sfan5 dunno, bash?
10:30 erlehmann Could NOT find Zstd (missing: ZSTD_LIBRARY ZSTD_INCLUDE_DIR)
10:30 erlehmann lol
10:32 sfan5 oh I forgot a very important point: add -DENABLE_GLES=1 to the cmake invocation
10:32 erlehmann oh no
10:32 erlehmann ok i did it
10:33 erlehmann sfan5 how to verify
10:33 erlehmann like once it runs
10:33 erlehmann how do i see it uses openGL ES
10:33 sfan5 mainmenu "about" tab or run with --verbose
10:37 erlehmann thx
10:52 erlehmann is anyone here interested in evaluating cheat client CSM APIs for inclusion in the official client?
10:52 erlehmann like figuring out which ones aren't particularly cheaty
10:57 MTDiscord <luatic> We're absolutely not including anticheat in the official client
10:57 MTDiscord <luatic> s/anticheat/cheats
10:58 tech_exorcist joined #minetest-dev
10:59 MTDiscord <luatic> Well, we might include all cheats for which there exists engine-side anticheat, simply as tests of that.
10:59 MTDiscord <luatic> But beyond that, for anticheat mod devs? No, way too likely this would just lower the bar for aspiring cheaters.
10:59 erlehmann i think you are misunderstanding
11:00 erlehmann cheat ciients contain convenience functions for csm development
11:00 erlehmann that can not necessarily be used to cheat by themselves
11:00 erlehmann but might be a boon for vanilla client
11:00 MTDiscord <luatic> Yeah, then I'm definitely misunderstanding
11:00 erlehmann > we might include all cheats for which there exists engine-side anticheat, simply as tests of that
11:01 erlehmann in fact, one of the most important anticheat efforts came from fleckenstein
11:01 erlehmann fixing the entityspeed problem
11:01 erlehmann i was told that on clamity server, the admin disabled boats one day – so people could no longer attach to entities and teleport
11:02 erlehmann so they all had to find some other way to teleport (being attached to an entity defeated the speed limit back then)
11:02 erlehmann this event became known in server history as “the day of the lama”
11:03 erlehmann luatic there are a bunch of useful things that cheatclients have that vanilla minetest does not have that are not exactly cheating. like waypoints!
11:03 erlehmann with waspsaliva, you can mark a point on the map and then autofly there. leave out the autofly part, you have a useful bookmark system.
11:04 erlehmann for places on a server
11:09 erlehmann luatic could you maybe look at this and look how much is in vanilla if you are interested? https://repo.or.cz/waspsaliva.git/blob/HEAD:/clientmods/commands/init.lua
11:10 erlehmann like, i bet minetest.localplayer:set_pos(pos) is not really supported in vanilla, not sure?
11:26 adfeno joined #minetest-dev
11:31 tech_exorcist joined #minetest-dev
11:38 erlehmann ; LANG=C ./bin/minetest
11:38 erlehmann 2021-09-06 13:37:45: ERROR[Main]: Invalid video_driver specified; defaulting to opengl
11:38 erlehmann 2021-09-06 13:37:45: ERROR[Main]: Irrlicht: No OpenGL support compiled in.
11:38 erlehmann segmentation violation
11:38 erlehmann # exited sigsegv
11:38 sfan5 missing -DENABLE_GLES=1, somehow
11:38 erlehmann oh
11:38 erlehmann i used that
11:38 erlehmann i bet cmake sucks
11:38 erlehmann oh by the way
11:39 erlehmann minetest/src/util/srp.cpp:432:8: warning: ‘void* memcpy(void*, const void*, size_t)’ pointer overflow between offset [0, 2147483647] and size [4294967295, 2147483647] [-Warray-bounds]
11:39 erlehmann memcpy(bin + len_n, bytes, len_bytes);
11:39 erlehmann is this supposed to happen?
11:39 erlehmann seems to me someone did not hold their copy of the memcpy documentation the right way around, to say it mildly
11:39 sfan5 that warning has been there for a long time, it's a false positive
11:39 erlehmann oh how that?
11:40 erlehmann is it that the function can never be called with that kind of values?
11:40 erlehmann or what
11:41 sfan5 yes
11:41 erlehmann i am sorry for being new to the game, it has been a loooooong time since i edited the source for anything else than cheating
11:41 erlehmann i briefly tried to implement a variable center of gravity
11:41 erlehmann but failed
11:41 sfan5 gcc is probably correct about there being an integer overflow somewhere but it can't ever happen
11:42 erlehmann if it can't ever happen, the optimizer should have optimized it out
11:42 erlehmann but maybe warnings come before that?
11:43 erlehmann sfan5, so i did “cmake . -DRUN_IN_PLACE=1 -DENABLE_GLES=1” and “make” and got nothing changed in the binary
11:43 erlehmann could it be that the build system is broken?
11:43 erlehmann if so, how to fix
11:44 sfan5 what does src/cmake_config.h say about gles?
11:44 erlehmann i mean, i know that cmake and make are broken in the general sense, i.e. that every non-trivial C or C++ project has thousands of ways it can end up with a binary that does not correpond to the source code.
11:45 erlehmann #define ENABLE_GLES 1
11:46 erlehmann sfan5, any idea?
11:47 sfan5 the gles code inside Minetest is working right, it just seems that Irrlicht claims it doesn't do gles
11:47 erlehmann i guess i am the first person building this thing with this combination of feature flags on this kind of machine?
11:48 sfan5 do you have the full output from the first cmake run?
11:48 erlehmann luatic the waspsaliva CSMs would be most useful for testing if the client still works
11:49 erlehmann yes do you want it
11:49 sfan5 yes
11:51 erlehmann sfan5, first 3 cmake runs https://mister-muffin.de/p/tPJN.txt
11:52 erlehmann i compiled after the second and third
11:53 sfan5 looks all correct to me
11:53 sfan5 my last idea is to manually set video_driver = ogles2 in your config
11:54 adfeno joined #minetest-dev
11:55 MTDiscord <luatic> Is the name waspsaliva a parody of dragonfire?
11:59 erlehmann config says video_driver = opengl
12:01 sfan5 yeah that's wrong
12:01 erlehmann i changed it now i start the game
12:02 erlehmann ok so this sucks a lot, but in specific ways
12:02 erlehmann first, i have 5 to 7 fps instead of 25 to 27
12:05 erlehmann then, the ground is black, with a big spotlight being centered on my avatar https://mister-muffin.de/p/iUaG.png
12:06 erlehmann players and mobs are always fully illuminated, even in darkness
12:06 sfan5 that must be your graphics drivers interpretation of "fog"
12:07 erlehmann no it happened when i put rendering distance to infinite
12:08 sfan5 ¯\_(ツ)_/¯
12:11 erlehmann i looked at the creative inventory in mineclonia and got a … creative … interpretation of what it means to render a formspec https://mister-muffin.de/p/ywVX.png
12:14 erlehmann well if that is the future of minetest i am not having it
12:23 adfeno joined #minetest-dev
13:25 queria joined #minetest-dev
15:11 MTDiscord <josiah_wi> Oh wow.
15:50 Extex joined #minetest-dev
16:40 olliy joined #minetest-dev
16:45 MTDiscord <Jordach> To be fair you’re asking for a miracle with mineclone
16:46 MTDiscord <Jordach> So busy chasing the dragon they forget the entire process of programming entirely
16:47 MTDiscord <Jordach> That said can we get an SAO flag to load server map blocks like players
17:43 erlehmann joined #minetest-dev
17:52 calcul0n_ joined #minetest-dev
18:49 tech_exorcist_ joined #minetest-dev
19:14 longerstaff13 joined #minetest-dev
19:15 specing_ joined #minetest-dev
20:07 Alias joined #minetest-dev
21:13 Extex How does minetest.***_node_level work?
21:13 Extex I just keep getting CONTENT_IGNORE errors and no change to visuals
21:15 sfan5 it only works on some paramtypes
21:19 olliy joined #minetest-dev
21:21 pgimeno shouldn't modding questions be sent to #minetest ?
21:23 olliy1or joined #minetest-dev
21:46 adfeno joined #minetest-dev
22:31 Menchers joined #minetest-dev
23:02 AliasAlreadyTake joined #minetest-dev
23:26 queria^afk joined #minetest-dev

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