Minetest logo

IRC log for #minetest-hub, 2019-07-26

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

All times shown according to UTC.

Time Nick Message
00:57 Megaf joined #minetest-hub
02:11 ANAND joined #minetest-hub
02:53 ANAND joined #minetest-hub
03:46 Lone_Wolf joined #minetest-hub
03:53 ssieb joined #minetest-hub
07:09 CWz_ joined #minetest-hub
10:28 Fixer joined #minetest-hub
10:52 IhrFussel joined #minetest-hub
10:53 IhrFussel Could the juaJIT segfaults have been caused by using modstorage:set_string() inside on_joinplayer() perhaps? So far they didn't happen anymore after I removed that call from there
10:54 IhrFussel But too early to tell I guess
11:15 IhrFussel luaJIT*
11:17 IhrFussel No wonder my server lagged from u_skins because the skin list file has over 50,000 players stored EXCLUDING the default skin which I don't save in the file at all...it is only present in memory..holy cow
11:17 rubenwardy should use player meta
11:20 IhrFussel u_skins hasn't been touched in over 3 years...when I started with my server it was still pretty recent
11:22 IhrFussel I'm not sure if it's as easy as simply replacing these 2 functions https://github.com/dmonty2/minetest-u_skinsdb/blob/master/u_skins/players.lua
11:29 CWz_ joined #minetest-hub
12:08 CWz_ joined #minetest-hub
12:52 Fixer sex related spammer, please ban asap https://forum.minetest.net/memberlist.php?mode=viewprofile&u=25013
14:05 DS-minetest joined #minetest-hub
14:15 pauloue joined #minetest-hub
15:14 rdococ how should I handle a rope or string entity that connects two entities?
15:32 Bobr joined #minetest-hub
15:58 Sokomine do we have such a thing? ropes are pretty rare. sometimes only an end node can be digged
16:29 Lone_Wolf joined #minetest-hub
16:34 tenplus1 joined #minetest-hub
16:35 tenplus1 hi folks :)
16:38 Lone_Wolf Heya
16:38 tenplus1 hi wolfie
16:39 tenplus1 hrm, the latest dev builds are being build with no diff logs... now I dunno what's changed
16:42 Krock joined #minetest-hub
16:42 tenplus1 hi Krock
16:42 Krock hi tenplus1
16:42 tenplus1 :P hows things
16:42 Krock uh, did not expect ya here
16:43 Krock early weekend feels. so great.
16:43 tenplus1 *no one expects the spanish inquisition*
16:43 tenplus1 nice, long weekends are good
16:43 Krock and the kind testers confirmed my PR to be working as expected. can't be better than that
16:43 Krock weekend starts on Friday evening
16:43 tenplus1 the latest dev builds dont have diff files, cant see what was changed or added
16:43 tenplus1 what pr did you add ?
16:45 Krock what diff files? git log.
16:45 Krock this pr: https://github.com/minetest/minetest/pull/8701
16:45 tenplus1 usually when I go here: https://code.launchpad.net/~minetestdevs/+archive/ubuntu/daily-builds/+packages
16:46 tenplus1 I can check available diffs for a build and see what was changed...
16:46 Krock nice. only 2% of the builds failed. that are good stats
16:46 tenplus1 ooh sweet, your attachment fix :) nice one dude
16:47 Krock you can also do that using git diff, but requires a local clone
16:47 tenplus1 yeah, but I do enjoy reading them...  last 4 builds didn't have them... am sad :(
16:47 tenplus1 lol
16:51 Sokomine er. hm. "unable to grab mouse" says import...i used to extract relevant parts of screenshots by displaying the picture and then using import on another shell. any way around that?
16:51 tenplus1 hi Sokomine
16:51 Sokomine hi ten
16:52 Krock hi Sokomine
16:52 Krock I understood by 2% what your problem is (sorry)
16:54 tenplus1 Sokomine: can you rephrase the problem
16:55 Krock "import" seems to use AI to chop the image, but soko cannot grab the mouse
16:56 Sokomine tenplus1: got a screenshot. want only the relevant part of it. how can i do it?
16:56 Krock apt install arms hands && arm grab mouse
16:56 Krock gimp it
16:56 tenplus1 what Os ? if windows then programs to do that or cut n paste in paint
16:56 Sokomine Krock: yes, that's right. seems xzgv got a menu on rightclick. perhaps that's making things diffrently
16:56 Sokomine buuh! gimp is such a huge program
16:56 tenplus1 if linux scrot and other screen grabs have area select
16:56 Krock Alt+PrintScreen also only copies the active window
16:57 Sokomine linux
16:57 tomraceror joined #minetest-hub
16:57 Krock gimp may be big but it's powerful. worth its storage consumption
16:57 tenplus1 yeah, print screen grabs whole screen, alt+print active window
16:58 Sokomine me and gimp are not exactly friends. for some odd reasons i can draw with pencils and the like - but not with computer programs
16:58 Sokomine (besides, it's still too hot here)
16:59 tenplus1 lol, same here
16:59 Krock sorry what it's only 31°C
17:00 tenplus1 was 31c here on wed... too damn hot
17:00 * tenplus1 melts easily
17:01 * Sokomine nods and melts as well
17:02 Krock Chocolate soup, anyone? Fresh. Warm.
17:02 * Lone_Wolf uses Flameshot for screenshots
17:02 Krock ANAND: that's because getArmorGroups is not () const
17:02 tenplus1 lol, no thx :P
17:02 Lone_Wolf Linux only IIRC. But it's a great program
17:03 ANAND Krock: Yes, but why did this not throw this error before?
17:03 Krock change that and it'll be fixed. don't forget its parent/inherited class where the declaration might originate
17:03 tenplus1 o/ anand
17:03 Krock ANAND: see diff. m_armor_groups was used directly
17:03 ANAND Oh ok
17:03 ANAND So I should also make getArmorGroups a const method?
17:04 ANAND Hi tenplus1 :)
17:04 Krock yes
17:04 ANAND okie
17:04 Krock it's a getter method after all
17:05 ANAND Krock: Btw, your thoughts regarding https://github.com/minetest/minetest/pull/7557#issuecomment-514898532?
17:05 Krock I don't think that's needed. The impact is only visual
17:06 ANAND But a mod might depend on it working
17:06 tenplus1 ?!?! what's with the device verification code when signing into github ?
17:06 ANAND Yea, it's annoying
17:06 Krock usually the bump happened where existing network packets changed
17:07 Krock or to provide backwards compat
17:07 Krock so your point here would be for mods to check the protocol version in order to grant a temporary zoom property/privilege?
17:08 ANAND Something like that, yes
17:08 Krock tenplus1: happens when you've set up 2FA
17:08 Krock but that's still optional
17:08 ANAND Not necessarily
17:08 ANAND I get that regardless of 2FA
17:09 tenplus1 I dont have 2fa though, never set that up
17:10 ANAND My rationale is that the mod would expect the player's FOV to be modified, after calling set_fov. If a client isn't aware of this, then the mod is basically broken
17:10 Krock oof. >140 PRs again
17:11 ANAND A more suitable example would be gun scopes
17:11 Krock so return error values in these functions. bump the protocol version.
17:12 ANAND Aye, cap'n O7
17:14 tenplus1 it's a good idea :P
17:17 Sokomine found a way. ff still cooperates with import from imagemagic
17:17 tenplus1 yay
17:18 * tenplus1 is still getting use to raycasting, not working as I hoped :P
17:20 Krock tenplus1: example: https://github.com/SmallJoker/farbows/blob/master/init.lua#L126
17:20 aerozoic joined #minetest-hub
17:20 tenplus1 hi aerozoic
17:21 Krock it's not too complicated. ensure you're casting into the right direction
17:21 aerozoic wazup tenplus1 !
17:21 tenplus1 this is what we're using in mobs redo api, but it breaks melee attacks in mobs https://notabug.org/TenPlus1/mobs_redo/src/master/api.lua#L451
17:25 ANAND Krock: Incrementing LATEST_PROTOCOL_VERSION would suffice, right?
17:26 Krock that and please also extend the comment section above
17:27 ANAND Alright, will do
17:27 Krock that line 218 and 219. After all these years and many tries to make the formspecs better this constant hasn't chanced since ever
17:28 Krock is probably the most backwards-compatibly we've got in Minetest aside from minetest.env: garbage
17:28 ANAND lol :P
17:29 rubenwardy Krock: formspec versions can't be implemented because mods can't actually specify i
17:29 rubenwardy *it
17:29 rubenwardy it makes no sense for the server to increment it
17:30 Krock it can be moved, though
17:30 Krock removed from the engine. added if it's not provided by mods
17:30 ANAND Hm, I was wondering how FORMSPEC_VERSION worked
17:30 ANAND FORMSPEC_API_VERSION*
17:30 Krock it's ignoring all arguments passed to formspec elements which were provided additionally
17:31 Krock i.e. assumes the mods to send formspecs in a backwards-compatible manner
17:31 ANAND Ah
17:31 ANAND I've made getArmorGroups const, btw. Didn't get any errors, as expected.
17:32 ANAND And.. bumped protocol version in the latter
17:37 Krock nice mod Sokomine :D
17:37 Krock does it originate from paramat's pools?
17:37 Krock or did you program it from scratch?
17:39 Krock looks very complicated :(
17:40 tenplus1 link?
17:45 Krock https://forum.minetest.net/viewtopic.php?f=9&t=22919
17:47 tenplus1 looks great, code seems intensive
17:49 tenplus1 lot of set_node's that I would change to swap_node to be faster
17:52 Krock or vmanip
17:52 tenplus1 yup yup :)
18:09 lllI1I joined #minetest-hub
18:10 tenplus1 laters all
18:10 tenplus1 left #minetest-hub
18:28 CWz_ joined #minetest-hub
18:30 roben1430 joined #minetest-hub
18:45 ssieb joined #minetest-hub
18:47 Sokomine krock: paramats mod was the inspiration, but the algorithm is completely diffrent. it's based on a discussion on the forum
18:49 Sokomine there aren't that many set_nodes. each surface node of the future lake is set to river_water. the ground is set to clay. trees are removed. bushes use place_schematic. i'm not certain if using voxelmanip would be faster
19:54 behalebabo joined #minetest-hub
20:11 Ganome317 joined #minetest-hub
20:24 Fixer_ joined #minetest-hub
21:41 pauloue joined #minetest-hub
23:14 pauloue joined #minetest-hub

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