Back to Home / #openttd / 2021 / 06 / Prev Day | Next Day
#openttd IRC Logs for 2021-06-21

---Logopened Mon Jun 21 00:00:37 2021
00:37-!-roadt__ [~roadt@] has joined #openttd
00:37-!-roadt__ is "roadt" on #openttd
00:44-!-roadt_ [~roadt@] has quit [Ping timeout: 480 seconds]
01:36-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:9367:2e69:4640:52de:5991] has joined #openttd
01:36-!-Gustavo6046 is "Gustavo Rehermann <>" on #openttd #llvm
01:38-!-Gustavo6046_ [~Gustavo60@2804:14d:4cd8:9367:3c44:bcaa:4e28:27ee] has quit [Ping timeout: 480 seconds]
02:07-!-snail_UES_ [] has quit [Quit: snail_UES_]
02:13-!-tokai [] has joined #openttd
02:13-!-mode/#openttd [+v tokai] by ChanServ
02:13-!-tokai is "Christian Rosentreter" on +#openttd
02:14-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:9367:2e69:4640:52de:5991] has quit [Ping timeout: 480 seconds]
02:16-!-Gustavo6046 [~Gustavo60@] has joined #openttd
02:16-!-Gustavo6046 is "Gustavo Rehermann <>" on #openttd #llvm
02:20-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
02:41-!-sla_ro|master [slamaster@] has joined #openttd
02:41-!-sla_ro|master is "slamaster" on @#sla #openttd
03:18-!-D-HUND is now known as debdog
03:25<@DorpsGek>[OpenTTD/OpenTTD] TrueBrain commented on pull request #9390: Fix: don't allow deleting SettingDesc to prevent compilers getting confused
03:25<@DorpsGek>[OpenTTD/OpenTTD] TrueBrain closed pull request #9390: Fix: don't allow deleting SettingDesc to prevent compilers getting confused
03:25<@DorpsGek>[OpenTTD/OpenTTD] TrueBrain commented on pull request #9389: Fix bf500c3: reduce the amount of vars to track by using std::string_view
03:25<@DorpsGek>[OpenTTD/OpenTTD] TrueBrain closed pull request #9389: Fix bf500c3: reduce the amount of vars to track by using std::string_view
03:30-!-HerzogDeXtEr [] has joined #openttd
03:30-!-HerzogDeXtEr is "purple" on #openttd
03:46<TrueBrain>so using std::variant bumps MacOS minimum to 10.14 only because of the exception it can throw .. as that is embedded in the libc++ dylib ..
03:46<TrueBrain>that is an evil reason to bump the minimum :P
03:47<TrueBrain>(well, std::visit does, but who is counting)
03:47<@Rubidium>discrete mathematicians?
04:01<@peter1138>Just drop OS X support :D
04:08<TrueBrain>well, according to Steam, we would lose ...... well, almost nobody :P
04:08<TrueBrain>similar with Linux btw
04:08<TrueBrain>funny how Steam really is a Windows platform
04:09*debdog would have dropped win support, too
04:09<TrueBrain>just develop for the machines we are on
04:09<TrueBrain>and if it happens to work on another, good for you
04:09<TrueBrain> :D
04:17-!-tokai|noir [] has joined #openttd
04:17-!-mode/#openttd [+v tokai|noir] by ChanServ
04:17-!-tokai|noir is "Christian Rosentreter" on +#openttd
04:23-!-tokai [] has quit [Ping timeout: 480 seconds]
04:34<@peter1138>Sounds right.
04:53<Xaroth>if it compiles, ship it
04:58<@peter1138>Well, that is the problem...
05:00<LordAro>ships keep getting lost
05:02<Xaroth>build more buoys
05:03<TrueBrain>build bigger canal
05:05<Xaroth>Flood the entire continent
05:06<Xaroth>... I think I once again find myself on some government watchlist.
05:07-!-WormnestAndroid [] has quit [Ping timeout: 480 seconds]
05:09<TrueBrain>can confirm
05:14-!-WormnestAndroid [] has joined #openttd
05:14-!-WormnestAndroid is "WormnestAndroid" on #openttd
05:19-!-tokai [] has joined #openttd
05:19-!-mode/#openttd [+v tokai] by ChanServ
05:19-!-tokai is "Christian Rosentreter" on +#openttd
05:26-!-esselfe [] has quit [Read error: No route to host]
05:26-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
05:27-!-iSoSyS [] has joined #openttd
05:27-!-iSoSyS is "realname" on #/r/openttd #openttd
05:27-!-iSoSyS [] has quit []
05:40<Timberwolf>I have an urge for coffee.
05:43<Timberwolf>Also, grinding the beans gives me something to do while I wait for this Terraform run.
05:43<Timberwolf>Ooh, it was unexpectedly fast.
05:44<LordAro>no coffee for you!
05:45<Timberwolf>I realise I also need a new build of a lambda, that uses Docker-in-Docker so I have plenty of time for coffee setup now :)
05:47<Eddi|zuHause2>i herd u liek containerz, so we put some containerz in ur containerz
06:20-!-Samu [] has joined #openttd
06:20-!-Samu is "realname" on #openttd
06:37-!-Eddi|zuHause2 [] has quit [Remote host closed the connection]
06:38-!-Eddi|zuHause2 [] has joined #openttd
06:38-!-Eddi|zuHause2 is "Johannes E. Krause" on #openttd
06:40-!-andythenorth [] has joined #openttd
06:40-!-andythenorth is "andythenorth" on #openttd
06:42-!-tokai|noir [] has joined #openttd
06:42-!-mode/#openttd [+v tokai|noir] by ChanServ
06:42-!-tokai|noir is "Christian Rosentreter" on +#openttd
06:49-!-tokai [] has quit [Ping timeout: 480 seconds]
07:47-!-WormnestAndroid [] has quit [Remote host closed the connection]
07:47-!-WormnestAndroid [] has joined #openttd
07:47-!-WormnestAndroid is "WormnestAndroid" on #openttd
08:10-!-Wuzzy [] has joined #openttd
08:10-!-Wuzzy is "Wuzzy" on #openttd
08:12-!-glx [] has joined #openttd
08:12-!-mode/#openttd [+v glx] by ChanServ
08:12-!-glx is "Loïc GUILLOUX" on +#openttd
08:49-!-snail_UES_ [] has joined #openttd
08:49-!-snail_UES_ is "Jacopo Coletto" on #openttd
09:10<andythenorth>goes it redesign FIRS Steeltown?
09:39<FLHerne>Well, personally I'd be much more interested in the 'better West Country' economy you've mentioned, because Steeltown isn't really my thing
09:42-!-nielsm [] has joined #openttd
09:42-!-nielsm is "Niels Martin Hansen" on #openttd
09:47<andythenorth>I am only poking at Steeltown because it makes literally no sense currently
09:48<andythenorth>everything -> vehicles cargo -> nowhere, pointless
09:48<andythenorth>it's alright for the first 50 years
09:48<andythenorth>then it's FAIL
09:52<Samu>I like the idea of No subsidies!
09:52<Samu>makes AI vs AI a bit fairer
10:00-!-gelignite [] has joined #openttd
10:00-!-gelignite is "gelignite" on #debian #llvm #openttd
10:00<@peter1138>Is that "NoSubsidies" like "NoAI"?
10:00<Samu>no, it's a new game setting
10:00<@peter1138>Can gamescripts set up subsidies...
10:01<Samu>I think they can, but haven't tested it
10:08<Samu>towns building tunnels, it's still a weird thing to see
10:48<nielsm>I don't think there's a subsidies API no, you can make goals and reward the player but the multiplier to all delivery payments thing isn't possible
10:51<Samu>my ai does some weird stuff with aircraft, he went from coleman count to kelling k1, totally ignored the bakewell lb-9 for some reason
11:13-!-namad7 [] has joined #openttd
11:13-!-namad7 is "namad2" on #openttd
11:21-!-roadt__ [~roadt@] has quit [Ping timeout: 480 seconds]
11:22-!-roadt__ [~roadt@] has joined #openttd
11:22-!-roadt__ is "roadt" on #openttd
11:23-!-namad7 [] has quit []
11:25-!-WormnestAndroid [] has quit [Ping timeout: 480 seconds]
11:27-!-WormnestAndroid [] has joined #openttd
11:27-!-WormnestAndroid is "WormnestAndroid" on #openttd
11:46-!-Progman [] has joined #openttd
11:46-!-Progman is "Peter Henschel" on #openttd
12:00<Samu>AIVehicle.GetBuildWithRefitCapacity is returning -1 for some reason
12:00<Samu>need to investigate better with visual studio
12:09<+glx>unbuildable engine, invalid cargo, or failure to build vehicle or refit it once built
12:10-!-WormnestAndroid [] has quit [Ping timeout: 480 seconds]
12:10-!-WormnestAndroid [~WormnestA@2607:fb90:a091:8d0d:0:2:b890:4401] has joined #openttd
12:10-!-WormnestAndroid is "WormnestAndroid" on #openttd
12:16<Samu>found the problem!
12:17<Samu>it can't get a free unit number
12:17<+glx>too many vehicles
12:17<Samu>but i'm only querying for capacity
12:17<+glx>yes but it needs to build a vehicle for that
12:18<+glx>as capacity may depend on a newgrf callback
12:19<Samu>well, the limit is 200 aircraft, he's at the limit
12:22<Samu>there's a DC_QUERY_COST flag in use and a DC_AUTOREPLACE is what it needs
12:24<Samu>I was so used to 5000 max vehicles, I never triggered this bug before
12:24-!-sla_ro|master [slamaster@] has quit []
12:24<+glx>DC_AUTOREPLACE is added later in case of reffiting in CmdBuildVehicle
12:26<+glx>maybe some reordering is needed, like setting subflags, and then testing subflags instead of flags for unit_num
12:29-!-Taschi [~Taschi@2001:16b8:a0c8:7800:300d:4b0d:a54b:3cdc] has joined #openttd
12:29-!-Taschi is "realname" on #openttd
12:29<Samu> primary capacity = -1, making calculated income totally wrong
12:30<+glx>incorrect handling of -1 is your bug ;)
12:31<Taschi>-1 should just be banned, it is the worst number and keeps creating problems for C++ devs
12:32<+glx>it's standard error code
12:32<Taschi>i know, that's the joke
12:34-!-Gustavo6046_ [~Gustavo60@] has joined #openttd
12:34-!-Gustavo6046_ is "Gustavo Rehermann <>" on #openttd #llvm
12:37-!-Progman [] has quit [Remote host closed the connection]
12:38<+glx>something like maybe
12:38-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
12:38-!-Gustavo6046_ is now known as Gustavo6046
12:43<Samu>im testing refitted to passengers, which is the default cargo
12:44<+glx>then it's not a refit
12:44<Samu>it isn't, but still... it should handle it
12:47<Samu>subflags is DC_QUERY_COST
12:48<Samu>gonna test your change, but i think it won't work
12:49<+glx>I think it will for non default refit
12:49<+glx>needs more for default cargo
12:54<+glx>for default cargo you can use AIEngine::GetCapacity()
12:55<@DorpsGek>[OpenTTD/OpenTTD] rubidium42 opened pull request #9391: Fix #9386: use variant instead of unique_ptr to prevent compilers failing on the code generation
12:59<+glx>and of course it seems there's no way to get default mail capacity for aircraft
12:59<+glx>(in scripts)
13:02<Taschi>i'm interested in contributing code to OpenTTD but haven't worked on any C++ project of this scale before and am a tiny bit lost
13:02<Taschi>would it be possible for someone to "mentor" me a bit?
13:06<+glx>depends on what you want to do :)
13:06<Taschi>i am a professional Java EE dev with some experience in release management and build systems so i don't need to be taught how to program, but i need help to get the "lay of the land"
13:10<Taschi>for example i'm having trouble finding something that's good as a first issue to work on, i have already seen the "good first issue" tag on Github but a lot of them are a) unclear on whether they actually should be fixed/implemented or b) already have pull requests
13:11<+glx>usually if there's a PR it's linked in the issue
13:14<+glx>Rubidium: of course MacOS doesn't like it :)
13:16<@Rubidium>glx: it doesn't like 10.14; all the warnings are in mm files
13:16<+glx>yes, typical when you change the minimum version, it deprecates a lot
13:16<+glx>and it's annoying
13:16<@Rubidium>that's well beyond my scope ;)
13:21-!-Flygon [~Flygon@2001:44b8:411e:4e00:9034:aebe:36c3:f4ed] has quit [Quit: A toaster's basically a soldering iron designed to toast bread]
13:21<FLHerne>Taschi: looks straightforward, and somewhat uncontroversial
13:22<FLHerne>(TrueBrain wasn't convinced it's useful, but I do and so does whoever reported it, and there's no harm from implementing it :p)
13:23<TrueBrain>you have a fun way of reading words :P
13:23<Taschi>to reproduce / test that, i'd have to run a server and then somehow cause it to crash... what would be the best way to do it? Would just killing the process via Task Manager be sufficient?
13:24<FLHerne>That would work I think
13:26-!-Wolf01 [] has joined #openttd
13:26-!-Wolf01 is "Wolf01" on #openttd
13:30<+glx>Rubidium: based on the compile log, some warnings should be easy to fix, but some will require bigger changes
13:31<Taschi>oh, no, i misunderstood that - the netsave is done when you're playing on a server, and your client loses the network connection
13:31<Taschi>which i guess would happen when killing the server
13:31<+glx>yes it's easy to trigger locally :)
13:37<Taschi>yeah, i've managed to trigger that
13:37<@DorpsGek>[OpenTTD/OpenTTD] Taschi120 commented on issue #9188: `autosave/netsave.sav` is not numbered (unlike regular `autosave/autosave#.sav`)
13:42<@DorpsGek>[OpenTTD/OpenTTD] SamuXarick opened issue #9392: Bug Report
13:42<+glx>oh seems we don't set at the right place, and that's probably why we have MACOSX_DEPLOYMENT_TARGET in CI env
13:43<@DorpsGek>[OpenTTD/OpenTTD] glx22 commented on pull request #9391: Fix #9386: use variant instead of unique_ptr to prevent compilers failing on the code generation
13:44<+glx>Samu: you again forgot to rename the issue ;)
13:44<Samu>oh, sorry
13:46<Samu>i dont know how to quote multiline code
13:46<@DorpsGek>[OpenTTD/OpenTTD] glx22 commented on issue #9392: AIVehicle.GetBuildWithRefitCapacity returns -1 when at the max num of vehicles
13:46<+glx>with shift
13:47<+glx>but you can manually edit the link too
13:59-!-Beer [] has joined #openttd
13:59-!-Beer is "realname" on #openttd
14:16-!-Taschi [~Taschi@2001:16b8:a0c8:7800:300d:4b0d:a54b:3cdc] has quit [Quit: Leaving]
14:27-!-sla_ro|master [slamaster@] has joined #openttd
14:27-!-sla_ro|master is "slamaster" on @#sla #openttd
14:27-!-Gustavo6046 [~Gustavo60@] has quit [Quit: ZNC 1.8.2 -]
14:29-!-Gustavo6046 [~Gustavo60@] has joined #openttd
14:29-!-Gustavo6046 is "Gustavo Rehermann <>" on #openttd #llvm
15:12<Samu>im trying flags & DC_QUERY_COST at the unit_num
15:18<Samu>hmm the vehicle was not undone
15:35-!-tokai [] has joined #openttd
15:35-!-mode/#openttd [+v tokai] by ChanServ
15:35-!-tokai is "Christian Rosentreter" on +#openttd
15:40-!-Gustavo6046_ [~Gustavo60@] has joined #openttd
15:40-!-Gustavo6046_ is "Gustavo Rehermann <>" on #openttd #llvm
15:42-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
15:44-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
15:44-!-Gustavo6046_ is now known as Gustavo6046
15:45-!-Speeder__ [~Speeder@2804:14d:ac83:8f19:8951:86ff:16da:e681] has quit [Ping timeout: 480 seconds]
15:52-!-WormnestAndroid [~WormnestA@2607:fb90:a091:8d0d:0:2:b890:4401] has quit [Ping timeout: 480 seconds]
15:55-!-WormnestAndroid [] has joined #openttd
15:55-!-WormnestAndroid is "WormnestAndroid" on #openttd
16:18<Samu>nevermind, there was no vehicle to undo
16:29<Samu>my commit message may need editing
16:32<Samu>it seems a too simple fix
16:32<Samu>too good to be true
16:43<@DorpsGek>[OpenTTD/OpenTTD] SamuXarick opened pull request #9393: Fix #9392: Return a valid value with GetBuildWithRefitCapacity when AIs are maxed out in vehicles
16:48-!-Gustavo6046_ [~Gustavo60@2804:14d:4cd8:9367:3214:4aff:fe7f:df8b] has joined #openttd
16:48-!-Gustavo6046_ is "Gustavo Rehermann <>" on #openttd #llvm
16:49-!-WormnestAndroid [] has quit [Ping timeout: 480 seconds]
16:51-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
16:52-!-Progman [] has joined #openttd
16:52-!-Progman is "Peter Henschel" on #openttd
16:53-!-gelignite [] has quit [Quit: Stay safe!]
16:53-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:9367:45d4:8caf:e8ac:f41d] has joined #openttd
16:53-!-Gustavo6046 is "Gustavo Rehermann <>" on #openttd #llvm
16:55<Samu>AI now replaced all Coleman Count with Bakewell Luckett LB-9
16:55<Samu>im happy
16:57-!-Gustavo6046_ [~Gustavo60@2804:14d:4cd8:9367:3214:4aff:fe7f:df8b] has quit [Ping timeout: 480 seconds]
17:00-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:9367:45d4:8caf:e8ac:f41d] has quit [Quit: ZNC 1.8.2 -]
17:00-!-Gustavo6046 [~Gustavo60@] has joined #openttd
17:00-!-Gustavo6046 is "Gustavo Rehermann <>" on #openttd #llvm
17:10-!-Samu [] has quit [Quit: Leaving]
17:19-!-sla_ro|master [slamaster@] has quit []
17:31-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
17:34-!-Progman [] has quit [Remote host closed the connection]
17:35-!-WormnestAndroid [] has joined #openttd
17:35-!-WormnestAndroid is "WormnestAndroid" on #openttd
17:42-!-Wormnest [] has joined #openttd
17:42-!-Wormnest is "Wormnest" on #openttd
17:46<@DorpsGek>[OpenTTD/OpenTTD] michicc opened pull request #9394: Codechange: [OSX] Use more exact enum names where introduced with the 10.12 SDK.
18:10-!-nielsm [] has quit [Ping timeout: 480 seconds]
18:12-!-jottyfan [] has joined #openttd
18:12-!-jottyfan is "jottyfan" on #openttd
18:12-!-jottyfan [] has quit []
18:16-!-andythenorth [] has quit [Quit: andythenorth]
18:19<@DorpsGek>[OpenTTD/OpenTTD] glx22 commented on pull request #9394: Codechange: [OSX] Use more exact enum names where introduced with the 10.12 SDK.
18:30-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
18:37-!-Wormnest [] has quit [Quit: Leaving]
18:42-!-tokai|noir [] has joined #openttd
18:42-!-mode/#openttd [+v tokai|noir] by ChanServ
18:42-!-tokai|noir is "Christian Rosentreter" on +#openttd
18:49-!-tokai [] has quit [Ping timeout: 480 seconds]
19:41<@DorpsGek>[OpenTTD/OpenTTD] michicc updated pull request #9394: Codechange: [OSX] Use more exact enum names where introduced with the 10.12 SDK.
19:50-!-Wuzzy [] has quit [Remote host closed the connection]
20:09-!-tokai [] has joined #openttd
20:09-!-mode/#openttd [+v tokai] by ChanServ
20:09-!-tokai is "Christian Rosentreter" on +#openttd
20:15-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
20:35-!-FLHerne [] has quit [Write error: connection closed]
20:35-!-FLHerne [] has joined #openttd
20:35-!-FLHerne is "Francis Herne" on #wayland #moocows #openttd #oftc #llvm #freedesktop #dri-devel #debian #OpenRailwayMap
21:04-!-Beer [] has quit [Remote host closed the connection]
22:10-!-FLHerne [] has quit [Remote host closed the connection]
22:10-!-FLHerne [] has joined #openttd
22:10-!-FLHerne is "Francis Herne" on #wayland #moocows #openttd #oftc #llvm #freedesktop #dri-devel #debian #OpenRailwayMap
22:13-!-tokai|noir [] has joined #openttd
22:13-!-tokai|noir is "Christian Rosentreter" on #openttd
22:13-!-mode/#openttd [+v tokai|noir] by ChanServ
22:20-!-tokai [] has quit [Ping timeout: 480 seconds]
22:53-!-glx [] has quit []
23:01-!-D-HUND [~debdog@2a00:79c0:65b:cb00:7a24:afff:fe8a:d04d] has joined #openttd
23:01-!-D-HUND is "Wowbagger" on #openttd
23:05-!-debdog [~debdog@2a00:79c0:668:ea00:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
23:11-!-tokai [] has joined #openttd
23:11-!-tokai is "Christian Rosentreter" on #openttd
23:11-!-mode/#openttd [+v tokai] by ChanServ
23:18-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
23:20-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
23:22-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:9367:45d4:8caf:e8ac:f41d] has joined #openttd
23:22-!-Gustavo6046 is "Gustavo Rehermann <>" on #openttd #llvm
23:49-!-tokai|noir [] has joined #openttd
23:49-!-mode/#openttd [+v tokai|noir] by ChanServ
23:49-!-tokai|noir is "Christian Rosentreter" on +#openttd
23:55-!-tokai [] has quit [Ping timeout: 480 seconds]
---Logclosed Tue Jun 22 00:00:39 2021