Minetest logo

IRC log for #minetest-dev, 2014-05-03

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

All times shown according to UTC.

Time Nick Message
02:22 blaise joined #minetest-dev
02:23 blaise joined #minetest-dev
02:24 blaise joined #minetest-dev
02:35 ShadowNinja ~tell sapier ACTION[ServerThread]: <PlayerName> joins game. List of players: -- This used to have the new player list.
02:35 ShadowBot ShadowNinja: O.K.
03:07 VanessaE I wonder what effect ^^^^^ that has on my server stats.  my stats scripts scrape the logs looking for those join/leave events.
03:07 Shardvexz joined #minetest-dev
04:40 Eater4 joined #minetest-dev
05:21 us`0gb joined #minetest-dev
07:24 whiskers75 joined #minetest-dev
07:31 darkrose joined #minetest-dev
08:06 Weedy joined #minetest-dev
08:06 Fresh_m__ joined #minetest-dev
08:06 darkrose joined #minetest-dev
08:06 whiskers75 joined #minetest-dev
08:06 CraigyDavi joined #minetest-dev
08:06 smoke_fumus joined #minetest-dev
08:06 proller joined #minetest-dev
08:06 harrison joined #minetest-dev
08:06 catninja joined #minetest-dev
08:06 netchip joined #minetest-dev
08:06 Anchakor1 joined #minetest-dev
08:06 VargaD joined #minetest-dev
08:06 deltib joined #minetest-dev
08:06 Ritchie joined #minetest-dev
08:06 Megaf joined #minetest-dev
08:06 khonkhortisan joined #minetest-dev
08:06 Anchakor joined #minetest-dev
08:06 daswort joined #minetest-dev
08:06 Exio4 joined #minetest-dev
08:06 ShadowNinja joined #minetest-dev
08:06 Kray joined #minetest-dev
08:06 psedlak joined #minetest-dev
08:06 Taoki joined #minetest-dev
08:06 Gethiox joined #minetest-dev
08:06 Robby joined #minetest-dev
08:06 Sokomine joined #minetest-dev
08:06 dzho joined #minetest-dev
08:06 sfan5 joined #minetest-dev
08:06 eeew joined #minetest-dev
08:06 nyuszika7h joined #minetest-dev
08:06 mrtux joined #minetest-dev
08:06 CiaranG joined #minetest-dev
08:06 lanxu joined #minetest-dev
08:06 celeron55 joined #minetest-dev
08:06 pitriss joined #minetest-dev
08:06 blaise joined #minetest-dev
08:06 werwerwer joined #minetest-dev
08:06 crazyR__ joined #minetest-dev
08:06 ShadowBot joined #minetest-dev
08:11 robmyers_ joined #minetest-dev
08:11 us`0gb joined #minetest-dev
08:11 VanessaE joined #minetest-dev
08:11 MichaelRpdx joined #minetest-dev
08:11 book` joined #minetest-dev
08:11 hax404 joined #minetest-dev
08:12 sapier joined #minetest-dev
08:12 sapier Hello, can someone explain to me why base class GenericCAO contains code beeing specific e.g. for playercao?
08:13 sapier ~tell ShadowNinja: you're kidding? aren't you? fixing this bug would've been less work then writing the message
08:13 ShadowBot sapier: O.K.
08:29 nyuszika7h joined #minetest-dev
08:37 tomreyn joined #minetest-dev
08:40 OldCoder joined #minetest-dev
08:54 BlockMen joined #minetest-dev
08:55 BlockMen i gonna push this fix in 30 min if no one complains: https://github.com/BlockMen/minetest/commit/cfb26629bffa8732df5f860d493e5cb039c620dd
08:55 BlockMen ^ fixes #1251
08:55 ShadowBot https://github.com/minetest/minetest/issues/1251 -- "default.player_set_animation()" doesnt affect animation in 3rd person view
08:55 sapier I'm not sure if it's worth it I'm doing a complete refactoring of that file right now I can do it same time
08:56 sapier I don't know who decided to create a header file without content
08:56 BlockMen sapier, depends when you plan to push your refactored version
08:57 sapier couple of hours, it's a syntactical fix only
08:57 sapier well a big one true, but still there's no real code change
08:58 sapier basicaly it's creating a header
08:59 BlockMen umm...and how does my fiy affect you changes then?
08:59 BlockMen *fix
08:59 BlockMen +r
08:59 sapier I'm moving around that code you fix
08:59 sapier that's one of those changes git is unable to merge so I have to apply it manually anyway
09:00 BlockMen then you can just copy the modified two function
09:01 BlockMen "more" work of umm..1 min?
09:01 sapier well do what you want, as I said I'm gonna apply it manually anyway
09:02 PenguinDad joined #minetest-dev
09:02 sapier the only difference is rebasing with this fix in is about 5-10 minutes more of work
09:04 BlockMen well, since you said you gonna apply it manually anyway i will push it as planned then
09:07 sapier I don't know what's worth a change that's gonna be reverted anyway ... you should check that it's in there after the refactoring too, manually applying is prone to errors
09:12 Jordach joined #minetest-dev
09:24 restcoser joined #minetest-dev
09:26 PenguinDad joined #minetest-dev
09:26 BlockMen consindering the time it needs until you rewrites are merged i gonna push my fix now
09:26 BlockMen done
09:32 Anchakor_ joined #minetest-dev
09:42 Calinou joined #minetest-dev
09:48 kahrl joined #minetest-dev
09:51 Calinou # Experimental option, might cause visible spaces between blocks
09:51 Calinou in minetest.conf.example.
09:51 Calinou this is wrong, I never experienced any of this since 2013
09:51 Calinou it's no longer experimental
09:52 Calinou however, 8× and 16× may look blurry
09:52 sapier can you tell what option you're talking about too ? ;-)
09:52 Calinou fsaa
09:53 Calinou just state that 8× and 16× can be blurry
09:53 Calinou 2× and 4× are fine
09:53 Calinou gui_scaling = 1.5 is nice on 1920 × 1080 screen
10:04 CraigyDavi joined #minetest-dev
10:07 Jordach joined #minetest-dev
10:10 jin_xi joined #minetest-dev
10:20 Calinou stars should be brighter and smaller
10:23 CraigyDavi sapier, VanessaE. I updated my server yesterday as you suggested. It did nothing, except change what the error messages said. My server lagged out this morning again: http://pastie.org/pastes/9136222/text?key=wxgor7kpzzd8yavhqzzw
10:23 ImQ009 joined #minetest-dev
10:24 CraigyDavi At the top it's all going well. At the bottom I shut down the server because noone can join.
10:25 sapier ok let's find out what happens there, the timeouts seem to be valid (guessing from the times they happen)
10:26 sapier actually I'd guess those timeouts are aborted join requests
10:27 RealBadAngel joined #minetest-dev
10:27 CraigyDavi Yes, probably
10:28 sapier what's been the situation there, was server at high cpu load or idle?
10:30 sapier #1269 contains two things first, cleanup content_cao.cpp, which now has a proper header file, and second refactor scene drawing code to a separate file in order to allow different draw modes, e.g. plain, anaglyph, or line3d
10:30 ShadowBot https://github.com/minetest/minetest/issues/1269 -- Scene draw cleanup by sapier
10:31 CraigyDavi Well during that time I was away, and the server had been on overnight.
10:31 CraigyDavi I don't know how I could check if there was high cpu load, but I highly doubt it.
10:31 sapier game.cpp shrinks by 200 lines
10:32 sapier did you manually restart?
10:32 sapier what's been situation on restart?
10:33 sapier how did Bob_Hovercraft manage to join?
10:33 sapier he's been there for almost an hour
10:34 CraigyDavi At the end, I got back on my computer and saw that there was noone online and saw all the error messages so I restarted the server by closing the server window.
10:34 CraigyDavi I guess it was lag, he probably finally managed to join, then it took an hour for it to realise that he times out.
10:35 Calinou setting an item's range to 128 slows down the game immensely :s
10:36 sapier that's not really a surprise Calinou
10:36 sapier CraigyDavi: why should it take so long for him if anyone else times out quick, that doesn't really fit
10:37 CraigyDavi Bob probably was realising this took a long time so kept his window open adn trying to join for a very long time. Other people probably gave up after a couple mins.
10:37 CraigyDavi Or it got laggier oper time
10:38 sapier possibly ... do you know about cpu load when you did restart?
10:38 CraigyDavi Unfortunatly not.
10:39 sapier sad, I need more information to track this issue down, do you know how to use gdb?
10:39 CraigyDavi Nope
10:40 CraigyDavi Well it has happened sometime between January 19 and Now. At January 19 this did not happen.
10:40 sapier that doesn't help anything ;-)
10:40 CraigyDavi When did you add those "peer timeout" messages?
10:41 sapier recently but it's just a symptom not source of error
10:46 CraigyDavi My guess is that it was caused here: https://github.com/minetest/minetest/commit/e258675eabc874d31bc9c6cf49e4bbc1f7f3f417#diff-ad60d65b34e16a3319296bb5d683acd6
10:47 sapier possible but doesn't help locating the bug
10:48 CraigyDavi Was that when the messages were added to show when someone times out?
10:49 sapier no the message was added later when disabling the message that spammed you yesterday
10:51 CraigyDavi No, I mean when was this added? ERROR[ServerThread]: Server::ProcessData(): Cancelling: peer # not found
10:51 sapier but still the when doesn't help fixing it we need to find out what happens
10:51 sapier that was added some time before
10:53 CraigyDavi Would it help if I changed the debug log level to higher? That might give more info
10:54 sapier possibly, but could be too much too ... are you on linux or windows?
10:56 CraigyDavi Windows
10:56 sapier ok that's going to be tough
10:57 CraigyDavi I did it before, it seemed to be fine
10:58 sapier the only way to track it down by logging would be switching connection to trace level but that's gonna cause GB of data, as it occurs very rare that's most likely way to much
10:58 sapier tough to find the issue
10:59 CraigyDavi Hmm. So debug_log_level = 4 would not help?
10:59 sapier you can try it but I don't think so
11:00 sapier that'd help only if the reason isn't related to those commits you mentioned
11:01 CraigyDavi I think it is caused by that commit as it changed a huge amount of things related to server connection.
11:01 CraigyDavi Ill try it though
11:03 PilzAdam joined #minetest-dev
11:04 sapier best thing would be finding a way to reproduce that issue, but I know that's not an easy task
11:04 sapier reproduce without waiting a couple of hours ;)
11:05 CraigyDavi Someone said it could be my internet connection timing out, but I dunno really.
11:07 sapier did you change your ip ?
11:08 CraigyDavi I have a dynamic IP but it has not changed.
11:09 sapier ok then I don't see a reason why this should be related
11:12 CraigyDavi Well a bad internet connection could cause it, right?
11:16 sapier probably but it shouldn't result in permanent problems
11:20 CraigyDavi Hmm
11:24 rdococ joined #minetest-dev
11:26 BlockMen left #minetest-dev
11:29 restcoser joined #minetest-dev
11:41 crazyR joined #minetest-dev
12:38 Eater4 joined #minetest-dev
12:56 GhostDoge joined #minetest-dev
13:04 BrandonReese joined #minetest-dev
13:33 rsiska joined #minetest-dev
13:43 Zeitgeist_ joined #minetest-dev
13:43 Zeitgeist_ joined #minetest-dev
13:53 PilzAdam joined #minetest-dev
13:56 EvergreenTree joined #minetest-dev
14:20 Jordach joined #minetest-dev
15:00 Amaz_ joined #minetest-dev
15:18 hmmmm joined #minetest-dev
15:38 nore joined #minetest-dev
15:41 proller sapier, why your "cleanup" increase number of lines? +1,869  âˆ’1,506
15:42 Jordach cleanups might not have to remove lines, just make it easier to read
15:45 proller no, here just change c55 style to sapier style, 1800 lines changed, nothing improved
15:49 rambomedic joined #minetest-dev
15:50 sapier because that cleanup adds odd/even 3d line mode too ;-P check the commits in there
15:50 sapier that's just the branch name
15:51 rambomedic I'm trying to figure out the various licenses for Minetest (for packaging), and what I have thus far is Apache (because a droid font is included) CC-BY-SA 3 for the assets, LGPL 2 for code MIT for Jthread and Lua nd Zlib for Irrlicht
15:51 rambomedic but my question is, do I even need to include the MIT and Zlib licenses, I know minecraft is dependent, but does it include any code or anything that would make it necessary to distribute that license with it?
15:52 rambomedic are engine bindings/api calls restricted under those licenses?
15:52 rambomedic I'm very new to understanding Free Software Licenses, and I'm trying to fix the AppData file for minetest because the spec is now asking for the license of the project.
15:53 sapier rambomedic: you can discuss for hours about free/non-free licenses, simplest way to be on safe side is add all you find
15:53 rambomedic upon doing "yum info minetest" it displays the licenses CC-BY-SA 3 LGPL and MIT
15:54 sfan5 rambomedic: Irrlicht is not included within minetest -> no, Lua is included within minetest -> yes, jthread is included within minetest -> yes
15:54 rambomedic jthread being included would explain why the yum repo has MIT as one of the licenses.
15:54 Calinou joined #minetest-dev
15:54 rambomedic So it's CC-BY-SA 3, LGPL, AND MIT.
15:55 rambomedic But is that droid font packaged with minetest-game?
15:55 rambomedic 'DroidSansFallback'
15:55 sfan5 yes, the font is packed with minetest
15:55 sfan5 packaged*
15:56 rambomedic so, Minecraft is also under Apache....
15:56 Calinou is DroidSansFallback the same as DroidSans?
15:56 sfan5 yes
15:56 Calinou they are different font files, at least in Android repository
15:57 rambomedic I guess the fedora packagers made a mistake with not including that license, I'll file a bug there, and update the still unpulled appdata file.
15:57 sfan5 rambomedic: no, Minecraft itself is propietary, including the font does not license the program under apache license
15:58 rambomedic wait, but isn't that one of the licenses for a part of something that's distributed with the project?
15:59 Calinou the whole program is not under Apache
15:59 rambomedic I phrased it in a weird way, but what I meant was that the Apache License was distributed with minetest, because part of it was under minetest
15:59 rambomedic I didn't mean to say that all of Minetest was Apache also, sfan5 did you just call minetest minecraft?
16:00 sfan5 <rambomedic> so, Minecraft is also under Apache....
16:01 Calinou probably a typo
16:01 rambomedic wait what? I'm trying to say that one part of minetest is Apache, therefore ONE of the many licenses, that should be packaged with minetest is apache, sorry if I'm coming off as saying all of minetest is apache, because that's not what I meant
16:07 BlockMen joined #minetest-dev
16:07 BlockMen sapier, https://github.com/minetest/minetest/pull/1269#discussion-diff-12256943
16:10 sapier yes I already wanted to ask you where the model is hidden while you've been away
16:11 sapier once you switch to 3rd person mode and back the model is hidden so initialization is missing or wrong
16:11 rambomedic I've updated #1149 to reflect the changes
16:11 ShadowBot https://github.com/minetest/minetest/issues/1149 -- Add AppData file by davidgumberg
16:11 BlockMen sapier, but not with current code
16:12 BlockMen and what do you mean with "where the model is hidden"?
16:12 sapier are you sure? wait I'm gonna push my current code I did some fixes for glitches happening in 3d mode too
16:15 sapier that code makes player model dissapear for me once I've been to 3rd person view and back in 1st person mode
16:15 sapier but I don't know why it's not this way from beginning
16:17 BlockMen currently its done here https://github.com/minetest/minetest/blob/master/src/content_cao.cpp#L1147
16:17 Anchakor_ joined #minetest-dev
16:17 BlockMen so if player is not in thrid person its hidden
16:17 sapier yes but that only set's m_is_visible it's supposed to be correct after init
16:17 sapier well I should check this first
16:18 sapier maybe someone resets it's value
16:18 BlockMen sapier, it is always reset to true if mesh gets updated
16:19 BlockMen and correct is what? visible or hidden?
16:19 sapier initially it's supposed to be hidden
16:19 sapier mesh update ... e.g. model sent from server?
16:19 BlockMen yes
16:20 sapier ok that's a point to check
16:20 BlockMen but i think there are more ways
16:20 BlockMen since the lighting fix there are often messages on console that it got updated
16:21 BlockMen look for that, i guess you are on the right side then
16:21 BlockMen *way
16:21 sapier for what I know that's entity loading
16:21 sapier each time a entity or player is activated the mesh is reloaded
16:21 BlockMen well, m_is_visible seems to be set to true there
16:23 celeron55 < rambomedic> -- sfan5 did you just call minetest minecraft?
16:23 celeron55 i couldn't even tell what the discussion was about because rambomedic himself was talking about minecraft
16:24 celeron55 i now assume he didn't mean minecraft at any point
16:24 rambomedic oh wow
16:24 rambomedic I didn't realize that I had said "Minecraft is also under Apache...."
16:24 rambomedic my mistake
16:24 rambomedic was talking about minetest
16:28 sapier BlockMen do you think attached entities should be hidden in 3rd person view too?
16:28 BlockMen sapier, no. why should they?
16:28 sapier well they are right now
16:29 BlockMen current code?
16:29 sapier at least according to updateAttachements() all GenericCAO's attached to localplayer are set to invisible
16:30 BlockMen are you sure, i think there was something like temporary hiding
16:30 BlockMen i will take a look at
16:30 sapier maybe you added a hack somewhere else to fix the bug caused by this code ;-)
16:32 sapier ok that was the location causing player model to be initially drawn in 1st person mode
16:33 sapier plz check latest code it's supposed to fix the issue
16:33 BlockMen sapier, hmm...seems it get hidden (at least code says so)
16:33 BlockMen and no, theres no hack for that
16:34 BlockMen but i think we should show attachments in 3rd pv
16:34 BlockMen ok, will do
16:34 sapier me too that's why I did ask on reading this code
16:36 Jordach joined #minetest-dev
16:38 nore joined #minetest-dev
16:38 twoelk joined #minetest-dev
16:58 Jordach joined #minetest-dev
17:06 rambomedic joined #minetest-dev
17:11 BlockMen sapier, seems to be fixed now
17:16 CraigyDavi_ joined #minetest-dev
17:17 sapier good
17:18 nore joined #minetest-dev
17:23 Zeitgeist_ joined #minetest-dev
17:23 Zeitgeist_ joined #minetest-dev
17:26 grrk-bzzt joined #minetest-dev
17:49 Amaz_ joined #minetest-dev
18:02 jin_xi joined #minetest-dev
18:54 werwerwer_ joined #minetest-dev
18:54 Megaf joined #minetest-dev
18:59 smoke_fumus joined #minetest-dev
19:03 Amaz_ joined #minetest-dev
19:07 CraigyDavi joined #minetest-dev
19:07 kaeza joined #minetest-dev
19:11 nore joined #minetest-dev
19:19 EvergreenTree joined #minetest-dev
19:35 markveidemanis joined #minetest-dev
19:35 markveidemanis left #minetest-dev
19:57 CraigyDavi joined #minetest-dev
19:58 CraigyDavi joined #minetest-dev
20:04 CraigyDavi joined #minetest-dev
20:05 CraigyDavi_ joined #minetest-dev
20:10 CraigyDavi joined #minetest-dev
20:12 CraigyDavi joined #minetest-dev
20:15 rambomedic joined #minetest-dev
20:15 rambomedic join ##minetest-next
20:15 rambomedic sorry about that, forgot the /
20:23 BlockMen left #minetest-dev
21:35 VanessaE hmmmm: *poke*
21:39 jojoa1997 joined #minetest-dev
21:43 jojoa1997 left #minetest-dev
21:45 Ritchie joined #minetest-dev
21:49 VanessaE hmmmm: I believe you were much closer to the issue that you may have realize:  https://github.com/minetest/minetest/issues/1270
21:50 VanessaE realized*
22:12 Shardvexz joined #minetest-dev
22:48 sapier does anyone have a script to create normalmaps without using gimp?
23:20 Shardvexz joined #minetest-dev
23:20 Shardvexz left #minetest-dev
23:21 sapier joined #minetest-dev
23:25 rsiska joined #minetest-dev
23:52 ImQ009 joined #minetest-dev

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