Minetest logo

IRC log for #minetest, 2015-11-16

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

All times shown according to UTC.

Time Nick Message
00:01 Jousway joined #minetest
00:02 tim_flatus left #minetest
00:02 tim_flatus joined #minetest
00:03 Viper168 joined #minetest
00:03 Supertanker2 joined #minetest
00:10 luizrpgluiz hoodedice: I've read the lua.api but he did not talk like that generates the tree done in treedef
00:11 deltib_ joined #minetest
00:16 swift110-phone joined #minetest
00:16 phantombeta joined #minetest
00:25 phantombeta joined #minetest
00:25 rubenwardy This 3D voxel artist is pretty interesting: https://twitter.com/Sir_carma
00:25 rubenwardy and pretty
00:29 luizrpgluiz rubenwardy: treedef it is possible to generate the map using vector?
00:29 rubenwardy I don't know anything about treedef
00:30 rubenwardy Paramat is the one to talk to, if he's willing
00:30 luizrpgluiz rubenwardy: l system tree?
00:30 rubenwardy I've never used that feature
00:31 rubenwardy !dev l-system
00:31 MinetestBot No such page.
00:31 phantombeta joined #minetest
00:31 rubenwardy Have you read http://dev.minetest.net/Intr​oduction_to_L-system_trees?
00:31 rubenwardy and http://dev.minetest.net/L-system_tree_examples
00:33 luizrpgluiz rubenwardy:I've read them, the problem is to spawn during the generation of the world
00:39 crazyR joined #minetest
00:40 swift110-phone joined #minetest
00:45 rubenwardy I'm applying to an Internship rn 8D
00:56 kaeza joined #minetest
00:57 kaeza o/
00:58 * VanessaE peeks in
01:08 luizrpgluiz left #minetest
01:11 jin_xi joined #minetest
01:27 roboman2444 joined #minetest
01:30 swift110-phone joined #minetest
01:37 greeter joined #minetest
01:38 hoodedice joined #minetest
01:38 Terusthebird joined #minetest
01:39 exoplanet joined #minetest
01:42 swift110-phone joined #minetest
01:46 Jousway joined #minetest
01:46 GrimKriegor joined #minetest
01:50 Supertanker2 joined #minetest
02:32 Sokomine ok :-) mg_villages released now. i've finally written the documentation (for now) :-)
02:32 * Sokomine looks a bit relaxed after that work
02:38 tim_flatus Good work Sokomine, I should have a proper look at it.
02:38 * tim_flatus is watching snow fall currently
02:40 Sokomine rl or mt?
02:40 tim_flatus mt
02:43 tim_flatus I just reinstated settling in the latest version of snowdrift - seems fit for purpose.
02:44 tim_flatus Don't really understand why paramat took it out.
02:45 swift110-phone joined #minetest
02:45 tim_flatus Perfectionism probably
02:45 Sokomine i had some problems with some versions of snow and rain. some where just too much for my poor igp
02:45 Sokomine not sure which approach snowdrift uses now
02:46 Jousway joined #minetest
02:48 tim_flatus It's fine in singleplayer - using add_node is suboptimal, but it works.
02:51 tim_flatus Now I'll see if I can get it melt gracefully
02:57 Sokomine hmm. melting is a bit tricky. that usually leads to further problems. my villages use a modified version of torches so that they do not melt the snow around them
02:58 Sokomine but if you like winter...don't forget to use my moresnow mod. mauvebics 4seasons mod was also great - at least in singleplayer
02:59 tim_flatus I'll check them out
03:00 tim_flatus My main concern is not to have too many abms running at once
03:02 tim_flatus Particularly ones that do area checks
03:06 tim_flatus You know all the images are broken on the moresnow forum page Sokomine?
03:13 Sokomine grr. image hosters just tend to disappear :-(
03:14 Sokomine this time, i've done the documentation for mg_villages on github directly. all image hosters i've used before for mod documentation did disappear. hope no one will blame me should github disappear as well :-/
03:19 tim_flatus If github disappears ... game over. Or at least we all have to move :-)
03:38 DFeniks joined #minetest
03:43 DFeniks joined #minetest
03:49 swift110-phone Hey all
04:57 GunshipPenguin joined #minetest
05:13 Jousway joined #minetest
05:16 zat joined #minetest
05:37 Jousway joined #minetest
06:25 Jousway joined #minetest
06:26 werwerwer joined #minetest
06:27 fling Don't I need irrlicht for a dedicated server?
06:28 Lunatrius` joined #minetest
06:33 DMackey- joined #minetest
06:35 meldrian joined #minetest
06:36 fling I don't…
06:44 Sur3 joined #minetest
06:50 CWz joined #minetest
06:55 Ingar joined #minetest
07:11 ShadowNinja joined #minetest
07:13 TacticalAcorn_ joined #minetest
07:22 fling irrlicht wants me to build 46 deps
07:22 fling Is not it possible to avoid?
07:26 swift110-phone joined #minetest
07:31 swift110-phone Hey
07:38 enricom joined #minetest
07:41 greenman__ joined #minetest
07:42 Telesight joined #minetest
08:01 Jousway joined #minetest
08:02 Obani joined #minetest
08:03 Viper168_ joined #minetest
08:13 fling swift110-phone: hello.
08:17 greenman__ left #minetest
08:32 Trustable joined #minetest
08:38 nrzkt joined #minetest
08:39 knobo1 joined #minetest
08:39 aheinecke joined #minetest
09:01 Yepoleb_ joined #minetest
09:07 theTroy joined #minetest
09:11 jin_xi joined #minetest
09:31 kattsmisk joined #minetest
09:43 meldrian joined #minetest
10:03 JamesTait joined #minetest
10:03 JamesTait Good morning all; happy Monday, and happy Button Day! 😃
10:34 SylvieLorxu joined #minetest
11:12 phantombeta joined #minetest
11:16 technics joined #minetest
11:24 who_wants_some joined #minetest
11:27 ploopkazoo joined #minetest
11:27 technics huhu :) is there "only" the irc mod or is it also possible to connect to xmpp for example some how?
11:42 knobo1 joined #minetest
12:01 who_wants_some maybe by using irc 2 jabber gate
12:05 jin_xi joined #minetest
12:19 Calinou joined #minetest
12:23 Calinou https://forum.minetest.net/viewtopic.ph​p?f=17&t=13575&p=198243#p198243
12:23 Calinou :(
12:23 Calinou 3 iterations, and still very close to the original
12:35 technics who_wants_some will try that, if there arent another solution...just installed the irc mod now...
12:43 behalebabo joined #minetest
12:54 Out`Of`Control joined #minetest
13:16 amadin joined #minetest
13:17 amadin Hi all, i can't migrate to leveldb from mysql, whats wrong?
13:18 amadin minetestserver --migrate leveldb --world /home/minetes/minetest/worlds/world 2015-11-16 16:08:12: ERROR[Main]: Cannot read world.mt!
13:19 amadin and in world.mt all mods are turn off now (was on)
13:27 tim_flatus joined #minetest
13:30 tim_flatus I'm working on mapgen again, still trying to understand perlin noise better. Mostly it is painfully slow trial and error. :(
13:31 FreeFull joined #minetest
13:31 tim_flatus I'm still confused about how offset and scale work - and how that relates to spread. Does scale mutiply the result and then the offset applied?
13:31 tim_flatus How would I find out?
13:32 tim_flatus Mostly I want to get a more varied density for decoration placement, so plants clump together more with bigger spaces in between
13:34 tim_flatus It's hard to know even where the best place to ask this question is, or where to find information. I have googled "perlin noise" enough to make my eyes bleed, what I need to know about is the minetest implementation.
13:34 tim_flatus I guess I'm talking to air right now :/
13:37 tim_flatus I'll post this under modding questions on the forum
13:38 unclemarc joined #minetest
13:51 Darcidride joined #minetest
13:54 SylvieLorxu joined #minetest
14:06 Jousway joined #minetest
14:36 zat joined #minetest
14:37 STHGOM joined #minetest
14:41 tim_flatus https://forum.minetest.net/viewtopic.p​hp?f=7&t=9215&p=198262#p198262
15:04 crazyR joined #minetest
15:07 Jousway joined #minetest
15:17 JohnnyComeL8ly joined #minetest
15:18 JohnnyComeL8ly joined #minetest
15:19 LazyJ joined #minetest
15:25 JohnnyComeL8ly Hello, y'all.
15:39 thePalindrome Morning
15:40 tim_flatus Afternoon
15:47 zupoman joined #minetest
15:47 JohnnyComeL8ly Yes, it is morning... I should have said so.
15:48 tim_flatus Being an international forum, it's all relative ;-)
15:48 JohnnyComeL8ly I know, but I wanted to poke you a tad. ;-)
15:49 iamrohit7 joined #minetest
15:50 JohnnyComeL8ly Btw, does anybody know about how much freelikegnu *loves* Windos? ;-)
15:50 iamrohit7 JohnnyComeL8ly: yes, 0%.
15:50 tim_flatus I can guess
15:51 JohnnyComeL8ly Yeah, I saw his name in the list and I guessed 0% too.
15:52 Darcidride joined #minetest
15:53 tim_flatus Nor is he in the least like that dreadful haartebeeste
15:54 JohnnyComeL8ly Does he whine about how there are server restrictions which GNU doesn't place on people?  (I've heard that before from another dude, I think.)
15:55 tim_flatus Are you trying to start a fight JohnnyComeL8ly? Please don't bother.
15:55 JohnnyComeL8ly server restrictions = server admin/owner restrictions (thinks like cussing being disallowed.)
15:56 JohnnyComeL8ly tim_flatus: I wasn't trying to start a fight, sorry if it came/comes across that way.
15:57 tim_flatus As minetest is open source, this doesn't really come up.
15:57 Darcidride joined #minetest
15:58 JohnnyComeL8ly I did on Linuxgaming... that's why I thought it was a possibility.
15:59 JohnnyComeL8ly Enough said, I suppose.
16:01 Xenoth joined #minetest
16:05 Sokomine er...where the images on imgrush saved and are they offered elsewhere now? i don't remember :-( maybe i ought to put the entire documentation up on github instead of on the forum...
16:08 tim_flatus Or as well as ...
16:08 tim_flatus I've taken to self-hosting images
16:08 thePalindrome is there a "who's who" page?
16:09 tim_flatus for what thePalindrome? The dev team?
16:09 thePalindrome that and irc/forum
16:10 tim_flatus Like this? http://www.minetest.net/credits/
16:10 Obani joined #minetest
16:10 Sokomine that'd be more safe. but then i'd need a domain for it, and a domain requires revealing my real name, which is not very helpful to anyone and could just be abused
16:11 est31 joined #minetest
16:11 fling verb
16:12 thePalindrome there is who is guard though
16:12 Sokomine hm, yes, and that costs extra?
16:13 thePalindrome I think $12 a year except the first
16:13 thePalindrome with namecheap at least
16:13 Sokomine hmm. sounds reasonable...webhosting as such got pretty cheap. still...it seems so exaggerated
16:14 thePalindrome I could help I guess
16:14 thePalindrome Just need to set up an upload system
16:14 Viper168 joined #minetest
16:14 Sokomine hmm. and then your webspace will disappear next? :-/
16:15 thePalindrome touche
16:15 thePalindrome what about the minetest server?
16:15 Sokomine maybe i really ought to use github more for that. at least that's where the code is hosted...hosting the documentation there as well sounds reasonable....
16:16 JohnnyComeL8ly Not to mention that people like VZW (ISP) firewall you so that you can't have incoming connections.... You pay for that "added" functionality.
16:16 thePalindrome I'd say so. I see a lot of doc/ on github
16:16 thePalindrome I have a server
16:17 tim_flatus It is reasonable. I think everyone should actually use the github wiki facility, even if just to mirror the docs. I usually look and am frequently disappointed.
16:17 Sokomine JohnnyComeL8ly: well, at least i havn't got that problem. i could host a server here. except that the upload is too small to actually do so
16:18 Sokomine hm, yes, that wiki system on github seems quite practical anyway
16:18 Sokomine now i'll have to locate all those lost textures *again* :-//
16:18 tim_flatus It provides a 'one stop shop' :-)
16:18 JohnnyComeL8ly Figuratively, the ISPs put you on a stool and surround you with lava....
16:20 thePalindrome There we go, on a keyboard now
16:22 Sokomine some try. i'm quite satisfied with my isp. it's a slow connection, but they do a good job. calling them in the rare ocassion when there's some support needed ended up in contact with people who knew their job. they where friendly and helpful. that's why i still stick to that slow connection instead of switching to an ultra-fast one where existing customers are considered to be an annoyance at best
16:24 tim_flatus JohnnyComeL8ly: you have to shop around. I have hosting and ISP that don't do that.
16:25 tim_flatus And a fibre optic connection :-)
16:26 * thePalindrome has fiber at home
16:29 JohnnyComeL8ly tim_flatus: Lemme guess, you live in the city?
16:29 thePalindrome nope, suburban boy
16:29 alket joined #minetest
16:30 tim_flatus JohnnyComeL8ly: nope, the styx
16:30 thePalindrome Oh wait, that question wasn't for me :P
16:30 JohnnyComeL8ly How in the world did you get fiber there?
16:30 tim_flatus ??? I signed up for it.
16:30 JohnnyComeL8ly thePalindrome: That's ok, I wanted to ask you to, but you saved me the trouble.
16:31 JohnnyComeL8ly tim_flatus: Yeah, yeah....
16:31 tim_flatus Most places with a telephone exchange have fibre optic over here. I mean, possibly not in the Orkneys ...
16:31 JohnnyComeL8ly You signed up for it, but I've not heard of anybody "in the styx" getting fiber.
16:32 tim_flatus You live in a backward country clearly :D
16:32 JohnnyComeL8ly USA?
16:32 JohnnyComeL8ly I'd agree.
16:32 * tim_flatus pokes JohnnyComeL8ly back
16:32 JohnnyComeL8ly :-P
16:33 JohnnyComeL8ly No, seriously, I'm near Dayton TX.
16:35 tim_flatus I guess it's much easier to wire up a small country
16:36 JohnnyComeL8ly Yeah. :-(
16:36 thePalindrome Texas is the best country, no? ;)
16:36 JohnnyComeL8ly Amen!
16:37 * thePalindrome is in MormonLand
16:37 JohnnyComeL8ly In some ways...  in someways not.  They didn't go far enough with some freedoms.
16:37 tim_flatus LoL
16:37 JohnnyComeL8ly thePalindrome: Utah?
16:37 JohnnyComeL8ly I'm forgetting....
16:37 thePalindrome Yup
16:39 tim_flatus The place that produced Janis Joplin must have some redeeming features
16:39 thePalindrome ?
16:40 JohnnyComeL8ly ? tim?
16:40 tim_flatus She was born in Port Arthur
16:41 tim_flatus No I wasn't talking about Utah :D
16:41 thePalindrome Wisconsin?
16:41 thePalindrome :P
16:41 thePalindrome Utah has Ted Bundy, so that's something :P
16:43 JohnnyComeL8ly tim_flatus: I just looked her up... she is rather a mess.
16:43 tim_flatus was
16:43 JohnnyComeL8ly Yes, I know she's dead.
16:43 tim_flatus Most creative geniuses are ...
16:44 JohnnyComeL8ly But, all things considered... she's in bad shape.
16:44 tim_flatus So was Mozart
16:47 Amaz joined #minetest
16:48 JohnnyComeL8ly She seems to have been on acid and played too much bass, thereby making a brilliant reaction....
16:49 tim_flatus I think it was the smack and alcohol that really did her in ...
16:50 MinetestBot [git] est31 -> minetest/minetest: Android: hardcode irrlicht revision, update other dependencies 2f58e4d http://git.io/v4lDY (2015-11-16T17:33:01+01:00)
16:55 tim_flatus Back to making noise ... of the Perlin kind ...
16:56 luizrpgluiz joined #minetest
16:56 luizrpgluiz hi
16:56 * thePalindrome should work on his mod
16:56 luizrpgluiz thePalindrome: :)
16:57 thePalindrome Alas, I'm missing a bunch of event handlers that I really want
16:57 luizrpgluiz thePalindrome: what kind of mod?
16:57 thePalindrome Like onRightClick or onDamageEntity
16:57 thePalindrome Necromancy
16:57 thePalindrome Tried this in mc years ago
16:57 thePalindrome kept losing steam
16:57 thePalindrome 1.8 made me lose hope
16:59 luizrpgluiz thePalindrome: then understand programming in java?   because minetest uses C ++ at its main programming and use LUA for mods
17:00 hmmmm joined #minetest
17:00 thePalindrome I can program in a bunch of languages, if that's what you're asking
17:02 luizrpgluiz thePalindrome: you would be welcome to help with updates and new features and bug fixes for Minetest
17:02 thePalindrome That's what I was planning on doing
17:04 luizrpgluiz thePalindrome: :D :D
17:04 Tux[Qyou] joined #minetest
17:06 luizrpgluiz thePalindrome: try to talk with key developers, they can think and see if you can join the team
17:06 thePalindrome Well, I need to get more "coder cred" first
17:08 luizrpgluiz thePalindrome:coder cred ?
17:08 Player2 joined #minetest
17:08 thePalindrome Respect for coding ability, patch quality, etc.
17:09 JohnnyComeL8ly cred=credibility
17:09 thePalindrome my bad :P
17:09 JohnnyComeL8ly He's from Brazil, it is understandable.
17:10 luizrpgluiz hehe
17:10 JohnnyComeL8ly It is just a language barrier that can more or less be overcome.
17:10 thePalindrome language barriers tend to cause a lot of issues
17:11 JohnnyComeL8ly (Though explanation, of course.)
17:11 JohnnyComeL8ly He's a good sport about it.
17:12 thePalindrome Good to know that he's foreign though, so that I don't assume he recognizes my slang :P
17:12 Jordach joined #minetest
17:12 JohnnyComeL8ly :-D
17:14 luizrpgluiz :)
17:20 Ataron joined #minetest
17:20 luizrpgluiz thePalindrome:is very good minetest have more key members, so the updates may come faster, which operating system you use?
17:25 thePalindrome Gentoo Linux
17:25 thePalindrome I also am using the Android version, because yay :D
17:31 luizrpgluiz thePalindrome:I like to use two operating systems, I use Xubuntu 04.14 and Windows 7 Pro 32-bit
17:32 luizrpgluiz thePalindrome: Xubuntu 14.04
17:32 thePalindrome I find that the *buntu family is too broken to use, but other people seem to have better luck with it
17:33 swift110-phone Hey guys
17:33 luizrpgluiz swift110-phone: Hi :)
17:36 est31 thePalindrome, you are one of the guys where saying "install gentoo" worked?
17:37 swift110-phone How are you luiz
17:37 thePalindrome ?
17:38 Jousway joined #minetest
17:38 est31 nvm
17:39 thePalindrome :shrug:
17:41 Wuzzy joined #minetest
17:42 thePalindrome Regardless, I'll just have to get things set up
17:43 swift110-phone2 joined #minetest
17:47 Krock joined #minetest
17:49 luizrpgluiz thePalindrome:you will get along in the approval of the key developers of minetest
17:49 luizrpgluiz thePalindrome: :)
17:50 Jousway joined #minetest
18:05 Hijiri joined #minetest
18:11 Trustable joined #minetest
18:17 CraigyDavi joined #minetest
18:18 JohnnyComeL8ly thePalindrome: I don't think that it is the most updated, but it does have relative stability....
18:18 thePalindrome Ubuntu?
18:19 JohnnyComeL8ly No, the family.
18:19 JohnnyComeL8ly NOT that thing... the improvements. ;-)
18:19 thePalindrome Ah, I see
18:20 JohnnyComeL8ly Ubuntu GNOME is good, so is (X,L)ubuntu.
18:29 ElectronLibre joined #minetest
18:30 bark joined #minetest
18:30 est31 joined #minetest
18:34 bark I want to display random messages in the public chat on my server when a player dies. Can anyone help me understand why this code don't work? [pastebin code: http://pb.rbfh.de/jf3uExhpxXoF ]
18:36 ElectronLibre Does it crash or does it not run?
18:36 Yepoleb_ joined #minetest
18:37 bark it doesn't run
18:37 ElectronLibre If it doesn't run it's just because the calls to chat_send_all are in a function that is never called : func.
18:38 ElectronLibre Put the code in that function in the same scope as the math.random call.
18:38 bark excellent! removed the func line and it works perfectly
18:39 tim_flatus yep
18:39 bark i was so close :)
18:39 bark thanks for the insight
18:45 micechal_ joined #minetest
18:48 swift110-phone joined #minetest
18:50 micechal joined #minetest
18:51 TheWild joined #minetest
18:52 bark when i'm on a constant damage source (like lava) the message keeps repeating. How can I make  it appear only once?
18:53 JohnnyComeL8ly joined #minetest
18:58 Soni joined #minetest
19:00 tim_flatus Not sure bark, I think that may be an engine thing.
19:00 ElectronLibre bark: Apart from saving the player's name in a table when they die and remove that name using a function registered as a "on_respawn" callback, I don't have any idea.
19:01 ElectronLibre Of course you would not send messages about a player whose name is already present in the table.
19:02 tim_flatus left #minetest
19:03 bark thanks a lot for your input!
19:04 meldrian joined #minetest
19:06 knobo1 joined #minetest
19:07 thePalindrome ping
19:09 thePalindrome This'll be interesting
19:11 rubenwardy joined #minetest
19:21 Darcidride joined #minetest
19:24 JohnnyComeL8ly left #minetest
19:28 ElectronLibre joined #minetest
19:30 luizrpgluiz left #minetest
19:37 H-H-H joined #minetest
19:51 yngwie123 joined #minetest
19:56 OldCoder joined #minetest
19:58 thePalindrome Why is the engine so hard to understand :why:
20:04 est31 whats your question
20:05 Jousway joined #minetest
20:09 sofar thePalindrome: comes with multiplayer game engine designs
20:09 TheWild joined #minetest
20:09 sofar and C++ / OO makes a ton of things a bit hard to find
20:10 thePalindrome Well, I'm trying to see what calls l_place_node, but greping all of src/ returns nothing
20:10 est31 thePalindrome, that's a lua function
20:10 est31 its exported in the same file its defined
20:10 thePalindrome Ah, that's why
20:10 est31 lua code can then call it using minetest.place_node
20:11 thePalindrome I see
20:11 thePalindrome Then there's one code path that leads to the on_place function
20:11 thePalindrome thanks
20:11 est31 the actual info that its a lua function is done by the API_FCT macro
20:11 est31 @ least I think its called that way
20:12 sofar the way lua integrates has me stumped before
20:12 thePalindrome a POINTEDTHING_OBJECT is an SAO, right?
20:14 est31 dunno in what context?
20:14 sofar probably place_node
20:14 sofar no?
20:15 thePalindrome handleCommand_Interact
20:16 est31 yes
20:16 est31 its an SAO
20:16 thePalindrome Alright, so know I have to backtrack to find a function that can "hear" a right-click
20:17 est31 search for handleCommand_Interact
20:17 est31 it will point you to a table
20:17 est31 there it has a packet name in the comments
20:18 est31 the packet name then points you to the place its used on the client
20:18 thePalindrome Ah
20:18 thePalindrome Well, I'm working on the server
20:19 est31 what precisely do you want to do?
20:20 thePalindrome I'm going to be adding an on_use for items that will trigger before on_place and work when pointing at nothing
20:22 est31 the current way we do on_place is bad
20:22 est31 its mixture of low level and high level
20:22 est31 but sucks at both levels
20:23 Jousway joined #minetest
20:23 thePalindrome Ah, so shall I try and rewrite on_place first?
20:23 est31 no, it has to be kept
20:23 est31 backward compat
20:23 thePalindrome I meant keep on_place
20:23 thePalindrome but fix it
20:24 thePalindrome then expand it to have on_use
20:27 thePalindrome So I shouldn't refactor on_place?
20:28 est31 well refactor is the wrong term here
20:28 est31 it has a bad API, and it cant just be changed
20:29 est31 because of backwards compat
20:29 thePalindrome Oh, I see
20:29 est31 you can add stuff
20:29 thePalindrome You're saying that the front is badly made, not the implementation
20:29 est31 but you cant remove
20:29 est31 yes
20:29 thePalindrome Alright, I"ll just work on my stuff then :P
20:31 Robert_Zenz joined #minetest
20:37 thePalindrome Welp, the client sends the interact packet from the handlePointingAtNode function, so I think I'll just need to find somewhere else then :roll:
20:38 thePalindrome Ah good, processPlayerInteraction will suit my purposes nicely
20:38 Jousway joined #minetest
20:39 DFeniks joined #minetest
20:43 Ingar joined #minetest
20:44 knobo1 joined #minetest
20:46 thePalindrome If I define a properly-named function in cpp_api/ will it be exposed?
20:49 est31 no
20:49 est31 you have to use that macro
20:49 thePalindrome oh, the callback isn't a function?
20:50 est31 in the *.cpp file there is usually a method that invokes the macro for all functions in the file
20:50 est31 the callback is a function
20:50 est31 just it has to be registered, using the macro
20:50 thePalindrome Er, I'll take another look
20:50 est31 this is c++ world, there is no reflection
20:50 amadin joined #minetest
20:51 thePalindrome I know there wasn't built-in reflection, wasn't sure if your build system reflected
20:51 thePalindrome built-in reflection causes far too many issues
20:51 amadin Hi all, i have an account in wiki, but some pages don't have switch for my language, so i can't translate they
20:51 amadin How enable it?
20:52 est31 well, calinou isn't hee
20:52 est31 here*
20:52 est31 so best you ask celeron55
20:52 amadin (
20:52 amadin so i can't do it himself?
20:53 est31 dont know
20:53 est31 but I guess celeron55 knows
20:53 amadin ok i wikk write to him on forum
20:53 amadin will
21:03 JohnnyComeL8ly joined #minetest
21:03 thePalindrome registerModApiModule() seems to be gone...?
21:03 est31 ?
21:04 thePalindrome greping for that in src/ returned nothing
21:04 thePalindrome The wiki is out of date then I guess
21:05 est31 where you seen that
21:05 thePalindrome http://dev.minetest.net/Script_Engine
21:05 thePalindrome Trying to figure out how to add a lua callback
21:07 thePalindrome ScriptApi as a class doesn't exist ;?
21:07 thePalindrome bleh
21:07 est31 thePalindrome, very simple
21:08 est31 1. find a file with already existing lua API functions
21:08 est31 2. add your function to that file
21:08 thePalindrome Where though?
21:08 est31 3. register the function
21:08 thePalindrome Where?
21:08 est31 anywhere
21:08 est31 lemme find a commit that added a lua api function
21:08 thePalindrome Fine, grep on_place in src/
21:08 thePalindrome on_place is mentioned once
21:10 est31 umm
21:10 est31 are you wondering about lua code calling c code or c code calling lua code?
21:11 thePalindrome I want C to call registered Lua callbacks
21:11 thePalindrome So that a mod can get notified
21:11 est31 well then you dont have to do anything
21:11 est31 do it like this commit https://github.com/minetest/minetest/commi​t/aa13baa30a45b0f834c23bd5c0407895eb8ec0ee
21:11 thePalindrome :facepalm:
21:13 thePalindrome I need to update the docs as I come across them
21:20 est31 well tbh I dont know what now the replacement of registerModApiModule is
21:20 thePalindrome there isn't per se
21:20 thePalindrome the C calls the cpp_api/ function
21:20 thePalindrome callbacks are handled similarly to javascript
21:21 thePalindrome You just have to write a register function, like that commit
21:21 thePalindrome See y'all in an hour
21:44 Freejack joined #minetest
21:53 who_wants_some hmm, I've tried few popular minecraft servers to compare with minetest... they are strange, I rarely meet people and most of the things far from each other and griefed
21:53 who_wants_some while on MT there are lots of nice servers with entire towns and people in there... or maybe it was wrong MC servers
21:55 who_wants_some Sokomine, hi, you have [Mod] villages for Minetest [mg_villages] and [Modpack] villages modpack (contains mg_villages), replace villages with Villages, it looks better that way
21:57 Sokomine ah. that's a good point. thanks!
21:58 Sokomine updated
21:58 Pest joined #minetest
21:59 Sokomine hm. my test server threw a lot of  "WARNING[Server]: collisionMoveSimple: maximum step interval exceeded, lost movement details!" at me. admittedly, this is a slow connection, and the setup was very basic and not optimized in any way (after all it's just a test server)
22:01 sofar Sokomine: my server at home throws it all the time too, even with micro-second latencies on 1gig ethernet
22:02 who_wants_some Sokomine, also, what is minimum MT version I need for it? Can you add that info?
22:02 who_wants_some I think it is not a network problem
22:02 who_wants_some it is server problem
22:03 est31 well I guess its very old problem
22:03 est31 before SN's logging patch, it was written to infostream with WARNING at the start
22:03 est31 then SN added warningstream
22:03 Jousway joined #minetest
22:03 est31 now its printed in default settings before it wasnt
22:04 Terusthebird joined #minetest
22:04 Sokomine who_wants_some: for mg_villages? hmm. as recent as possible i'd say. i use latest git, usually a day or at max a couple of days old
22:05 Hirato joined #minetest
22:07 Sokomine hm, it'd be intresting to know where that warning message comes from, and if it affects real servers in the same amount. even writing something constantly to disk can cause some slowdown
22:07 Sokomine at least the server did feel fast enough :-)
22:07 est31 I had it in singleplayer
22:08 who_wants_some Sokomine, can you add "How to install instrucions" in README.md ? To mod and modpack
22:10 Sokomine hm. it's installed like every mod and/or modpack. i don't even know offhand how the official method of installing mods/modpacks works. guess by selecting them in the menu? i adapted a create-a-folder-and-symlin​k-all-wanted-mods-approach before that menu option was added
22:11 who_wants_some i have this collision error too
22:11 who_wants_some right now
22:12 who_wants_some i've copied it in mods directory, renamed to villages, created world, in its settings double clicked on villages, saved, it works!
22:12 DMackey joined #minetest
22:13 who_wants_some this modpack is so nice
22:13 who_wants_some i like the towns a lot
22:13 who_wants_some very nice work
22:15 Sokomine thank you :_)
22:16 Sokomine well, towns...for that, you'd need mauvebics mm2 modpack. then you do get villages of the canadian type. those have extremly huge buildings and may be seen more like a town than a village
22:18 who_wants_some minetest_game + villages modpack + mobs + moreblocks + 3d armor + hungar = FUN!
22:19 who_wants_some and areas mod of course
22:20 Sokomine depends. if you play singleplayer, areas is not needed. and if it's multiplayer, there needs to be place for the players to build, so rather no villages :-) (unless it's focussed on survival)
22:21 Sokomine the villages are mostly useful to make the singleplayer world more intresting and less empty. mobs are a very good addition. perhaps i ought to include mobs redo or so in a modpack as well
22:21 who_wants_some yes
22:21 Sokomine with the modpack, you don't even have to rename anything
22:22 who_wants_some villages is nice for multiplayer too, people can actually buy a nice house and don't build that cobble crap
22:22 Sokomine without the modpack, and without cottages, you won't get most of the village types. i do like my mods and created cottages so that i could build the houses i wanted for that purpose :-)
22:22 who_wants_some I just installed modpack with everything
22:22 Sokomine hm, that's right. but i still hope that they get motivated to build a nice house by themshelves later on
22:22 Sokomine ah. then you got all. there ought to be no need to rename the modpack folder
22:23 who_wants_some Sokomine, btw, i can steal stuff from the chests, shelfs in those houses, why they are not protected?
22:25 who_wants_some this houses looks so nice, too bad I got crappy rendering in OpenGL with texture tear
22:26 Sokomine who_wants_some: because those are made for stealing (better give those players *something*...so that they won't kill the inhabitants :))
22:26 who_wants_some ah
22:26 Sokomine in theory, the mobs assume of course that nobody would consider stealing from someone else a valid alternative - and thus don't use locks
22:27 Sokomine in practice, it's ressources for players. adventuretest uses that to some extend in order to keep the player from starving
22:27 who_wants_some if i add mobs, will they hurt village traders?
22:31 Sokomine hmm. good question. guess that depends on the mobs. the village traders undertake a lot of effort in order to heal so that a player-owned trader can't just be killed by the next best player
22:32 who_wants_some Sokomine, your mobf_trader page has no images - https://forum.minetest.net/v​iewtopic.php?f=11&t=9013
22:36 thePalindrome I'm back now
22:39 Jousway joined #minetest
22:41 alket joined #minetest
22:41 Freejack joined #minetest
22:47 who_wants_some Sokomine, btw, when generated at night it will update lightning after some time, but not always, I see castle now that how lots of torches but they have weaker light
22:50 Supertan1er2 joined #minetest
22:51 Sokomine lighting updates are sometimes a problem. they may even lead to crashes in some situations :-(
22:52 Sokomine so another posting that lost its images :-( moresnow has the same problem. i may have to switch all documentation to github
22:54 kattsmis1 joined #minetest
22:55 freelikegnu joined #minetest
22:55 dzho joined #minetest
22:55 kahrl joined #minetest
22:59 VadtecWk joined #minetest
22:59 Soni joined #minetest
23:00 ekem joined #minetest
23:02 SanskritFritz joined #minetest
23:03 Jousway joined #minetest
23:10 thePalindrome ??
23:11 thePalindrome I've seen that quit message on 9 different people in the last minute
23:11 kahrl which one?
23:11 thePalindrome *.net *.split
23:12 kahrl oh, your client doesn't show netsplits
23:12 kahrl https://en.wikipedia.org/wiki/Netsplit
23:12 thePalindrome I've never seen it until now
23:13 thePalindrome Huh, interesting
23:18 luizrpgluiz joined #minetest
23:24 thePalindrome Alright, now to figure out what I was working on an hour ago
23:30 theTroy1 joined #minetest
23:31 thePalindrome Boy, code seems to fly everywhere
23:32 thePalindrome is builtin/ part of minetest or minetest_game?
23:32 thePalindrome I'm presuming minetest
23:35 who_wants_some VanessaE, ugh, moretrees shadow bug is present :( caught it on a new world right away
23:36 who_wants_some on mt-0.4.13 git
23:37 rubenwardy thePalindrome, minetest engine
23:37 rubenwardy it's the Lua side of the engine
23:37 thePalindrome I see4
23:38 thePalindrome I'm adding an on_rightclick callback for items
23:38 thePalindrome That way you can intercept rightclicks even in the air
23:38 who_wants_some VanessaE, btw, below moretrees i can observer darkening of the sky thing, that should not work in this case (i'm not in cave underground)
23:41 who_wants_some funny to see glacier+tundra and a few palm trees on sand near it :p
23:42 DMackey joined #minetest
23:43 GunshipPenguin joined #minetest
23:50 joelmx joined #minetest
23:54 Hijiri flying on the wire or just plain flying

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