Minetest logo

IRC log for #minetest-hub, 2017-10-19

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

All times shown according to UTC.

Time Nick Message
01:21 Grandolf_ left #minetest-hub
01:28 ThomasMonroe joined #minetest-hub
01:28 LazyJ joined #minetest-hub
01:49 ssieb joined #minetest-hub
04:32 Natechip ...
05:00 nerzhul joined #minetest-hub
05:51 jas_ *yawn* mm coffee
06:56 jas_ mm.. more coffee
07:17 Dumbeldor-taff joined #minetest-hub
07:46 lisac joined #minetest-hub
07:49 sniper338 joined #minetest-hub
07:49 sniper338 joined #minetest-hub
08:11 sniper338 joined #minetest-hub
08:22 CWz joined #minetest-hub
08:48 Megaf joined #minetest-hub
10:20 IhrFussel joined #minetest-hub
10:20 IhrFussel Hi guys
10:52 Fixer joined #minetest-hub
11:03 Amaz joined #minetest-hub
11:08 Megaf joined #minetest-hub
11:14 jas_ hello
11:23 Fixer ohi
11:23 Fixer jas_: your server is up to date?
11:27 jas_ no
11:27 jas_ i been meaning to
11:28 jas_ gonna have broken textures tho lol
11:37 NathanS21 joined #minetest-hub
11:39 Jordach joined #minetest-hub
11:56 Megaf joined #minetest-hub
12:28 Megaf joined #minetest-hub
12:36 Aerozoic joined #minetest-hub
12:53 IhrFussel For now I changed the mobs API so that active mobs in range that have an owner will print their current pos to the log every few secs and when players type /find NAME the log will be fetched for the pet's last pos
12:54 IhrFussel That makes finding lost pets possible since they can get unloaded as soon as they are out of active range and nobody knows where they are
13:09 jas_ okay i'm up to date.  https://i.imgur.com/w6ZakkC.png  i should really try to cherry
13:10 jas_ -pick around this, it bothers me LOL
13:11 sniper570 joined #minetest-hub
13:22 Megaf joined #minetest-hub
13:30 RobbieF joined #minetest-hub
13:42 CalebDavis joined #minetest-hub
13:47 Jordach Fixer, i love it when people complain about telemetry, except it's the reason why 7 is so good
13:48 Jordach (xp and vista had it silently for years, go figure why 7 was really good)
13:51 Jordach that always shuts up the whiners :)
14:11 ThomasMonroe joined #minetest-hub
14:11 CalebDavis hi tre
14:12 ThomasMonroe hi
14:13 Sokomine ihrfussel: why don't you store the mob position in a lua data structure? if needed, the amount of mobs per player could be limited (perhaps due to higher costs)
14:14 Sokomine ok, doesn't really help with finding where they are...a callback function to a stable might help. plus some handling of mobs that got called back while beeing out of range
14:14 IhrFussel The engine simply needs an on_deactivate() callback for entities...it would be way easier then
14:18 Sokomine oh yes. that sounds helpful
14:21 Sokomine IhrFussel: how about that function that returns the mobs data values, get_staticdata? any calls to that might update the mob's position in your internal data structure. no idea how often that gets called
14:22 IhrFussel AFAIK you can only get the values for an entity that's loaded...off-map the entity doesn't "exist"
14:25 Sokomine that's right. what i mean is the following: keep an internal data structure about which mob is where. there aren't too many tamed ones. when get_staticdata gets called, the mob will (probably) be unloaded next...so update its position in the internal data structure. not perfect but better than logging all positions all the time?
14:30 IhrFussel Sokomine, entities also need an ID...the only way to store such a "last ID state" would be in files I think if I want the IDs to be truly unique and persistent
14:31 IhrFussel Or I give each tamed mob a random number that acts like an "ID"
14:32 Fixer new bullshit hype arrives called AI, cloud sucks silently
14:32 Fixer Jordach: i've used firewall synce ancient times that also blocks windows requests except winupdates
14:35 Fixer synce
14:35 Fixer noice
14:35 Fixer red-001: any luck finding that BASED file?
14:39 Sokomine IhrFussel: that's right. another problem they've got. my traders have a uniq id based on time of creation and position
14:45 IhrFussel os.time() + pos as ID...not a bad idea actually
15:12 lhofhansl joined #minetest-hub
15:17 CalebDavis i had someone ask me how to split up a stak for crafting on a phone how do you do that?
15:24 jas_ double-tap-hold-swipe
15:24 jas_ tap once, tap second time holding, swipe with other finger.  it's alright once you get used to it, but still tricky.
15:24 jas_ gotta be a good mod, or a better way
15:24 jas_ or some instructions hehe
15:27 CalebDavis XD yea
15:39 Fixer CalebDavis: you split the phone in half and buy a desktop/laptop
15:40 CalebDavis XD
16:06 CalebDavis i need to know how to open your inventory on a phone
16:11 IhrFussel CalebDavis, there should be an on-screen button
16:11 CalebDavis ok
16:11 IhrFussel If the player uses the official Minetest it can be found in the menu with the 3 dots on the left side
16:12 IhrFussel Or maybe it's another symbol..but it should be a button on the left side of the screen which expands into drop, chat and inventory
16:32 Darcidride joined #minetest-hub
16:45 Fixer nsfw, bitcoins again https://twitter.com/GoatseDotCx/status/896530165794295808
16:45 Fixer wonder when burst will happen, I also need to buy a new GPU :/
16:53 Krock joined #minetest-hub
16:53 CalebDavis hi Krock
16:57 Krock hi CalebDavis
16:57 Krock expected: late 10+1, got: CalebDavis
16:58 CalebDavis XD
17:44 nerzhul joined #minetest-hub
17:46 Calinou hi
18:15 CalebDavis joined #minetest-hub
18:23 ssieb joined #minetest-hub
18:53 Fixer =*,,.,,*=
18:53 Fixer hi
18:58 Hijiri hi
18:58 CalebDavis hi
19:03 Krock hi
19:05 rubenwardy hi
19:09 Shara hi
19:15 Dargod hi
19:27 Fixer 8 hi's in a row
19:27 red-001 oh nice reactos moved to git
19:30 Fixer nobodyusesOS
19:58 red-001 !tell paramat is it possible to run a lua mapgen in a coroutine?
19:58 ShadowBot red-001: O.K.
20:09 nerzhul red-001, no
20:11 Krock joined #minetest-hub
20:29 Dargod hmm, sauth importing auth.txt already 20min
20:29 Dargod this is normal?
20:29 Shara Depends on auth size?
20:29 Shara Poke shivajiva :)
20:30 * red-001 pokes shivajiva
20:30 Dargod ~24mb
20:39 Fixer lol
20:39 Fixer probably
20:41 Dargod hmm, killed that process, restarted - passed instantly
20:42 Fixer interesting
20:45 nerzhul omg
20:45 nerzhul Dargod, with my file to postgresql import: 3 sec :p
20:45 nerzhul i don't know what is sauth but it's bad
20:45 shivajiva lol
20:46 Shara nerzhul: he just said it was instant on second try :)
20:46 shivajiva that's like saying don't know what is CSM is but it's bad
20:47 Shara at least in that case it would be right
20:47 Shara (in some ways)
20:48 nerzhul it's wrong, CSM can never be bad :p
20:48 Shara CSM is evil! :P
20:48 red-001 but is MSC is
20:49 Fixer what you say?
20:49 shivajiva then we can assume sauth isn't either
20:49 Dargod as it turned out now, the sauth.sqlite was empty, deleted it, run again, and again a long import
20:50 red-001 so much rewriting to do
20:50 red-001 who even implemented Auth in lua in the first place?
20:50 shivajiva hmm it's supposed to bail on the import if there are more than 360 records and spit a dump file out Dargod
20:51 Fixer http://www.solarham.net/pictures/archive/oct18_2017_cme.jpg
20:52 shivajiva though sofar stated 360 was too low and 3600 was reasonable as it would take less than a minute
20:53 shivajiva any signs of auth.sql file in the world folder?
20:54 Fixer https://forum.minetest.net/viewtopic.php?p=297350#p297350
20:54 Dargod https://a.uguu.se/asxsJeAhWnMP.png
20:54 Dargod shivajiva, no
20:54 Dargod still waiting
20:55 shivajiva then something is wrong with record detection, I'll check
20:56 shivajiva is this for stable or dev?
20:58 Dargod stable-0.4 branch
20:58 atorian37 is the "running" function controlled by a priv? ( W+E)
21:00 red-001 yes
21:00 red-001 fast
21:00 RobbieF left #minetest-hub
21:00 atorian37 ok tnx!
21:04 IhrFussel I modified the mobs redo engine further and implemented elite mobs...random mobs that have more HP and cause more damage compared to the regular form
21:08 Dargod put it in the background, check tomorrow, what will happen
21:17 shivajiva okay, bug confirmed though. It goes straight to import regardless of number of records
21:17 Fixer hmm
21:19 Fixer craaaaaaash
21:19 shivajiva highly suggestive that core.auth_table is empty at the point it's triggered
21:22 red-001 so core.auth_table is undocumented and therefore no backwards compatibiliy is required?
21:23 sfan5 isn't core.auth_table just an implemention details of the default auth handler?
21:23 red-001 seems so
21:24 red-001 not sure why it's a global
21:24 Fixer nerzhul: another crash on your server :(
21:25 shivajiva I assumed looking at builtin auth that the load is triggered before the handler is registered
21:26 shivajiva so if auth.txt has content's it will load into core.auth_table regardless of handler used
21:26 red-001 Question: should I keep the file based auth backend?
21:26 red-001 I implemented a read only version for now
21:27 red-001 just so it can be loaded when converting to another database
21:28 shivajiva good enough reason for it to stay for now
21:33 nerzhul Fixer, did you find the debug dll ?
21:34 Fixer nerzhul: red-001 found some but I still need one more dll
21:34 nerzhul red-001, keep it for compat reason and we will drop it in a future release like player file backend
21:35 Fixer nerzhul: ucrtbased.dll
21:36 nerzhul erf
21:36 Fixer nerzhul: you should have it on your install
21:39 nerzhul i'm pretty sure but i'm working on another project now
21:42 sofar nerzhul: can we move env_meta into map.sqlite?
21:42 sofar I don't see why it couldn't be there
21:43 sofar it's world related info anyway
21:43 red-001 +1
21:44 rubenwardy it's not relational data
21:45 sofar neither is block data
21:45 rubenwardy or even a list
21:45 red-001 still less likely to be corrupted
21:45 sofar just some values of which one is constantly updated and therefore causing writes
21:46 sofar open/write/close
21:46 nerzhul sofar, no problem for me
21:46 sofar also, if the file is corrupted the game crashes :)
21:46 nerzhul use a table with 2 columns, it's lgtm, this file is useless
21:46 sofar essentially map_meta should go there as well
21:46 nerzhul also it should be consistent and DB are better for that than flat files
21:46 sofar even if it's all just serialized strings
21:47 rubenwardy seems stupid to me
21:47 red-001 isn't map meta more user editiable through?
21:47 sofar it's not that hard to use sqlite3
21:48 rubenwardy map_meta is static, so you don't even have the constantly updated argument
21:48 sofar having 3-4 randomly formatted config files is the problem
21:48 red-001 plus you might want to copy that between worlds
21:48 sofar one requires a weird syntax
21:50 sofar I just don't see the point in having what are essentially multiple flat config files
21:50 sofar heck minetest.conf could be an sqlite db
21:51 sfan5 >config in db
21:51 sfan5 :s
21:51 rubenwardy :/
21:52 red-001 well it would solve it being confusing for new players
21:52 sofar <<what is this "EnvArgsEnd"?>> <<deletes>>
21:53 sofar oh hey it's [end of params] in map_meta.txt
21:53 sofar lol
21:53 rubenwardy this is a very small issue on the scale of things
21:54 sofar I see it more as the last few cancer cells
21:54 red-001 +1 to removing the werid terminators
21:55 red-001 settings work fine without them
21:55 sofar having a nice configure UI in the game for a world (like the settings) would solve the problem
21:56 sofar it's completely nonimpactful other than the time thing that causes writes every N seconds
21:57 red-001 added world settings in my pr for creating a seperate config file for the server
21:57 red-001 you could merge the settings into the main settings
21:57 sofar I run my servers with a "server.conf" in the world folder, which solves that problem nicely
21:57 red-001 and store meta data in the database
21:58 sofar it also prevents, at the same time, minetest from OVERWRITING settings if you modify it while mt is running, which is great
21:58 sofar so I have a nice r/o conf that never gets touched by MT
22:00 benrob0329 joined #minetest-hub
22:02 nerzhul minetest.conf should never be in db
22:02 nerzhul but i'm ok with world dir, except the world.mt :p
22:03 Fixer sqlite viibeees
22:03 nerzhul sofar, generaly in any service it's r/o for app
22:03 sofar I've thought about using mod_storage more for various data bits
22:03 nerzhul like your apache/nginx/postgresql configuration :p
22:04 sofar but after remembering that it's basically flat-file based, I doubt that using it to store hundreds of several kb-large text blobs in it isn't a good ide
22:04 red-001 wouldn't mind mod storage being in a DB
22:04 sofar e.g. WE doing schematic storage into mod_storage is probably a bad idea
22:05 nerzhul sofar, mod storage should be in world dir
22:05 nerzhul world db
22:05 sofar so tbh I'm a bit sad that mod_storage isn't an sqlite
22:05 nerzhul but it wasn't
22:05 nerzhul move it to world db
22:05 sofar and thus I'm using lsqlite3.... :)
22:05 Fixer jas_: bump
22:05 nerzhul k/k2/v : mod, k, v
22:05 Fixer jas_: Thomas-S: are your 0.5.0 dev servers up to date? I had connection problems to it (tile warning)
22:05 nerzhul sofar, please provide us some PR for those backends i will be happy to accept them
22:06 nerzhul it's better than using lquite3
22:06 sofar kek
22:08 Fixer i've infected sofar with kek unfortunately
22:10 red-001 We are doomed! It has started to spread.
22:12 Fixer serialisation error: can't read all chars when placed torch below huge sand hanging
22:12 Fixer default
22:12 Fixer but on asio branch
22:13 Fixer sofar: iirc advanced world config was kinda rejected
22:14 red-001 Fixer, link?
22:14 red-001 I kinda remeber that
22:14 red-001 remember*
22:15 Natechip joined #minetest-hub
22:15 Natechip joined #minetest-hub
22:18 Fixer no wait
22:18 Fixer sofar: nevermind, i was wrong
22:18 Fixer newer version of PR was opened
22:18 Fixer https://github.com/minetest/minetest/pull/6399
22:19 sofar neat
22:27 Fixer https://github.com/minetest/minetest/pull/6544 also very needed
22:28 Fixer ALSO
22:28 Fixer string has no use anymore in minetest_game
22:35 Fixer kinda sad mtg is less user friendly than MC
22:36 Fixer in mt you can't just dig chest or furnace and autopick up everything
22:36 Fixer you have to remove components, some will say it is more realistic
22:36 Fixer sofar: maybe
22:36 Fixer oops
22:36 Fixer just maybe
22:36 Fixer without sofar part
22:39 sofar ahh well, I still want other stuff more :)
22:39 sofar csm particles and sounds, for instance
22:39 sofar meta set nodedef->tiles[]
22:40 sofar that last one would give us signs without entities
22:40 red-001 sounds is just fixing media loading
22:40 Fixer i'm watching various MC modded lets plays, even from beta era, and ... FUUUUUCK WE ARE BEHIND LIGHT YEARS FROM THEM :(
22:41 Fixer *caps added for dramatic effect
22:41 red-001 should be pretty trivial
22:41 sofar red-001: I know, they're not even un-modest things :)
22:41 sofar anyway, csm particles and csm sounds are useless imho without mod sending
22:42 sofar even useless if csm is disabled by default
22:42 sofar so they're pretty big bets
22:42 sofar nodedef->tiles would be a major win, though
22:42 sofar itemframes and flowerpots would be awesome
22:43 red-001 CSM mod sending discussions don't tend to go in productive directions
22:43 sofar I wouldn't bother listening
22:43 sofar just code it
22:44 sofar theres a bunch of uninformed people interfering in anything they percieve as IMMIGRANTS, MUSLIMS AND CSM
22:44 sofar literally the rationality is gone
22:45 sofar you are already running untrusted code. You downloaded an unsigned binary from sfanS (sic)
22:45 red-001 don't forget those evil corporations that sell software
22:46 red-001 oh matrix users have returned
22:46 Fixer :D
22:46 Fixer now with extra long messages
22:47 red-001 it's hard not to make circa 1999 jokes
22:48 Fixer FEELING OLD?
22:49 Fixer Matrix is just 18 years old
22:49 Fixer ooooooops
22:49 sofar so, finally legal?
22:49 Fixer and that GIF can probably buy you a beer
22:49 Fixer (c)
22:50 red-001 * terms and conditions apply, please check your countries terms of service
23:11 Fixer storing items in inventory
23:11 benrob0329 red-001: Matrix users have been here for a long while
23:17 sofar I store items inside items in the inventory
23:17 sofar itemception
23:37 * Sokomine stares quite annoyed at a new phone that refuses to be mounted as usb mass storage
23:39 Fixer sofar: kinda hackish (at least feels to me)
23:40 Fixer sofar: misread it again, nevermind
23:42 Fixer sofar: keeping items in inventory worries me, from gameplay standpoint
23:46 benrob0329 Sokomine: Android or iOS?
23:56 jas_ fixer: i updated my server today
23:56 jas_ f36e3231

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