Time Nick Message 01:25 agrecascino how do i make beds set peoples spawn point? 01:25 agrecascino it doesn't seem to work right 01:42 paramat it 'should' set spawn when player enters bed 01:42 paramat in latest mtgame? 01:43 paramat before a few weeks ago it only set spawn when the night was skipped 01:52 agrecascino nevermind 02:29 agrecascino if i wanted to register a callback when someone kills someone, how should i do that? 02:37 paramat modding discussion is off topic for this channel 02:41 agrecascino oops, i was posting in the wrong channel 03:15 paramat hmmmm am i correct in thinking the only to change the seed of 2D noise per-mapchunk is to recreate the noise object per-mapchunk, in makeChunk, and that this would probably not be worth doing due to significant extra processing? 03:16 hmmmm wait 03:16 hmmmm the seed or the seed offset 03:20 paramat seed offset 03:21 paramat the idea is to change the seeddiff of 2D noises per vertical realm, for differing terrain per realm 03:21 hmmmm actually you should be able to change both 03:21 hmmmm just keep in mind that access is not thread safe 03:25 paramat ok 04:04 paramat hmmmm so i can change the seed without having to recreate the noise object per-mapchunk? 04:04 hmmmm correct 04:09 paramat good, thanks 06:56 shamoanjac so I've started to hunt down this one bug I've found 06:58 shamoanjac and, reading the file src/guiFormSpecMenu.cpp, I've seen that, in the function parseElement(), the "ugly workaround to keep compatibility" is only run on "image" elements 06:59 shamoanjac doesn't that mean image buttons will not get this "ugly workaround" and thus texture modifiers will not work on these? 07:00 shamoanjac (unrelated to my particular issue though, just a side question/discovery) 18:35 endev15_ celeron55: could u come on to #minetest to discuss a few non-dev things? (e.g. Twitter and a advanced replacement to the mmdb) 18:37 hmmmm hahahahaha 18:40 Krock hmmmm, what's funny? 18:42 hmmmm that request 18:43 Krock hopeless, yeah 18:44 hmmmm i think i mentally counted 4 or 5 different problems crammed into a single question 18:44 hmmmm i don't think anybody's achieved that stupidity density before 18:44 octacian I already know it's pretty hopeless.. but what are the chances if I don't even ask. 18:44 Krock octacian, ask here 18:45 octacian lol ok, I will in a minute. Doing something else right now.. 18:45 hmmmm don't bother. it's not minetest development related. 18:45 hmmmm neither is this convo. 18:45 octacian yeah? where else should I ask? 18:45 celeron55 octacian: well you should talk about an mmdb replacement right here 18:46 hmmmm i would call it off topic since it has nothing to do with minetest CORE development 18:46 hmmmm but if you are going to ask something off topic here, don't ask to ask, just ask 18:47 hmmmm but, seriously, using twitter for an mmdb replacement? that has got to be the silliest thing i've heard all month 18:47 octacian I'm working on a mmdb replacement called the MinetestCDB (Content Database) 18:47 Krock Yet Another Mod Database 18:47 octacian It's workings are fairly simple. You can create an account, and from there go on to upload and manage mods, subgames, texture packs, skins, and maps. 18:48 celeron55 i think what everyone is interested about is why it would be THE mmdb replacement and how does it solve the problems mmdb had 18:48 octacian It uses the Minetest bootstrap theme, for the purpose of trying to keep everything as simple as possible. 18:48 octacian celeron55: tbh, I don't actually know what the problem was with the mmdb, and why it went down. The only thing I know is that it was WAY to complex. 18:48 Krock Sounds interesting but there will be a lot of work to make the API fit and offer the needed features 18:49 Eater4 Do you have a demo running some where so we can see the website? 18:50 Krock adding mods there was too complicated. A Github import feature would be required to make your database something special 18:50 octacian Krock: once I'm done I'll work on making it accessible from within MT. Right now, it's just getting started thing. 18:50 octacian Krock: GitHub import is one of the main things I'm gonna be working on. 18:50 celeron55 octacian: for twitter stuff, /msg me, as i think you were interested in specifically me and you doing something 18:50 Krock Eater4, I think it's only bones. The style is there but the code behind isn't 18:50 octacian Eater4: give me a sec. Have to add a subdomain for u to access a preview.. 18:51 octacian Yeah, it's only bones. Just a front page. And guides page. 18:51 hmmmm eugh wtf, i can't believe that this is being seriously considered 18:51 hmmmm minetest should not ever rely on a third party service like "twitter" to function 18:51 hmmmm big thumbs down from me for that 18:51 octacian hmmmm, twitter is for publicity. 18:52 hmmmm twitter is gonna go bankrupt very shortly 18:52 Krock I rather think it's about to notify the world about Minetest - not as a part of Minetest itself 18:52 hmmmm ahh 18:52 octacian Exactly, Krock 18:52 hmmmm i misunderstood, i thought that was part of the messaging mechanism for the mmdb replacement 18:53 octacian oh, the messaging system for the cdb is still in progress. Actually, not even started. That means it's built right in (by me). :P 18:53 octacian setting up a preview right now 18:53 hmmmm that would probably be the best way to garner support 18:53 hmmmm "talk is cheap. show me the code" 18:54 Krock octacian, just one more thing about that project: Please use do NOT use md5 to hash the passwords serverside 18:54 hmmmm mm yes sha-2 is the standard these days 18:54 hmmmm gotta stay with the times brah 18:54 octacian Krock: why? I don't know anything about encryption anyways (other than SSL), so whatever is best I will use. 18:55 rubenwardy octacian, if this helps: http://app-mtmm.rubenwardy.com/v2/list/ 18:57 octacian Of course I can't clone! I haven't even setup a git repo yet.. *facepalm* 18:57 Krock octacian, computersphile md5 18:57 Krock https://www.youtube.com/watch?v=3NjQ9b3pgIg 18:57 rubenwardy "encryption" heh 18:57 rubenwardy use your framework's best library 18:58 hmmmm i don't like the idea of using SSL to encrypt a password for authentication either, but doing something different might be asking for too much 18:58 Krock octacian, sorry. Correct guy but wrong video: https://www.youtube.com/watch?v=7U-RbOKanYs 19:00 hmmmm the gold standard of authentication in today's world should be some zero-knowledge proof based auth 19:00 octacian ...configuring virtualhost 19:00 hmmmm such as SRP 19:00 rubenwardy One suggest, celeron55, if you do get @minetest, I recommend not giving access to the account to anyone but you (and a few others in case you disappear). There are web apps that allow you to give people the ability to tweet without giving them full access to the app 19:00 hmmmm you shouldn't be at the mercy of these monolithic CAs in bed with various governments 19:01 octacian rubenwardy: I agree. 19:01 rubenwardy those apps could also be used to queue tweets 19:02 rubenwardy so you could have a big buffer of eg suggestions as well as posting news 19:02 rubenwardy but I imagine c55 knows all of this :P 19:02 octacian Working demo (updated every few days) available at http://cdb.endev.xyz 19:02 octacian Full code available through Gogs at http://git.endev.xyz/octacian/minetestcdb 19:03 rubenwardy "working" 19:03 rubenwardy I get a load of 404s :P 19:03 octacian Oh, lol, notice that the links are greyed out? It means they are not functioning even though they are there. 19:04 rubenwardy Ew, php. Are you at least using a framework? 19:04 octacian Well, I guess dropdown menus are greyed out. I was too lazy to do it with every link. 19:04 octacian I'm using the Bootstrap Minetest theme. Nothing else. 19:04 octacian PHP is required to support login, and connection to a MySQL/MariaDB database. 19:05 octacian There is one more semi-complete page. http://cdb.endev.xyz/guides.php 19:05 rubenwardy nope, you could use a number of other languages or frameworks. But whatever - all that matters is that it's reliable, functional and maintainable 19:06 octacian Like, what? Isn't PHP all of those 19:06 rubenwardy I prefer NodeJS or Flask. For reference: https://github.com/more-rubenwardy/minetest-extensions 19:07 octacian Why? 19:07 Krock There's also HHVM to speed up PHP 19:09 rubenwardy JS and Python have nicer syntaxs than PHP imo, and the frameworks I use are nice and allow routing. PHP isn't that bad if you use a framework like Synergy (i think it's called) 19:09 octacian NodeJS is serverside, right? 19:09 rubenwardy yes 19:09 rubenwardy same role as PHP 19:09 rubenwardy a server side language 19:10 rubenwardy Here is an example of routing: https://github.com/rubenwardy/mtmods4android_server/blob/master/server.js#L103 19:10 rubenwardy But as I said 19:10 octacian I'll build the site using both NodeJS and PHP. PHP for things that require security, like logins and that, since it is more "proven." NodeJS for less important, of course. 19:10 rubenwardy all that matters is that it's reliable, functional and maintainable 19:11 octacian e.g. NodeJS for a markdown editor when commenting, or creating a "post" 19:11 rubenwardy Using two languages is silly 19:13 rubenwardy This is getting a little offtopic for #-dev anyway, probably 19:13 octacian Both are good for different things. Different needs can sometimes be found in one site, making it make sense (imo) to use either when best 19:13 rubenwardy heh 19:13 rubenwardy A reason I like NodeJS/Express or Flask is that you can get login/user systems 19:14 rubenwardy Just do what you feel best at 19:14 octacian rubenwardy: I think it kinda has to do with dev.. I do appreciate this stuff being mentioned tho BTW, I learn more everyday! :P 19:16 octacian rubenwardy: hmmm, I'll definitely make use of NodeJS and possibly Express. Does NodeJS require the page to be refreshed for requests to process? 19:16 rubenwardy For what it's worth, I did the same thing and I built a complete working mod database using PHP in 2012. It was rather painful and buggy. That's why MMDB was created, to use better database principals 19:17 octacian Do you think it was because u used PHP? That something like NodeJS would have been a better choice? 19:18 rubenwardy It's because I used raw PHP without any frameworks, and so there was a lot of duplicated code and random SQL statements and logic intertwining with HTML code 19:18 rubenwardy moving to #minetest, before we get shouted at 20:43 paramat nore sfan5 sofar opinions on adding rubenwardy to mtgame team? 20:49 sfan5 sounds good to me 20:50 paramat ok thanks