Cache unable to open file for writing: /srv/www/vhosts/webster.openttdcoop.org/cache/912e9668347e16ed3b1afec3a043fc36.cache #openttdcoop IRC webstuff - IRC Log Viewer
Config
Log for #openttd on 18th March 2025:
Times are UTC Toggle Colours
00:00:09  *** WormnestAndroid has quit IRC
00:00:10  *** WormnestAndroid has joined #openttd
00:08:47  <wensimehrp> https://github.com/game-ci/steam-deploy
00:29:51  <_glx_> not sure this action would help πŸ™‚ (it uses steamcmd)
02:33:27  *** Wormnest has quit IRC
03:30:12  *** WormnestAndroid has quit IRC
03:30:14  *** WormnestAndroid has joined #openttd
03:30:24  *** WormnestAndroid has joined #openttd
03:31:18  *** WormnestAndroid has joined #openttd
03:41:56  *** WormnestAndroid has quit IRC
03:41:59  *** WormnestAndroid has joined #openttd
03:45:04  *** debdog has quit IRC
03:50:40  *** debdog has joined #openttd
04:01:14  *** D-HUND has joined #openttd
04:02:16  *** geizeskrank has quit IRC
04:04:41  *** debdog has quit IRC
04:05:48  *** geizeskrank has joined #openttd
05:07:48  *** keikoz has joined #openttd
05:40:03  <DorpsGek> [OpenTTD/OpenTTD] Release workflow was not successful https://github.com/OpenTTD/OpenTTD/actions/runs/13916015899
06:11:51  *** keikoz has quit IRC
07:04:26  *** SigHunter has quit IRC
07:07:11  *** SigHunter has joined #openttd
08:05:01  <_zephyris> Some (limited) digging says that it's steamcmd or nothing, other tools all look like wrappers
08:05:11  <_zephyris> How frustrating
08:39:44  <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13840: Fix #13838: Formatted error message of sub-errors may be lost. https://github.com/OpenTTD/OpenTTD/pull/13840
08:39:47  <DorpsGek> [OpenTTD/OpenTTD] PeterN closed issue #13838: [Bug]: Invalid parameter in error message when an industry is in the way https://github.com/OpenTTD/OpenTTD/issues/13838
09:12:06  *** Heili is now known as varaHeiki
09:14:23  *** Heiki has joined #openttd
09:14:31  *** Heiki is now known as Heili
09:23:25  *** Heili has joined #openttd
09:34:09  <xarick> hi
09:34:50  *** akimoto has quit IRC
09:51:27  *** HerzogDeXtEr has joined #openttd
09:57:31  <xarick> RIP OpenTTD on Steam
10:01:14  <peter1138> What happens if I kick a bridged user from IRC? Hypothetically...
10:08:00  *** varaHeiki has quit IRC
10:24:11  <xarick> speaking of Steam, yesterday i read some news about some game on steam actually being malware
10:24:32  <LordAro> they do sneak through from time to time
10:24:46  <LordAro> there's remarkably little, frankly
11:20:02  <DorpsGek> [OpenTTD/OpenGFX] jayaddison commented on pull request #96: Script-Fu: update to GIMP3-compatible implementation https://github.com/OpenTTD/OpenGFX/pull/96#issuecomment-2732818938
11:32:48  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1351518699885957212/image.png?ex=67daab60&is=67d959e0&hm=1033c19d28e0902b8ee2bb4986228c69b5c13fb4ca89504b0c7c46e4be6dc305&
11:32:48  <xarick> I can't compete with trains with only 10k ops 😦
11:32:58  <xarick> no train built
11:34:48  <xarick> rail pathfinder continue to be Aquilles' Heel
11:42:49  <peter1138> Achilles
11:43:26  <xarick> yeah, that
11:47:39  <xarick> i either dumbify the pf or ...  i dunno
11:47:51  <xarick> the more dumber and simpler, the faster
11:50:12  <xarick> could run into level crossings or 90 degrees 😦 I carefully planned the pf to avoid doing that
11:51:35  <xarick> bridges are also an issue
11:52:40  <xarick> each node has the possibility to push "insert_bridge_length" neighbours as bridges
11:53:48  <xarick> a lower max bridge length results in less neighbours, faster pf
11:54:17  <xarick> or i need to be more selective on how I push bridges
11:55:45  <xarick> the default is bridge length 64... each tile pushing up to 64 neighbours... it's an insane number of neighbours
12:00:37  <xarick> one other issue related with bridges is that they have a "used_tiles" property, which are basically tiles reserved by a planned bridge, which can be used to determine a conflict with a future bridge. If I remove this, I run the risk of a future bridge going over a past planned bridge
12:02:09  <xarick> how much should I dumbify the pf?
12:30:40  *** WormnestAndroid has quit IRC
12:30:43  *** WormnestAndroid has joined #openttd
12:38:32  <peter1138> Throw my clients at it? That would make things dumber...
12:50:53  *** nielsm has joined #openttd
12:59:35  <DorpsGek> [OpenTTD/OpenTTD] belgi-belgi opened issue #13842: [Crash]: A serious fault condition occured in the game. https://github.com/OpenTTD/OpenTTD/issues/13842
13:01:56  <DorpsGek> [OpenTTD/OpenTTD] belgi-belgi commented on issue #13842: [Crash]: A serious fault condition occured in the game. https://github.com/OpenTTD/OpenTTD/issues/13842
13:13:29  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #13842: [Crash]: A serious fault condition occured in the game. https://github.com/OpenTTD/OpenTTD/issues/13842
13:30:44  *** marktheshark3209 has joined #openttd
13:30:44  <marktheshark3209> https://cdn.discordapp.com/attachments/1008473233844097104/1351548378504232960/Screenshot_2025-03-18_142912.png?ex=67dac703&is=67d97583&hm=0f6e31113dab42738c8d70cc85e7b3bb7ddcde5d7743881bb837b1a0c769ddfb&
13:30:44  <marktheshark3209> found a way to crash trains with no player input... you guys interested in this?
13:31:15  <LordAro> those trains are... something
13:31:17  <marktheshark3209> its a weird setup and doesnt really work as intended, thought it was interesting though
13:31:37  <LordAro> looks like https://github.com/OpenTTD/OpenTTD/issues/8424 though
13:32:42  <marktheshark3209> well trains entering the platform seem to crash head-on with ones leaving the depot
13:32:46  <marktheshark3209> it might be the same thing, idk
13:33:23  <locosage> doesn't look like 8424
13:33:39  <locosage> but there is also a known thing with mixing pbs and block signals
13:33:49  <locosage> and I forgot how they look in yeti
13:35:57  <marktheshark3209> i can send the save if you guys are interested... they crash pretty regularly when fast forwarding
13:36:15  <marktheshark3209> its probably an edge case especially consdering the overflow doesnt work as intended...
13:36:46  <LordAro> marktheshark3209: no harm in opening an issue
13:36:51  <LordAro> numbers are cheap :)
13:37:57  <peter1138> Can you reproduce without the horrible graphics? :p
13:38:25  <marktheshark3209> i can try πŸ™‚
13:38:29  <marktheshark3209> dont hate the slugs
13:38:46  <locosage> rawr should be safely removable
13:38:57  <marktheshark3209> nuts may not be
13:39:00  <marktheshark3209> i will try in vanilla
13:39:59  <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #13842: [Crash]: A serious fault condition occured in the game. https://github.com/OpenTTD/OpenTTD/issues/13842
13:42:30  <LordAro> fun
13:44:12  <_glx_> so it seems to be the graph window
13:44:38  <LordAro> something to do with the industry closing while the graph window is open?
13:45:28  <marktheshark3209> https://cdn.discordapp.com/attachments/1008473233844097104/1351552088722640957/Screenshot_2025-03-18_144502.png?ex=67daca78&is=67d978f8&hm=97499fe786c6a6b4935710bff9328d9842a2abcdc7c19adff1b5e4d1158f8b3f&
13:48:51  <marktheshark3209> same thing
13:50:20  <truebrain> peter1138: If you kick (or ban) a user IRC side, it will no longer relay that user from Discord to IRC. They will not notice. Nothing breaks.
13:56:40  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #13842: [Crash]: A serious fault condition occured in the game. https://github.com/OpenTTD/OpenTTD/issues/13842
13:57:12  <peter1138> Is that legacy pre-signals?
13:58:03  <peter1138> Given that track layout I'll assume pre-signal shenanigans.
14:01:43  <peter1138> Hmm, although possibly manually deleting an industry doesn't do the same thing as it closing by itself.
14:13:45  *** nielsm has quit IRC
14:23:45  <talltyler> _zephyris: Check your PMs please πŸ™‚
14:25:30  <_glx_> I don't fully understand how <https://github.com/game-ci/steam-deploy/blob/main/steam_deploy.sh> works, it doesn't use steam password at all
14:29:46  <LordAro> _glx_: steam_totp is set in the action vars
14:30:31  <_glx_> yes totp I see, but how can it work with just user name and totp ?
14:30:56  <LordAro> presumably totp is misnamed
14:31:12  <_glx_> totp is steam guard code
14:32:17  <_glx_> our workflow pass user name, password and steam guard (and fails to login), so trying to see how other actions do it
14:34:06  <_glx_> we don't use "set_steam_guard_code", maybe it's required now, I don't know
14:34:13  *** Flygon has quit IRC
14:39:47  *** Wormnest has joined #openttd
14:49:50  <truebrain> It isn't. But there are several ways to do Steam. Only all of them require you to use Steam Guard at some point. And in no variation the Steam Guars code for that account works. Not even on my local machine.
14:50:07  <truebrain> Well, it works in the browser
14:50:11  <truebrain> But not in steamcmd
14:50:53  <truebrain> I still have one ticket pending; if that fails, I am first going to try to switch to Steam Mobile. If that fails I am going to create a new upload account
14:51:02  <truebrain> As it does work with my dev account
14:53:34  <peter1138> Hmm, can we add something like PoolID's Begin()/End()/Invalid() to StrongType, or something smush things together.
15:17:14  <Rubidium> you probably can with the mixins. The main raison d'etre of PoolID is that it doesn't default initialise the value
15:32:57  <peter1138> πŸ‘
16:09:18  *** keikoz has joined #openttd
16:17:14  <DorpsGek> [OpenTTD/OpenTTD] James103 opened issue #13843: [Bug]: Industry production graphs do not have a title https://github.com/OpenTTD/OpenTTD/issues/13843
16:30:27  <peter1138> Pom te pom.
16:35:35  <peter1138> Hmm, wondering about the ID vs Type distinction.
16:36:06  <peter1138> IDs are instances, Types are "not".
16:36:15  <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #13844: Fix #13843, 015c081c: Don't discard GetString() result https://github.com/OpenTTD/OpenTTD/pull/13844
16:36:27  <_glx_> it's a nice "bug"
16:36:38  <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13844: Fix #13843, 015c081c: Don't discard GetString() result https://github.com/OpenTTD/OpenTTD/pull/13844#pullrequestreview-2695353163
16:36:42  <peter1138> Whoopsie
16:41:29  <LordAro> worth having a [[nodiscard]] ?
16:47:01  <Rubidium> yeah, we should think more about those when reviewing
16:57:49  <peter1138> I wonder how much bloat is from StrongType symbols vs actual code differences...
16:58:16  <peter1138> nm -C openttd | grep StrongType | wc -c
16:58:17  <peter1138> 1013778
16:58:18  <peter1138> :)
16:59:59  <xarick> remember a few days ago me complaining about AIs not pausing on break?
17:00:12  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1351601093020483727/image.png?ex=67daf81c&is=67d9a69c&hm=e6fb3da93da6cc572bc8f591e4cbc1eb94eb755822fb4631c555d3bfeb34d945&
17:00:12  <xarick> suddenly it works
17:01:04  <xarick> AIController.Break("");
17:06:37  <_jgr_> I had a go at making the symbols for strong types shorter, but it turned out to be a bit larger of a diff than I'd have liked: <https://github.com/JGRennison/OpenTTD-patches/commit/ee35c199d89c93e92c577fc1f38c5d2f029b76af>
17:12:15  <peter1138> Doesn't seem that large.
17:15:08  <LordAro> what's the benefit of shorter symbols?
17:15:29  <Rubidium> shorter compiler errors
17:15:45  <DorpsGek> [OpenTTD/OpenTTD] glx22 merged pull request #13844: Fix #13843, 015c081c: Don't discard GetString() result https://github.com/OpenTTD/OpenTTD/pull/13844
17:15:48  <DorpsGek> [OpenTTD/OpenTTD] glx22 closed issue #13843: [Bug]: Industry production graphs do not have a title https://github.com/OpenTTD/OpenTTD/issues/13843
17:44:17  *** nielsm has joined #openttd
18:16:24  *** kuka_lie has joined #openttd
18:40:17  *** Wolf01 has joined #openttd
18:41:40  *** tokai|noir has joined #openttd
18:41:40  *** ChanServ sets mode: +v tokai|noir
18:57:45  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1351630674532237475/image.png?ex=67db13a8&is=67d9c228&hm=3e40174e59d9232ef2c8a31a3cd5ba361aab1010a6acd4fd33d71b58966250b9&
18:57:45  <xarick> openttd hanged!
18:57:53  <xarick> what could it be?
18:58:44  <xarick> oh, a crash
18:58:49  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1351630946121551922/message.txt?ex=67db13e9&is=67d9c269&hm=931d8724e48fd841569410dc8a9d8a8ae6795aecdfcf98138a69b50ff6b781c7&
19:00:02  <_glx_> crash log says vehicle tile check
19:08:05  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13845: Codechange: remove uses of MemCmpT (and MemMoveT) https://github.com/OpenTTD/OpenTTD/pull/13845
19:08:26  <DorpsGek> [OpenTTD/OpenTTD] zephyris opened pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846
19:10:20  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846#pullrequestreview-2695944890
19:12:37  <peter1138> Been looking in my unpushed branches again... :p
19:13:26  <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13845: Codechange: remove uses of MemCmpT (and MemMoveT) https://github.com/OpenTTD/OpenTTD/pull/13845#pullrequestreview-2695954135
19:17:57  <michi_cc> _zephyris: Don't forget #13836 πŸ™‚
19:19:34  <truebrain> Gratz _zephyris ; well deserved πŸ˜„
19:20:25  <truebrain> and don't forget to accept the invitation on GitHub πŸ™‚
19:27:32  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler requested changes for pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846#pullrequestreview-2696003831
19:31:38  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846#pullrequestreview-2696017707
19:32:16  <xarick> crashed again 😦
19:32:41  <xarick> EnumCheckRoadVehClose
19:34:36  <xarick> must have been some of today's merge
19:34:46  <xarick> earlier in the morning i had no issues
19:35:15  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846#pullrequestreview-2696026962
19:40:48  <DorpsGek> [OpenTTD/OpenTTD] zephyris commented on pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846#pullrequestreview-2696041447
19:41:42  <michi_cc> Bring on the nickname fight 🀣
19:42:11  <brickblock19280> "huge opensource drama"
19:42:22  <michi_cc> Next time we should insist on nicks that are valid C identifiers, too πŸ˜›
19:43:09  <michi_cc> brickblock19280: "you won't believe what happens next" πŸ™‚
19:44:07  <xarick> first come first served
19:44:08  <_zephyris> Great controversial start πŸ™‚
19:46:57  <_zephyris> truebrain: All done πŸ™‚ Mystery solved, notifications@github.com is whitelisted, noreply@... was getting junk filtered
19:47:04  <truebrain> \o/
19:47:14  <xarick> `auto IsCloseOnAxis = [](short dist, short diff) {`
19:47:14  <xarick> short?
19:53:02  <xarick> waiting for a crash to happen
19:53:06  <xarick> now in debug mode
19:54:52  <xarick> what is short?
19:55:42  <peter1138> int16_t
19:57:37  <xarick> hmm oki
20:01:19  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846#pullrequestreview-2696084212
20:02:56  <xarick> there aren't many shorts in openttd project
20:06:57  *** WormnestAndroid has quit IRC
20:07:29  *** WormnestAndroid has joined #openttd
20:08:29  <xarick> something something initialized as 0 maybe bad crash later?
20:08:40  <xarick> must wait for the crash
20:10:03  <xarick> did not crash yet, just to antagonize me
20:11:41  <_glx_> can't be caused by a today commit, none touched this area
20:12:12  <xarick> could it be a 4k map issue, i've been testing 512x512 before
20:12:31  <xarick> now switched to 4k
20:18:41  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13845: Codechange: remove uses of MemCmpT (and MemMoveT) https://github.com/OpenTTD/OpenTTD/pull/13845
20:20:08  <_zephyris> michi_cc: Wow, that big squash and merge button is scary...
20:21:58  <_zephyris> Treat me as a complete git noob πŸ˜‰
20:22:14  <_zephyris> Rebase and merge?
20:25:00  <xarick> may and july was when it crashed the last 2 times
20:25:37  <michi_cc> _zephyris: Usually squash as it has the better PR tracking (and allows you to fudge the commit message checker 🀣 ), unless it is an intentional multi-commit PR.
20:25:49  <peter1138> Squash and merge to make a single commit, with the PR number included.
20:26:22  <michi_cc> Multi-commit PRs that are intentionally multi-commit have to be rebase merged obviously.
20:31:18  <LordAro> _zephyris: \o/
20:32:29  <xarick> `if (diff > rvf->best_diff || (diff == rvf->best_diff && v->index > rvf->best->index)) return nullptr;` what in here could cause an EXCEPTION_ACCESS_VIOLATION
20:34:55  <_zephyris> Cool, makes sense!
20:36:52  <xarick> april
20:36:58  <xarick> almost there
20:39:46  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler dismissed a review for pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846#pullrequestreview-2696003831
20:40:10  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846#pullrequestreview-2696214251
20:41:06  <talltyler> Capitalize? Alphabetize. Eesh, it’s been a long day.
20:41:35  <_glx_> xarick: is `rvf`, `v` or `rvf->best` nullptr?
20:42:28  <peter1138> nullptr or an invalid pointer.
20:45:19  <xarick> I only have the crash dump of a clang build
20:45:27  <xarick> not sure how accurate it is reporting
20:46:12  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1351657966708985897/image.png?ex=67db2d13&is=67d9db93&hm=0d7f6323727b225205c8f80c430a458ec0ae85a1488feb09a9da3066505fa335&
20:46:50  <xarick> okay, also crashed in msvc release
20:47:04  <xarick> still waiting for the msvc debug crash
20:47:34  <peter1138> RoadVehFindData doesn't initialise its members.
20:47:53  <peter1138> They are initialised on first use, but.
20:48:00  <peter1138> best is not?
20:48:23  <peter1138> xarick, roadveh_cmd.cpp:658
20:48:32  <peter1138> Add `rv.best = nullptr;`
20:48:40  <peter1138> *rvf
20:50:00  <xarick> ok
20:50:23  <peter1138> Not sure if any path is followed where that could be dereferenced, but worth a go.
20:51:14  <_jgr_> best is not read when best_diff is UINT_MAX. v/v->index appear to be invalid in the screenshot
20:51:32  <peter1138> Yeah
20:52:58  <peter1138> Might be time to post a savegame.
20:54:04  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1351659947145822208/crash20250318185447.sav?ex=67db2eec&is=67d9dd6c&hm=ce7b3de1a007dd1f74a8ea8b6446a42cc7b120be7cc543418e1aa75e222b12e2&
20:57:29  <DorpsGek> [OpenTTD/OpenTTD] zephyris merged pull request #13846: Update: Developer credits https://github.com/OpenTTD/OpenTTD/pull/13846
20:57:53  <_zephyris> I pressed the scary button, hopefully haven't broken anything
20:59:15  <wensimehrp> wow
21:00:23  <talltyler> πŸ₯³
21:02:32  <reldred> πŸ₯³
21:02:40  <reldred> Congrats!
21:04:24  <michi_cc> _zephyris: Get your fonts in, too πŸ˜›
21:05:05  <michi_cc> Committing was lot scarier when it was still SVN πŸ™‚
21:07:31  <DorpsGek> [OpenTTD/OpenTTD] zephyris merged pull request #13836: Change: Update OpenTTD TTF fonts to v0.7 https://github.com/OpenTTD/OpenTTD/pull/13836
21:07:53  <_zephyris> πŸŽ‰
21:11:51  <_glx_> michi_cc: we could easily break things for a whole arch
21:23:00  *** keikoz has quit IRC
21:26:36  *** keikoz has joined #openttd
21:26:53  <peter1138> Hmm, rvf->x, y = 34127, 709
21:27:06  <peter1138> v->x_pos, y_pos = 1360, 33477
21:27:06  <xarick> peter, still crashed
21:27:39  <peter1138> 1360-34127 = -32767
21:27:48  <peter1138> 33477-709 = 32768
21:29:03  <peter1138> Coordinates are all valid for 4kx4k map.
21:30:11  <_jgr_> I'm getting a misaligned rather odd looking Vehicle pointer `0x000200000001`
21:33:03  <peter1138> Given that's a "strange coincidence..."
21:33:18  <peter1138> Changing those `short` to `int` seems to fix prevent the crash.
21:33:52  <peter1138> -fix
21:35:17  <xarick> finally got a crash on the debug version
21:38:40  *** kuka_lie has quit IRC
21:39:25  <peter1138> Could be a coincidence. I crashed within seconds the first time.
21:42:29  <xarick> rvf->best->index is nullptr
21:42:46  <peter1138> That isn't a pointer.
21:43:07  <xarick> oh, well sorry, i mean best maybe
21:43:12  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1351672312503734355/image.png?ex=67db3a70&is=67d9e8f0&hm=9ab2a9ed987a3ce24564171d7f78d743df93be88bee0b898923b30960852f0f2&
21:43:43  <peter1138> Removed my change, instantly crashes again.
21:44:01  <_jgr_> diff ending up as UINT_MAX is the problem there
21:44:50  <peter1138> Ah, 33477-709 = (short)-32768
21:45:35  <peter1138> I'm not sure how 32767 + 32768 == UINT_MAX
21:46:12  <peter1138> Oh, our abs is templated.
21:46:17  <_jgr_> Running (short)-32768 through abs will be signed overflow
21:46:35  <peter1138> Yeah.
21:46:49  <peter1138> Nice, very old bug.
21:47:11  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1351673314879475762/image.png?ex=67db3b5f&is=67d9e9df&hm=5eba47e06c04f1698d5292ea3ec2778cdaaa012055504bf5d06d5d5bc72e4d61&
21:49:25  <xarick> why didn't it happen before? i've been 4k many times
21:49:50  <xarick> doing 4k runs
21:50:45  <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13847: Fix: Unsigned overflow in collision test on large map when road vehicles are at just the right coordinates. https://github.com/OpenTTD/OpenTTD/pull/13847
21:51:29  <xarick> thx
21:58:04  <DorpsGek> [OpenTTD/OpenGFX] jayaddison commented on pull request #96: Script-Fu: update to GIMP3-compatible implementation https://github.com/OpenTTD/OpenGFX/pull/96#issuecomment-2734833330
22:00:42  <xarick> what about the `rvf.best = nullptr;`?
22:01:17  <peter1138> 20:51 < _jgr_> best is not read when best_diff is UINT_MAX
22:01:44  <_jgr_> Signed overflow is UB, so all bets are off πŸ˜›
22:02:08  <peter1138> Oh yeah, I wrote unsigned. Whoops.
22:12:42  <peter1138> https://www.reddit.com/r/CitiesSkylines2/comments/1jd4bsp/i_built_that_british_spaghetti_magic_roundabout/
22:12:45  <peter1138> Well.
22:13:12  <_zephyris> Love it
22:13:14  *** WormnestAndroid has quit IRC
22:13:20  <_zephyris> Well, hate driving it
22:13:27  *** WormnestAndroid has joined #openttd
22:14:23  <xarick> abs(-32767) + abs(-32768) = 32767 - 32768 = -1 = UINT_MAX
22:15:02  <xarick> why does abs(-32768) return a positive though?
22:15:10  <xarick> erm, a negative
22:15:35  <peter1138> SHORT_MIN is -32768. SHORT_MAX is 32767.
22:16:15  <xarick> i'd say abs is bugged
22:16:40  <DorpsGek> [OpenTTD/OpenGFX] jayaddison commented on pull request #96: Script-Fu: update to GIMP3-compatible implementation https://github.com/OpenTTD/OpenGFX/pull/96#issuecomment-2734861022
22:16:59  <peter1138> This function is broken since the maximum map size increase from 2048 to 4096.
22:17:21  <peter1138> You just managed to find the right conditions, in a repeatable way.
22:17:35  <peter1138> (Maybe some of the asb
22:17:46  <peter1138> (Maybe some of the surrounding code is changed which introduced it)
22:18:07  *** nielsm has quit IRC
22:18:25  <peter1138> Oh.
22:18:27  <peter1138> Okay.
22:18:31  <peter1138> It was changed a few days ago :)
22:18:53  <peter1138> Forget everything then.
22:19:01  <peter1138> New bug, that's why it didn't crash before.
22:21:15  <xarick> gonna try std::abs
22:23:00  <xarick> 65535
22:23:09  <xarick> different result
22:23:59  <peter1138> short/int16_t being used is still the underlying problem.
22:24:13  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1351682635167961162/image.png?ex=67db440d&is=67d9f28d&hm=058e61b1b8d5071beee7682575ca9c7f7088a95b93d6647b91a2537141099bce&
22:24:13  <xarick> it returned an int
22:24:17  <reldred> what's that massive roundabout leaving heathrow london bound? the one with the lake with a little island in the middle and some fuckoff ungodly number of lanes?
22:24:30  <reldred> we got stuck on that in a little rover for like a quarter of an hour
22:24:32  <peter1138> They're too small for a map larger than 2048.
22:24:41  <reldred> legitimately thought we were going to get blatted by a lorrie
22:24:58  <peter1138> You mean the M25?
22:25:11  <reldred> Maybe
22:25:17  <reldred> I was like eight years old at the time
22:25:36  <reldred> lorry, even
22:25:44  <xarick> I think the templated T should perhaps upgrade to the next tier
22:25:50  <reldred> swear that rover wasn't much bigger than a mini
22:26:22  <xarick> entered as int16_t -> upgrade to int32_t then do the abs
22:26:40  <xarick> entered as uint16_t -> upgrade to uint32_t
22:26:43  <xarick> and so on
22:26:51  <peter1138> int16_t is too small to start with, why bother with fucking around with something else.
22:28:24  <xarick> couldn't the templated abs do the input type upgrade on its own?
22:28:26  <_jgr_> reldred: Hangar Lane, maybe?
22:29:00  <reldred> Maybe
22:29:16  <xarick> anyways... it's fixed, but abs still prone to deliver a negative value
22:29:24  <reldred> I'm sure the roundabouts description has scaled in size tenfold over the last twenty years or so.
22:29:30  <xarick> i would look into fixing it
22:29:59  <reldred> _jgr_: you've been busy the last few days I've noticed
22:30:32  <_jgr_> reldred: More than just a few days, but yes πŸ˜›
22:30:36  <reldred> lol
22:30:47  <reldred> preparing for something big or just cleaning house?
22:30:58  <peter1138> Given you are no longer eight years old, probably a lot has changed.
22:31:18  <reldred> peter1138: Significantly I'd say
22:32:07  <_jgr_> reldred: Cleaning up old stuff mostly
22:33:24  <reldred> Fair enough, I noticed you brought over a bunch of openttd commits, how far down on the pile is the opus compile fix?
22:36:10  <xarick> time to run 2k maps while fix isn't merged
22:38:18  <_jgr_> reldred: I just cherry-picked it
22:40:30  <reldred> Oh nice thankyou πŸ™‚
22:40:56  <reldred> I wasn't due to start on it again til this weekend but I'll make sure my build environment is working again at least πŸ™‚
22:41:40  *** keikoz has quit IRC
22:42:07  <reldred> got company mandated casual alcoholism on friday
22:46:05  *** HerzogDeXtEr has quit IRC
22:46:48  <_jgr_> Are the company buying?
22:47:25  <reldred> they are!
22:47:30  <reldred> covering our ubers too
22:48:09  *** Wolf01 has quit IRC
22:48:21  <reldred> I actually like this company, I just hate that in the acquisition of my old employer they gutted 95% of my position and have shoehorned me into crap I was deliberately getting away from.
22:48:57  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13847: Fix f214c81e97: Signed overflow in collision test on large map when road vehicles are at just the right coordinates. https://github.com/OpenTTD/OpenTTD/pull/13847#pullrequestreview-2696479034
22:53:05  <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13847: Fix f214c81e97: Signed overflow in collision test on large map when road vehicles are at just the right coordinates. https://github.com/OpenTTD/OpenTTD/pull/13847
23:17:04  *** Flygon has joined #openttd
23:45:48  <peter1138> Hmm, is `CargoType cargo_type` a bit redundant?
23:46:01  <peter1138> Conversely, `CargoType c` is a bit... brief.
23:53:02  <_glx_> `CargoType ct`?
23:55:02  <peter1138> `CargoType cargo` is used in some places.

Powered by YARRSTE version: svn-trunk