Config
Log for #openttd on 22nd July 2019:
Times are UTC Toggle Colours
00:00:02  <Samu> OpenTTD AIs and Game Scripts?
00:00:34  <Samu> it's focused towards AI gui features
00:00:55  <Samu> [img]https://i.imgur.com/5qytsJ9.png[/img]
00:40:32  <Samu> https://www.tt-forums.net/viewtopic.php?f=33&t=85608
00:55:29  <Samu> the pool options are nearly invisible
00:56:50  <Samu> poll*
01:21:14  <Samu> what the heck have you done to ai goal text updating? feels slow in multiplayer
01:21:40  <Samu> or am I being paranoid
01:24:39  <Samu> im being paranoid, disregard
02:05:15  *** D-HUND has joined #openttd
02:08:34  *** debdog has quit IRC
02:17:14  *** glx has quit IRC
02:19:01  *** Thedarkb-T60 has quit IRC
02:19:54  *** Flygon has joined #openttd
02:41:52  *** Samu has quit IRC
03:03:57  *** debdog has joined #openttd
03:07:19  *** D-HUND has quit IRC
04:27:19  *** Beerbelott has left #openttd
05:32:04  *** Wormnest_ has joined #openttd
06:07:38  *** sla_ro|master has joined #openttd
06:36:54  *** Flygon has quit IRC
06:46:17  *** Flygon has joined #openttd
08:03:54  *** andythenorth has joined #openttd
08:04:03  <andythenorth> oof
08:04:18  <andythenorth> looks like I accidentally ran autopep8 over Horse code
08:04:24  <andythenorth> now it's unreadable
08:04:28  <andythenorth> pep8 is awful
08:16:49  <LordAro> not usually
08:16:59  <LordAro> what's it done?
08:39:26  <DorpsGek_II> [OpenTTD/OpenTTD] James103 opened issue #7665: Possible infrastructure count overflow leading to negative infrastructure maintenance costs https://git.io/fjMSK
08:54:10  <andythenorth> it has opinions on wrapping
08:54:29  <andythenorth> has nobody got the memo?  We're not coding on VT220 terminals any more
08:54:53  <andythenorth> :)
08:59:55  *** tycoondemon2 has quit IRC
09:12:37  <LordAro> andythenorth: mm, i'll give you that onr
09:12:39  <LordAro> one*
09:12:59  <LordAro> there's various config options you can specify though
09:22:03  *** tycoondemon has joined #openttd
09:25:11  *** Samu has joined #openttd
09:25:41  <Samu> hi
09:40:03  <nakki> afternoon
10:03:28  <Arveen>  2,147,483,647 road pieces sounds slightly excessive
10:15:05  <Eddi|zuHause> there are things that count as multiple pieces
10:31:11  <DorpsGek_II> [OpenTTD/OpenTTD] fsimonis commented on pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fjMHj
10:38:07  <DorpsGek_II> [OpenTTD/OpenTTD] fsimonis commented on pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fjMQt
10:45:28  <DorpsGek_II> [OpenTTD/OpenTTD] imcasper updated pull request #7653: Add: BuildVehicleSmartGUI https://git.io/fjXmK
11:11:29  *** andythenorth has quit IRC
11:29:10  <Samu> @calc 4096*4096
11:29:10  <DorpsGek> Samu: 16777216
11:29:42  <Samu> @calc 4096*4096 * 4
11:29:42  <DorpsGek> Samu: 67108864
12:35:28  <peter1138> Well, I lunched. Saladed. Obviously.
12:36:21  *** Thedarkb-T60 has joined #openttd
12:48:23  *** sla_ro|master has quit IRC
12:51:00  *** cHawk has quit IRC
13:16:48  *** andythenorth has joined #openttd
13:35:33  <supermop_work> timesheet total for lat week: 69 hours
13:39:10  <andythenorth> oof
13:39:45  <supermop_work> was hoping for a nice. but oof also works
13:42:03  <peter1138> Seems to be at least 29 hours too many.
13:48:50  *** nielsm has joined #openttd
13:54:14  *** lpx has quit IRC
14:01:36  *** lpx has joined #openttd
14:09:39  *** Flygon has quit IRC
14:11:26  <Eddi|zuHause> i'd probably go mad
14:15:18  *** Samu has quit IRC
14:33:32  <ntsbmvnk> supermop_work: how many of those hours are you paid for?
14:33:43  <supermop_work> 40
14:33:50  <ntsbmvnk> no overtime pay?
14:34:06  <ntsbmvnk> ooooof
14:40:06  <Eddi|zuHause> i don't know why you even bother
14:40:30  <ntsbmvnk> If I'm paid to work 40, I work 40
14:40:31  <ntsbmvnk> tbqh
14:40:49  <ntsbmvnk> not lining the investors pockets with my free time.
14:45:29  <Eddi|zuHause> i don't think that is even legal around here
14:45:51  <Eddi|zuHause> ... unless you have some kind of higher management position
14:47:10  <andythenorth> pretty standard in USA  no?
14:51:59  <nakki> wait what the fuck, you don't get paid for extra hours?
14:52:02  <nakki> that sounds super fucked up
14:52:48  <ntsbmvnk> In the EU you're required to sign a waiver for going over 45 hours
14:53:03  <ntsbmvnk> I've only once signed a waiver like that
14:53:05  <ntsbmvnk> never again
14:53:49  <nakki> eugh
14:54:09  <nakki> i don't feel productive for most of the ~7,5 hours i do per day
14:54:16  <nakki> i can't imagine working >37,5 per week
14:57:07  <andythenorth> working time directive
15:01:27  <ntsbmvnk> andythenorth: that'll be it
15:01:40  <ntsbmvnk> I really feel for Americans in at-will states
15:01:50  <ntsbmvnk> you pretty much have to put up with so much bullshit
15:02:14  <ntsbmvnk> the protections offered to me should be standard worldwide imho
15:09:31  *** Alberth has joined #openttd
15:09:31  *** ChanServ sets mode: +o Alberth
15:09:39  <Alberth> o/
15:10:46  <andythenorth> yo
15:45:45  <Alberth> busy with iron horse eh?
15:45:56  <andythenorth> yes
15:46:03  <andythenorth> needs play-testers :D
15:47:10  <Alberth> any particular years?
15:48:01  *** cHawk has joined #openttd
15:50:14  <andythenorth> starts from 1860
15:50:22  <andythenorth> last train introduced around  2027
15:52:12  <Alberth> that's a lot of play :)
15:52:28  <andythenorth> too much for one game imho
15:52:45  <andythenorth> but it's nice to play 1860-1960 or 1930-2030
15:53:19  <Alberth> around 1980, when do new things arrive?
15:53:51  <andythenorth> I wish the online docs could tell you :)
15:53:52  <Alberth> should probably do a 20 years before or so
15:53:55  <andythenorth> but they're offline currently
15:54:15  <andythenorth> the main generations are 30 years apart, and there's one in 1960
15:54:28  <Alberth> ok, 1930 looks ok-ish thus
15:54:41  <andythenorth> a few vehicles are introduced outside of the progression rules, to keep the interest up
15:55:01  <Alberth> yeah, change everything at the same time is boring :)
15:55:26  <andythenorth> jenkins really hates Iron Horse :) https://jenkins.openttdcoop.org/job/iron-horse/
15:57:37  <Eddi|zuHause> "last stable build: 4 months, 28 days ago"
15:58:55  <andythenorth> I broke the CI
15:59:51  <Alberth> your chameleon has hidden itself too well :p
16:00:45  <andythenorth> frosch has a somewhat port of coop to Docker I believe
16:00:54  <andythenorth> there is a repo, but I have lost the link :)
16:07:27  *** rocky11384497 has quit IRC
16:10:28  <andythenorth> Horse 97%
16:10:33  <andythenorth> 10 trains to draw
16:10:34  *** Tempus2 has joined #openttd
16:10:46  <Tempus2> Hello
16:12:39  <Tempus2> Is it possible to have OpenTTD play from the Roland Sound Canvas?
16:12:40  *** Progman has joined #openttd
16:12:51  <nielsm> Tempus2 yes
16:12:53  <nielsm> I do that myself
16:13:00  <Tempus2> How do I do that?
16:13:11  <nielsm> you'll have to edit your openttd.cfg file
16:13:18  <nielsm> actually, are you on windows?
16:13:24  <Tempus2> Yes I am.
16:13:42  <Tempus2> Where is that file located?
16:13:46  <nielsm> good, since I don't think we have a reliable hardware output driver on other platforms :)
16:14:27  <nielsm> My Document\OpenTTD\openttd.cfg
16:14:38  <Tempus2> Ah documents-folder
16:15:06  <nielsm> edit the musicdriver= line
16:15:10  <nielsm> mine is
16:15:17  <nielsm> musicdriver = "win32:port=5"
16:15:27  <nielsm> you'll probably use a lower port number, I just have way to many midi outputs
16:15:43  <nielsm> try port 2 first
16:15:47  <Tempus2> I have at least 5 outputs.
16:15:52  <nielsm> right :P
16:16:14  <Tempus2> Have a M-Audio MIDI Sport with 4 and my sound card has a few too.
16:16:19  <nielsm> you can also use the dmusic driver and start with commandline -ddriver=1 to get a list of the ports ordering
16:16:34  <nielsm> or you can use the "mixer /listmidi" command in dosbox since that uses the same ordering
16:17:00  <Tempus2> Yeah, I have a MIDI-program for Windows too
16:17:11  <Tempus2> But it can select names
16:18:17  <Tempus2> And Dosbox SVN, you can do midiconfig="My midi device" instead of an integer.
16:18:47  <nielsm> I haven't updated my dosbox in years ;)
16:19:02  <Tempus2> Well, SVN is worth getting.
16:19:13  *** rocky11384497 has joined #openttd
16:19:46  <nielsm> anyway I hope you get it working, it's great getting the original intended sound :D
16:19:59  <Tempus2> Yeah, it works.
16:20:07  <Tempus2> Just got the wrong port.
16:20:15  <Tempus2> It outputs to my Roland CM-32L
16:20:51  <nielsm> also use the dos version music if you have it, the instruments and channel balance is slightly off in the midi files from the windows version, imo :P
16:21:04  <Tempus2> It is the DOS-version.
16:21:14  <Tempus2> I've played it with DOSBox to now.
16:21:34  <Tempus2> I have both TTD and TT + World Editor.
16:23:04  <Tempus2> https://gyazo.com/042f662ec9f5144281ca0ccbff5e640c
16:23:42  <nielsm> https://0x0.st/zpe8.png :P
16:24:53  <Tempus2> Ah you have a Behrininger sound-card. Cool.
16:26:05  <nielsm> I have an SC-55st on one port, a korg NS5R on another, a roland RA-50 on a third (it's difficult to get it to do proper MT32 compatibility), and then a bad piano
16:26:07  <supermop_work> interior designer, amount of management
16:26:34  <supermop_work> design and architecture are generally pretty long hour fields even outside the US
16:26:36  <Tempus2> Ah
16:26:55  <supermop_work> but this is the most absurd one ive gad
16:27:20  <supermop_work> usually these jobs are more like 45-50 hours a week, and slow in the summer
16:30:42  <Tempus2> nielsm, this is what I have hooked up: https://gyazo.com/cf42135b0e449465a8d1c1a03142b7b3
16:31:22  <nielsm> nice
16:32:18  <Tempus2> And it works perfect.
16:33:04  <Tempus2> Might have to compile my own that accept name-strings that identify the integers, just like DOSBox SVN dos(es).
16:33:57  *** andythenorth has quit IRC
16:34:04  <nielsm> well, ottd driver parameter strings don't really have any way of escaping funny characters
16:34:10  <nielsm> so some wouldn't be supportable
16:34:12  <nielsm> iirc
16:35:02  <Tempus2> I haven't looked at the source, I wouldn't know how difficult it would be.
16:35:20  <Tempus2> I just downloaded the binaries now.
16:36:27  *** HerzogDeXtEr has joined #openttd
16:36:58  <_moep_> hey I switched my trains to the electronic asian train. now I have trouble, because its not profitably. my trains are long and sometimes it takes a longtime when its complete full
16:37:10  <_moep_> do you have any suggestions?
16:37:19  <Alberth> disable full load?
16:37:24  <Alberth> make them shorter?
16:38:36  <_moep_> hmm ok :D
16:38:44  <Tempus2> Find a source that is better?
16:48:37  *** sla_ro|master has joined #openttd
16:50:59  <nielsm> Tempus2: I'm adding port listing and named port selection now
16:51:03  <nielsm> to the win32_m driver
16:54:25  *** Gumle2 has joined #openttd
17:01:57  <Tempus2> Are you the author?
17:02:06  <nielsm> yes
17:02:13  <Tempus2> Ah, nice to meet you!
17:02:28  <nielsm> I reworked all the midi code on windows last year since I was annoyed by the hardware output support being terrible :)
17:02:44  <nielsm> and also implemented dos music loading just because
17:02:48  <Tempus2> Hardware output?
17:03:04  <nielsm> using anything but the microsoft synth
17:03:07  <nielsm> pretty much
17:03:11  <Tempus2> Ah like that
17:03:35  <Tempus2> Well, MIDI is a wast sea
17:04:54  <Tempus2> Is there only one version of the MIDI-songs that comes with the original?
17:04:57  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh opened pull request #7666: Add: [Win32] Select MIDI device by port name https://git.io/fjMNV
17:05:38  <nielsm> the DOS version has at least two sets of music, one for MIDI and one for adlib
17:05:42  <nielsm> they are entirely separate
17:06:05  <Tempus2> Ah, can OpenTTD do the Adlib one?
17:06:27  <nielsm> the windows version of TTD actually comes with three sets of midi files, one for GM, one for adlib, and one for SB AWE 32/64
17:06:38  <nielsm> well the thing with adlib is that you need a synth :P
17:07:00  <Tempus2> Well, but all soundcards has it or can emulate it?
17:07:08  <nielsm> I have a branch where I imported the OPL2/3 synth code from dosbox into ottd and added decoding for the ADLIB.CAT file
17:07:09  <Tempus2> The OPL2/3
17:07:15  *** Progman has quit IRC
17:07:33  <Tempus2> Ah
17:07:45  <nielsm> I can try rebasing it to current master and make a new build
17:07:51  <Tempus2> I am not very familiar with the adlib-part of DOSBox.
17:08:21  <Tempus2> Well, don't do any of this for my sake. I am happy I could configure it to use the Sound Canvas.
17:10:43  <Tempus2> The synths I have are all connected to a programmable power-strip which I can configure in my own SVN-version of Dosbox, so that they turn on once I fire a specific game with a specific configuration.
17:26:05  <nielsm> okay, got the adlib music branch building again, required a bunch of fixups :P
17:31:23  <Tempus2> :P
17:31:40  <Tempus2> I don't know much about Adlib I just found out,.
17:32:31  <nielsm> https://0x0.st/zpe2.rar
17:32:42  <nielsm> there's a 64 bit build of master with adlib music support
17:32:52  <nielsm> you'll need to copy adlib.cat into your baseset folder
17:32:56  *** Thedarkb-T60 has quit IRC
17:45:06  *** Gumle2 has quit IRC
18:10:33  *** gelignite has joined #openttd
18:27:50  <Tempus2> It works very nice, nielsm. How did you do it that fast?
18:28:25  <nielsm> well I did most of the work in january :P just updated it to current master version today
18:29:24  <Tempus2> When would these be official?
18:29:26  <nielsm> also I'm pretty sure there is a bug in the decoding or handling of modulation messages
18:29:39  <Tempus2> How so?
18:29:45  <nielsm> the code quality is rather bad so I don't think this adlib stuff is going in any time soon
18:29:56  <Tempus2> Ah I see.
18:30:01  <Tempus2>  Let me compare to Dosbox.
18:30:08  <nielsm> compare Easy Driver
18:30:15  <Tempus2> Alright
18:30:22  <nielsm> there are some slides there that makes the modulation bug obvious
18:31:03  <Tempus2> Ah yeah, that's the first song in OpenTTD.
18:31:12  <Tempus2> The order of the songs are done differently.
18:31:34  <nielsm> yes, I'm not happy with the way playlists are handled :P
18:31:43  <Tempus2> In which one?
18:31:48  <nielsm> ottd
18:32:06  <Tempus2> I don't know how the order is done in TTD
18:32:28  <Tempus2> I know Cruice Controla and Jammit are new and they appear two different places.
18:32:30  <nielsm> before I finish up the adlib branch I want to add support for wav/mp3 music along with a better format for the OBM files
18:32:48  <Tempus2> Ah, yeah, that sounds nice.
18:33:04  <nielsm> and some more internal reworking to support non-midi music in a general fashion
18:35:05  <Tempus2> sounds a bit less noisy too
18:35:16  <Tempus2> Not sure what would cause that.
18:40:16  *** Gumle2 has joined #openttd
18:41:24  *** Thedarkb-T60 has joined #openttd
18:43:23  <nielsm> oh yeah, before I had the dos music decoding working correctly I had this bug :P https://0x0.st/saBA.webm
18:47:40  <Tempus2> ALmost qualifies as an original soundtrack. You should have recorded the MIDI :P
19:05:35  *** glx has joined #openttd
19:05:35  *** ChanServ sets mode: +v glx
19:08:48  *** Gumle2 has quit IRC
19:10:48  *** Samu has joined #openttd
19:11:15  <Samu> hi
19:16:54  <Tempus2> Hi
19:17:41  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro approved pull request #7642: Fix #7250: Viewport kdtree not being updated for waypoints when sign … https://git.io/fjMhl
19:18:59  *** Samu_ has joined #openttd
19:19:06  *** Samu has quit IRC
19:21:30  *** Samu_ is now known as Samu
19:26:17  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7658: Add: 'getsysdate' console command https://git.io/fjMhr
19:26:39  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro merged pull request #7605: Fix #7593: Crash in ScriptOrder::GetOrderDistance in VT_AIR mode https://git.io/fjBBD
19:26:49  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro closed issue #7593: Null pointer dereference in ScriptOrder::GetOrderDistance in VT_AIR mode on waypoint tiles https://git.io/fjli6
19:27:41  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro merged pull request #7621: Feature: Town name filtering https://git.io/fj2Jv
19:29:02  *** Wormnest_ has quit IRC
19:29:58  <Tempus2> nielsm, You might now this. Does TTD come with Desktop icons, if you install it on Windows?
19:30:39  <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7666: Add: [Win32] Select MIDI device by port name https://git.io/fjMh6
19:31:27  <glx> Tempus2: you mean a shortcut on desktop ?
19:31:46  <Tempus2> No, well yes, but did it ever have an icon?
19:31:47  <nielsm> the installer creates start menu shortcuts and desktop shortcut
19:32:00  <glx> it uses exe icon
19:32:01  <nielsm> and yes there has been an icon since forever
19:32:15  <Tempus2> I guess I need to dig out the CD
19:32:28  <Tempus2> I use shortcuts to all my DOS-games in Windows.
19:32:57  <glx> but why run TTD when there's OTTD ? ;)
19:34:00  <Tempus2> Well, we'll see. I just installed it first time today.
19:35:45  *** Wacko1976 has joined #openttd
19:36:00  <DorpsGek_II> [OpenTTD/OpenTTD] michicc commented on pull request #7666: Add: [Win32] Select MIDI device by port name https://git.io/fjMhP
19:38:06  * Tempus2 facepalms
19:38:16  <Tempus2> I do remember now that I see the icon..
19:38:29  <Tempus2> One I haven't seen in... 20 years?
19:39:21  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7666: Add: [Win32] Select MIDI device by port name https://git.io/fjMhH
19:40:39  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7658: Add: 'getsysdate' console command https://git.io/fjMh7
19:41:11  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh merged pull request #7642: Fix #7250: Viewport kdtree not being updated for waypoints when sign … https://git.io/fjinh
19:42:24  <LordAro> nielsm: #7608 is probably for you
19:42:45  <LordAro> i imagine "yes this is fine, now remove the debugging commit"  ?
19:45:21  <Samu> how does one do this? "marked this pull request as ready for review 6 days ago"
19:45:43  <LordAro> Samu: switch from draft PR
19:46:06  <Samu> oh, it has to be a draft in the first place?
19:46:11  <LordAro> yes
19:46:20  <Samu> :]
19:47:25  *** sla_ro|master has quit IRC
19:48:33  <DorpsGek_II> [OpenTTD/OpenTTD] DerDakon commented on pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fjMhN
19:52:42  <Tempus2> Ah, delighted to find 2 different icons for TTD.
20:01:00  *** Alberth has left #openttd
20:09:08  *** Wolf01 has joined #openttd
20:13:08  <Samu> I'm testing openttd on a system that isn't mine
20:13:52  <Samu> this build, actually https://www.tt-forums.net/viewtopic.php?f=33&t=85608
20:15:13  <Samu> Intel Celeron E1400, 2 cores at 2.0 GHz
20:15:28  <Samu> with windows 7 and 4 GB RAM
20:18:04  *** andythenorth has joined #openttd
20:18:18  <andythenorth> hi
20:18:28  <andythenorth> I have seen this behaviour that alberth reports https://www.tt-forums.net/viewtopic.php?f=26&t=68616&start=420#p1223713
20:18:34  <andythenorth> is that just what OpenTTD does though?
20:21:38  <andythenorth> I can't see anything in the newgrf spec for that
20:22:03  <Eddi|zuHause> dunno, i probably learned to work around these quirks ages ago and don't notice them
20:23:46  <DorpsGek_II> [OpenTTD/OpenTTD] stormcone updated pull request #7582: Use shift + click to show vehicles' group. https://git.io/fjCid
20:27:22  *** Samu has quit IRC
20:30:35  <DorpsGek_II> [OpenTTD/OpenTTD] stormcone commented on pull request #7582: Use shift + click to show vehicles' group. https://git.io/fjMjz
20:48:42  *** Progman has joined #openttd
21:08:03  *** gelignite has quit IRC
21:17:46  *** Wacko1976 has quit IRC
21:24:54  *** Progman has quit IRC
21:28:58  *** Beerbelott has joined #openttd
21:29:47  *** Wacko1976 has joined #openttd
21:30:24  <Beerbelott> I notice some (all?) code in openttd follow some specific habits, ie: opening curly bracket for functions on a new line, space between "if" identifier & parenthesis
21:30:43  <Beerbelott> Are those habits normative or up to the developer?
21:31:34  <Beerbelott> Mmmh
21:31:36  <Beerbelott> Found https://wiki.openttd.org/Coding_style
21:31:41  <Beerbelott> Is this up-to-date?
21:31:55  <Beerbelott> If so I guess I got my answer
21:33:59  <glx> it is, also includes commit message format
21:34:59  *** nielsm has quit IRC
21:38:00  *** andythenorth has left #openttd
21:41:54  *** Wacko1976 has quit IRC
21:46:13  *** Tempus2 has quit IRC
21:52:29  *** Wolf01 has quit IRC
22:43:47  *** HerzogDeXtEr has quit IRC
23:30:19  *** Wormnest_ has joined #openttd
23:31:47  *** tokai has joined #openttd
23:31:47  *** ChanServ sets mode: +v tokai
23:32:08  *** supermop_work has quit IRC
23:38:26  *** tokai|noir has quit IRC

Powered by YARRSTE version: svn-trunk