IRC logs for #openttd on OFTC at 2016-01-27
            
00:08:20 *** JezK has joined #openttd
00:09:01 *** Progman has quit IRC
00:13:53 *** skybon has joined #openttd
00:21:30 *** HerzogDeXtEr has joined #openttd
00:28:09 *** HerzogDeXtEr1 has quit IRC
00:37:21 <Wolf01> 'night
00:37:24 *** Wolf01 has quit IRC
00:49:06 <planetmaker> Eddi|zuHause, looks to me like nmlc is called with the parameters which grfcodec should get or something like that?
00:49:12 <planetmaker> 22:35:27 [NML] src/headers.nfo
00:49:12 <planetmaker> 22:35:28 Usage: nmlc [options] <filename>
00:49:12 <planetmaker> 22:35:28 Where <filename> is the nml file to parse
00:49:12 <planetmaker> 22:35:28
00:49:12 <planetmaker> 22:35:28 nmlc: error: no such option: --verbosity
00:50:41 <Eddi|zuHause> scripts/Makefile.def:NML_FLAGS ?= -c --verbosity=1
00:51:12 <Eddi|zuHause> it works here...
00:51:36 *** HerzogDeXtEr has quit IRC
00:51:40 <Eddi|zuHause> --verbosity=<level> Set the verbosity level for informational output.
00:51:42 <Eddi|zuHause> [default: 3, max: 4]
00:52:08 <Eddi|zuHause> is it using a wrong/old version of nmlc?
00:53:54 *** Biolunar has joined #openttd
00:54:24 <Eddi|zuHause> it should be using the nmlc from eddi-nml
00:57:09 *** skybon has quit IRC
00:58:36 <planetmaker> NML: 0.4.0.r5377:01988dfeee65 from 2014-09-21 <--- is that correct version, Eddi|zuHause ?
00:58:52 <Eddi|zuHause> no
00:59:28 <Eddi|zuHause> i pushed a version to eddi-nml earlier today, which would be based on 0.4.4-ish
01:00:03 <planetmaker> oh, ok. I will try to check that tomorrow
01:01:10 <Eddi|zuHause> Datum: Fri Nov 07 19:15:22 2014 +0100
01:01:11 <Eddi|zuHause> Zusammenfassung: Add: Command line option to set verbosity level of info output.
01:01:28 <Eddi|zuHause> so version from sep 2014 is certainly too old.
01:01:41 <Eddi|zuHause> also, it wouldn't contain my "comment" patches to nml anyway
01:02:13 <Eddi|zuHause> which are kinda the entire point of eddi-nml
01:27:39 <Eddi|zuHause> planetmaker: my local version is called "v5869:bf7946b77414 from 2016-01-26"
01:28:35 <supermop> what is eddi-nml?
01:33:50 *** day has joined #openttd
01:34:04 <Eddi|zuHause> a customized version/fork
01:47:20 <supermop> has bridges?
01:49:54 *** Hiddenfunstuff has quit IRC
01:51:15 <Eddi|zuHause> no.
01:51:32 <Eddi|zuHause> it has comments (ActionC)
01:52:10 <Eddi|zuHause> it has absolutely no gameplay impact, but i use them for some compilation wizardry
02:24:25 *** sim-al2 has joined #openttd
02:32:13 <supermop> cool
02:32:30 *** Snail has joined #openttd
03:47:46 *** Myhorta has quit IRC
03:54:24 *** sim-al2 is now known as Guest1111
03:54:26 *** sim-al2 has joined #openttd
03:59:28 *** Guest1111 has quit IRC
04:11:56 *** glx has quit IRC
04:18:21 *** Clockworker_ has joined #openttd
04:23:56 *** Clockworker has quit IRC
04:33:21 *** sim-al2 has quit IRC
04:39:07 *** smoke_fumus|2 has quit IRC
04:48:59 *** Biolunar_ has joined #openttd
04:55:56 *** Biolunar has quit IRC
06:09:39 *** tokai has joined #openttd
06:09:39 *** ChanServ sets mode: +v tokai
06:16:17 *** tokai|noir has quit IRC
06:48:31 *** Snail has quit IRC
06:56:01 *** Eddi|zuHause has quit IRC
06:56:17 *** Eddi|zuHause has joined #openttd
07:16:06 *** sla_ro|master has joined #openttd
07:25:32 *** day has quit IRC
07:46:49 *** Flygon_ has quit IRC
07:51:26 *** Flygon has joined #openttd
09:36:04 *** sim-al2 has joined #openttd
10:12:35 *** Clockworker__ has joined #openttd
10:20:09 *** Clockworker_ has quit IRC
10:33:08 *** sim-al2 has quit IRC
11:13:45 *** Hiddenfunstuff has joined #openttd
11:27:33 <argoneus> good morning train friends
12:02:05 <ConductingCat> Chu Chu
12:05:35 <peter1138> pikachu?
12:05:56 <peter1138> hmm, trains have always been "choo choo" for me, but i guess it's the same, heh
12:12:52 *** day has joined #openttd
12:20:22 <V453000> anus
12:40:28 *** liq3 has quit IRC
12:51:19 *** blathijs has quit IRC
12:52:02 *** blathijs has joined #openttd
12:53:46 *** Myhorta has joined #openttd
12:58:57 *** orudge has quit IRC
12:59:16 <peter1138> what
12:59:43 *** orudge has joined #openttd
13:06:41 <V453000> exactly
13:15:11 *** efess has quit IRC
13:17:23 *** JezK has quit IRC
13:28:06 *** Wolf01 has joined #openttd
13:28:22 <Wolf01> o/
13:33:07 *** Supercheese has quit IRC
13:33:35 *** Supercheese has joined #openttd
13:57:03 *** Biolunar_ has quit IRC
14:04:20 *** smoke_fumus has joined #openttd
14:13:46 *** andythenorth has joined #openttd
14:13:55 *** andythenorth has left #openttd
14:21:01 *** ChanServ sets mode: +o orudge
14:41:26 *** TheMask96 has quit IRC
14:42:21 *** TheMask96 has joined #openttd
14:44:39 *** Snail has joined #openttd
15:00:41 *** Snail has quit IRC
15:13:29 *** Belugas has quit IRC
15:13:31 *** Belugas has joined #openttd
15:13:31 *** ChanServ sets mode: +o Belugas
15:49:22 *** Myhorta has quit IRC
16:00:53 *** sim-al2 has joined #openttd
16:22:18 <Milek7> if i make patch adding setting to disable local authorities, it would be accepted into trunk?
16:23:12 <V453000> the game has been declared dead yesterday, but you can try :P
16:23:18 <Wolf01> :D
16:28:42 *** Alberth has joined #openttd
16:28:42 *** ChanServ sets mode: +o Alberth
16:43:36 <M-E> uh what?
16:44:08 <peter1138> too many unfinished patches
16:44:10 <Wolf01> yes, no new features until all bug will be fixed, and it's impossible to fix all bugs
16:49:36 <M-E> [citation needed]
16:49:48 <Wolf01> read the logs
16:58:51 *** avdg has quit IRC
16:58:51 *** Hirundo has quit IRC
16:58:51 *** Ammler has quit IRC
16:58:51 *** tneo has quit IRC
16:58:55 *** Hirundo has joined #openttd
16:59:26 *** planetmaker has quit IRC
16:59:31 *** Hazzard has quit IRC
16:59:32 *** V453000 has quit IRC
16:59:51 *** Yexo has quit IRC
16:59:55 *** Ammler has joined #openttd
17:00:15 *** ^Spike^ has quit IRC
17:00:25 *** Yexo has joined #openttd
17:00:55 *** planetmaker has joined #openttd
17:00:55 *** ChanServ sets mode: +o planetmaker
17:01:45 <Milek7> openttd have guidelines for maximum source code line lenght?
17:01:55 *** tneo has joined #openttd
17:01:55 *** ^Spike^ has joined #openttd
17:02:11 *** Hazzard has joined #openttd
17:02:25 *** V453000 has joined #openttd
17:03:04 <Alberth> yes, less than infinite
17:03:55 <Wolf01> also, one statement per line, so you can't cheat by making a one-line patch
17:03:55 *** avdg has joined #openttd
17:04:05 <Alberth> :D
17:06:32 <peter1138> not really, most people have wide screens these days
17:10:39 <_dp_> aha, and split them for 2-3 files :p
17:10:51 <Milek7> why there is rating check in CheckforTownRating and ClearTile_Town?
17:11:08 <Milek7> it don't need to be only in CheckforTownRating?
17:11:34 <Alberth> feel free to refactor
17:11:36 *** zeknurn` has joined #openttd
17:11:50 <Eddi|zuHause> the game is declared dead about once per month, i think :p
17:12:19 <Wolf01> don't refactor without knowing *everything* about the code you are refactoring
17:13:20 *** tt_johannes has joined #openttd
17:14:09 <Milek7> hm, i just realised that if i use that on multiplayer someone propably will destroy all cities ;p
17:14:53 <Wolf01> "I'll disable it for multiplayer" doesn't work, at least it didn't for drag&drop land purchase
17:15:07 <Wolf01> (it still hurts me)
17:16:36 *** zeknurn has quit IRC
17:16:36 *** zeknurn` is now known as zeknurn
17:17:15 <_dp_> there is a way to igrone unwanted client command on server
17:17:18 <_dp_> ugly but it works
17:18:29 <Milek7> oh, i wanted to ask some time ago
17:18:39 <Milek7> randoms are calculated both on client and server?
17:18:50 <_dp_> everything is
17:23:11 *** Wormnest has joined #openttd
17:24:12 <Eddi|zuHause> Milek7: yes, and the random seed is compared occasionally and treated like a checksum
17:24:30 <Milek7> ok
17:24:38 *** orudge` has joined #openttd
17:24:41 <Eddi|zuHause> Milek7: on mismatch, the client is kicked with the dreaded "desync" message
17:25:53 *** orudge has quit IRC
17:46:05 <Milek7> https://bugs.openttd.org/task/6416
17:47:49 <peter1138> Enable to stop -> Disable?
17:48:53 <Milek7> yes
17:49:18 <Milek7> enabling option disables blocking actions by local authorities
17:49:41 <peter1138> why do you add the needed <= RATING_OUTSTANDING stuff?
17:50:10 <Milek7> wiki said that newgrf may set required rating for building to >1000 to make building indestructible
17:50:19 <Milek7> so this is for not breaking this
17:50:32 <peter1138> hmm
17:51:07 <peter1138> add a comment about that, i guess
17:51:32 <peter1138> also you've got spaces instead of tab in the last hunk
17:52:16 <Milek7> whops
17:52:38 <Milek7> it is possible to edit task, or i must add comment?
17:54:08 <peter1138> i don't know
17:56:12 <planetmaker> Milek7, you need to add a comment
17:56:48 <planetmaker> or attach a new version of the patch (if that needs updating)
17:56:53 *** sim-al2 has quit IRC
17:59:10 *** Belugas has quit IRC
18:02:15 *** Belugas has joined #openttd
18:02:15 *** ChanServ sets mode: +o Belugas
18:35:23 *** andythenorth has joined #openttd
18:36:09 <andythenorth> o/
18:36:22 <Alberth> o/
18:36:38 <Wolf01> o/
18:38:24 <Milek7> looking at bugtracker, it seems that project is dead from 2006..
18:38:47 <andythenorth> well
18:38:55 <andythenorth> I got buildout.python working last night
18:39:34 <andythenorth> FIRS compile time is ~50s on python 3.2, 3.4 and 3.5
18:40:29 <andythenorth> I did test it on pypy3
18:40:41 <andythenorth> which last night worked, and I have shell output to prove it
18:40:50 <andythenorth> but now nmlc fails on pypy3
18:41:09 <andythenorth> (Exception) "tostring() has been removed. Please call tobytes() instead.".
18:41:41 <andythenorth> I wonder if that’s the failure, or if the error handling is also failing
18:41:47 * andythenorth will paste more
18:42:13 <andythenorth> http://pastebin.com/raw/sGmX4s7A
18:43:20 <andythenorth> when it did work, it appeared to compile with primed caches in ~28s
18:43:22 <andythenorth> which is fast
18:44:26 <planetmaker> Milek7, just because of the bug tracker itself or of what you find therein?
18:44:39 <Milek7> bug tracker
18:44:59 <Milek7> it is strange to see that active project has bugs with status "New" from 10 years ago
18:45:49 <Milek7> and nobody during this time have an idea to clean it
18:47:17 <Alberth> andythenorth: use -s to get a full stack trace
18:47:26 <Milek7> andythenorth: why you can't simply change tostring to tobytes? :P
18:47:43 <planetmaker> Milek7, the oldest open bug is from 2010. And rather is a feature request
18:48:32 <Milek7> ok, but there is also feature requests and patches
18:48:53 <Wolf01> bye
18:48:56 *** Wolf01 has quit IRC
18:49:00 <peter1138> hi
18:49:29 <andythenorth> Milek7: what, patch PIL locally? o_O
18:49:32 <andythenorth> not a great solution
18:49:44 <Milek7> no, code that is using pil
18:51:13 *** Belugas has quit IRC
18:51:15 <Milek7> propably you updated it
18:51:21 <Milek7> and now tostring is deprecated
18:51:52 <_dp_> pil is calling tostring it seems
18:52:03 <andythenorth> Alberth: better trace? http://pastebin.com/raw/DSLyaTCy
18:52:31 <andythenorth> if the answer is ‘pypy is not supported’ fine
18:52:37 <andythenorth> just curious
18:53:03 <Milek7> spriteencoder.py calls tostring()
18:53:04 *** Belugas has joined #openttd
18:53:04 *** ChanServ sets mode: +o Belugas
18:53:10 <Milek7> change to tobytes() ;p
18:53:14 <_dp_> ah, no, it's not pil, then yeah, why not just change?
18:53:44 <andythenorth> because it might be a pointless change
18:53:57 <andythenorth> I have commit rights on nml, but I’m not a competent maintainer
18:54:03 <andythenorth> and pypy might be unsupported
18:54:08 <andythenorth> the tests don’t pass on pypy3
18:54:10 <Alberth> it is PIL, mask_sprite is probably a PIL image
18:54:24 <Alberth> the question is what pal_convert expects
18:55:03 *** glx has joined #openttd
18:55:03 *** ChanServ sets mode: +v glx
18:55:05 * andythenorth just checking this isn’t bad sRGB or something
18:55:22 <Milek7> https://github.com/python-pillow/Pillow/commit/71c95c8e5f3bba1845444a246d04646825e6bab3
18:55:56 <andythenorth> he
18:56:39 <Alberth> makes total sense, sprites do not have strings :)
18:57:13 <andythenorth> so what, I need a different PIL?
18:57:17 <andythenorth> or we need to patch nml?
18:57:25 <Milek7> just change nml
18:57:44 <_dp_> no, change to bytes and fix pal_convert if needed
18:58:12 <Milek7> i think it is only name change
18:58:25 <Milek7> bytes for python is technically string
18:58:37 <_dp_> still different type
18:58:51 *** HerzogDeXtEr has joined #openttd
18:58:59 <_dp_> if it works with bytes then it's probably fine
18:59:52 <Alberth> andythenorth: : mask_sprite_data = self.palconvert(mask_sprite.tobytes(), im_mask_pal) <-- trunk
19:00:56 *** sim-al2 has joined #openttd
19:01:29 <Alberth> fixed 2 months ago
19:01:35 <Alberth> h2300
19:02:38 <andythenorth> :P
19:02:49 <andythenorth> that will learn me
19:02:56 <andythenorth> to update nml
19:05:44 *** Progman has joined #openttd
19:09:30 *** frosch123 has joined #openttd
19:10:03 <andythenorth> quak
19:11:08 <frosch123> moin
19:13:13 <Alberth> andythenorth: actually, the root cause was a newer pillow :)
19:15:30 * andythenorth gets new test run times
19:15:45 <andythenorth> I suspect the ones I did last night are all spurious due to wrong nmlc
19:17:18 *** tokai|noir has joined #openttd
19:17:18 *** ChanServ sets mode: +v tokai|noir
19:20:11 <andythenorth> [python 3.2] unprimed cache: 1m17s / primed cache: 53s
19:20:43 <andythenorth> [pypy3] unprimed cache: 54s / primed cache: 29s
19:22:07 * andythenorth biab
19:22:08 *** andythenorth has quit IRC
19:24:09 *** tokai has quit IRC
19:42:28 *** andythenorth has joined #openttd
19:44:48 *** HerzogDeXtEr1 has joined #openttd
19:48:20 *** Myhorta has joined #openttd
19:49:24 <Milek7> how from gamescript check clients list?
19:50:26 *** HerzogDeXtEr has quit IRC
19:51:52 *** Wormnest has quit IRC
19:52:13 *** Wormnest has joined #openttd
19:53:45 <andythenorth> hmm
19:54:27 <andythenorth> [python 3.4] unprimed cache: 1m26s / primed cache: 1m2s
19:54:35 <andythenorth> frosch123: python 3.4 slower for me :)
19:54:52 <andythenorth> do I need to specifically _build_ nmlc under each python?
19:54:58 * andythenorth experiments
19:59:32 <andythenorth> no difference
20:14:25 *** oskari89 has joined #openttd
20:47:01 <Milek7> how from gamescript check clients list?
20:59:50 *** Myhorta has quit IRC
21:02:58 *** Myhorta has joined #openttd
21:12:58 *** sim-al2 has quit IRC
21:16:04 *** Myhorta has quit IRC
21:18:03 *** blathijs has quit IRC
21:27:35 *** Myhorta has joined #openttd
21:29:33 *** ChanServ sets mode: +o orudge`
21:29:38 *** orudge` is now known as orudge
21:30:09 *** blathijs has joined #openttd
21:33:48 *** slaca has joined #openttd
21:41:25 *** liq3 has joined #openttd
21:44:11 *** DDR has quit IRC
21:49:41 *** Born_Acorn has quit IRC
21:52:54 *** tt_johannes has quit IRC
21:57:47 *** Myhorta has quit IRC
22:11:32 *** tokai has joined #openttd
22:11:32 *** ChanServ sets mode: +v tokai
22:14:39 *** skybon has joined #openttd
22:17:09 *** slaca has quit IRC
22:18:19 *** tokai|noir has quit IRC
22:36:15 *** Alberth has left #openttd
22:41:19 *** frosch123 has quit IRC
22:42:01 *** Myhorta has joined #openttd
23:05:07 *** Tirili has joined #openttd
23:17:30 *** Clockworker has joined #openttd
23:20:23 *** andythenorth has quit IRC
23:22:21 *** tokai|noir has joined #openttd
23:22:21 *** ChanServ sets mode: +v tokai|noir
23:24:01 *** Clockworker__ has quit IRC
23:27:16 *** Progman has quit IRC
23:29:18 *** tokai has quit IRC
23:32:10 *** oskari89 has quit IRC
23:34:21 *** greeter has quit IRC
23:38:40 *** greeter has joined #openttd