IRC logs for #openttd on OFTC at 2019-04-30
⏴ go to previous day
00:09:24 *** HerzogDeXtEr1 has joined #openttd
00:10:56 *** andythenorth has left #openttd
00:15:21 *** Gustavo6046 has joined #openttd
00:16:01 *** fanioz is now known as Guest1375
00:18:26 *** fanioz__ has joined #openttd
00:19:50 <Eddi|zuHause> should i come up with a flexible system for docks which makes everyone lose all motivation to work on them?
00:20:58 <LordAro> do the docks have vision?
00:21:20 *** HerzogDeXtEr has joined #openttd
00:36:49 *** fanioz_ has joined #openttd
02:08:38 *** Supercheese has joined #openttd
02:24:34 <Samu_> 12 round is almost complete
02:25:05 <Samu_> AIAI, in 12 games, 12 victories
02:25:12 <Samu_> it's currently the best AI
02:25:33 <Samu_> Rythorn Airline AI, in 12 games, 0 victories
02:25:37 <Samu_> it's currently the worst AI
02:28:29 <Samu_> Round 10 was the most difficult round for the AIs
02:29:10 <Samu_> that didn't manage to get £10M
02:30:16 <Samu_> 35 more rounds to go... oh gosh, :(
02:33:50 <Samu_> fastest victory, in just 1490 days goes to EpicTrans
02:34:31 <Samu_> if I recall, it bankrupted, restarted in a good year
02:34:51 <Samu_> inflation was there helping if i recall, need to check that game
02:37:23 <Samu_> 2 big planes made the whole difference
02:38:13 <Samu_> EpicTrans has only 3 victories in 12 games
03:28:43 *** erratic has joined #openttd
04:20:23 *** Supercheese has joined #openttd
04:43:31 *** Supercheese has joined #openttd
06:44:28 *** tokai|noir has joined #openttd
06:44:28 *** ChanServ sets mode: +v tokai|noir
07:24:29 *** andythenorth has joined #openttd
07:54:31 *** fanioz is now known as Guest1400
08:30:16 *** gareppa has joined #openttd
09:12:37 <peter1138> Hmm, probably ought to head to work.
09:15:01 *** sla_ro|master has joined #openttd
09:26:30 <andythenorth> at least 9000 pixels
09:55:31 *** andythenorth has joined #openttd
10:05:19 <V453000> I found a pretty great pixel art tool for ipad
10:15:18 <LordAro> so it has come to this
11:19:27 <V453000> andythenorth: yes ... though I must admit I did push pixels with my filthy fingers in the morning
11:21:00 * andythenorth obsessing about trains
11:21:47 <andythenorth> nah actually it's the vehicle set I'm most proud of
11:24:06 <andythenorth> so how to use vehicle variants...just liveries? Or other visual changes?
11:24:13 <andythenorth> or same appearance, different stats?
11:24:19 <andythenorth> peter1138 ^ such and very :P
11:45:13 <Eddi|zuHause> different stats probably will always cause issues with autoreplace
11:46:59 <V453000> andythenorth: regarding all the different wagons?
11:47:27 <V453000> I'd certainly love some randomness in visuals, but simplicity to use (for example 1 wagon for each cargo, randomize graphics for it)
11:51:50 <Eddi|zuHause> V453000: randomized look works already, but sometimes gets annoying when you want a certain uniform look.
11:52:44 <V453000> well there is random and random :)
11:52:51 <V453000> crazy different and coherent
11:53:48 <Eddi|zuHause> the proposed "variants" would allow for a gui element in the purchase menu to select which look you want (and also other things, like different number of articulated parts)
12:03:33 <Eddi|zuHause> particularly, they should avoid the need to abuse refit subtypes for this kind of vehicle variation
12:08:06 <peter1138> andythenorth, I really can't be arsed to work on anything new while I have so much other stuff on.
12:08:20 <peter1138> andythenorth, I did start it, I have a local branch, etc, etc...
13:58:54 <andythenorth> peter1138: start moar stuff! But no, I understand :)
13:58:59 * andythenorth should finish _something_
13:59:08 <peter1138> Well, I merged a load last night.
14:02:29 <andythenorth> I just keep starting more new stuff :P
14:02:39 <andythenorth> up to a point, it's totally valid
14:02:43 <andythenorth> until it becomes a plague :P
14:03:01 <peter1138> Maybe I should merge NRT while nobody is looking.
14:03:44 <andythenorth> tree, falls, forest
14:05:32 <andythenorth> anyway, doing an extra type of box car
14:05:32 <andythenorth> just to get grey doors + roof
14:05:32 <andythenorth> sounds like variants to me :P
14:05:39 <andythenorth> simple answer: do something else for now :P
14:10:49 <peter1138> TRUEBRAIN COME BACK I LOVE YOU
14:14:25 <DorpsGek_II> [OpenTTD/OpenTTD] kiwitreekor opened pull request #7552: Fix: Crash on waypoint selection window https://git.io/fjZem
14:14:44 <peter1138> Yay, another bug :/
14:14:52 <peter1138> It's almost like I didn't test it :(
14:15:05 <peter1138> Oh but it's a PR. Nice.
14:20:55 <DorpsGek_II> [OpenTTD/OpenTTD] kiwitreekor updated pull request #7552: Fix: Crash on waypoint selection window https://git.io/fjZem
14:26:19 <LordAro> not the usual way we've gone about it...
14:28:35 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7552: Fix: Crash on waypoint selection window https://git.io/fjZeu
14:54:14 <DorpsGek_II> [OpenTTD/OpenTTD] kiwitreekor updated pull request #7552: Fix: Crash on waypoint selection window https://git.io/fjZem
14:55:55 *** HerzogDeXtEr has joined #openttd
14:57:46 <DorpsGek_II> [OpenTTD/OpenTTD] kiwitreekor commented on pull request #7552: Fix: Crash on waypoint selection window https://git.io/fjZvT
15:01:26 <LordAro> peter1138: no more type_traits!
15:16:57 <andythenorth> SYL is a bit of a twat
15:32:35 <spnda> Uhm I'm trying to do some stuff with nml, but I can't get the program to find my ply module. I just did 'pip3 install ply', or are there other steps required?
15:34:57 <andythenorth> that should be enough for ply
15:35:07 <andythenorth> all other things being equal :P
15:35:52 <spnda> I even did a manual installation and I still just get this: No module named 'ply'
15:43:32 <andythenorth> spnda it will be solvable, but right now I can't dig into python packaing problems :P
15:45:41 *** Elon_Satoshi has joined #openttd
15:49:08 <andythenorth> too many intermodal ideas
16:16:03 *** Alberth has joined #openttd
16:16:03 *** ChanServ sets mode: +o Alberth
16:17:23 <spnda> oh now suddenly PIL is not found... what is this
16:18:05 <Alberth> wrong python version?
16:19:37 <andythenorth> wrong python, wrong virtualenv, wrong path ?
16:19:57 <andythenorth> this stuff is why I have virtualenvs
16:20:14 <Alberth> I only have 1 serious Python :)
16:23:16 <spnda> Oh hey 3.7-32 works fine now huh but I can't use it normally whyyyy
16:27:33 <Alberth> in particular which version?
16:31:04 <Alberth> onedrive? no thank you
16:31:36 <Alberth> runs 25 ziliion scripts
16:32:13 <Samu> about the tournament, the first 12 rounds
16:32:38 <spnda> Alberth, it's currently defaulting to Python 2.7.6, which I never installed myself.
16:32:56 <Alberth> system python probably
16:33:05 <Alberth> so type "python3" instead :)
16:33:21 <spnda> 'python3' is not recognized as an internal or external command,
16:33:43 <Alberth> rename the executable?
16:34:01 <Alberth> or is it not on the path?
16:34:26 <spnda> I renamed the exe, that works. thanks
16:34:56 <Alberth> not entirely to the BDFL guidelines, but it works :)
16:35:28 <Alberth> alternative is to find out what uses python2, and ditch that :p
16:35:42 <Alberth> it's almost dead anyway :p
16:49:22 *** Wormnest has joined #openttd
16:49:22 *** andythenorth has joined #openttd
17:01:32 <Samu> if you win, you also lose
17:03:24 *** Progman has joined #openttd
17:36:05 *** gelignite has joined #openttd
17:55:59 <Samu> RoadRunner is a mean competitor
17:56:21 <Samu> it strangles your road connections with mass vehicles, massive jams
17:56:40 <Samu> its not even good for himself
17:58:32 <Samu> Terron vs RoadRunner is really interesting
18:03:33 <Samu> RoadRunner is pulling ahead, Terron is wasting money on dumb stuff
18:04:45 <Samu> ah, right, Terron is that AI that sells vehicles when they're 2 years old or so, no wonder
18:08:32 <Samu> RoadRunner isn't nice either, likes to jam
18:30:49 *** Elon_Satoshi has joined #openttd
18:39:22 * peter1138 does important things like playing Brutal Doom. Still.
18:41:07 <andythenorth> and dras habfiss vans
18:44:42 *** Supercheese has joined #openttd
18:49:56 <Samu> shipai crashed with cpu valuator
18:50:08 <peter1138> Local comedy festival... the Tringe...
18:50:24 <peter1138> Looks good, nice acts. Brett Domino, etc...
18:50:33 <Samu> the author said it in the topic
18:51:58 <peter1138> That's a "see everything" pass, mind you, but that only works if you can go there all the time. (It's spread over a couple of weeks)
18:53:03 <andythenorth> I can do it on flip, but I am using that to swap 1CC and 2DD :P
18:54:03 <andythenorth> pls tell me moar
18:54:08 <andythenorth> send me the codez
19:02:37 <DorpsGek_II> [OpenTTD/OpenTTD] ldpl opened issue #7553: Game crashes if gamescript has more than 2048 strings https://git.io/fjZkY
19:05:44 * _dp_ was hunting that damn crash for ages
19:07:03 <peter1138> Thanks for a nice test case.
19:07:12 <andythenorth> openttd pegs the WindowServer process on macOS, even if paused and/or minimised :)
19:07:21 <andythenorth> that's even before I try it on 10.14 :P
19:07:22 <peter1138> What's a WindowServer process?
19:07:38 <andythenorth> approximately, draws the screen
19:09:25 <andythenorth> I killed OpenTTD and it drops from 65% of CPU to 16%
19:09:46 <andythenorth> it's not uncommon, running YT videos or lots of browser tabs also pegs it
19:10:02 <_dp_> yw, now need figure out why the fuck do I have 2048 strings xD
19:11:18 <peter1138> It's crashing at TAB_SIZE (2048) but TAB_SIZE_GAMESCRIPT is TAB_SIZE * 32. Hmm.
19:11:50 <_dp_> peter1138, GameStrings::Compile allocates only 1 tab
19:13:29 <peter1138> I don't really understand what all these structures are for any more.
19:13:54 <peter1138> Pretty sure they're mostly relics from long-gone C days.
19:14:35 <_dp_> well, I've no idea either
19:17:47 <peter1138> Changing that to 32 makes it not crash, but I don't know if that's the same as working.
19:18:08 <peter1138> And of course, if you go to 65536 strings...
19:24:02 *** frosch123 has joined #openttd
19:24:26 *** Sheogorath has joined #openttd
19:27:38 <LordAro> should be a range check, regardless
19:52:09 <peter1138> Already looking, but okay :p
19:53:14 <glx> it must be something weird because part of the code is used in strgen without issue :)
19:56:55 *** chomwitt has joined #openttd
20:33:22 <peter1138> glx, just a simple bounds check, to be honest.
20:51:09 <Wolf01> Why is it so cold? There were 25°C, now there is SNOW
20:54:30 <Alberth> because there is snow?
20:54:50 <Wolf01> There is snow because it's cold
20:57:43 *** Gustavo6046 has joined #openttd
20:58:50 <peter1138> Yes, he's a fairly decent journalist.
21:01:23 <glx> hmm static const uint TAB_SIZE_GAMESCRIPT = TAB_SIZE * 32; but StringData data(1);
21:03:01 <glx> indeed there are many missing checks, but we could reserve more than 2048 strings
21:04:27 <glx> theorically openttd assumes gamescripts can have 65536 strings, but gamescript has only 2048
21:16:05 <DorpsGek_II> [OpenTTD/OpenTTD] Gymnasiast commented on pull request #7544: Fix #7481: Don't modify oil rig stations during removal https://git.io/fjZLm
21:25:03 *** sla_ro|master has joined #openttd
21:32:46 *** andythenorth is now known as Guest1444
21:32:48 *** andythenorth has joined #openttd
21:46:29 <glx> this should be enough to not crash
21:49:29 <V453000> yayyyyy 78k lines of code :D clearly getting more efficient!
22:09:22 <Eddi|zuHause> depending how you count, CETS is 2k lines or 100k lines
22:10:23 <Eddi|zuHause> > wc -l cets.nfo
22:11:43 <V453000> wtf my vehidle shows 168 capacity in the purchase menu, but the purchase_cargo_capacity is 108
22:12:27 <Eddi|zuHause> also, there's some *2 factors in certain situations
22:12:34 <V453000> well it is dual headed
22:12:43 <V453000> but still, 108 does not multiply into 168
22:13:08 *** Elon_Satoshi has joined #openttd
22:13:21 <V453000> it adds with the cargo_capacity from properties :D
22:13:53 <Eddi|zuHause> purchase capacity for the first part, regular capacity for the second?
22:14:04 <Eddi|zuHause> that sounds like some kind of bug
22:14:20 <Eddi|zuHause> could warrant a ticket with a test case
22:16:13 <V453000> I guess that could be what is happening yes
22:20:37 <V453000> purchase_cargo_capacity: 108-60;
22:20:59 <Eddi|zuHause> that's not really helping :p
22:21:02 <V453000> yeah I'll investigate later and make an eventual bug report
22:24:28 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 opened pull request #7554: Fix #7553: validate the number of allocated strings https://git.io/fjZt8
22:26:02 <peter1138> When you spend time diagnosing why a savegame is corrupted...
22:26:25 <peter1138> When you realised it's because it was made in a different branch and so doesn't get converted.
22:29:52 <andythenorth> V453000: 78k barely trying
22:30:38 <andythenorth> all written by hand though?
22:30:55 <andythenorth> ok respect for that
22:31:00 <andythenorth> Horse is 136k lines
22:31:03 <andythenorth> but mostly whitespace :P
22:32:49 <V453000> yay my soul is free for a short time again :D new nuts iz done
22:35:57 <Wolf01> I still read "merged" as "updated"
22:37:21 *** Elon_Satoshi has joined #openttd
22:53:50 <spnda> to andy and v453000, my biggest GRF is only 2655 lines long and I thought that was fairly long...
23:01:19 <V453000> anyway, good night :)
23:01:33 <V453000> lets see how much people h8
23:04:12 <glx> and CI failure started with nightly
23:18:07 * andythenorth not finding much useful
23:19:34 <glx> probably an issue on azure side
23:30:13 *** apple_lover_12345 has joined #openttd
23:31:56 <apple_lover_12345> hello! does anyone know if there are any newGRFs that pertain to giving vehicles orders?
23:32:51 <peter1138> That doesn't sound like the job of a NewGRF.
23:53:13 *** apple_lover_12345 has quit IRC
continue to next day ⏵