Minetest logo

IRC log for #minetest, 2018-08-19

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

All times shown according to UTC.

Time Nick Message
00:05 paramat joined #minetest
00:05 Edgy1 joined #minetest
00:13 MarisaG left #minetest
00:14 MarisaG joined #minetest
00:40 VanessaE joined #minetest
00:42 Hirato joined #minetest
00:49 ANAND_ joined #minetest
02:53 Jericho joined #minetest
02:53 Jericho Is this the right place to ask for help with setting up the irc mod?
02:58 rubenwardy Yes
03:06 Jericho IS it really this hard to set up, or am I just missing something blatantly obvious
03:08 Jericho I've installed it to the mod folder using git, and updated it through the submodule after ensuring I had the right version of luasocket(5.1 for the mod) and set up all the settings through the minetest.config file thing in my .minetest directory, and I'm getting an error telling me I don't have the nick set up even though I do
03:08 Jericho I've been at this for two hours, I'm not getting it
03:17 ChimneySwift meaning a configuration issue or an issue with it communicating with irc?
03:20 Jericho No idea, I've removed it so I can do some more building
03:31 Copenhagen_Bram joined #minetest
03:33 librebob[m] is there a lamp or something in the base game
03:33 librebob[m] i can carry to see light
03:34 paramat joined #minetest
03:38 Tux[Qyou] joined #minetest
04:26 ChimneySwift librebob: not in the base game, there are mods which allow you to do that but light emitting entities aren't a thing yet, at least in the stable version
04:27 librebob[m] oh ok, thanks for the answer anyway
04:33 librebob[m] is there anyway to change a biome
04:33 librebob[m] like change the grass
04:42 librebob[m] also what's recommended requirements for a sever
04:44 ChimneySwift you can change the biomes with mods, settings, or texture packs. depending on that you want to change. and it really depends on what server. although someone who hosts one would probably be better to answer that than me lol
04:53 librebob[m] is there a recommended list of compatible mods
05:03 Sketch2 joined #minetest
05:06 librebob[m] why cant i register on minetest forums with a protonmail email
05:07 ChimneySwift most of the mods are compatible, they'll usually say something if they shouldn't be uses with other mods
05:10 Quiark I could use a flashlight too, lol
05:12 t3hyoshi librebob[m]: There is a list of recognized plugins on Minetest's "Customize" page. There are more, but the ones there are the most downloaded and used.
05:20 Scotty_Trees joined #minetest
05:27 librebob[m] cool i'll check it out
05:35 ANAND They're quite outdated as far as I know :)
05:37 librebob[m] oh damn
05:38 librebob[m] is tehre a recent list of like most popular mods and stuff
05:39 ANAND Not sure about that...
05:40 t3hyoshi Not to my knowledge. The Minetest forums is the place to go for this. I can recommend Mesecons and Digilines if you want electrical engineering.
05:41 ANAND The mods sub-forum should have a pinned topic with an up-to-date list of popular mods
05:41 ANAND the wiki too
05:42 frostsnow joined #minetest
05:48 ANAND_ joined #minetest
05:50 nowhereman_ joined #minetest
05:51 ANAND Here are a couple of pages on the wiki which seem to be recently updated:
05:51 ANAND https://wiki.minetest.net/Mods#Listing_server_mods
05:51 ANAND https://wiki.minetest.net/List_of_Mods
05:52 ANAND librebob[m]: ^
05:53 Jericho Can anyone walk me through the irc mod?
05:56 ANAND Jericho: Are you facing any specific problems with 'irc'?
05:56 Jericho All og it
05:57 ANAND heh
05:57 ANAND Please check your debug.txt and paste the errors in a pastebin, if possible :)
06:04 Jericho Let me get it reinstalled
06:04 YuGiOhJCJ joined #minetest
06:07 Jericho https://pastebin.com/fQYW5QaD
06:07 Jericho HOWEVER, the wiki says to place the settings in the minetest.conf
06:07 Jericho Which I do
06:08 ssieb joined #minetest
06:45 librebob[m] whats the best mod for skins
06:45 librebob[m] and also the best mod for armor/clothes
06:56 t3hyoshi I have no idea
06:56 t3hyoshi I'm still trying to get a map that isn't clay, tundra, and oceans
07:04 ANAND Jericho: Please don't install mods into the mods folder within minetest_game
07:04 ANAND or any other game, for that matter
07:05 Jericho Why...?
07:05 ANAND User-installed mods should go to <minetest_base_dir>/mods
07:05 ANAND The former is only for mods that come with that game itself
07:05 t3hyoshi Mods should be in a central folder for any/all games to use
07:06 Jericho Okay, but why
07:07 ChimneySwift because it's bad practice and makes it impossible to selectively enable and disable individual mods within the game
07:09 ANAND Please try again after moving it to <minetest>/mods
07:09 ANAND or ~/.minetest/mods in your case
07:12 Jericho Hpow do I enable/disable mods without a gui?
07:12 Jericho How*
07:13 t3hyoshi world.mt has the mod list, I believe
07:14 Jericho That's legit the only reason I had mods stored in the main dir
07:15 Jericho https://pastebin.com/CMEHWiUv
07:17 t3hyoshi > Required configuration option irc.nick missing.
07:17 t3hyoshi Check the config to see if it's set.
07:17 CWz joined #minetest
07:18 Jericho It is, should I send a pastebin of that portion?
07:18 t3hyoshi Please
07:19 Jericho https://pastebin.com/pbkrZpQ1
07:19 Jericho do I need to add quotation marks?
07:21 ANAND Simply add the following to minetest.conf: irc.nick = irc_nick
07:21 ANAND where irc_nick is the nick of the irc bot
07:21 t3hyoshi Or just remove the mt_ from the irc mod options
07:21 Jericho Awesome
07:22 ANAND yeah... why the mt_ prefix? o_O
07:22 Jericho Just following the wiki
07:22 t3hyoshi Not sure. The mt_ prefix isn't listed in the mod's readme
07:22 t3hyoshi https://github.com/minetest-mods/irc
07:22 ANAND Link to the wiki page, please
07:22 ANAND irc.<setting> works
07:22 ANAND mt_irc is incorrect
07:23 Jericho https://wiki.minetest.net/Mods/IRC
07:23 ANAND thanks, will edit it right away
07:23 Jericho And it works
07:24 Jericho Huh
07:24 ANAND Must be an outdated page
07:25 t3hyoshi More than likely.
07:26 Jericho Fantastic
07:27 t3hyoshi It's a common thing for wikis. AlephOne's own wiki on GitHub is out of date.
07:27 Krock joined #minetest
07:27 Jericho so I'm not completely stupid, just ignorant
07:28 Jericho I'll take it
07:28 Jericho Moving mods over from minetest main dir to user dir
07:28 Jericho Thanks for the world.mt thing
07:29 t3hyoshi We all are in one subject or another. You are welcome.
07:32 t3hyoshi Question, has the minetest package from the PPA been built with the ncurses interface for minetestserver?
07:33 Krock doubt that
07:33 Krock check it easily by installing it, then run minetestserver --version
07:34 t3hyoshi I'll have to try it once I'm home
07:34 Scotty_Trees joined #minetest
07:35 Jericho Linux ion general or a specific distro?
07:35 Krock nvm, it's not listed in --version
07:36 t3hyoshi Ubuntu
07:36 Jericho Sorry mate, on Fedora, couldn't tell ya
07:40 t3hyoshi I may just have to build the server on my servtop myself.
07:41 Jericho It honestly isn't that hard
07:42 t3hyoshi Looking at the readme for it, it's not. Just have to set a few flags for cmake. More than likely just going to build the server only and enable the terminal
07:42 Jericho My server is on an old hp running a stripped down Fedora install, purely cli
07:43 t3hyoshi Mine is an old Dell laptop running a stripped down Ubuntu install. CLI/TUI only. A GUI will only hinder resources.
07:44 Jericho I have GUI, but it's disabled, that way I have it if I need it, but it doesn't take up resources
07:44 Jericho I'm runnin on a pentium baby
07:45 t3hyoshi It's all about them pentiums, baby
07:53 ANAND Updated the "Configuration" section in https://wiki.minetest.net/Mods/IRC
07:57 Jericho joined #minetest
07:57 Jericho Happy someone got that refernce
08:06 Jericho Next question, why will my bot not answer commands sent via pm?
08:06 ANAND Check debug.txt again
08:06 ANAND That's what pointed out some errors to me
08:08 Jericho There's nothing
08:10 Jericho Would the bot not being identified cause an issue? I mean, it should be, but the directions were pretty unclear on how to set the irc identification up for it
08:10 Cornelia joined #minetest
08:11 ANAND Hmm...
08:11 ANAND Not being identified won't cause any issues
08:18 ChimneySwift joined #minetest
08:21 Jericho With all the spam bots, isn't it now required to login to send PMs?
08:23 ANAND Jericho, try adding irc.command_prefix = !
08:24 ANAND and run commands from the channel by prefixing them with !
08:24 ANAND If it still doesn't work, there's an internal error
08:25 Jericho I was right, it wasn't identifying correctly
08:27 ANAND Hmm
08:28 Jericho I feel pretty good, I fixed something by myself this time
08:28 ANAND :P
09:37 Sedricius joined #minetest
10:01 sy joined #minetest
10:01 sy man i remember when the repo cloned instantly
10:01 sy y'alls have been busy
10:02 ANAND lol
10:20 illwieckz joined #minetest
10:31 sy Having some trouble compiling minetest with leveldb on void musl http://ix.io/1kCv
10:33 longerstaff13-m joined #minetest
10:34 sy i actually just need to convert a world to sqlite, can someone do it for me? c:
10:34 sfan5 c++11 mismatch between mt and libleveldb
10:36 sy oh
10:37 Fixer joined #minetest
10:42 Fulgen joined #minetest
11:48 Tux[Qyou] joined #minetest
12:12 Jordach joined #minetest
12:23 nowhereman_ joined #minetest
12:51 Beton joined #minetest
13:02 tune joined #minetest
13:09 ChimneySwift joined #minetest
13:49 loveaabb joined #minetest
13:50 loveaabb meow!
13:55 Cornelia joined #minetest
14:05 loveaabb hi...?
14:06 sfan5 hello
14:06 loveaabb left #minetest
14:08 Krock joined #minetest
14:17 Edgy1 joined #minetest
14:30 longerstaff13-m joined #minetest
14:59 Krock joined #minetest
15:05 Tux[Qyou] joined #minetest
15:11 ANAND joined #minetest
15:15 ANAND_ joined #minetest
15:32 RedTomato joined #minetest
15:57 Scotty_Trees joined #minetest
16:22 Fulgen joined #minetest
16:25 freelikegnu joined #minetest
16:28 luizrpgluiz joined #minetest
16:31 luizrpgluiz Can someone help me? I am trying to learn how to do a mapgen for singlenode and wanted to replace all the air with another block of the LUA minetest
16:32 opal joined #minetest
16:37 Krock it's Lua
16:38 Krock look at other Lua mapgen mods
16:39 luizrpgluiz :)
16:41 luizrpgluiz Krock: I'm  reading Rubenwardy's book on his site and I'm not finding the code for  the whole map, but in area, any hint that I can use to replace the air  with stone or water?
16:42 nachtschatten joined #minetest
16:43 nachtschatten Hello!
16:43 luizrpgluiz nachtschatten: Hi
16:44 paramat joined #minetest
16:44 paramat set the singelnode alias to the node you want ..
16:45 paramat in a mod run: 'minetest.register_alias("mapgen_singlenode", "default:stone")'
16:45 Krock luizrpgluiz: because you can only generate an area, but not the entire map
16:47 paramat setting the alias will make the whole world that node instead of air
16:49 ANAND It should be noted that the chunks that have already been generated will remain untouched
16:50 nachtschatten hm, I've made first steps in scripting. Maybe someone can point me in the right direction? I'm trying to create a node that takes really long to mine, but doesn't lose its progress when you stop. Essentially, it should stay cracked so you can come back later. And additionally, I want something to happen on each "progress step".
16:51 nachtschatten So far, I've tried this with swapping the node in on_dig or after_dig. That kinda works, but the moment the node is dug it disappiers for the fraction of a second instead of getting replaced immediately. That's kind of weird, and doesn't happen with the furnace, for example.
16:51 paramat use 'dig prediction'
16:52 nachtschatten I thought, maybe this is because of the dig prediction, but setting node_dig_prediction to the name of the next node doesn't seem to make a difference.
16:52 nachtschatten Maybe I'm not using it the right way
16:54 nachtschatten (I also set node_dig_prediction to some standard node name, but that didn't solve the short disappearance either)
17:02 Krock nachtschatten: maybe it's a 5.0-dev feature
17:03 nachtschatten Good thinking. I'll try it on 5.0-dev.
17:05 Krock https://github.com/minetest/minetest/blob/stable-0.4/doc/lua_api.txt#L4148 node_placement_prediction exists in 0.4.17, but not dig
17:08 nachtschatten Yeah, on 5.0-dev the node doesn't disappear for a moment. Beautiful, thanks!
17:08 nachtschatten I don't mind using the dev version.
17:09 Krock great :)
17:09 nachtschatten So, the way I'm doing it, is there a better way? Something that doesn't need several node definitions just to represent "digging progress"?
17:10 paramat i can't think of a better way
17:10 Krock since the node textures cannot be changed in-game it's only possible by registering multiple for the steps
17:11 nachtschatten ok
17:13 luizrpgluiz tanks devs,i am great a mapgen singlenode :)
17:13 paramat i need to update mapgen alias docs to include singlenode ..
17:13 Krock what do you want to alias in singlenode? ignore and air?
17:15 nachtschatten ah, hehe, before I forget. For the "progress nodes" I used [crack:N:P to change the texture. But on the wiki it says it shouldn't be used in mods. Why is that?
17:16 Peppy joined #minetest
17:18 nachtschatten and is there a way to disable the standard crack animation?
17:18 nachtschatten (just for my custom nodes)
17:22 Krock doubt that
17:22 luizrpgluiz left #minetest
17:26 est31 joined #minetest
17:31 nachtschatten too bad.
17:38 diegojsrw joined #minetest
17:53 Andrey01 joined #minetest
18:03 Andrey01 joined #minetest
18:03 Andrey01 hi, why can i not call player:get_hp() method? (5.0.0 version)
18:04 Krock you can.
18:06 Andrey01 attempt to call method 'get_hp' (a nil value)
18:06 MinetestBot [git] paramat -> minetest/minetest: Lua_api.txt: Update mapgen alias docs, add Singlenode use (#7659) 3cc25b7 https://git.io/fAvEB (2018-08-19T18:04:17Z)
18:07 Krock Andrey01: "player" is nil
18:07 Andrey01 why?
18:07 Krock or rather: "player" is a table which doesn't contain "get_hp"
18:38 YuGiOhJCJ joined #minetest
19:12 Andrey01 there is a strange error here when following function is being called:
19:12 Andrey01 function misc.max_value_table(table)
19:12 Andrey01 local max_number = 0
19:12 Andrey01 minetest.debug(dump(table))
19:12 Andrey01 for _, value in ipairs(table) do
19:12 Andrey01 if type(value) == "number" then
19:13 Andrey01 if max_number < value then
19:13 Andrey01 max_number = max_number + value
19:13 Andrey01 end
19:13 Andrey01 end
19:13 Andrey01 end
19:13 Andrey01 return max_number
19:13 Krock Andrey01: wth are you doing? paste it here and send the link instead http://paste.debian.net/
19:13 Andrey01 end
19:14 Andrey01 ^^ above my little code
19:14 Andrey01 what to post so little code there for?
19:14 sfan5 12 lines are not little code
19:14 Krock generally post anything above 3 lines to a paste service
19:15 Andrey01 well, minetest.debug() returns table
19:16 Andrey01 but however ipairs() can not run "table" it says "table" is nil. how can it be so?
19:16 Krock table is a table, yes.
19:16 Andrey01 bad argument #1 to 'ipairs' (table expected, got nil)
19:16 ShadowBot https://github.com/minetest/minetest/issues/1 -- GlowStone code by anonymousAwesome
19:17 Krock rename your function argument to "input" or "data"
19:17 Andrey01 ok
19:17 Krock "table" is a name used by the builtin Lua functions
19:18 Andrey01 the same error is called if use "input"
19:20 Krock paste that error to a paste service
19:22 Andrey01 i`ve already written above what is a error happened
19:22 Krock I don't see any error message
19:23 Krock is it just "bad argument #1 to 'ipairs' (table expected, got nil)" and nothing more relevant?
19:23 ShadowBot https://github.com/minetest/minetest/issues/1 -- GlowStone code by anonymousAwesome
19:23 Krock stfu ShadowBot
19:26 Andrey01 Krock: no
19:32 Andrey01 if i post my error message entirely, you need to read my huge code is split up into few files because all parts and those files with my code are relative
19:35 Krock the function looks good. add  assert(type(input) == "table", "This function expects table but got " .. type(input)) and fix the places where this function is called
19:35 Krock and change ipairs to pairs if you have any tables
19:37 Andrey01 ok
19:46 Andrey01 i tried to make so: minetest.debug(assert(type(input) == "table", "This function expects table but got " .. type(input)) it writes only true. but doesn`t write error message if false
19:48 Andrey01 or does it write in minetest?
20:03 nachtschatten Good night!
20:03 Copenhagen_Bram joined #minetest
20:11 Fixer joined #minetest
20:36 Copenhagen_Bram joined #minetest
20:43 nowhereman_ joined #minetest
21:09 ChimneySwift joined #minetest
21:31 luizrpgluiz joined #minetest
21:31 luizrpgluiz left #minetest
22:05 longerstaff13-m joined #minetest
22:24 ssieb joined #minetest
22:53 Edgy1 joined #minetest
23:10 Tux[Qyou] joined #minetest
23:24 Hawk777 joined #minetest
23:43 Copenhagen_Bram joined #minetest
23:44 NathanS21 joined #minetest

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