Luanti logo

IRC log for #minetest, 2021-08-07

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
00:01 asdflkj_sh erlehmann: yes, twitch chat uses irc, with some nonstandard extensions but similar enough that you can connect with many normal clients iiuc
00:04 erlehmann oh interesting
00:04 erlehmann any docs on that?
26 more elements. Show/hide.
10:28 IvanGorinich Hello
12 more elements. Show/hide.
15:03 MTDiscord <Benrob0329> Connecting to Twitch IRC doesn't work anymore afaik
15 more elements. Show/hide.
19:11 alguien minetest basic_robot "direction" is overloaded: 1) absolute (N,E,S,W) 2) relative(up, down, left, right, forward, backward) 3) yaw 4) vectors (self.viewdir(), ie cos(yaw), 0 , sin(yaw)) 5) dirid (<insert more math here>)
19:13 alguien you start thinking in terms of 1 at first. You program in terms of 2. You track your own view in terms of 3. You track the bot's view int erms of 4. To properly orient stuff you need 5
19:13 alguien *properly orient stuff to place
19:14 tuxifan joined #minetest
19:15 alguien I'm attempting to place a block oriented the same way as the robot. That is to say, I need to convert #4 into #5
19:15 ShadowBot https://github.com/minetest/minetest/issues/4 -- cppcheck warnings
19:15 ShadowBot https://github.com/minetest/minetest/issues/5 -- Fixed key names so the key set menu now works. by adamnew123456
19:17 alguien Also I'm not sure if it's the server or what, but player.getview(someone) (which is player:get_look_dir()) returns a different vector than does self.viewdir() ({x=math.cos(yaw), y = 0, z=math.sin(yaw)})
19:20 Krock alguien: https://dev.minetest.net/images/a/aa/player_object_look_horizontal_vertical_yaw.png
19:21 Krock for Z you need cos, and X -sin
19:22 independent_ joined #minetest
19:25 alguien yeah basic_robot does it the other way around, sets x to cos, and y to sin
19:25 alguien s/y/z/
19:25 alguien i mean: replace y in z in that sentence
19:25 alguien s/in/with/
19:25 alguien sorry about that
19:26 alguien https://github.com/ac-minetest/basic_robot/blob/master/init.lua#L106
19:26 longerstaff13 joined #minetest
19:44 alguien how do you turn off the new fly/swim where you look movement?
19:45 Krock alguien: https://github.com/minetest/minetest/blob/master/minetest.conf.example#L218-L221
19:45 Krock P like Pitch move
19:46 alguien thanks mate, that'll help
16 more elements. Show/hide.
23:47 jonadab Hmm.  My script that calls minetestmapper was working fine before the power blink.  Now, minetestmapper just says "Exception: attempt to write a readonly database" and exits.  minetestserver is able to access the world, and I can sign on with a client and break and place blocks.  Also, I've checked that none of the world's files are readonly at the filesystem level.
23:47 jonadab Hmm, there's a map.sqlite-journal file, maybe that is relevant somehow?
23:53 Taoki joined #minetest
23:54 FriendlyPerson[m <jonadab> "Hmm, there's a map.sqlite-..." <- That's interesting a journaling file but nothing gotten locked. I wonder if it a transaction was "lost" during the process that the world had no idea "yet".
23:54 jonadab Lost transactions are entirely possible.
23:54 jonadab There were probably chunks loading or even generating when the power blinked.
23:55 jonadab I was using fast+fly specifically to generate map area, in order to be able to get a map of the area around spawn.
23:55 FriendlyPerson[m Indeed that's what PROBABLY happened then.
23:55 jonadab So what do I _do_ about it?
23:56 jonadab Also, why does minetestmapper care about the DB being readonly?  Isn't it just reading anyway?
23:56 jonadab I would expect minetestserver to care about that, more than minetestmapper.
23:57 jonadab Hmm, speaking of that, I should check minetestserver's stdeerr output for notes about it.
23:59 jonadab Yeah, minetestserver's stderr says *nothing* about this.

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