Minetest logo

IRC log for #minetest, 2018-01-08

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

All times shown according to UTC.

Time Nick Message
00:04 tyteen4a03 joined #minetest
00:07 EvergreenTree joined #minetest
00:11 Exagone313 joined #minetest
00:13 Cornelia joined #minetest
00:14 sameyepatch[m] joined #minetest
00:18 nyuszika7h joined #minetest
00:30 Wysteriary[m] joined #minetest
00:30 yusf joined #minetest
00:30 fireglow[m] joined #minetest
00:30 jfred[m] joined #minetest
00:30 datapunk[m] joined #minetest
00:30 desttinghim[m] joined #minetest
00:30 LNJ[Ellenjott][m joined #minetest
00:30 nepugia joined #minetest
00:30 silwol joined #minetest
00:30 M-anomie joined #minetest
00:30 Milan[m] joined #minetest
00:30 M-JLuc joined #minetest
00:31 ericxdu[m] joined #minetest
00:31 jcgruenhage joined #minetest
00:31 snek joined #minetest
00:31 jbb[m] joined #minetest
00:42 greeter don't you just love it when you're exploring your own server, and you're like "wait, who's been way out here?"
00:48 VanessaE heh
00:48 VanessaE sounds like me the other day
00:49 VanessaE I was following an electrical feed, reworking poles, before I knew it I was 3km east of the spawn :)
00:50 greeter nice. doesn't take long sometimes
00:52 greeter i was just exploring to look for a good spot to setup a pixel art area and i found random torches in the ocean. i'm a good kilometer and a half from spawn and it's a fairly new server
01:05 Emerald2 Hi greeter!
01:06 greeter greetings Emerald2. how are you?
01:07 Emerald2 Hey I'm doing well. Yourself? How's Ravenchat?
01:09 quater__ joined #minetest
01:11 greeter i'm doing great thanks. so far so good lol :-)
01:24 greeter joined #minetest
01:27 greeter hmm looks like freenode has a few issues tonight :-S
01:28 Emerald2 We had some netsplits yesterday.
01:29 greeter ah i see
01:29 greeter all my irc servers reset yesterday because ramnode is patching that chip bug
01:33 greeter anyhow i best get going for the night. take care all
01:34 Emerald2 Sweet dreams greeter. :)
01:39 dante123 joined #minetest
01:40 blaise I'm updating my kernel now also
01:41 blaise I can't seem to get windows 10 to get past that stupid fall creators update so I don't guess it will get the update any time soon...
01:41 blaise not that it matters anyway, the software patch doesn't really help much...
01:42 blaise microcode updates help a lot more but even that doesn't do much
01:54 lumberJ joined #minetest
01:57 Open_Future joined #minetest
01:57 Open_Future sofar around?
02:00 Emerald2 Might be having dinner. If he's around he heard you ping him.
02:03 Tmanyo joined #minetest
02:05 Open_Future ok thanks
02:12 sofar indeed dinner time
02:12 sofar afk more
02:12 swift110-phone_ Hey sofar
02:21 nullawk joined #minetest
02:23 nullawk How old is minetest?
02:23 blaise ehrm
02:23 blaise lets see
02:24 nullawk I did try and look, and saw Version History shows the first release (0.2.20110529) on may 29th 2011. but by that version number I would guess it to be older
02:25 blaise https://github.com/minetest/minetest/releases
02:25 nullawk jul 31st 2011
02:26 blaise yeah
02:26 blaise I think that may be the first official release to github
02:26 blaise but probably not the first official release?
02:27 rubenwardy it was publicly released nov 2010
02:27 rubenwardy on the IRrlicht forums
02:27 rubenwardy at least
02:27 rubenwardy may have been posted elsewhere prior
02:27 blaise yeah, that sounds a bit more on target
02:27 rubenwardy https://forum.minetest.net/v​iewtopic.php?f=3&t=19208
02:27 rubenwardy ^ relevant
02:28 nullawk https://web.archive.org/web/20111​204014805/http://minetest.com:80/ first snap of the site by archive
02:28 rubenwardy minetest.com is not our site
02:28 rubenwardy we use minetest.net
02:29 nullawk "October 10, 2010 marked the time that Minetest was started,"
02:29 rubenwardy that's the oldest version you can download, he probably started it before
02:31 nullawk it sounded like before that day it was laggy and not really a game
02:31 rubenwardy lol
02:31 rubenwardy yup
02:31 rubenwardy that's how game design works
02:31 rubenwardy you start crude and it hopefully gets better
02:31 rubenwardy oldest version of the actual website: https://web.archive.org/web/20120​918234257/http://minetest.net:80/
02:35 rubenwardy here;s an older version, from when it was on c55's website: https://web.archive.org/web/20111​105232234/http://c55.me/minetest
02:39 lumberJ joined #minetest
02:45 est31 rubenwardy: didnt c55 post a very early version of minetest to his github
02:45 rubenwardy wasn't it on sourceforge first?
02:46 rubenwardy oh, you mean https://github.com/celeron55/minetest_nmpr
02:46 rubenwardy yeah, that's newer than 10/10/2010 though
02:46 est31 yeah
02:46 est31 ok
02:46 rubenwardy it's from 24/10/10 infact
02:49 rubenwardy first github commit is from 27/10/2010
02:50 rubenwardy lol
02:51 rubenwardy one of the first commits is "vokselijuttu lisätty" which translates to "Voxel was added"
02:51 rubenwardy apparently
02:51 est31 af95cfc7a15788386d055a5b4a7377673d36b8bf ?
02:52 rubenwardy yeah
03:07 Open_Future sofar was wondering if you got that map of canada yet?
03:07 swift110-phone_ Which map of canada
03:19 YuGiOhJCJ joined #minetest
03:21 EvergreenTree joined #minetest
03:27 erudition joined #minetest
03:28 Open_Future sofar was going to export part of a minecraft map for me
03:28 Open_Future I'm a teacher and want to use minetest with my class...need a map of Canada (more or less) and sofar was working on exporting one from minecraft that used some real world data....
03:29 erudition cool. I'm guessing there's an automated tool for that?
03:30 Open_Future its over my head, he volunteered to do it...which is great
03:31 erudition So it appears that in lua, require() is just a more efficient version of dofile(), in that it only runs the other script once, then caches the result. But when trying to split up my code, I got require() is disabled when mod security is on. Why is it that we're forced to use the less efficient dofile()?
03:31 erudition (open query for anyone that might know)
03:33 nowhere_man joined #minetest
03:37 Cornelia I think require looks on the path
03:38 Cornelia Oh...
03:38 Cornelia erudition: require can load binary code
03:39 Cornelia dofile is restricted to Lua scripts
03:39 erudition can't we just block that part of it?
03:39 erudition I see
03:39 Cornelia require doesn't execute scripts, it loads a module
03:39 Cornelia And a module could even a script, but it could also be native code
03:39 Cornelia So to prevent mods from doing "very bad things" they can't use require
03:40 erudition even though it's only the native code that's bad
03:40 Cornelia Can't really block part of built-in Lua functionality without rewriting Lua :p
03:41 Cornelia It's easier to just stop the require call and only allow dofile and loadfile
03:41 Cornelia If you want the "load once" behaviour:
03:41 erudition seems like just checking the MIME type of called files would work
03:41 erudition but I guess not
03:41 erudition so how does one load a module?
03:41 Cornelia local my_file = loadfile("my_file.lua") ; my_file()
03:42 Cornelia I don't think we can load modules. We can run Lua scripts, though
03:42 erudition :( I just want to split up my code
03:42 Cornelia Put your pieces in their own files and use dofile :p
03:43 Cornelia Or loadfile
03:43 Cornelia I'm using dofile to load in tables that contain code I need
03:43 Cornelia Like I have a "settings.lua" that reads in Minetest settings and returns a table
03:43 Cornelia Well.. I will. :P
03:44 Cornelia I currently just have an empty file while I'm building the mod
03:44 erudition is that the same as if they were in the same file?
03:46 Cornelia Sorta
03:46 Cornelia You can, at the end of your extra script, return something
03:46 Cornelia I.e. return { ... }
03:47 Cornelia And when you do: local data = dofile("data.lua")
03:47 Cornelia That table will be in the data variable
03:47 Cornelia dofile executes the file as a chunk in the same space as the others.. so if you make globals they'll be visible..
03:47 Cornelia But.. they'll be visible to ALL MODS
03:48 erudition well say I have a utility function, such as function say(msg) minetest.chat_send_all(msg) end
03:48 Cornelia Mmkay..
03:48 erudition and I want all my utility functions in a separate file
03:48 Cornelia You should be using "local function" or it's global and visible to all mods
03:49 Cornelia I think... :P
03:49 erudition how can I call say(stuff) from init.lua
03:49 Cornelia One moment...
03:49 erudition without any extra periods haha
03:50 Cornelia https://github.com/CorneliaXaos/gu​idebooks/blob/master/api/init.lua
03:51 Cornelia In progress code.. so that stuff might not be 100% correct :p
03:51 Cornelia But look at "local implementation = ..."
03:51 Cornelia Then look at this:
03:52 Cornelia https://github.com/CorneliaXaos/guidebo​oks/blob/master/api/implementation.lua
03:52 erudition wouldn't that mean having to call implementation.say()
03:52 erudition ?
03:52 Cornelia Yes.
03:52 erudition which defeats the purpose of shortening the name lol
03:53 Cornelia But.. it lets you split your code up
03:53 Cornelia Instead of having it all in one giant init.lua
03:54 erudition yeah, but looks like I'll have to put my say() function at the bottom of every lua script
03:54 erudition if i want to use it for its purpose
03:54 Cornelia Why....
03:54 Cornelia You could put it in a "chat_functions.lua"
03:54 erudition again, that defeats the purpose
03:54 Cornelia And dofile it into a local chat variable
03:55 erudition did you see what the function did?
03:55 Cornelia Then call chat.say where needed.
03:55 erudition It's just to shorten minetest.chat_send_all(msg) to a concise say()
03:55 erudition since I'm using it often
03:55 Cornelia Oh..
03:55 Cornelia Then..
03:56 Cornelia local say = minetest.chat_send_all
03:56 Cornelia But that would have to go in every file
03:56 erudition like in Java, i dont want System.out.println()
03:56 Cornelia Personally, I'm against shortening the built-in functions
03:56 erudition so i make a method called say()
03:56 Cornelia "built-in"
03:56 erudition or "print"
03:56 Cornelia Ewww.. (sorry)
03:56 Cornelia That just spaghettis the code
03:57 erudition what? you prefer System.out.println()?
03:57 Cornelia It's fine if you could potentially have different ways of saying things
03:57 Cornelia I would just use the full call, yes.
03:57 erudition you're the first i know of
03:57 Cornelia Like sometimes say calls the Minetest function, and others it prints a log or something.
03:57 erudition "print" is such a basic thing, ya know?
03:57 Cornelia Lua has a print
03:58 Cornelia It'll go to the log file, though.
03:58 erudition right - and it's nothing but "print"
03:58 erudition which is beautiful
03:58 erudition that's all I want :)
03:58 Cornelia Yea, Well.. Lia is a hyper-small interpreted language.
03:58 Cornelia Java has a massive standard library
03:58 Cornelia *lua
03:58 erudition javascript then
03:59 erudition BASIC
03:59 Cornelia Again..
03:59 Cornelia Probably writes to the log
03:59 Cornelia Or the console
03:59 Cornelia Saying something to players isn't "basic"
03:59 erudition when it comes to this domain...
03:59 Cornelia It has to do a bunch of networking to get it across
04:00 erudition it's *the* most basic
04:00 erudition sure, but that's not exposed to us
04:00 Cornelia And to organize namespaces appropriately, Minetest functions are put into a Minetest global table
04:00 erudition "print" isn't basic either then haha
04:01 Cornelia Well.. why don't you do this:
04:01 erudition yeah, that's fine
04:01 Cornelia local print = minetest.chat_send_all
04:01 erudition maybe I could do say = otherfile.say
04:01 erudition ah
04:01 erudition same thing
04:01 Cornelia You could even...
04:01 erudition since functions are first class values
04:02 Cornelia --[[ start of mod init.lua ]] say = minetest.chat_send_all ; ... bunch of Lua code and calls to dofile ... ; say = nil -- end of init.lua
04:03 Cornelia Since say is global, dofile will see it
04:03 Cornelia Even safer is to add a "local old_say = say" and set say to old_say at the end
04:03 erudition that's perfect
04:04 Cornelia As long as you didn't call any mod which needed old_say you'd be fine
04:04 erudition although what's unsafe about say()?
04:04 Cornelia But I find that to be a hack.
04:04 erudition it's just an alias for a command that every other mod can use anyway
04:04 erudition why set it to nil?
04:04 Cornelia 1) pollutes globals table, 2) what if there's a mod called "say"
04:04 Cornelia Setting to nil clears the value
04:04 Cornelia Do the old_say isntead
04:05 Cornelia *instead
04:05 erudition well it doesn't pollute anything if it's local
04:05 erudition oh, then dofile can't see it, hmm
04:05 Cornelia local old_say = say ; say = minetest.chat_send_all ; ... ; say = old_say
04:05 Cornelia The point -- yea
04:06 erudition haha set the other mod to old_say
04:06 erudition nice
04:06 Cornelia Making it global makes it so you wouldn't have to redefine it in every chunk.
04:06 Cornelia Hmm..
04:06 erudition would that really be a conflict with a mod? isn't a mod more than just a function
04:06 Cornelia I wonder if it's still work with local say (the dofile's I mean)
04:07 erudition i.e., a mod called "say" doesn't mean that say() is a thing, does it?
04:07 Cornelia The PIL book says dofile compiles the script file as a chunk and executes it in the current context... I think..
04:07 Cornelia Most mods make a global table that is called the mod's name
04:08 Cornelia It might not, but it could.
04:08 erudition damn
04:08 erudition who knew it was so complicated just to make an alias
04:09 erudition alright, so dofile isn't working anyway xD
04:09 Cornelia Of you have access to a Lua interpreter test things:
04:09 erudition yeah i can try accessing it from a dofile
04:09 Cornelia --[[ inside test.lua ]] local say = print ; dofile("other.lua")
04:10 Cornelia --[[ inside other.lua ]] say("something")
04:10 Cornelia It either works or you get an error.
04:10 Cornelia > lua test.lua
04:10 Cornelia See what happens.
04:10 Cornelia I'm on my phone and can't. :P
04:11 erudition dofile isn't working anyway
04:11 Cornelia :/
04:11 erudition says it can't find the file
04:11 Cornelia What do you mean?
04:11 Cornelia I dunno why...
04:11 Lord_Buckethead !tell Open_Future at what scale are you trying to get the map anyways?
04:11 MinetestBot Lord_Buckethead: yeah, yeah
04:11 erudition the path is correct
04:12 Cornelia Either files aren't in the right place or the path isn't set up properly
04:12 Cornelia What OS?
04:12 erudition Well I'm on gnu/linux but i'm remotely editing with my friend on a windows PC
04:13 Cornelia Wow. :P
04:13 erudition the only thing that's not kosher is the slashes
04:13 Cornelia Testing on Linux?
04:13 Cornelia Try running the test from Linux.
04:13 erudition no I'm full time gnu/linux
04:13 erudition I guess I will later when I can get the files over here
04:13 Cornelia I mean the test scripts I gave above. :P
04:14 Cornelia Just the two one liner test scripts... XD
04:14 erudition okay
04:14 Cornelia echo local say = print ; dofile("other.lua") > test.lua
04:14 erudition I'll make a new mod lol
04:14 Cornelia echo say("something") > other.lua
04:15 Cornelia lua test.lua
04:15 erudition oh
04:15 Cornelia But.. you could run it in a shell in twenty seconds. :P
04:15 Cornelia And know. :P
04:15 erudition if i have lua
04:15 Cornelia Surely you have a package manager of some kind.. :p
04:16 Lord_Buckethead erudition, require is just more complex to sandbox
04:16 Cornelia [package manager] install lua
04:16 erudition Lord_Buckethead: yeah...
04:16 Lord_Buckethead with dofile, loadfile, etc there are APIs you can reuse
04:16 erudition Cornelia: yep, i know
04:16 Lord_Buckethead require is kinda a blackbox, or at least it seems so
04:17 Cornelia I would have tested it already.. but my Android phone doesn't have a Lua interpreter. :P
04:17 Lord_Buckethead Cornelia, https://www.lua.org/demo.html
04:17 erudition actually the shell doesn't like the quotes
04:17 Lord_Buckethead bookmark that
04:17 Cornelia We need files.
04:17 erudition ^this
04:17 Cornelia We're testing dofile
04:18 Cornelia Replace them with single quotes
04:18 Lord_Buckethead what do you want to (ab)use it to do?
04:18 erudition seeing if dofile can see locals
04:18 Cornelia It should be fine then... Or.. just vim the files first
04:19 Lord_Buckethead iirc no because it changes the scope
04:19 erudition not in fish
04:19 erudition but yeah I got it
04:19 Cornelia From what I recall when I read the PIL book.. dofile (or at least loadfile) make the script it loads / does a function and executes it as a single chunk.. I was wondering if it saw the locals declared before the dofile
04:20 Cornelia You could also try loadfile("other.lua")()
04:20 Cornelia :p
04:20 Lord_Buckethead Cornelia, https://www.lua.org/pil/4.2.html
04:20 Lord_Buckethead its limited by chunk
04:20 Cornelia Ah.. I see.
04:20 Cornelia Yea..
04:21 Lord_Buckethead and any script loading/execution function **has** to change chunk
04:21 Cornelia I was remembering wrong. :P
04:21 Cornelia So.. yea.. If you really want a global "say" you could try the temporary redefinition approach, erudition
04:22 erudition mhm
04:22 Cornelia But I'd recommend just returning a table with the function from a "utility.lua" file
04:22 Cornelia local utils = dofile("utils.lua")
04:22 erudition alright
04:22 Cornelia utils.say
04:22 erudition mhm. assuming dofile works
04:22 Cornelia It's cleaner and less likely to break something.
04:23 erudition yup
04:25 erudition local tools = dofile("tools")
04:26 erudition or does the path have to be minetest.get_modpath("mymod") .. "\tools.lua"
04:26 * Lord_Buckethead wishs more mods did error correction
04:27 erudition 2018-01-07 22:00:12: ERROR[Main]: ModError: Failed to load and run script from C:\Users\jacob\Desktop\minetest-0.4.16-win6​4\bin\..\mods\Master\viralblocks\init.lua:
04:27 erudition 2018-01-07 22:00:12: ERROR[Main]: ...est-0.4.16-win64\bin\..\mods​\Master\viralblocks\init.lua:5: module 'C:\Users\jacob\Desktop\minetest-0.4.16-win6​4\bin\..\mods\Master\viralblocks/tools.lua' not found:
04:27 erudition I'm trying to correct this error :P
04:27 Cornelia Yes.
04:27 Cornelia You need the mymodpath ..
04:27 erudition it's there
04:28 erudition maybe the odd forward slash ?
04:28 erudition amongst all the windows backslashes
04:28 Cornelia Shouldn't matter
04:28 Lord_Buckethead shouldn't
04:28 erudition that's what i thought
04:28 Lord_Buckethead are you sure the file exists?
04:29 Lord_Buckethead maybe you named it tool.lua or something
04:29 erudition tools.lua haha
04:30 Cornelia Is your mod called "Master"?
04:30 erudition nope, that's the master branch, we have it in git
04:30 Cornelia Is "viralblocks" a mod in a mod pack called "Master"?
04:31 Cornelia Yea.. that might be why things are funky..
04:31 erudition technically, yes
04:31 erudition i added a modpack.txt
04:31 Cornelia Hmm..
04:32 Cornelia Is this on GitHub?
04:33 erudition yes actually
04:34 Cornelia Can I see the URL? :P I just wanna peek and see if I can spot an error or not.
04:35 erudition absolutely. thanks for your help and patience
04:36 erudition https://github.com/JacobHaig/ViralBlocks
04:37 Cornelia You.. declare a lot of globals right away..
04:37 erudition don't worry, we'll localize them
04:37 erudition kinda wish lua was local by default
04:38 WIs joined #minetest
04:39 Cornelia Also the functions you declare in tools.lua are global
04:40 erudition well at the time we wanted it to be library-ish
04:40 erudition but i'll have to fix that too
04:40 Cornelia First question: does the paths in the errors above exist?
04:41 Cornelia The closest way to "library-ish" is to make the file return a table containing the functions.
04:41 erudition gotcha - still trying to get used to the whole tables thing
04:42 erudition the paths in the error were straight from the generated minetest.get_modpath("mymod") .. "\tools.lua"
04:43 Cornelia Yes.. but do they exist on your system? :P
04:43 Cornelia It looks like they should.
04:45 erudition do they @WIs?
04:45 erudition it's his windows system lol
04:45 Cornelia Was that using require?
04:45 Cornelia Probably not, right?
04:46 Cornelia Hmm..
04:46 erudition no, require gave security error
04:46 Cornelia I don't think I'll be able to help much more... If my computer were on I could test it.
04:46 erudition okay, thanks though
04:47 Cornelia I'm not sure why that isn't working..
04:47 Cornelia I've seen several mods do similar.
04:48 Cornelia Take a peek here: https://github.com/minetest-mods/te​chnic/blob/master/technic/init.lua
04:48 erudition does minetest cache the mods directory?
04:49 Cornelia I wouldn't think so. :P
04:49 erudition so i don't need to restart it to see a new file
04:49 erudition okay
04:50 Cornelia Oh.. hmm..
04:50 Cornelia I think you'd just need to reload the world.
04:51 Cornelia But I'm not certain. :P
04:52 erudition okay, got it to work on my system, sweet
04:53 erudition so will local say = tools.say work?
04:53 erudition just curious
04:54 Lord_Buckethead yes
04:54 erudition great
04:55 Lord_Buckethead you can even get a local right that and then replace the value of tools.say
04:55 erudition a local right that?
04:56 Lord_Buckethead like that
04:56 * Lord_Buckethead has just failed at typing thats all
04:58 erudition Cornelia: if you're wondering, we're attempting to build Conway's Game of Life in minetest
04:59 Cornelia I realized. :P
04:59 erudition probably not the best first mod haha
05:00 erudition or first-time-with-lua thing
05:00 Lord_Buckethead huh what are the rules like for 3d versions of that?
05:00 Lord_Buckethead s/3d/interesting 3d/g
05:00 erudition those exist! and there's at least one mod for that
05:01 erudition but actually I'm just interested in 2d planes
05:01 erudition so every height could theoretically be a separate playing board
05:01 * Lord_Buckethead briefly wonders did anyone figure out how to get it to work in n-dimensions
05:02 erudition that's pretty trivial actually, but you'd need to make up rules for every dimension
05:04 Tux[Qyou] joined #minetest
05:04 erudition a 72-sided cell survives if it has how many neighbors? 37-46? haha
05:04 Lord_Buckethead that kinda feels like cheating, I was thinking of a set of rules that works in a whole bunch of dimensions
05:05 erudition but you couldn't visualize that anyway, which is the fun part :P
05:05 erudition oh sure, the rules could be like dimensions/3 or something
05:05 Lord_Buckethead like die if neightbour =< floor(N * 1.5)
05:06 erudition there ya go
05:06 * Lord_Buckethead awaits hashlife in minetest
05:07 erudition honestly the hardest part of this project hasn't been the GOL code, or even Lua
05:07 erudition it's the Minetest
05:07 erudition trying to check the neighbors of... air blocks
05:07 Lord_Buckethead wat?
05:07 erudition ABMs don't work
05:08 erudition it's been interesting
05:08 Lord_Buckethead ABMs are horrible
05:08 erudition so we've learned
05:08 Lord_Buckethead don't see why it wouldn't work
05:08 erudition why what wouldn't?
05:08 Lord_Buckethead 'air' isn't really all that diffirent from 'default:stone'
05:09 erudition oh I know
05:09 Lord_Buckethead erudition, abms for air nodes
05:09 erudition I'm sure I could assign an abm to every air node somehow
05:09 erudition but that would blow up
05:10 Lord_Buckethead so assign ABMs to your game of life nodes
05:10 erudition we did lol
05:10 erudition that's no enough
05:11 erudition two problems with that - one is that it's only good for the die/survive rules
05:11 erudition another is abms occur in an erratic order
05:11 Lord_Buckethead they were never meant for this
05:11 erudition you don't say haha
05:11 Lord_Buckethead they are not meant for half the stuff they are used for
05:12 WIs lol
05:12 Lord_Buckethead ok
05:12 Wis joined #minetest
05:41 luk3yx If I did an invisible image button with a label on top, I might be able to centre/center text
05:41 Cornelia I was gonna mention the other day.. you could bake the text into an image.. maybe?
05:42 luk3yx Possibly, but the more textures the worse it is
05:42 Cornelia Anyways.. goodnight.
05:42 luk3yx Bye
05:44 luk3yx doors_blank.png
05:45 luk3yx doors_blank.png^[colorize:#000f
05:45 luk3yx For those people who override doors_blank.png for whatever reason
05:46 luk3yx Perfect
05:59 lumberJ joined #minetest
06:05 est31 joined #minetest
06:11 luk3yx Final code: image_button[<X>,<Y>;<W>,<H>;d​efault_dirt.png^\\\[colorize:#343434;exit;<label>]
06:11 luk3yx *image_button[<X>,<Y>;<W>,<H>​;default_dirt.png^\[colorize:#343434;exit;<label>]
06:11 luk3yx Because my formspec handler ignores 'exit'
06:11 Akberid joined #minetest
06:15 est31 joined #minetest
06:45 luk3yx It works, and lets me add an easter egg
06:45 luk3yx Yay!
06:50 ruskie joined #minetest
07:11 Tux[Qyou] joined #minetest
07:13 teh_steve joined #minetest
07:13 sameyepatch[m] joined #minetest
07:13 fireglow[m] joined #minetest
07:14 snek joined #minetest
07:15 thePalindrome joined #minetest
07:16 The_Loko joined #minetest
07:18 simon816 joined #minetest
07:29 Gael-de-Sailly joined #minetest
07:38 CWz joined #minetest
07:46 MaybeDragon joined #minetest
08:10 frostsnow joined #minetest
08:29 jluc joined #minetest
08:51 ensonic joined #minetest
09:21 Leoneof joined #minetest
09:22 nowhereman_ joined #minetest
09:27 illwieckz joined #minetest
09:32 nac joined #minetest
10:06 est31 joined #minetest
10:06 proller joined #minetest
10:49 AndDT joined #minetest
11:41 yusf What's the config var to limit the world total size?
11:42 sfan5 https://github.com/minetest/minetest/blob​/master/minetest.conf.example#L1522L1526
11:49 Gael-de-Sailly joined #minetest
11:51 YuGiOhJCJ joined #minetest
11:54 Markow joined #minetest
11:57 aheinecke joined #minetest
12:05 yusf sfan5: There it is! Thanks!
12:10 Beton joined #minetest
12:14 red-001 joined #minetest
12:54 EvergreenTree joined #minetest
13:23 Samson1 joined #minetest
13:29 FreeFull joined #minetest
13:48 ThomasMonroe joined #minetest
14:31 EvergreenTree joined #minetest
14:39 Beton_ joined #minetest
15:19 MrResearch joined #minetest
15:21 MrResearch joined #minetest
15:24 Fixer joined #minetest
15:26 nowhere_man joined #minetest
15:28 ektor joined #minetest
15:36 antims joined #minetest
15:45 craigger joined #minetest
15:50 craigger joined #minetest
15:52 t20kdc joined #minetest
15:59 Billre Does this mean that we can make a world any size?
16:01 t20kdc Billre: I'm pretty sure the current limits are safety limitations. Floating point maths gets...
16:01 t20kdc ...how do I put this...
16:02 Billre busy?
16:02 t20kdc I'm just going to quickly test some 32-bit floating point maths.
16:02 t20kdc Should give you an idea of what happens when the limits are exceeded.
16:03 Billre I wouldn't even know where to begin testing that limit
16:04 t20kdc "62823.000000 + 12.340000 = 62835.339844"
16:06 t20kdc Notice that at this point (double the safety margin) the margin of error is already over 0.00015 - when working with entities that have velocities multiplied by delta-time under a certain value, that's not good.
16:07 t20kdc Something going at 1 block per second at 100FPS is going at 0.01 - at that point calculation errors can have a visible effect over time.
16:08 t20kdc *at 0.01 per frame -
16:08 t20kdc I'm also not sure what the details regarding mapblock IDs are, so it's possible they could have an inherent limit.
16:14 Leoneof minetest is suitable for old man?
16:15 Tux[Qyou] joined #minetest
16:42 fireglow joined #minetest
16:57 EvergreenTree joined #minetest
17:07 Akberid joined #minetest
17:10 Krock joined #minetest
17:15 Pie-jacker875 joined #minetest
17:16 erudition joined #minetest
17:19 fireglow joined #minetest
17:29 whitephoenix joined #minetest
17:30 swift110 joined #minetest
17:38 nac joined #minetest
17:41 jluc sure as long as they like to play
17:45 Leoneof I cannot imagine
17:51 Leoneof|2 joined #minetest
17:57 xerox123 joined #minetest
17:57 Telesight joined #minetest
18:24 deltasquared joined #minetest
18:25 deltasquared oh cool, calinou briefly forked my mod... doesn't seem to be around now, though. not sure if I should feel a small amount of pride
18:31 Gael-de-Sailly joined #minetest
18:52 sy joined #minetest
18:54 fwhcat joined #minetest
19:02 xerox123 joined #minetest
19:03 xerox123_ joined #minetest
19:03 xerox123_ joined #minetest
19:04 Krock !tell deltasquared Forking sounds good. That's the first step to get PRs :D
19:04 MinetestBot Krock: I'll pass that on when deltasquared is around
19:05 Jousway joined #minetest
19:16 Gael-de-Sailly joined #minetest
19:21 Enricoo joined #minetest
19:25 xerox123 joined #minetest
19:25 KrimZon_2 joined #minetest
19:36 ensonic joined #minetest
19:38 swift110 joined #minetest
19:48 ssieb joined #minetest
20:06 nowhere_man joined #minetest
20:16 Lone-Star joined #minetest
20:17 Copenhagen_Bram joined #minetest
20:21 frostsnow joined #minetest
20:22 pgimeno what's with the travis builds?
20:23 sfan5 what's wrong?
20:24 pgimeno I'm getting "All checks have failed" for a while
20:25 pgimeno it says something about an HTTP error
20:25 pgimeno e.g. https://github.com/minetest/minetest/pull/6896
20:26 rubenwardy odd
20:26 rubenwardy it can't get the LLVM public key
20:28 sfan5 it's been like that since a while
20:28 pgimeno yeah, the PR I sent a few days ago failed too
20:29 pgimeno or rather, the commit I added made it fail
20:32 rubenwardy pgimeno: merged a PR
20:32 rubenwardy meant to merge days ago but kept getting distracted
20:32 rubenwardy also, you should join #minetest-dev
20:33 pgimeno rubenwardy: thanks
20:33 MinetestBot [git] pgimeno -> minetest/minetest: Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice() 63f4ee2 https://git.io/vNL7a (2018-01-08T20:32:15Z)
20:34 compunerd joined #minetest
20:38 pgimeno will do, but I'm about to mostly disappear for a while (I'll be available from time to time to address comments if they arise but I won't be able to dedicate more development time for some weeks)
20:38 rubenwardy aw, kk
20:39 Cornelia joined #minetest
20:40 pgimeno I'm hurrying to finish a PR about #4183 before that happens
20:40 rubenwardy !title github.com/minetest/minetest/issues/4183
20:40 MinetestBot That's not a valid URL
20:40 rubenwardy liar
20:40 rubenwardy !title http://github.com/minetest/minetest/issues/4183
20:40 pgimeno it's https
20:40 MinetestBot rubenwardy: Mod conflicts if same mod in many modpacks · Issue #4183 · minetest/minetest · GitHub
20:40 rubenwardy ah, I see
20:40 rubenwardy that would be good to see
20:42 pgimeno only one issue pending to fix in the Lua side at saving time, it's in a branch in my repo if you want to look, can't remember the name now
20:44 pgimeno MinetestBot: hi! it would be nice if you could link to a #issue number with e.g. !#4183
20:44 pgimeno aww
20:44 pgimeno !#4183
20:44 pgimeno !mtg #4183
20:45 pgimeno !mt #4183
20:45 pgimeno nope
20:45 rubenwardy mtg can't do that
20:45 rubenwardy shadowbot can in #minetest-dev
20:45 pgimeno ah
20:45 pgimeno I'll join there after dinner
20:55 whitephoenix joined #minetest
20:56 nac joined #minetest
20:56 whitephoenix0 joined #minetest
21:01 erudition joined #minetest
21:01 Cornelia Hey erudition
21:01 pgimeno rubenwardy: I have the modification to #6896 (the off-by-one in logging) ready. What's customary in these kind of cases? To get rid of the previous patch and force-push the new? Or to add to the PR?
21:01 erudition Cornelia: hiya
21:02 rubenwardy errr, new commit I guess
21:02 rubenwardy incase someone takes offense
21:02 rubenwardy we'd just squash it on merge anyway
21:02 pgimeno okay, thanks
21:02 pgimeno I'm not fan of squashes, but I agree they're necessary sometimes
21:03 rubenwardy it keeps the commit history clean, although you should only squash if it's fixing a mistake in a commit
21:03 rubenwardy and in a feature branch
21:03 pgimeno kk
21:03 rubenwardy this was merged unsquashed as there's separate steps to it: https://github.com/minetest/minetest/pull/5154
21:05 lumberJ joined #minetest
21:06 pgimeno I see
21:08 RobbieF joined #minetest
21:08 RobbieF left #minetest
21:20 Tmanyo joined #minetest
21:30 quater joined #minetest
21:31 quater hi
21:40 erudition joined #minetest
21:44 quater !tell quater hi
21:44 MinetestBot You can tell that to yourself
21:44 t20kdc !tell MinetestBot you are rude
21:44 MinetestBot I'm not dumb, you know?
21:45 sy rude
21:45 Darcidride joined #minetest
21:45 rubenwardy ~tell ShadowBot hello
21:45 ShadowBot rubenwardy: Error: I can't send notes to myself.
21:57 troller joined #minetest
21:58 stiell joined #minetest
22:01 quater !seen quater
22:01 MinetestBot quater: quater was last seen at 2018-01-08 21:44:14 UTC on #minetest
22:07 troller joined #minetest
22:13 rcmaehl joined #minetest
22:17 troller joined #minetest
22:21 jluc i've written a py script for hexchat so as to link #1234 to corresponding url
22:21 jluc in case anybody intereested
22:21 erudition joined #minetest
22:23 rubenwardy oh nice
22:23 rubenwardy that's cool
22:25 jluc i run it for other chans actually and other bug trackers
22:26 jluc it can be adapted for minetest when sbd wants to runnit on its hexchat
22:26 swift110 joined #minetest
22:27 pgimeno jluc: cool, can it choose links by channel?
22:27 pgimeno jluc: hm, problem is it would only cover MT bugs, not MTG
22:28 troller joined #minetest
22:28 jluc as for now it provides only one set of urls (#issues and commits) for all chans it is activated
22:28 rubenwardy pgimeno has the same nick color as paramat, which is slightly confusing
22:28 rubenwardy roughly the same length nicks too
22:29 troller joined #minetest
22:29 pgimeno oops
22:30 jluc see https://github.com/JLuc/hexchatdevbot/
22:30 pgimeno jluc: thanks!
22:31 pgimeno_ better?
22:33 troller joined #minetest
22:37 paramat joined #minetest
22:38 troller joined #minetest
22:38 Copenhagen_Bram joined #minetest
22:42 troller joined #minetest
22:43 pgimeno_ ^ @rubenwardy
22:43 rubenwardy lol
22:43 rubenwardy it is, you didn't have to change your nick though :D
22:44 pgimeno_ I have both registered, better use it lest I lose it :)
22:46 stiell joined #minetest
22:47 Akberid left #minetest
22:51 Animetrom joined #minetest
22:51 Animetrom left #minetest
22:53 jluc gn
22:54 troller joined #minetest
22:54 paramat yes please discuss dev stuff in dev channel, it can be missed or ignored in this channel
22:59 * pgimeno_ takes note
23:04 Gael-de-Sailly joined #minetest
23:07 nowhere_man joined #minetest
23:12 troller joined #minetest
23:14 troller joined #minetest
23:22 troller joined #minetest
23:25 Tux[Qyou] joined #minetest
23:28 swift110 joined #minetest
23:29 Fritigern joined #minetest
23:40 nowhere_man joined #minetest
23:44 troller joined #minetest
23:46 blaise joined #minetest

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