Back to Home / #openttd / 2021 / 01 / Prev Day | Next Day
#openttd IRC Logs for 2021-01-20

---Logopened Wed Jan 20 00:00:02 2021
01:02<@DorpsGek>[OpenTTD/OpenTTD] MingweiSamuel commented on issue #8048: Path is not released, after it was reserved through another train causing a crash
01:04-!-snail_UES_ [] has quit [Quit: snail_UES_]
01:31-!-HerzogDeXtEr [] has joined #openttd
01:31-!-HerzogDeXtEr is "purple" on #openttd
02:09-!-DasPoseidon [~Thunderbi@2001:9e8:204b:8d00:bc72:257f:9f89:8a30] has joined #openttd
02:09-!-DasPoseidon is "DasPoseidon" on #openttd
02:13-!-andythenorth [] has joined #openttd
02:13-!-andythenorth is "andythenorth" on #openttd
02:28-!-sla_ro|master [slamaster@] has joined #openttd
02:28-!-sla_ro|master is "slamaster" on @#sla #openttd
02:31<TrueBrain>Too bad he didn't read and there are completely unrelated things in there, lol .... "while here, change this completely unrelated thing too!" .. so not useful ..
02:42<andythenorth>remove ships, problem solved
02:42<andythenorth>remove NRT, another problem solved
03:32<_dp_>his settings window is even more of a mess than it already is
03:33<_dp_>and looks quite ugly too
03:33<_dp_>with a bit of moving settings around type select can be added as a root category and category select removed completely
03:34<_dp_>all that's left will be a filter string
03:36<andythenorth>I kind of ignore most of the UI suggestions
03:41<_dp_>there is a limit of what can be done with 1995 ui as a base
03:41<_dp_>arbitrary changing stuff is only gonna make it worse
03:45<_dp_>btw, imo the most needed ui improvement is adding more zoom levels to minimap
03:45<_dp_>it's nearly unusable on 4k
03:46<andythenorth>I use bigger eyes
03:46*andythenorth telling lies
04:28<@DorpsGek>[OpenTTD/nml] FLHerne commented on issue #184: NewGRF Town Names no longer compile after unknown changes
04:29<_dp_>haha, even LugnutsK got bamboozled by industry density setting :p
04:29-!-Wolf01 [] has joined #openttd
04:29-!-Wolf01 is "Wolf01" on #openttd
04:31<Eddi|zuHause>_dp_: i think that is missing some context
04:31<_dp_>he was trying to stop industries from spawning
04:32<_dp_>just look at all the signs xD
04:35-!-supermop_Home [] has quit [Ping timeout: 480 seconds]
04:35<Eddi|zuHause>well. i guess that's just another case of a mixture of "too many settings", "too few settings" and "unclear settings"
04:40-!-andythenorth [] has left #openttd []
04:44<Eddi|zuHause>in this case, he seems to be confused by the category of "world generation settings", because why would that have an ongoing effect after world generation
04:53<Timberwolf>I can't remember which author said (I paraphrase): "most people think ideas are the problem, and it is a tremendous help to authors to send them your ideas to help out. The truth is the opposite. I have more ideas than I could ever hope to write in a single lifetime. The difficult part is the writing of 100,000 words to make those ideas become a fully realised novel."
04:57<_dp_>well, good ideas can be very helpful, it's just that most of the suggestions aren't that good
04:58<LordAro>i do wonder whether hiding buoy names unless hovering over them might not be a bad idea
04:59<Timberwolf>I am inherently against hiding buoy names as someone who spends a great deal of time in multiplayer games coming up with ridiculous "buoy"/"boy" based puns for naming every single last one I create.
05:00<LordAro>tbf, buoys are generally not required now that pathfinder caching is a thing
05:01<_dp_>alternatively ships can just require less buoys :p
05:02<_dp_>LordAro, is that something new? because in 1.10.3 they very much do require
05:04<LordAro>i think they were added in 1.10.x
05:15-!-Samu [] has joined #openttd
05:15-!-Samu is "realname" on #openttd
05:21<Timberwolf>As a long-time player I do sometimes get thrown by things like this, the first game I saw someone build more than about 20 ships I was staring at it going, "have you no idea how much CPU time that's going to use... oh... apparently not very much, these days"
05:48-!-Gustavo6046_ [~Gustavo60@] has joined #openttd
05:48-!-Gustavo6046_ is "Gustavo Rehermann <>" on #openttd #llvm
05:52-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
05:52-!-Gustavo6046_ is now known as Gustavo6046
06:22<Samu>stopai doesn't let me stop ai
06:23<Samu>now I understand what glx told
06:54<@DorpsGek>[OpenTTD/nml] glx22 commented on issue #184: NewGRF Town Names no longer compile after unknown changes
07:04<@DorpsGek>[OpenTTD/nml] glx22 commented on pull request #182: Fix: regression failure with Pillow 8.1.0
07:27<@DorpsGek>[OpenTTD/OpenTTD] auge8472 commented on issue #8048: Path is not released, after it was reserved through another train causing a crash
08:12-!-Gustavo6046_ [~Gustavo60@] has joined #openttd
08:12-!-Gustavo6046_ is "Gustavo Rehermann <>" on #openttd #llvm
08:16-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
08:16-!-Gustavo6046_ is now known as Gustavo6046
08:23<Samu>c->months_of_bankruptcy can go over 10
08:29-!-glx [] has joined #openttd
08:29-!-glx is "Loïc GUILLOUX" on #openttd
08:29-!-mode/#openttd [+v glx] by ChanServ
08:45<Samu>c->months_of_bankruptcy can overflow
08:46<Samu>255 + 1 = 0
09:10-!-supermop_Home [] has joined #openttd
09:10-!-supermop_Home is "Guest" on #openttd
09:15-!-snail_UES_ [] has joined #openttd
09:15-!-snail_UES_ is "Jacopo Coletto" on #openttd
09:19<Samu>is this magic gonna work? c->months_of_bankruptcy = Clamp(++c->months_of_bankruptcy, 0, 10);
09:29<Samu>it works, but there's the admin port thing doing something special with CeilDiv
09:34<Samu>if (c->months_of_bankruptcy < 10) c->months_of_bankruptcy++;
09:34<Samu>this is a better magic
09:34<LordAro>well, it'll work but it might not be doing quite what you expect
09:40<Samu>i think Clamp would be better in the case of savegames using values already above 10
09:43-!-nielsm [] has joined #openttd
09:43-!-nielsm is "Niels Martin Hansen" on #openttd
09:45<Samu>this won't happen in a network, so it's safe to cap it at 10
09:45<Samu>months_of_bankruptcy over 10 happens when I am in the AI company
09:46<Samu>actually no
09:46<Samu>when i am this: if (!_networking && _local_company == c->index) {
09:48<Samu>maybe a c->months_of_bankruptcy--; inside that is better
09:52<+glx>that's because company with human player never bankrupts
09:52<+glx>you are not supposed to be in the AI company
09:52<Samu>doesn't need to be an AI company
09:53<Samu>a single player game with a single human company in the negative
09:53<+glx>yes can't bankrupt
09:53<Samu>but the months_of_bankruptcy keep increasing and overflow when it reaches 255
09:54<Samu>bug is that it would display newspapers about the company
09:54<Samu>after 255++ months
09:56<Samu>after 260 in this case
09:56<Samu>well i'm submiting a PR
09:58-!-roadt [~roadt@] has joined #openttd
09:58-!-roadt is "roadt" on #openttd #qemu
10:08<@DorpsGek>[OpenTTD/OpenTTD] SamuXarick opened pull request #8597: Fix: Prevent showing company is in trouble again after about 260 months due to overflow
10:08-!-Flygon [~Flygon@2001:44b8:411e:4e00:d9f1:7419:22d0:d421] has quit [Read error: Connection reset by peer]
10:11<Samu>it could be solved in different ways
10:12<Samu>could let it max out at 255
10:44-!-roadt [~roadt@] has quit [Remote host closed the connection]
10:44-!-roadt [~roadt@] has joined #openttd
10:44-!-roadt is "roadt" on #openttd #qemu
11:04-!-iSoSyS [] has joined #openttd
11:04-!-iSoSyS is "realname" on #/r/openttd #openttd
11:10-!-andythenorth [] has joined #openttd
11:10-!-andythenorth is "andythenorth" on #openttd
11:16-!-iSoSyS [] has quit []
11:18-!-andythenorth [] has quit [Quit: andythenorth]
11:18-!-andythenorth [] has joined #openttd
11:18-!-andythenorth is "andythenorth" on #openttd
11:39<@orudge>TrueBrain: Steam application submitted and fee paid
11:50-!-y2kboy23 [] has quit [Quit: ZNC -]
11:55-!-y2kboy23 [] has joined #openttd
11:55-!-y2kboy23 is "Got ZNC?" on #openttd
12:00-!-Wormnest [~Wormnest@] has joined #openttd
12:00-!-Wormnest is "Wormnest" on #openttd
12:05<@DorpsGek>[OpenTTD/nml] glx22 commented on issue #184: NewGRF Town Names no longer compile after unknown changes
12:07<FLHerne>glx: "I could try to implement splitting" <- surely there must already be splitting, with only 255 names per ActionF?
12:08<FLHerne>Or am I misreading the spec?
12:08<FLHerne>(or we have different ideas on what 'splitting' should mean)
12:08<+glx>yes I think there is, didn't check the code on that part
12:08<+glx>but I think wasting bits is an issue
12:09<+glx>to confirm I would need his nml
12:10<FLHerne>glx: It's here
12:10<FLHerne>glx: It's very simple -- literally one block with 1650 single-part names
12:11<FLHerne>If max-parts was even two bytes, we could just have one actionF and it would need 11 bits
12:11<Eddi|zuHause>i could imagine it's splitting off in 255 sections, each using 8 bit, which will fail if it's more than 4 parts
12:11<FLHerne>(maybe more if you want truly even distribution)
12:12<FLHerne>Which is wrong, because each of the parts should be able to use the same 8 bits
12:13<FLHerne>(plus a few more for choosing a part)
12:13<Eddi|zuHause>yeah, you need 2 tiers of bits
12:13<Eddi|zuHause>but the lower bits could be shared
12:14<+glx>error message clearly shows that yes, require 40, only 32 available
12:14<@DorpsGek>[OpenTTD/OpenTTD] MingweiSamuel commented on issue #8048: Path is not released, after it was reserved through another train causing a crash
12:21<+glx>indeed nfo generated with 0.5.0 shows proper split
12:23<TrueBrain>orudge: w00p! :D
12:23<Eddi|zuHause>glx: so is it now trying to use too many bits, or is it just counting wrong?
12:24<+glx>it tries to use too many, because it doesn't know some can be shared
12:24<+glx>before #117 bits were always shared, even when it should not
12:24<+glx>now they are never shared
12:24<+glx>which is still wrong
12:25<+glx>but less wrong
12:25<Eddi|zuHause>ah, so it overshot :p
12:49-!-Progman [] has joined #openttd
12:49-!-Progman is "Peter Henschel" on #openttd
12:53<Samu>the bug where you can be in an AI company in a network game, is not gonna be easy to solve
12:53-!-frosch123 [] has joined #openttd
12:53-!-frosch123 is "frosch" on #openttd
12:54<Samu>there's client id of the server that gets initialized way before any company is loaded/started
12:54<Samu>this client will be playing as "insert company"
12:55<Samu>it always assuming it starts as COMPANY_FIRST
12:56<Samu>and the rest of the code makes an effort to put the server in the first company
12:57-!-DasPoseidon [~Thunderbi@2001:9e8:204b:8d00:bc72:257f:9f89:8a30] has quit [Ping timeout: 480 seconds]
13:05-!-gelignite [] has joined #openttd
13:05-!-gelignite is "realname" on #llvm #openttd
13:19<@DorpsGek>[OpenTTD/OpenTTD] frosch123 commented on issue #8595: Intrusive buoys
13:19<@DorpsGek>[OpenTTD/OpenTTD] frosch123 closed issue #8595: Intrusive buoys
13:44<@DorpsGek>[OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master
13:44<@DorpsGek> - Update: Translations from eints (by translators)
15:27-!-Wormnest [~Wormnest@] has quit [Ping timeout: 480 seconds]
15:33-!-DasPoseidon [~Thunderbi@2001:9e8:204b:8d00:bc72:257f:9f89:8a30] has joined #openttd
15:33-!-DasPoseidon is "DasPoseidon" on #openttd
15:38-!-DasPoseidon [~Thunderbi@2001:9e8:204b:8d00:bc72:257f:9f89:8a30] has quit [Quit: DasPoseidon]
15:38-!-DasPoseidon [~Thunderbi@2001:9e8:204b:8d00:bc72:257f:9f89:8a30] has joined #openttd
15:38-!-DasPoseidon is "DasPoseidon" on #openttd
15:39-!-WormnestAndroid [~WormnestA@] has quit [Ping timeout: 480 seconds]
15:40-!-WormnestAndroid [~WormnestA@] has joined #openttd
15:40-!-WormnestAndroid is "WormnestAndroid" on #openttd
15:45<Samu>Is it possible to move the call to NetworkInitGameInfo() to after the map is generated/loaded?
15:46<Samu>needs refactoring or something
16:11-!-Wormnest [~Wormnest@] has joined #openttd
16:11-!-Wormnest is "Wormnest" on #openttd
16:26-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
16:36<Samu>got some code ready
16:36<Samu>(I think)
16:37<Samu>i am unsure about NetworkInitGameInfo
16:37<Samu>i made part of it happen after the game is created/loaded
16:38<Samu>otherwise, I couldn't use GetFirstHumanCompany()
16:38<Samu>for the server client
17:03-!-Wormnest [~Wormnest@] has quit [Ping timeout: 480 seconds]
17:06-!-Samu [] has quit [Quit: Leaving]
17:14-!-sla_ro|master [slamaster@] has quit []
17:29-!-Progman [] has quit [Remote host closed the connection]
17:32-!-Wormnest [~Wormnest@] has joined #openttd
17:32-!-Wormnest is "Wormnest" on #openttd
17:57<supermop_Home>yo andythenorth
17:58<supermop_Home>there needs to be more railfreight sector mech / streetwear drop
18:04-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
18:06<supermop_Home>or like embroidered bomber jackets
18:11-!-nielsm [] has quit [Ping timeout: 480 seconds]
18:25-!-Wormnest [~Wormnest@] has quit [Ping timeout: 480 seconds]
18:32-!-WormnestAndroid [~WormnestA@] has quit [Ping timeout: 480 seconds]
18:32-!-WormnestAndroid [~WormnestA@] has joined #openttd
18:32-!-WormnestAndroid is "WormnestAndroid" on #openttd
18:32-!-DasPoseidon [~Thunderbi@2001:9e8:204b:8d00:bc72:257f:9f89:8a30] has quit [Remote host closed the connection]
18:37-!-iSoSyS [] has joined #openttd
18:37-!-iSoSyS is "realname" on #/r/openttd #openttd
18:37-!-andythenorth [] has quit [Quit: andythenorth]
18:40-!-iSoSyS [] has quit []
18:45-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
18:58-!-WormnestAndroid [~WormnestA@] has quit [Ping timeout: 480 seconds]
19:01-!-WormnestAndroid [~WormnestA@] has joined #openttd
19:01-!-WormnestAndroid is "WormnestAndroid" on #openttd
19:03-!-jottyfan [] has joined #openttd
19:03-!-jottyfan is "jottyfan" on #openttd
19:03-!-jottyfan [] has quit []
19:05-!-gelignite [] has quit [Quit: Stay safe!]
19:08-!-Wormnest [~Wormnest@] has joined #openttd
19:08-!-Wormnest is "Wormnest" on #openttd
20:09-!-Flygon [~Flygon@2001:44b8:411e:4e00:59aa:d83e:7ce4:7fcc] has joined #openttd
20:09-!-Flygon is "Flygon" on #openttd
20:28<@DorpsGek>[OpenTTD/nml] glx22 opened pull request #185: Fix #184: Share townname bits when possible
22:15-!-glx [] has quit []
22:29-!-WormnestAndroid [~WormnestA@] has quit [Ping timeout: 480 seconds]
22:30-!-WormnestAndroid [~WormnestA@] has joined #openttd
22:30-!-WormnestAndroid is "WormnestAndroid" on #openttd
22:42-!-Wormnest [~Wormnest@] has quit [Quit: Leaving]
22:50-!-tokai [] has joined #openttd
22:50-!-tokai is "Christian Rosentreter" on #openttd
22:50-!-mode/#openttd [+v tokai] by ChanServ
22:57-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
22:59-!-debdog [~debdog@2a00:79c0:65a:2d00:7a24:afff:fe8a:d04d] has joined #openttd
22:59-!-debdog is "Wowbagger" on #openttd
23:02-!-D-HUND [~debdog@2a00:79c0:604:f800:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
---Logclosed Thu Jan 21 00:00:04 2021