Minetest logo

IRC log for #minetest-dev, 2013-09-07

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

All times shown according to UTC.

Time Nick Message
00:03 ShadowNinja sfan5: Yes, although I noticed that world loading time, especially "Item definitions..." Took a lot longer on your branch. But maybe that is annother commit, will test.
00:25 Exio4 what way would you suggest for sharing 'configs' or things like zoom_fov to the client? PilzAdam suggested TOCLIENT_FLAG u16 command, u16 len, s8[] name, s8 bool  would be useful for the future
00:28 ShadowNinja Nope, it is definitely the leveldb patch that is slowing down loading.
00:29 ShadowNinja Exio4: See how Taoki did it for the movement patch.
00:31 Exio4 it is adding a dedicated command for just that
00:31 Exio4 i don't think adding one for something like zoom_fov could be useful
01:14 OWNSyouAll_DESKT joined #minetest-dev
01:25 ShadowNinja Hmmm, if you add a TOCLIENT_CONFIG or some such other things should be changed to use it, but that means a protocol bump.
01:53 owl joined #minetest-dev
01:55 proller cloud_height to ^ config
02:45 BrandonReese joined #minetest-dev
04:08 Dan68 joined #minetest-dev
04:08 Dan68 celeron55: you on Hyperboria yet?
04:59 Taoki[mobile] joined #minetest-dev
05:16 nore joined #minetest-dev
06:09 kahrl sfan5, why is leveldb bundled in #907?
06:09 sfan5 it was so in the original commit and..
06:10 sfan5 we normally have the library bundeled with minetest
06:10 sfan5 s/the library/libraries/
06:10 kahrl we don't bundle irrlicht, luajit, freetype, gettext, ...
06:11 kahrl leveldb isn't supported on windows, so that leaves unix(like) platforms where you can get leveldb easily from the package manager
06:11 sfan5 what about compatibility between leveldb versions?
06:12 kahrl that is of course a concern
06:12 kahrl how often does the leveldb API change?
06:12 sfan5 dunno
06:15 kahrl generally (imho) bundling should be a last resort when we either (a) have to make sure the code is compiled with specific options, e.g. lua, (b) modify something, e.g. jthread,
06:15 kahrl or (c) it's required on windows but there is no ready binary distribution of it anywhere
06:16 sfan5 if we add windows support for leveldb we surely need some additional files
06:16 sfan5 (which would need to be included with leveldb)
06:17 kahrl perhaps try to get the modifications upstream
06:17 kahrl as in leveldb upstream
06:18 sfan5 I don't think the leveldb authors would accept boost as a dependency just for windows support
06:19 kahrl ah, I thought somebody was working on a boostless version?
06:20 sfan5 there are some online but...
06:20 sfan5 the first I tried didn't compile with mingw
06:20 sfan5 and then I kinda gave up
06:20 kahrl probably just a missing _WIN32_WINNT definition
06:21 kahrl that's what causes most errors
06:22 sfan5 there were problems with _snprintf_s not being available using mingw
06:22 kahrl hmm
06:23 sfan5 here is the patch http://sfan5.duckdns.org/0001-Make-LevelDB-work-on-Windows.patch
06:24 sfan5 applies to HEAD^ of sfan5/minetest leveldb branch
06:25 kahrl don't have a cross compiling environment here so I can't help much, sorry
06:26 sfan5 all you need is the mingw toolchain and some libraries
06:26 kahrl it seems that code defines _snprintf_s, strange
06:27 sfan5 I added the _snprintf_s function
06:27 sfan5 it calls _vsnprintf
06:30 kahrl I assume that works with mingw? what other errors are there?
06:32 sfan5 if you apply that patch it compiles but doesn't work
06:32 sfan5 I suspect because of _snprintf_s
06:33 kahrl hmm
06:33 kahrl I guess you could replace WinLogger::Logv with an empty function just to see if that fixes it
06:33 kahrl it's just a logger after all
06:34 sfan5 yes, I will try that
06:35 Neological joined #minetest-dev
07:05 sfan5 nope doesn't fix it
07:25 e1z0 joined #minetest-dev
07:48 Calinou joined #minetest-dev
08:11 darkrose joined #minetest-dev
08:14 werwerwer joined #minetest-dev
08:34 Akien joined #minetest-dev
09:44 kahrl woo, finally got around to doing something again
09:44 * kahrl is almost done with formspec table: https://github.com/kahrl/minetest/commit/c8a944a54a16288589a5c3c2a8fecbd8822f39cf
09:44 kahrl preliminary docs: http://paste.dy.fi/zZD
09:49 john_minetest joined #minetest-dev
09:49 john_minetest joined #minetest-dev
10:05 neko259 joined #minetest-dev
10:23 iqualfragile joined #minetest-dev
10:48 iqualfragile_ joined #minetest-dev
10:57 Taoki[mobile] joined #minetest-dev
11:30 Exio4 o.O
11:33 Jordach joined #minetest-dev
11:37 john_minetest O.o
11:59 Calinou joined #minetest-dev
12:09 PilzAdam joined #minetest-dev
12:16 kahrl does anybody have good icons we could use in the main menu for creative/damage/pvp flags?
12:16 kahrl also checkbox icons (the checked and unchecked states could be taken from irrlicht but a "half-checked" one would be nice as well)
12:20 john_minetest kahrl: I could make some.
12:21 john_minetest resolution?
12:21 kahrl 16px would be best I think
12:21 john_minetest okay. damage could be a hearth (maybe the standard one), pvp a shield and creative a block.
12:23 kahrl a hearth could show whether fire is enabled :P
12:23 nore kahrl: I have a suggestion for formspecs
12:25 nore btw, have you made any screenshots of formspec table?
12:25 kahrl I was thinking maybe a paint brush for creative? But a block might be good too
12:26 kahrl nore, not yet
12:26 kahrl I could though
12:26 nore and a suggestion for formspecs, since you seem to be working on them:
12:26 nore allow formspecs to provide their own key handling if they want
12:27 PilzAdam tetris!
12:27 nore that could be useful for that ;)
12:27 PilzAdam that would probably lag a lot on servers
12:28 nore you're probably right
12:29 nore perhaps after the client-side modding API then... (in a few years :p)
12:31 kahrl simple screen shot that shows off the align and color features: http://i.imgur.com/o8XfB2q.png
12:32 kahrl uses the tablecolumns "color;text,align=left;text,align=center;text,align=right"
12:32 john_minetest kahrl: I'll upload the pics...
12:32 kahrl john_minetest: ooh that was quick :)
12:33 nore kahrl, have the lines limited length? (labels have, which is a problem...)
12:33 kahrl they don't but there is no horizontal scroll bar (yet anyway)
12:34 nore good...
12:34 john_minetest kahrl: One is the default hearth, the other two are made by me.
12:34 john_minetest http://pastebin.sabayon.org/pastie/13213
12:35 john_minetest Maybe instead of that shield I could do two crossed swords...
12:36 kahrl thanks!
12:37 kahrl I'll try it out and upload a screenshot
12:37 john_minetest okay
12:40 PilzAdam maybe the textures should be darkened instead of missing if the setting is not set
12:43 kahrl http://i.imgur.com/IPYJ7Xu.png
12:43 kahrl I'll try the darkening thing as well
12:46 john_minetest There should be some kind of sorting/server search
12:47 john_minetest maybe like a table, in the top with a click on one of the symbols search for them can be activated or deactivated.
12:47 kahrl I thought about it but there might not be enough screen space
12:48 john_minetest Also sort by ping could be useful
12:48 sfan5 ^
12:49 john_minetest xonotic does it quite well.
12:49 john_minetest Something like their server list could be useful maybe.
12:51 kahrl well we might have something to do for 0.4.9 ;)
12:53 john_minetest I think what would be VERY useful would be a page with all servers listed.
12:53 john_minetest Sortable and searchable
12:53 john_minetest With logos for the servers that send one to the page owner.
12:57 john_minetest A list like that: http://en.minecraft-server.eu/?go=serverliste
12:59 kahrl screenshot with darkened icons: http://i.imgur.com/bqcTSZ2.png
13:00 john_minetest Is it possible to add vertical lines so it is more table-ish?
13:01 kahrl no
13:01 kahrl I could add it but would that look good?
13:02 john_minetest I don't know...
13:03 Prestotron562 joined #minetest-dev
13:03 john_minetest Btw, found a page with nice banners: http://minecraftservers.org/
13:03 Prestotron562 [deleted]
13:03 john_minetest hi
13:03 kahrl too much blinking going on there, I can't concentrate on anything ;)
13:04 john_minetest Yeah, it is a bit blinky. But with normal png banners and sorting it would be quite cool.
13:04 john_minetest servers.minetest.net is quite limited
13:04 Prestotron562 [deleted]
13:36 iqualfragile joined #minetest-dev
13:39 Zeitgeist_ joined #minetest-dev
13:45 iqualfragile_ joined #minetest-dev
14:17 dysoco joined #minetest-dev
14:41 thexyz guess it may be a good idea to enable droidsans fallback font for chinese/japanese languages
14:45 celeron55 kahrl: the initial table with icons looks surprisingly good
14:47 thexyz and since irrlicht gui sucks it's the only way to get japanese/chinese symbols
14:50 john_minetest thexyz: Are you the maker of the servers.minetest.net site?
14:50 thexyz I host it
14:51 Taoki joined #minetest-dev
14:51 john_minetest Is it possible to make the list sortable and add icons to it?
14:51 john_minetest Icons like that: http://i.imgur.com/bqcTSZ2.png
14:51 john_minetest Picture by kahrl
14:51 thexyz ask proller
14:52 PilzAdam john_minetest, better to do that directly in http://minetest.net/servers
14:53 PilzAdam servers.minetest.net is ugly and requires 3rd party scripts
14:54 john_minetest and cool sound effects :b
14:54 john_minetest Something like http://minecraftservers.org/ but less blinky and sortable and searchable like http://en.minecraft-server.eu/?go=serverliste .
15:02 ecube joined #minetest-dev
15:10 ShadowNinja https://github.com/minetest/minetest/pull/856 <-- PilzAdam? sfan said it was good.
15:13 PilzAdam why an example in lua-api.txt?
15:16 PilzAdam maybe pass the return value of is_protected() to the on_violation() callbacks?
15:16 PilzAdam so mods can pass strings or something
15:17 e1z0 joined #minetest-dev
15:20 john_minetest There should be a server capacity test.
15:20 john_minetest I wonder how many people can join one server.
15:20 thexyz there was one
15:20 sfan5 ^
15:21 ShadowNinja PilzAdam: The callbecks get the same parameters as is_protected, they can generate and data they need.
15:21 ShadowNinja callbacks* any*
15:21 john_minetest thexyz: About one year ago.
15:21 thexyz probably
15:22 ShadowNinja I thought of adding is_protected(pos1, pos2, name)
15:22 john_minetest Minetest changed a lot since then.
15:22 ShadowNinja Perhaps is_protected(name, pos1[, pos2])
15:23 PilzAdam ShadowNinja, whats pos2?
15:23 ShadowNinja PilzAdam: For checking a area for protection.
15:24 thexyz john_minetest: that may be a good idea then
15:25 john_minetest Blocks can be protected for several people. How will that work with those functions?
15:25 iqualfragile joined #minetest-dev
15:25 john_minetest http://c55.me/blog/?p=1199
15:26 john_minetest It was when stairs were added to the game.
15:27 thexyz yeah, I remember that, it was lagging a lot
15:27 thexyz still, was fun
15:28 Exio4 setup one! :P
15:28 iqualfragile_ joined #minetest-dev
15:29 john_minetest I can't set up my router.
15:29 john_minetest So I can't run one.
15:30 john_minetest Lol, OldCoder could test his server with it :b
15:30 john_minetest But we need a date and preparation time.
15:30 john_minetest Around 21:00 german time.
15:30 Calinou joined #minetest-dev
15:30 Exio4 21 german time? UTC+2?
15:31 john_minetest yes
15:31 john_minetest This graph should be german time and it says that at this time there are most chat lines. http://sfan5.duckdns.org/ircstats/minetest.html
15:33 Exio4 ask him, maybe it is UTC
15:34 ShadowNinja john_minetest: It will return if a player has access to the entire area.
15:34 john_minetest In the settings of minetest there is "opaque water" and when it is UNchecked the water is opaque.
15:35 sfan5 Exio4: its german time (UTC+2)
15:35 ShadowNinja So two protections, one by the player will return false, one area intersecting with the provided area owned by annother player will return true.
15:35 Exio4 k
15:36 PilzAdam I prefer CEST instead of "german time", just to confuse everyone </offtopic>
15:36 Exio4 ART > *
15:42 thexyz using gettext is suffering
15:44 proller joined #minetest-dev
15:46 thexyz still cannot find how to get language it's using
15:46 thexyz okay, let'
15:46 thexyz let's just parse header entry
15:47 Prestotron562 joined #minetest-dev
15:47 Prestotron562 [deleted]
15:47 thexyz lol
15:50 thexyz Prestotron562: hello
15:50 Prestotron562 [deleted]
15:51 Prestotron562 [deleted]
15:51 thexyz Prestotron562: please, no offtopic in this channel
15:52 Prestotron562 [deleted]
15:52 Prestotron562 [deleted]
15:53 proller john_minetest, possible anything, src of master look in utils/master
15:59 mrtux joined #minetest-dev
16:01 Zeg9 joined #minetest-dev
16:07 thexyz lol, please, review https://github.com/xyzz/minetest-ru/commit/02089a77bd17c9255b358ce7cfd8f246cb71e57c
16:08 Prestotron562 [deleted]
16:08 thexyz if you know C++ then for sure
16:08 Calinou then no
16:09 thexyz Prestotron562: also, please, try to leave less useless messages in this channel or you'll be kicked
16:09 thexyz the part starting from 1406 is the most fun
16:10 Prestotron562 [deleted]
16:10 thexyz then feel free to
16:10 mrtux joined #minetest-dev
16:10 Calinou you don't
16:11 Prestotron562 [deleted]
16:11 Calinou I don't think so
16:11 Prestotron562 [deleted]
16:11 Prestotron562 [deleted]
16:11 Prestotron562 [deleted]
16:12 thexyz Calinou: Prestotron562: please stop offtopic
16:12 Prestotron562 [deleted]
16:12 Prestotron562 [deleted]
16:12 Exio4 thexyz: hax
16:13 thexyz Exio4: I'd like to know how to do it properly
16:13 Prestotron562 [deleted]
16:15 sfan5 thexyz: wouldn't s/setenv("LANGUAGE", /setenv("LANG", / be better?
16:15 thexyz sfan5: LANGUAGE has higher priority
16:15 sfan5 if you say so
16:15 thexyz gettext docs says so
16:16 Prestotron562 [deleted]
16:17 thexyz Prestotron562: http://translate.minetest.ru/projects/minetest/core/
16:17 sfan5 ""    std::string language = "en";"" shouldn't this be C instead of en ?
16:18 thexyz sfan5: no, it's only used to determine if we should use fallback font
16:18 thexyz sfan5: en is fine and easier to understand
16:18 Prestotron562 [deleted]
16:19 sfan5 ..
16:19 sfan5 that commit seems fine
16:19 sfan5 (except that it is a bit hacky to read the gettext files)
16:20 thexyz it's too hacky I'm afraid
16:20 Prestotron562 [deleted]
16:21 thexyz in how it detects if it should use fallback font, in how it detects current language
16:21 Exio4 you can code a mod for it and move this #minetest
16:21 thexyz but it's cross platform! (should be)
16:21 thexyz sfan5: can you test a win build?
16:21 thexyz sfan5: with CJK
16:21 Zeg9 Prestotron562: maybe another kind of biome.
16:22 Prestotron562 [deleted]
16:23 Zeg9 I was thinking of swamps (flat ones)
16:23 thexyz this is offtopic, but I'd like a lot of "random" biomes, like Tetris biome, 180° rotated biome, glitchy biome, biome with modified gravity and so on; imagine having all those in a single world
16:23 sfan5 ^
16:24 thexyz that'd be fun
16:24 Prestotron562 [deleted]
16:24 Prestotron562 [deleted]
16:24 sfan5 Prestotron562: could you please "switch off" your I-act-like-I-was-in-the-minetest-core-dev-team-mode
16:26 Prestotron562 [deleted]
16:27 celeron55 thexyz: the hacky parts of your commit need comments in the code
16:27 Exio4 // GETTEXT BLACK MAGIC?
16:27 celeron55 doing all that stuff is quite arbitrary otherwise
16:27 thexyz okay
16:28 kahrl lol Exio4
16:29 Prestotron562 [deleted]
16:30 sfan5 no
16:30 sfan5 ..
16:30 sfan5 a standard API for that would be better
16:30 john_minetest What do those -> arrows like in "settings->setDefault("mono_font_size", "13");" mean? Is it equal to settings::setDefault(...); or is it some other thing. I have never seen those arrows in C++ before.
16:31 kahrl john_minetest: a->b means (*a).b
16:31 sfan5 (dereferencing pointer)
16:32 john_minetest So it is a pointer to a class object function?
16:32 sfan5 a pointer to a class which has a function
16:33 kahrl s/pointer to a class/pointer to an object of a class
16:33 john_minetest So a function can be called without having to get/create an object simply by putting the arrow there?
16:33 thexyz celeron55: https://github.com/xyzz/minetest-ru/commit/f9d38f991267a553185d2d8a712d68bfaf2c8b3a
16:34 Prestotron562 [deleted]
16:34 sfan5 because you know Korean? sure..
16:34 thexyz wait, do you know korean?
16:35 sfan5 translating != putting the text into google translate
16:35 hmmmm joined #minetest-dev
16:36 Prestotron562 [deleted]
16:36 Exio4 don't do that
16:37 celeron55 what the fuck
16:37 john_minetest sfan5: So there is a reference to that class object. But where is it created? Is it a global object and if yes, what happens when I need an object array?
16:38 Prestotron562 [deleted]
16:38 sfan5 john_minetest: When the object contrustor is called; Depends on where it is defined; ""<type of object> <name_of_array>[];""
16:38 sfan5 Do _NOT_ use google translate
16:38 sfan5 even if someone can "check" it
16:38 sfan5 if you know someone who knows korean tell him to translate it himself
16:39 Prestotron562 [deleted]
16:39 sfan5 because it produces text with broken grammer
16:39 Exio4 gammer break texts produced it with
16:39 PilzAdam thexyz, its too hacky IMO
16:40 Prestotron562 [deleted]
16:40 PilzAdam why dont we simply use a default font that supports all these characters
16:40 john_minetest No, google translate is do translation in good into all languages.
16:40 PilzAdam +?
16:40 Prestotron562 [deleted]
16:40 Prestotron562 [deleted]
16:40 sfan5 Prestotron562: if you have him right there he can translate it directly instead of first using google translate and then he fixes it
16:41 Prestotron562 [deleted]
16:41 thexyz PilzAdam: because such font doesn't exist
16:41 sfan5 thexyz: http://pastie.org/private/un9lpi2waizgslmdtqrw
16:41 kahrl thexyz: couldn't the fonts we use be combined?
16:42 Prestotron562 [deleted]
16:42 Prestotron562 [deleted]
16:43 thexyz kahrl: I'm not sure about that; I've not found an easy way to combine them, only way to do that is to open both fonts in font editing software and copy characters by hand; and then you lose kern so mixture of, say, english and japanese would probably look terrible
16:44 kahrl perhaps someone could hack something with http://sourceforge.net/projects/fonttools/
16:45 thexyz sfan5: shiit
16:46 thexyz kahrl: okay, let's say we wait a week and if no one hacks anything with it we'll merge my code
16:49 john_minetest Google translator to languages ​​flawlessly in another language.
16:49 john_minetest Original sentence from google translator :b ^
16:51 kahrl fontforge has a merge command, not sure what it does to kerning info
16:53 john_minetest Seems I am too stupid to understand the difference between writing "settings *settings" and "settings settings". Except that the arrow works for the first one :b
16:54 mrtux joined #minetest-dev
16:56 thexyz sfan5: https://gist.github.com/xyzz/d44ac3208d7613fea477
16:58 thexyz kahrl: that may work
16:58 thexyz kahrl: how about licensing stuff?
17:14 IceCraft hello
17:17 kahrl thexyz: the licenses are probably not compatible, so let's forget about it
17:17 thexyz IceCraft: hello
17:17 thexyz kahrl: okay
17:18 thexyz the proper way is to support multiple fonts (like browsers do), but we're dealing with Irrlicht (and I'm not sure if anything actually supports it)
17:18 thexyz kahrl: by the way, http://en.wikipedia.org/wiki/Arial_Unicode_MS seems to be quite universal
17:18 thexyz but you see the problem
17:19 kahrl well the thing that supports truetype is in our codebase (CGUITTFont) so we could modify it
17:19 thexyz yeah, but are you seriously going to invest time in that?
17:19 kahrl not me anyway
17:20 thexyz I'm not going to do that either
17:20 kahrl I think your patch is best at the moment
17:20 thexyz okay, now to get somebody to test on windows
17:22 thexyz also, when are we releasing?
17:22 PilzAdam really soon (TM)
17:23 kahrl is the use of gettext("") to get the header documented?
17:23 thexyz yes
17:23 thexyz I put in the link
17:24 thexyz though this link doesn't tell anything
17:26 kahrl I was wondering because my gettext(3) manpage says under BUGS: When an empty string is used for msgid, the functions may return a nonempty string.
17:26 kahrl and being a bug it might get fixed
17:26 thexyz > This also has another advantage, as the empty string in a PO file GNU gettext is usually translated into some system information attached to that particular MO file, and the empty string necessarily becomes the first in both the original and translated tables, making the system information very easy to find.
17:26 thexyz http://www.gnu.org/software/gettext/manual/gettext.html#MO-Files
17:27 mrtux_ joined #minetest-dev
17:28 Prestotron562 joined #minetest-dev
17:29 thexyz I'm not sure why shouldn't it work
17:29 mrtux_ left #minetest-dev
17:29 kahrl I'm sure it works but I'm a bit worried it might silently stop working
17:31 eeew joined #minetest-dev
17:39 thexyz so you think they'll modify gettext to return empty string for "" disregarding actual translation, right?
17:40 thexyz I dunno, that just seems very wrong to me
17:41 kahrl well they listed it as a bug
17:42 thexyz at the same time they write it's not in docs
17:42 thexyz > the empty string in a PO file GNU gettext is usually translated into some system information
17:42 kahrl what does "usually" mean?
17:43 celeron55 and "some" 8)
17:43 kahrl then again it's been working that way for years and probably unlikely to change
17:43 celeron55 it's really dumb that there's no other way of knowing the language though
17:43 thexyz this dispute leads nowhere
17:44 celeron55 (yes, obviously this is just time-wasting)
17:46 kahrl I guess a completely safe way to do it would be is_yes(gettext("this_language_requires_a_fallback_font"))
17:47 celeron55 maintaining those magic translations could be a pain
17:48 thexyz kahrl: I love this; any reason not to use?
17:48 kahrl well what celeron55 said
17:48 kahrl but it might be manageable
17:49 thexyz I don't see how's that a pain
17:49 kahrl will weblate users know what to do with it?
17:51 thexyz I can add a check for that
17:51 thexyz so only values "Yes" and "No" (and empty perhaps) are allowed
17:51 kahrl ah, perfect
17:51 celeron55 if it's viable for you, then go ahead
17:53 thexyz can I just append it to *.po or will it be overwritten by updatepo?
17:53 thexyz oh, meh
17:53 thexyz how will it sort them
17:53 thexyz is the question
17:54 thexyz and how to name it
17:55 kahrl sort what?
17:57 thexyz strings in .po, though it doesn't matter
17:57 thexyz I'll just call it "fallback_font"
17:58 kahrl perhaps need_fallback_font to make it clear it's a yes/no thing
17:58 celeron55 overally this is ridiculous though; i wonder if there would be a usable technology without this problem
18:01 thexyz kahrl: "needs" maybe?
18:01 thexyz celeron55: there's gnu unifont but it looks ugly
18:01 kahrl thexyz, sure
18:01 celeron55 how does openttd's chat do this? or does it?
18:01 thexyz but the idea is great
18:06 thexyz font is the least issue; IME is what makes it all fun
18:07 celeron55 does any IME thing work with MT?
18:08 celeron55 my guess: no, and never will
18:09 thexyz dunno, but probably no
18:09 thexyz there was something for Irrlicht but I think it's windows only
18:11 thexyz https://github.com/xyzz/minetest-ru/commit/e44f02156f16f1d453926acd5e99b6ed43c2e251
18:11 thexyz sfan5: can you test it now?
18:11 sfan5 yes
18:12 thexyz ok, do please
18:18 thexyz sfan5: plz
18:18 sfan5 yes
18:18 sfan5 there are like 3 people that currently want me to do anything
18:18 sfan5 *something
18:19 sfan5 compiling 30%..
18:19 thexyz meh forget about other ones
18:21 Ritchie joined #minetest-dev
18:25 sfan5 it does compile
18:26 thexyz does it work?
18:26 thexyz with different locales
18:26 thexyz err, languages
18:28 sfan5 in case somebody has a windows machine to test it: http://sfan5.duckdns.org/minetest-0.4.7-4a22034-win32.7z
18:28 sfan5 (i have a windows machine too)
18:38 nore joined #minetest-dev
18:40 sfan5 thexyz: "Font file was not found. Using default font."
18:44 ShadowNinja Wow, the pipeworks code is about as bad as the technic code, if not worse.
18:44 ShadowNinja (Next mod I rewrite?)
18:45 nore ShadowNinja, why?
18:45 nore and what part of it?
18:45 thexyz ShadowNinja: did you rewrite technic?
18:46 nore he is rewriting it
18:46 nore https://github.com/RealBadAngel/technic/tree/rewrite
18:46 ShadowNinja nore: Everything, the indentation, the break_node function for the node breaker should be about five lines, not 50.
18:46 nore node_breaker -> almost copy-pasted from technic
18:47 ShadowNinja No spaces around '=', I have to manually call tube_scanforobjects instead of having it called for nodes in the tubedevice group.
18:47 nore and the indentation in what part? item transport or flowing logic?
18:47 PilzAdam is this relevant to Minetests core development?
18:48 ShadowNinja Oh, oops, I thought this was #minetest.
18:48 nore sorry, I thought too
18:59 werwerwer_ joined #minetest-dev
19:00 thexyz sfan5: that's strange, does this happen all the time?
19:01 sfan5 yes
19:03 thexyz hm..
19:03 thexyz why would it stop working for non-fallback font
19:04 sfan5 thexyz: trying to open DroidSansFallbackFull.ttf says it is not a valid font file
19:04 sfan5 no
19:04 sfan5 I mean with fallback font
19:09 thexyz huuh
19:13 thexyz someone broke it in a really bad way
19:13 thexyz http://i.imgur.com/sraMHTz.png
19:14 PilzAdam clean GUI
19:14 PilzAdam I like it
19:14 john_minetest yeah. Should be upstream.
19:14 thexyz it *is* upstream
19:15 john_minetest It doesn't disadvant analphabets so it is social and should keep away critics.
19:15 john_minetest A good change :b
19:15 john_minetest *disadvantage
19:16 PilzAdam also there is no disatvantage for blind people
19:16 sfan5 ^
19:16 thexyz it does, it works fine with english/german/etc
19:16 thexyz and this is russian
19:16 john_minetest oh. Well, then just take a pen and write the button text on the screen.
19:17 thexyz haha your fun
19:17 thexyz (not)
19:18 nore A question: is that a good idea?:
19:18 nore <Peacock> speaking of nodeboxes, what if we could define each box using vertices instead? (with helpers for the old method)
19:19 Akien joined #minetest-dev
19:20 thexyz sfan5: can you bisect that for me? <3
19:21 thexyz so that I know who to shout at
19:23 sfan5 eh
19:23 sfan5 can't you do that yourself
19:23 sfan5 I'm busy atm
19:24 thexyz okay
19:25 nore has anyone been able to find where the entity duplication comes from?
19:25 thexyz okay, so I just have to run buildwin32.sh
19:26 Taoki joined #minetest-dev
19:27 thexyz wait, no, I should figure out why doesn't fallback font work
19:28 sfan5 if you need my compliation script ping me
19:30 troller joined #minetest-dev
19:33 jojoa1997 joined #minetest-dev
19:35 proller joined #minetest-dev
19:37 thexyz sfan5: okay, looks like the font is wrong
19:37 ShadowNinja nore: It seems to happen when mapblocks are repeatedly loaded and unloaded. But I don't think anyone knows exactly what causes it or they probably would have fixed it.
19:37 john_minetest joined #minetest-dev
19:37 john_minetest joined #minetest-dev
19:37 Taoki joined #minetest-dev
19:38 sfan5 thexyz: I have downloaded the DroidSansFallbackFull.ttf from the android repo on github but the main menu still has no labels
19:39 thexyz sfan5: yes, but that's unrelated issue
19:39 thexyz I've forcepushed fixed font
19:43 nore could it be related to minimum saved movement, with an object at the limit between two blocks?
19:43 thexyz I think it can be merged now
19:44 thexyz https://github.com/xyzz/minetest-ru/commit/09c5d1b9a837f0ddc94e920293d7fa4aaad4e6c9
19:46 sfan5 I'll test that
19:47 sfan5 "This branch is 1895 commits ahead and 8 commits behind master" ummmm
19:50 ShadowNinja thexyz: fallback_font_size isn't in minetest.conf.example.
19:50 thexyz sfan5: yes, behind minetest-ru's master
19:51 thexyz ShadowNinja: fixed
19:57 nore how do you trigger the entity duplication bug?
20:00 ShadowNinja nore: Place some items on a server, wait a day or so, check them.
20:00 OWNSyouAll_DESKT joined #minetest-dev
20:01 sfan5 s/wait a day or so/let the area with the items unload and load the area again/
20:03 iqualfragile joined #minetest-dev
20:05 Taoki joined #minetest-dev
20:07 ShadowNinja It usually takes more that one load/unload.
20:07 sfan5 yes
20:21 sfan5 thexyz: I don't think it is supposed to look like this http://i.imgur.com/CF47tXu.png
20:22 nore could someone add that line 1860 of environment.cpp of a server please? http://pastebin.com/Mnt7mMX0
20:22 nore and tell me if that code is ever executed
20:23 nore because I reckon it is perhaps the origin of entity duplication
20:23 thexyz sfan5: as I already said it's a different issue
20:23 sfan5 isn't it supposed to use the fallback font?
20:23 thexyz sfan5: I think it does that
20:24 Anchakor_ joined #minetest-dev
20:24 thexyz sfan5: but fails to render symbols for some other reason
20:24 thexyz to verify that try downloading older build, changing font with droidsansfallback and running ja locale
20:24 thexyz (rename "ja" to "en")
20:25 thexyz and open an issue if it verifies
20:27 sfan5 well then it can be merged
20:29 thexyz does the issue reproduce with old build?
20:39 Prestotron562 joined #minetest-dev
21:16 * Prestotron562 commits to less hacky builtin "See your own player" by PilzAdam
21:16 proller Prestotron562, please, close your irc client
21:17 Prestotron562 [deleted]
21:18 proller no time to explain, just close now
21:18 Prestotron562 [deleted]
21:19 proller you cant stop until reach 18+X , where X= stupidity
21:19 proller years
21:19 proller your X is huge
21:19 proller and, please, close your irc client now
21:19 Prestotron562 [deleted]
21:20 Prestotron562 [deleted]
21:23 ironzorg I want to know what mine is
21:23 ironzorg how do I do
21:26 john_minetest ironzorg: Maybe try downloading and installing X.
21:26 john_minetest Most linux distros should have it :b
21:27 john_minetest </offtopic>
21:29 celeron55 i'm going to start handing out +qs to people who only speak offtopic here
21:30 john_minetest Maybe muting the whole channel and only voicing people who requested voice in #minetest and behaved good there could be useful.
21:31 PilzAdam you want to force people to go to #minetest first?
21:31 celeron55 no
21:31 celeron55 i'm not on #minetest and don't expect anyone else to have to do that either
21:32 smoke_fumus joined #minetest-dev
21:57 Prestotron562 joined #minetest-dev
22:14 Akien_ joined #minetest-dev
22:26 DemonRaiser joined #minetest-dev
22:27 hax404 joined #minetest-dev
22:37 OWNSyouAll_DESKT joined #minetest-dev
22:57 djdduty joined #minetest-dev
22:58 john_minetest left #minetest-dev
23:14 iqualfragile_ joined #minetest-dev
23:28 Taoki joined #minetest-dev

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