Minetest logo

IRC log for #minetest-hub, 2018-05-20

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

All times shown according to UTC.

Time Nick Message
00:03 paramat i would have thought most games are a pain on a phone
00:03 tumeninodes they are
00:04 tumeninodes especially the one when you have to press numbers and try to speak with people? I hate that one
00:06 tumeninodes sofar needs a weeding app
00:27 Sokomine many younger people seem to be able to handle games on phones very well. i'm always surprised how easily they seem to manage. even my cheap old phone can handle mt quite well. with a mouse and keyboard it might be quite usable :-)
00:50 tumeninodes it's those dang young people. and android users do seem to be a decent chunk of the user base. it's just that..., you know...
00:50 tumeninodes and finding/keeping an active, and experienced Android dev has proven a challenging endeavor
00:51 Tmanyo joined #minetest-hub
00:51 Guest60049 joined #minetest-hub
00:53 tumeninodes I often wonder if development of MT/MTG for Android might be better done completely on it's own (separate) but I am sure this has been discussed at length
01:03 paramat joined #minetest-hub
01:44 Guest60049 joined #minetest-hub
02:42 tumeninodes left #minetest-hub
02:58 Tmanyo joined #minetest-hub
02:59 AndroBuilder_ joined #minetest-hub
03:23 Ruslan1 joined #minetest-hub
04:24 lumberJ joined #minetest-hub
05:16 ANAND joined #minetest-hub
08:04 Krock joined #minetest-hub
08:18 nerzhul hello, can a moderator replace the link here https://forum.minetest.net/viewtopic.php?f=53&t=18891 md -> txt for the extension.
08:18 nerzhul thanks
08:32 longerstaff13 joined #minetest-hub
08:35 rubenwardy 🎉
08:35 longerstaff13 morning
08:39 ANAND nerzhul, since you're the author of the post, you can edit the post yourself and fix the link
08:39 ANAND unless I missed something.... :P
08:40 Krock ANAND, nerzhul wouldn't ask if they could edit it
08:41 ANAND <ANAND> unless I missed something.... :P
08:41 ANAND ^
08:48 nerzhul no i cannot because it's locked
08:48 nerzhul i'm a coredev i know how the forum works heh
08:48 ANAND Oh didn't notice, sorry! :)
08:49 ANAND ...that the topic is locked
08:55 Krock the forum is locked
08:56 Krock nvm, it's not the news section
09:07 lisac joined #minetest-hub
09:54 xerox123_ Allô
09:58 Krock Hĩ xêròx123_
10:11 CWz joined #minetest-hub
10:50 Fixer joined #minetest-hub
11:04 Krock joined #minetest-hub
11:16 rdococ The iPhone 11 removes the charging portâ„¢
11:17 Krock inb4 iPhone 12 works without display
11:17 rdococ iPhone 13 removes the phone
11:18 rdococ iPhone 13 is a brain implant that tricks your brain into mining bitcoin
11:51 Calinou the iPhone 14 removes the brain
11:56 rdococ iPhone 15 is just an aluminum plate without anything on it
11:57 Fixer iPhone 16 is robot inside of mumified Steve Jobs
11:58 Fixer pressed "mark all notifications as read" too fast, sad
11:58 rdococ iPhone 17 is a virtual reality headset haunted by Steve Jobs' soul that you can't take off
11:59 Gael-de-Sailly joined #minetest-hub
12:00 Fixer iPhone 18 consists of Notch
12:03 Calinou the notched display lacks a mod API
12:04 rdococ then Apple was acquired by Microsoft
12:15 longerstaff13 joined #minetest-hub
12:32 Fixer Bill Gates made CEO of Apple division
12:45 longerstaff13 that true?
12:56 rdococ Doubt it, we're making stuff up
12:56 rdococ In 2046, Mozilla buys Microsoft and makes YKW open-source
12:57 rdococ Unfortunately, Microsoft being sneaky obfuscated the code
12:57 rdococ Even further than they have now
13:00 Krock YKW = You Know Windows ?
13:01 xerox123 minecraft
13:02 xerox123 <+rdococ> xerox123: It's a bit of a joke I started
13:02 BillyS A wild xerox!
13:02 xerox123 I'm laughing too hard right now
13:03 xerox123 \o/ BillyS
13:03 BillyS o/
13:03 Krock hi BillyS
13:03 BillyS hi
13:04 rdococ I'm working on using some debug library hackery to shorten anonymous function definitions in Lua
13:05 rdococ Example: you can write "(x * 2 / y + x)" (if x and y aren't used as local variables that is).
13:05 rdococ That or (argument(1) * 2 / argument(2) + argument(1)).
13:09 rdococ I do like to say yayâ„¢
13:12 aerozoic joined #minetest-hub
13:21 entuland joined #minetest-hub
13:38 Megaf 13:04:52.00 <rdococ> then Apple was acquired by Microsoft
13:38 Megaf That kinda heppened already
13:40 rdococ when?
13:41 rdococ Pear Inc
13:47 Megaf 97 I think, when Jobs returned to Apple, Microsoft had bought lots of Apple shares and even made IE into macOS
13:50 xerox123 rubenwardy: having a bit of a lag crisis on your server
13:50 rubenwardy can't do anything about that now
13:51 xerox123 it ended suddenly
13:52 ANAND could've been a system update :P
13:53 Megaf speaking of server
13:53 Megaf !server Megaf
13:53 MinetestBot Megaf: Megaf Server v4 | mt.megaf.info:30003 | Clients: 0/20, 0/1 | Version: 0.4.17-dev / MegafXploreNext | Ping: 12ms
13:53 Megaf ok, still alive
13:56 entuland_ joined #minetest-hub
14:07 rubenwardy wish my server would crash
14:07 rubenwardy want to test my new email on crash script
14:08 Megaf Know the feeling, I hardly ever get crashes now a days
14:12 ANAND reminds me of a small application used to intentionally trigger a BSOD on Windows
14:12 ANAND don't remember it's name tho
14:13 IcyDiamond !server Icy Network
14:13 MinetestBot IcyDiamond: Icy Network (0.5.0) | 195.201.143.173 | Clients: 0/15, 0/0 | Version: 0.5.0-dev / minetest_game | Ping: 10ms
14:14 rubenwardy !server score:top
14:14 MinetestBot rubenwardy: No results
14:14 rubenwardy !server points:top
14:14 MinetestBot rubenwardy: No results
14:14 rubenwardy !server players:top
14:14 MinetestBot rubenwardy: No results
14:14 rubenwardy !server players:max
14:14 MinetestBot rubenwardy: No results
14:14 rubenwardy I give up
14:14 rubenwardy :D
14:14 sfan5 there's no sorting thingy for that
14:14 sfan5 but perhaps
14:14 sfan5 !servers i:0
14:14 sfan5 !server i:0
14:14 MinetestBot sfan5: Capture the Flag - Multiple Maps! | ctf.rubenwardy.com | Clients: 29/30, 29/31 | Version: 0.4.17-dev / capturetheflag | Ping: 90ms
14:14 rubenwardy I swear there was?
14:15 rubenwardy oh, for score you mean
14:15 ANAND :D
14:15 sfan5 i:0 -> the very first server which is also the top server since the list is sorted
14:15 ANAND On what basis are the servers sorted?
14:15 rubenwardy heuristics
14:17 Krock algorithms
14:17 Krock https://github.com/minetest/master-server/blob/master/server.py#L296
14:19 ANAND cool
14:21 Krock well great, the statbars/hud management is totally out of order. packets to add huds arrive after those which remove huds
14:24 ANAND and the in-game server list is sorted the same way?
14:24 sfan5 yes
14:24 Krock it's the same list
14:24 ANAND Nice!
14:25 Krock well, to be precise they're not sorted the same way because you can set favourites
14:25 ANAND ofc
14:43 longerstaff13 joined #minetest-hub
15:05 Raven262 joined #minetest-hub
16:22 sniper338 joined #minetest-hub
16:31 IhrFussel joined #minetest-hub
16:32 IhrFussel Hi guys, is there a better way to write this? https://pastebin.com/C17abiKX
16:34 Krock Hello. Yes, by using tabs.
16:35 IhrFussel I mean if there's a shorter way without so many conditions
16:35 Krock and you're calling obj:get_luaentity() three times
16:36 Krock if mobhp and modmhp and mobhp == mobmhp then
16:36 rubenwardy wow, nice code readability there :)
16:36 Krock rubenwardy, that's already been said
16:36 rubenwardy so sorry
16:37 Krock :P
16:37 Krock also: if mobsclose >= 4 and obj:get_luaentity() then
16:38 Krock respectively "and entity", to cache the returned value
16:39 Krock also checking for "not is_player" is not required if you check get_luaentity for being non-nil
16:39 IhrFussel Optimal now? https://pastebin.com/pQnWFb5S
16:39 IhrFussel Oh ok
16:42 Krock a bit shorter here: https://pastebin.com/raw/kqJuZyxQ
16:42 Krock *  if mobsclose >= 4 then  ->  if mobsclose >= 4 and ent then
16:44 IhrFussel Final version: https://pastebin.com/N4T92XNG
16:46 Krock I'd say that looks good.. test it.
16:47 IhrFussel Does it make a difference whether or not the most important condition part is the first? Like if I tell lua to first "if mobsclose >= 4 and ..." is it a bit faster?
16:49 Krock doesn't matter. reduce the C++ calls instead
16:49 rubenwardy do the least expensive first, in most cases
16:49 rubenwardy basically all languages do early exist
16:50 rubenwardy ie: in  `a and b`   if a is true, b is never evaluated
16:50 IhrFussel You mean or? xP
16:53 Krock either he meant "or" or "false"
16:57 Krock Also, I don't know about you guys but this looks like success in testing: https://i.imgur.com/gfaP2gj.png
17:05 longerstaff13 joined #minetest-hub
17:06 longerstaff13-m joined #minetest-hub
17:06 longerstaff13 joined #minetest-hub
17:11 loggingbot_ joined #minetest-hub
17:11 Topic for #minetest-hub is now Keep offtopic short | Avoid spam with /umode +R | http://hub.minetest.net/ | Logs: http://irc.minetest.net/minetest-hub/
17:15 Krock reee loggingbot_
17:29 paramat joined #minetest-hub
18:00 rdococ Reeeally
18:11 tumeninodes joined #minetest-hub
18:12 tumeninodes it seems carts now require airbags, thanks to "someone" riding the rails like a lunatic
18:16 tumeninodes https://forum.minetest.net/viewtopic.php?p=319172#p319172 caught me off guard and had me loling
18:17 tumeninodes actually, gives me an idea for a OnStar mod for carts... "CartStar"
18:27 sniper338 joined #minetest-hub
18:28 rdococ joined #minetest-hub
18:29 rdococ joined #minetest-hub
18:44 tumeninodes joined #minetest-hub
18:45 IhrFussel Can I make entities rotate to look direction when spawned?
18:46 IcyDiamond https://i.lunasqu.ee/Screenshot_18-05-20-21:46:15.png I updated my mod again in a while, added these silhouettes of the required components
18:48 IcyDiamond i might flip the x and y though
18:48 IcyDiamond makes more sense for tools
18:49 IhrFussel Is automatic_rotate what I'm looking for?
18:49 tumeninodes left #minetest-hub
18:49 paramat no
18:49 IhrFussel Or this automatic_face_movement_dir = 0.0,
18:50 paramat yes
18:50 paramat possibly
18:50 IhrFussel "^ Automatically set yaw to movement direction, offset in degrees,"
18:51 IhrFussel But the movement direction of the entity isn't automatically the one of the player I'm guessing
18:51 paramat indeed
18:52 paramat you could set their yaw to player yaw just after spawn, maybe
18:57 IcyDiamond https://i.lunasqu.ee/Screenshot_18-05-20-21:57:06.png have I mentioned that I hate formspecs?
18:59 IcyDiamond wait im just stupid
18:59 IcyDiamond still hate them tho
18:59 IcyDiamond XD
19:55 entuland_ joined #minetest-hub
20:07 Fixer IcyDiamond: everyone hates them
20:16 * Sokomine actually likes them to a degree but would very very much welcome improvements
20:29 Krock TIL "ricing" comes from the car culture https://www.reddit.com/r/unixporn/comments/7010zy/ <-- rubenwardy
20:54 rubenwardy cool
21:13 sniper570 joined #minetest-hub
21:18 Raven262 joined #minetest-hub
21:40 longerstaff13 o/
21:41 Raven262 o/
21:43 Krock o/
22:05 tumeninodes joined #minetest-hub
22:07 * tumeninodes is thinking about using .b3d s to make smoother action for doors and chests
22:22 longerstaff13 night o/
23:10 Sokomine joined #minetest-hub

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