Minetest logo

IRC log for #minetest-hub, 2018-03-28

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

All times shown according to UTC.

Time Nick Message
00:04 MarisaG joined #minetest-hub
00:04 MarisaG left #minetest-hub
04:50 DI3HARD139 joined #minetest-hub
06:16 greeter joined #minetest-hub
06:21 sofar joined #minetest-hub
06:33 sofar joined #minetest-hub
06:36 greeter joined #minetest-hub
06:47 sofar joined #minetest-hub
07:27 greeter joined #minetest-hub
07:46 CWz joined #minetest-hub
09:08 Flitzpiepe joined #minetest-hub
09:25 Flitzpiepe joined #minetest-hub
09:26 greeter joined #minetest-hub
09:43 red-001 joined #minetest-hub
10:17 greeter joined #minetest-hub
10:37 greeter joined #minetest-hub
10:41 Fixer joined #minetest-hub
10:56 Flitzpiepe joined #minetest-hub
11:22 srifqi joined #minetest-hub
11:22 srifqi \o/
11:31 greeter joined #minetest-hub
11:53 greeter joined #minetest-hub
12:03 greeter joined #minetest-hub
12:24 lumberJ joined #minetest-hub
12:33 Mr_Pardison joined #minetest-hub
12:45 ThomasMonroe joined #minetest-hub
12:47 Flitzpiepe joined #minetest-hub
13:07 greeter joined #minetest-hub
13:21 Flitzpiepe joined #minetest-hub
13:31 RichardTheTurd joined #minetest-hub
13:41 greeter joined #minetest-hub
13:57 greeter joined #minetest-hub
14:00 Flitzpiepe joined #minetest-hub
14:20 greeter joined #minetest-hub
14:43 greeter joined #minetest-hub
14:46 ThomasMonroe joined #minetest-hub
15:17 twoelk joined #minetest-hub
15:18 ThomasMonroe_ joined #minetest-hub
15:20 twoelk o/
15:21 Mr_Pardison \o
15:32 Mr_Pardison joined #minetest-hub
15:56 TMcSquared joined #minetest-hub
16:06 Fixer joined #minetest-hub
16:23 Gael-de-Sailly joined #minetest-hub
16:28 aerozoic joined #minetest-hub
16:29 greeter joined #minetest-hub
16:33 tenplus1 joined #minetest-hub
16:33 MinetestBot tenplus1: Mar-25 19:02 UTC <rubenwardy> If you want your skin mod's formspec to continue to have a transparent background, you'll need to add no_prepends[] after size[]
16:33 MinetestBot tenplus1: Mar-25 20:45 UTC <rubenwardy> damange and die reasons https://github.com/minetest/minetest/pull/6396
16:33 tenplus1 hi folks
16:33 Mr_Pardison hai
16:33 rubenwardy tenplus1, both have those have been merged
16:33 rubenwardy so 0.5.0 now has reasons for hp changes and damage!
16:34 tenplus1 ooh, checking... hi mister :) hi ruben
16:34 rubenwardy I'm also working on a PR to deprecate depends.txt
16:34 rubenwardy so you can just use mod.conf instead
16:34 tenplus1 nicely done... I had no idea these were added
16:34 rubenwardy one file instead of many
16:34 rubenwardy was merged today
16:34 tenplus1 oh so mod.conf will have depends included
16:34 rubenwardy yeah
16:34 rubenwardy and also description
16:35 Mr_Pardison so now it logs a PvP and PvE attack?
16:35 rubenwardy yes
16:35 Mr_Pardison nice.
16:35 rubenwardy if github loads...
16:35 tenplus1 sweeeeeeet :) many thanks for adding this :)
16:35 rubenwardy yw
16:35 tenplus1 can finally tweak the fire damage on 3d_armor to work better
16:36 Mr_Pardison now that will help with disputes about a PvP attack that is in violation of the rules.
16:36 Flitzpiepe joined #minetest-hub
16:36 tenplus1 hi Flitzpiepe
16:37 rubenwardy https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2797
16:37 rubenwardy Mr_Pardison, tenplus1 ^
16:38 tenplus1 :P
16:38 Mr_Pardison ye.
16:40 * tenplus1 is so eager for 0.5.0 stable rollout
16:40 Mr_Pardison same.
16:40 twoelk hm, mod description in mod.conf? is that good for mod management tools?
16:40 rubenwardy twoelk, convenience
16:40 rubenwardy like, only needing one file for these things
16:40 tenplus1 how will it be formatted for dependencies and mod name?
16:41 rubenwardy comma separated
16:41 rubenwardy modname is like it is currently
16:41 tenplus1 dependencies = default, mobs?   like that ?
16:41 rubenwardy not sure about new lines for description, I guess that'll have to use .txt for now
16:41 rubenwardy no
16:41 rubenwardy depends = default
16:41 greeter joined #minetest-hub
16:41 rubenwardy optional_depends = mobs
16:42 twoelk hm, so the info has to be extracted from a larger file
16:42 tenplus1 riight, gotcha
16:42 rubenwardy it already extracts it from that file
16:42 rubenwardy it's now just reading the files
16:43 rubenwardy ie: anytime you read description, you also read depends and name
16:43 twoelk will your mod project read the file?
16:43 rubenwardy yes, if you mean the website
16:43 twoelk yep
16:43 rubenwardy that's on the todo
16:43 rubenwardy support for importing from mod.conf / depends.txt / etc
16:44 tenplus1 this will break many things, but I suppose it's a good start for the halfway point 0.5
16:44 rubenwardy it won't
16:44 rubenwardy depends.txt will be supported stil
16:44 tenplus1 ahh good, optional settings... waht it both exist ?
16:50 tenplus1 ooh, was night vision added yet?!?!  *checks*
16:50 Mr_Pardison bring creature comforts with you!
16:50 rubenwardy yeah, mod makers will unfortunatelly have to create both until 0.4 is less used
16:50 Mr_Pardison wrong channel.
16:53 tenplus1 https://github.com/minetest/minetest/pull/6844
16:53 tenplus1 !title
16:53 MinetestBot tenplus1: Add fullbright mode by HybridDog · Pull Request #6844 · minetest/minetest · GitHub
16:53 rubenwardy #6844
16:53 ShadowBot https://github.com/minetest/minetest/issues/6844 -- Add fullbright mode by HybridDog
16:54 sofar joined #minetest-hub
16:54 tenplus1 o/ sofar
16:58 sofar joined #minetest-hub
17:05 Krock joined #minetest-hub
17:05 MinetestBot Krock: Mar-27 22:44 UTC <Fixer_> I hope that far pointing bug on android is fixed
17:05 tenplus1 hi Krock
17:05 Krock hi tenplus1
17:05 Krock Fixer, ofc it's fixed - for months already
17:05 tenplus1 oh yeah, that's an annoying bug when players on server can reach for miles
17:10 tenplus1 regarding the item wield issue, why not just use stu's wielditem mod and player model
17:14 IhrFussel joined #minetest-hub
17:14 tenplus1 hi fussel
17:14 IhrFussel Hi guys ... is there a known exploit regarding mobs + formspecs? A player just claimed to have killed a monster via "formspec"
17:15 tenplus1 lol what ?!?!
17:15 sofar formspecs themselves are OK, but the code in mods that handle them can have exploits
17:15 sofar depends on the mods
17:15 tenplus1 unless there's a button in a mod formspec that kills mobs in a certain range, then no :P
17:15 sofar you'd have to audit all your formspec code
17:16 sofar what tenplus1 said is likely true, but not 100% certain
17:16 tenplus1 I only have one formspec in mobs and it's hardcoded and localised
17:16 sofar do you have any formspec on your server that does something with mobs too?
17:16 tenplus1 nametags
17:16 sofar show me the code :)
17:17 sofar IhrFussel: only way to know is to audit the code...
17:17 sofar which I can do if you want me to
17:18 IhrFussel False alarm...sorry I misunderstood something or the player isn't good at English ... They were talking about something else and randomly put "and i killed a monster" in it
17:18 rubenwardy #6243
17:18 ShadowBot https://github.com/minetest/minetest/issues/6243 -- Load dependencies and description from mod.conf by rubenwardy
17:18 tenplus1 ehehehehehe
17:19 sofar bummer, I would have loved to find a cool exploit to fix
17:19 sofar :)
17:19 tenplus1 there's always that random serialize.h error that happens with no displayed error line...
17:19 tenplus1 lol
17:19 tenplus1 but that hasn't happened for so long now I think it was a 0.4.15 glitch in itself
17:20 IhrFussel Formspecs have enough security issues already IMO...
17:20 sofar mods, you mean
17:20 sofar mods have security issues
17:20 tenplus1 https://github.com/tenplus1/mobs_redo/blob/master/api.lua#L3706 that's the only formspec in api
17:21 IhrFussel In my opinion the engine should validate what mods do
17:21 IhrFussel The same about invalid positions mods could give...the engine should make sure invalid positions can never be accessed
17:22 tenplus1 when errors are shown with no line numbers that's an issue, and you cant always run debug mode in live servers
17:23 tenplus1 *on
17:26 IhrFussel Since I have this weird Server::SendMovePlayer segfault randomly and it is not tied to a machine since I ran my world on 3 already, it is most likely also caused by a mod that tells the engine wrong data maybe
17:27 IhrFussel Other server owners I asked don't have such random segfaults ... I'm guessing it is something that updates the player position a lot
17:27 sofar as I said
17:27 sofar formspec in the engine is already as secure it can be
17:28 sofar because if it would limit input data even further, it would make certain formspecs impossible
17:28 sofar security must come from all parts involved
17:28 sofar so you must secure your mods too
17:29 sofar tenplus1: looks OK but you probably want to disallow certain characters in nametags
17:29 sofar no obvious gaps in input checking in that code that I can see
17:30 sofar the only problem is that I can rename any mob without needing a nametag
17:30 sofar let me rephrase that
17:31 sofar I'd need one nametag. But I can rename the mob later without wielding a nametag.
17:31 tenplus1 how so ?
17:32 sofar the register_on_receive_fields() doesn't check that I'm wielding the nametag anymore, or even have it in the first place
17:32 sofar so I can open the formspec once
17:32 sofar and then mob_obj[name] is valid
17:32 sofar close the formspec
17:32 sofar even throw the nametag away
17:33 tenplus1 the mobs:feed_tame handles right clicking of mobs with items and should onyl show the formspec if a nametag is in hand
17:33 sofar and then, at any later point in time, I can spoof a formspec data send packet to rename the mob
17:33 sofar it would be trivial for me, if I was at home, to demonstrate this
17:33 tenplus1 3rd party mods can change anything about a mob, that's fine... am not gonna limit that part
17:34 sofar just add a check that checks the wield hand
17:34 sofar this isn't 3rd party mods
17:34 tenplus1 in received_fields ?
17:34 sofar yes, like, at line 3733 or so
17:35 sofar it's one of those "sure it's an exploit" bugs but it's not really terribly bad
17:39 Raven262 joined #minetest-hub
17:39 garywhite joined #minetest-hub
17:40 tenplus1 hi raven, hi gary
17:40 tenplus1 sofar: check added
17:40 sofar tenplus1: :+1:
17:41 ThomasMonroe_ joined #minetest-hub
17:41 tenplus1 hi thomas
17:41 rubenwardy so:   depends or dependencies
17:42 rubenwardy as  a key in mod.conf
17:42 rubenwardy depends = default,farming,sfinv
17:42 rubenwardy dependencies = default,farming,sfinv
17:42 tenplus1 prolly depends =
17:42 tenplus1 keep it similar
17:42 sofar are spaces OK or not?
17:42 sofar probably not, right?
17:44 Raven262 Hi ten
17:44 tenplus1 o//
17:45 Krock already commented on the space trimming. they must be allowed for friendlier usage. I'd go for "dependencies" - using nouns seems better
17:48 twoelk maybe the screenshot file could optionaly have a name pointed to from the mod.conf - this could also point to pics for other purposes
17:48 tenplus1 hi twoelk
17:48 twoelk o/
17:48 tenplus1 wait, isnt screenshot dir a minetest.conf setting ?
17:50 twoelk no, I meant the pic that shows in mod selection
17:50 tenplus1 ohhhh
17:50 tenplus1 screenshot.png is the default so not so bad
17:51 twoelk except if you collect them :-P
17:51 tenplus1 how you mean ?
17:51 twoelk and pointing to different files for different resolutions might be usefull for mobile apps
17:53 twoelk for example for use in the wiki you have to rename the screenshot.png to modname.png because pic names ought to be unique
17:53 tenplus1 does screenshot.jpg work also ? if so it should scale the image to show inside the preview formspec anyhoo
17:53 twoelk might be similar with other 3rd-party mod tools
17:55 rubenwardy I prefer depends
17:55 twoelk lua.api says screenshot.png
18:02 Mr_Pardison joined #minetest-hub
18:02 tenplus1 wb
18:02 Mr_Pardison ty.
18:09 IhrFussel Can't we simply allow both? depends and dependencies? Should not be a difficult task to internally change it
18:09 IhrFussel I do that with lots of commands
18:10 IhrFussel People can then just use whichever they prefer
18:11 Shara What if I prefer dependythingies? Does that get added too? :P
18:11 tenplus1 lol... hi shara
18:11 Shara Hi ten :)
18:14 IhrFussel I don't see why we should force one way if there are several that make sense
18:15 twoelk because keep it simple?
18:15 IhrFussel There is no performance hit and it increases user friendliness
18:15 Shara What twoelk said, really.
18:15 Shara Otherwise I'll give you a list of about ten things for every setting that could be added :)
18:16 IhrFussel depends makes sense cause of depends.txt and dependencies makes sense because it's the most logical
18:17 Shara whatever gets used, people will just adapt
18:17 Shara Keep it simple
18:17 tenplus1 yeh
18:17 Shara Otherwise I wants dependythingies included and I will use it for everything :)
18:18 IhrFussel Dependencies is longer so harder for non-native English speakers to type
18:18 Shara Yup, which is why I'd vote for depends
18:18 tenplus1 depends = default, farming, ethereal?, mobs?
18:18 tenplus1 looks simpler
18:19 twoelk yah exspeciallie the ie-y confliking yn spalling
18:21 Mr_Pardison joined #minetest-hub
18:22 IhrFussel I think most mod topics in the forum also state "depends" instead of "dependencies"
18:23 IhrFussel Of course I don't read every mod topic, but depends seems to mae more sense in MT
18:23 IhrFussel make*
18:24 lumberJ joined #minetest-hub
18:24 tenplus1 hi lumberJ
18:25 Krock tenplus1, looks simpler but is a pain with long lines
18:25 * twoelk is battling css issues and not gaining much ground
18:25 lumberJ hey tenplus1, Krock, twoelk and anyone else paying attention :)
18:25 Krock hi lumberJ
18:26 * tenplus1 changes css template to high visibility black and yellow with comic sans 20
18:26 Shara Hi lumberJ
18:26 Mr-Pardison oh gawd... not comic sans.
18:26 twoelk it has it's uses - like annoying people
18:26 rubenwardy awards has this:
18:26 rubenwardy optional_depends = intllib, sfinv, unified_inventory, default, stairs, farming, dye, beds, wool, vessels, moreblocks, fire
18:26 lumberJ Hi Shara
18:27 twoelk rubenwardy: does order matter?
18:27 rubenwardy no
18:27 rubenwardy it's a set, just like depends.txt
18:27 rubenwardy so the order will change
18:27 rubenwardy and then dependency resolution will happen anyway
18:30 Krock Mr-Pardison, yeah. it's an awful font. Luckily there's a Comic Papyrus font: https://befonts.com/comic-papyrus-font-finally.html
18:31 rubenwardy comic sans is the new times new roman
18:31 rubenwardy or is that arial
18:31 rubenwardy \o/
18:31 Mr-Pardison /o\
18:32 tenplus1 heh
18:40 rubenwardy what even is this https://github.com/minetest/minetest/issues/7178
18:41 tenplus1 facebook ? wut ? I wouldnt associate with that if ya paid me
18:41 Mr-Pardison ^ same
18:42 Mr-Pardison rubenwardy: PO ?
18:42 rubenwardy no idea
18:43 sofar haha, he replied again
18:43 tenplus1 o.O
18:44 Krock Public O?????
18:49 Krock rubenwardy, fixed it. probably. maybe not.
18:56 rubenwardy lol
18:58 Krock lol indeed
18:59 Gael-de-Sailly joined #minetest-hub
19:01 tenplus1 is there anything else you would like to see in Farming mod ? (for all)
19:03 Krock lawn mower
19:03 tenplus1 lol
19:04 tenplus1 can run over mobs with a petrol driven blade :D
19:04 Krock just kidding. it shouldn't be too overloaded so.. for me it's fine right now
19:04 Krock shredding the cute kitten :<
19:04 tenplus1 any other food items you'd like to see ?
19:05 Krock no idea right now  *passes the mic to another volunteer*
19:05 tenplus1 eheheh
19:06 Mr-Pardison Krock!
19:06 Mr-Pardison not the cat!
19:08 tenplus1 kitty's are hardy things, they bounce around and run away :)
19:08 tenplus1 although bunny's...  shinji placed 100 rabbits in the lucky block arena and I spawned 3 wolves which kinda ate them all :D
19:10 Mr-Pardison that's horrible.
19:10 tenplus1 lolol...
19:11 Shara Ten is secretly a monster :)
19:11 tenplus1 least we know the runaway_from and specific_attack functions work
19:11 Mr-Pardison poor rabbits.
19:11 twoelk doesn't that add too much load on a server?
19:12 tenplus1 thankfully no :)
19:12 tenplus1 each mob scans what's around them in range, if it's something to run away from it will,, or something to attack it will :)
19:12 tenplus1 if nothing is specified in either field then it's ignored
19:14 twoelk hmm, specific_attack? like robocop wolf scans player and if diamond armor then don't bother; if wood sword then attack?
19:14 tenplus1 specific_attack holds entity names or "player" for players
19:15 tenplus1 if nothing then it'll default to players :)
19:15 tenplus1 or whatever hits mob
19:16 tenplus1 we do have immune_to table for special weapons/items of attack... certain things mob can be immune to, other things heal mob :)
19:16 twoelk I imagine robowolf using a lookup table to calculate it's chances and then move in with specific attack pattern :-D
19:16 tenplus1 ehehe
19:17 tenplus1 scary part is using pathfinding level 2... Evil Bonny does this on server and breaks down walls, can navigate mazes and climb up to get to player
19:17 twoelk wait, if I hit a mob with bandaid it gets healed?
19:18 tenplus1 e.g.  Oerkki can be hit with wooden sword with no damage (as a test), but hit with gold lump and it'll heal it
19:18 * twoelk remembers maikerumine's monsters piling up to reach one
19:19 tenplus1 the dumb movement controls of mobs can be interesting when they use each other to reach high places or escape :P
19:19 tenplus1 was thinking of changing it to move towards random set nodes around it
19:19 twoelk cool, don't hit it with whatever you have at hand , could get worse
19:20 tenplus1 means you can make very specific mobs that can only be killed with a special item, nothing else will harm it
19:20 twoelk escaping sheeps that pile up at fences
19:20 twoelk cool - let's me think of a sword that need special enchantment
19:33 tenplus1 nite folks :) o//
19:33 tenplus1 left #minetest-hub
19:44 twoelk left #minetest-hub
20:13 Sokomine oh yes, the dreaded mob stacking problem. no fence is high enough for sheep! they always escape
20:15 Sokomine got a strange request in a german channel. does anyone here have problems with enricoo?
20:16 Shara What kind of problems?
20:17 Sokomine hard to tell. the message was a bit odd. he's not online now but was indicating that he had trouble with server owners. as most of them are here i thought i might ask
20:17 Shara I've had a few weird run ins with him before, but that was way back
20:18 Shara He seemed to be getting tied up with a bunch of "server owners" who only used minetesthosting servers.
20:18 Shara And who seemed to make a lot of drama everywhere they went.
20:19 Sokomine ah
20:23 rubenwardy he's being very irritating on my server
20:28 ThomasMonroe Shara we have a possible bot again on LoS
20:29 Shara Want me to come look?
20:29 * Shara just signs in anyway
20:29 Shara Could you PM me the name?
20:32 Sokomine rubenwardy: i'll try to find out what the actual problem is when he shows up on irc next time
20:36 rubenwardy kk
20:54 ThomasMonroe joined #minetest-hub
21:06 Fixer fuck procrastination
21:07 Fixer so bad
21:39 Sokomine joined #minetest-hub
22:10 Raven262 joined #minetest-hub
22:29 Gael-de-Sailly joined #minetest-hub

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