Minetest logo

IRC log for #minetest, 2019-08-14

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

All times shown according to UTC.

Time Nick Message
00:19 riff-IRC joined #minetest
00:35 gorilla joined #minetest
01:27 archfan7411 joined #minetest
01:28 archfan7411 Hello there; I've been having a weird issue with minetest.request_http_api() where it seems to return nil.
01:30 Nezrok joined #minetest
01:44 Cornelia joined #minetest
01:56 norkle joined #minetest
03:04 norkle joined #minetest
03:08 testman joined #minetest
03:10 milkt joined #minetest
03:11 comrad joined #minetest
03:11 r_n_d joined #minetest
03:46 Thomas-S joined #minetest
03:46 Thomas-S joined #minetest
03:47 testman joined #minetest
03:58 FennecCode joined #minetest
04:13 comrad joined #minetest
04:15 gorilla joined #minetest
04:19 Pie-jacker875 joined #minetest
04:28 Pie-jacker875 joined #minetest
04:30 Pie-jacker875 left #minetest
04:30 nri__ joined #minetest
04:54 amenji joined #minetest
05:22 jas_ !mod
05:22 MinetestBot jas_: Pots, Crates and Chess [gifts] by Bas080 - https://forum.minetest.net/viewtopic.php?t=4550
06:13 gorilla Chess?
06:19 frostsnow lllI1I: You can set 'static_spawnpoint' in 'minetest.conf', but then you might spawn in a node.
06:20 ssieb joined #minetest
06:31 Megaf joined #minetest
06:56 comrad joined #minetest
07:09 CWz_ joined #minetest
07:20 CWz_ joined #minetest
07:21 CWz_ joined #minetest
08:03 pyrollo_ joined #minetest
08:10 MrChiantos joined #minetest
08:59 nepugia joined #minetest
09:24 proller joined #minetest
09:24 milkt joined #minetest
09:53 Volgaar joined #minetest
09:56 DS-minetest joined #minetest
10:18 est31 joined #minetest
11:12 riff-IRC joined #minetest
11:12 majochup joined #minetest
11:17 MinetestBot [git] paly2 -> minetest/minetest: Add function `minetest.read_schematic` b206575 https://git.io/fj5Fh (2019-08-14T11:15:41Z)
11:21 ensonic joined #minetest
11:29 User6 joined #minetest
11:30 User6 left #minetest
11:32 Fixer joined #minetest
11:42 User6_ joined #minetest
11:42 User6_ left #minetest
11:56 Taoki joined #minetest
11:58 majochup_ joined #minetest
12:13 Cornelia joined #minetest
12:20 red-045 joined #minetest
13:04 lllI1I frostsnow: thanks for the start, anyway; maybe I could have a mod which forces a cave at the 0,0,0 mark somehow
13:30 mransom joined #minetest
13:30 pauloue joined #minetest
13:31 norkle joined #minetest
13:36 Cornelia joined #minetest
13:44 amenji joined #minetest
13:57 User6 joined #minetest
13:57 User6 left #minetest
14:03 DS-minetest I've got s problem with the forum
14:06 DS-minetest when I try making a new topic in WIP mods, it keeps saying (i hope, this is not too long):
14:06 DS-minetest General Error
14:06 DS-minetest SQL ERROR [ mysqli ]
14:06 DS-minetest Incorrect string value: '\xF0\x9F\x8E\x89\x0A\x0A...' for column 'post_text' at row 1 [1366]
14:06 DS-minetest An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
14:08 rubenwardy you have unsupported unicode in the post
14:08 rubenwardy for example, an emoji
14:09 DS-minetest ahh
14:09 DS-minetest ooh
14:09 DS-minetest thanks!
14:10 DS-minetest after removing the 🎉, it worked
14:13 MrChiantos don't use utf8 ?
14:14 calcul0n joined #minetest
14:19 rubenwardy MrChiantos: phpbb sucks
14:23 FrostRanger joined #minetest
14:31 Copenhagen_Bram joined #minetest
14:47 Tux[Qyou] joined #minetest
14:58 lllI1I found a use of `minetest.after(2.0, cb, player)` in games/minimal/mods/default in the function at line 18
14:59 fruitsnack joined #minetest
14:59 lllI1I local cb = function(player) minetest.chat_send_player(player:get_player_name(), "This is...")
15:00 DS-minetest this can indeed ba a problem
15:00 lllI1I I've read every which way this will cause a crash if the player logs out before it fires
15:00 DS-minetest you could make a PR
15:01 lllI1I I don't think I have a github
15:01 DS-minetest (btw. the comment is wrong too)
15:01 lllI1I could I write a patch and give it to someone else with which to make a PR
15:01 Megaf joined #minetest
15:01 lllI1I yeah I was confused by the comment but less of an issue
15:01 DS-minetest I could open a PR for you if you want :)
15:01 lllI1I appreciate it
15:02 DS-minetest (but I've never done something like this before)
15:02 calcul0n joined #minetest
15:02 MrChiantos you don't need github for commit or pr, only git ^^
15:02 lllI1I how do I do a PR without signing up for github?
15:02 MrChiantos if you have git, you can commit on github, gitlab or other ;)
15:03 MrChiantos use git client or github client
15:03 MrChiantos clone and pr ;)
15:03 DS-minetest but you can't make a fork on github or press on that new pr button
15:03 MrChiantos you can use local git
15:03 MrChiantos and pr on github ;)
15:04 lllI1I uhhh I might need a bit of handholding for that
15:04 lllI1I didn't know PR's were a part of git proper
15:04 lllI1I oh I see I see
15:05 lllI1I man git is your friend
15:05 sfan5 what's wrong with that piece of code you found?
15:05 lllI1I sfan5: crash if I join and leave immediately
15:05 DS-minetest https://github.com/minetest/minetest/blob/b2065756cf9c90d493846a559587e4acec4a7851/games/minimal/mods/default/init.lua#L18
15:05 sfan5 oh
15:11 MrChiantos I'm watching because I do not see anything wrong with this piece of code.
15:11 MrChiantos maybe bom problem
15:12 rubenwardy common mistake number 1: https://rubenwardy.com/minetest_modding_book/en/quality/common_mistakes.html#never-store-objectrefs-ie-players-or-entities
15:12 lllI1I I wrote up a change but uhh
15:13 sfan5 what is the alternative if you want to keep track of an entity, though?
15:13 lllI1I waiting to push it to a friend's private repo because not sure if he'd appreciate it being linked anywhere
15:13 lllI1I sfan5: I'd go with saving the name, then checking to see if they're still online
15:14 rubenwardy Minetest doesn't offer an alternative
15:14 rubenwardy you *can* store them if you're careful
15:15 MrChiantos minimal is only for test , this is not really for use ;)
15:15 rubenwardy The formspecs chapter has been rewritten, and covers a lot more
15:15 rubenwardy !book formspec
15:15 MinetestBot rubenwardy: Formspecs - https://rubenwardy.com/minetest_modding_book//en/players/formspecs.html
15:15 lllI1I I'm using it to build a simple game off of
15:15 rubenwardy minimal isn't designed to be used as a base
15:16 rubenwardy it's minimal *development test*
15:16 rubenwardy it contains loads of random stuff and test utilities
15:16 proller joined #minetest
15:16 MrChiantos for build a simple game, you can use minetest game (mtg)
15:16 lllI1I yeah I'm throwing out some of the other mods
15:17 lllI1I this is more for the uhh beginnings
15:17 rubenwardy you should also rename default to something else if you're not compatible with MTG default
15:17 rubenwardy I should write a PR to do that for minimal
15:17 lllI1I see how the concept plays before going further
15:18 lllI1I should the mod name be something like just the game name or "[gamename]_default" or something like that?
15:18 lllI1I or _base etc
15:18 rubenwardy well, probably
15:18 rubenwardy yeah
15:19 rubenwardy I'd do <game>_base with only the essential mapgen stuff
15:19 rubenwardy then have a mod for furnaces, and chests, etc
15:19 rubenwardy makes managing features a little easier imo
15:19 MrChiantos lua is really cool for modding ^^
15:31 Volgaar joined #minetest
15:50 nepugia joined #minetest
16:19 Krock joined #minetest
16:20 majochup joined #minetest
16:53 Player-2 joined #minetest
17:08 FreeFull joined #minetest
17:18 Copenhagen_Bram Why doesn't flowing water push the player around yet?
17:18 sfan5 pretty sure there was a PR
17:20 Copenhagen_Bram huh
17:20 Copenhagen_Bram knockback from mob attacks would be neat too
17:24 * DS-minetest made a branch with pushing water some time ago
17:25 pauloue lllI1I: I'm not getting that crash in minimal
17:25 pauloue obejctref methods just do nothing and return nil or empty string if there is not object, so it should be fine
17:25 lllI1I you'd have to disconnect within 2 seconds for it to trigger
17:25 pauloue I did that
17:25 lllI1I also I didn't test it so I'm not 100% on it
17:27 lllI1I I gotta head out soon though so
17:33 fruitsnack joined #minetest
17:36 orwell96_mt joined #minetest
17:42 fruitsnack joined #minetest
17:47 tacotexmex Hey lllI1I, check out https://github.com/minetest-game-mods if you only want some of the MTG mods (for use as submodules etc)
17:47 pauloue joined #minetest
18:09 fruitsnack joined #minetest
18:18 Lia joined #minetest
18:20 Tux[Qyou] joined #minetest
18:39 pauloue joined #minetest
18:50 Cornelia joined #minetest
19:03 tomraceror joined #minetest
19:09 homthack joined #minetest
19:13 DarkRacerTrooper joined #minetest
19:24 est31 joined #minetest
19:26 fruitsnack joined #minetest
19:29 milkt joined #minetest
19:36 Doomsdayrs joined #minetest
19:36 Doomsdayrs Hello!
19:37 Volgaar joined #minetest
19:38 Wuzzy joined #minetest
20:03 Fixer joined #minetest
20:13 Nezrok joined #minetest
20:18 ssieb joined #minetest
20:21 proller joined #minetest
20:28 Volgaar joined #minetest
20:28 Rafi59 joined #minetest
20:31 Fixer joined #minetest
20:48 nowhere_man joined #minetest
21:07 Fixer joined #minetest
21:08 Volgaar joined #minetest
21:20 pauloue joined #minetest
21:25 majochup joined #minetest
21:31 FennecCode joined #minetest
21:37 MinetestBot [git] DS-Minetest -> minetest/minetest: Fix undeclared global warning because of _ (#8798) 082066e https://git.io/fjdUv (2019-08-14T21:35:47Z)
21:37 homthack joined #minetest
21:39 homthack1 joined #minetest
21:42 FennecCode joined #minetest
22:05 riff-IRC joined #minetest
22:14 proller joined #minetest
22:48 pauloue joined #minetest
22:51 Jordach joined #minetest
23:30 mzhao joined #minetest
23:30 Lia joined #minetest
23:34 catspar joined #minetest
23:44 nowhere_man joined #minetest
23:52 catspar joined #minetest
23:52 catspar joined #minetest
23:53 cdde joined #minetest
23:56 nri joined #minetest

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