IRC logs for #openttd on OFTC at 2024-01-26
            
00:07:21 <peter1138[d]> > >>> (1.3).as_integer_ratio()
00:07:21 <peter1138[d]> > (5854679515581645, 4503599627370496)
00:07:41 <peter1138[d]> > >>> (13/10)
00:07:41 <peter1138[d]> > 1.3
00:07:48 <peter1138[d]> Yeah, that function is pretty poor ๐Ÿ˜ฎ
00:16:43 <_glx_> it's suboptimal
00:17:13 <goddess_ishtar> peter1138[d]: what do you mean?5854679515581645/ 4503599627370496 is concise and human-readable :p
00:22:21 <_jgr_> 1.3 is likely not perfectly representable as a float
00:24:09 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
00:28:27 <dwfreed> correct
00:30:31 <dwfreed> it is the default representation of floats that makes it look like 1.3 when you do 13/10
01:02:10 *** Wormnest has joined #openttd
01:07:21 *** tokai has joined #openttd
01:07:21 *** ChanServ sets mode: +v tokai
01:14:04 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
01:30:55 <belajalilija> Iโ€™d like to suggest that industry grf devs be able to use more than one field type to allow for things like cattle farms, vineyards and forests with dynamic field like tiles
01:31:45 <belajalilija> As currently it is my understanding that you can only have 1 field type
01:32:26 <belajalilija> However vineyards and orchards would be cool and sexy
01:34:27 <emperorjake> There was some discussion about this not long ago too https://discord.com/channels/142724111502802944/337701432230805505/1194667789902950512
02:05:17 *** herms has quit IRC (Quit: bye)
02:06:15 *** herms has joined #openttd
03:04:10 <DorpsGek> [OpenTTD/team] WenSimEHRP closed issue #474: [zh_TW] Translator access request https://github.com/OpenTTD/team/issues/474
03:26:02 *** Wormnest has quit IRC (Quit: Leaving)
03:30:40 *** D-HUND has joined #openttd
03:33:59 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:11:48 *** Smedles has quit IRC (Remote host closed the connection)
04:14:01 *** Smedles has joined #openttd
04:53:16 *** keikoz has joined #openttd
06:14:45 <DorpsGek> [OpenTTD/OpenTTD] WenSimEHRP opened issue #11883: [Bug(ish)]: Poor edge scrolling on high refresh rate screens https://github.com/OpenTTD/OpenTTD/issues/11883
06:20:19 *** keikoz has quit IRC (Ping timeout: 480 seconds)
08:11:32 *** felix_ has joined #openttd
08:14:54 <truebrain> finding bugs when solving bugs ... I need a bug-stack now
08:15:05 <truebrain> ErrorDParam do some memory badness sometimes ๐Ÿ˜„
08:15:42 <truebrain> `heap-use-after-free`
08:15:55 <truebrain> `CopyOutDParam` causes it
08:16:02 <truebrain> right, `stack push`
08:18:32 *** felix has quit IRC (Ping timeout: 480 seconds)
08:20:26 <_zephyris> belajalilija: 100%. A simple object as field option would be amazing. But I have no ability to do it myself, so we can but ask very politely!
08:23:06 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #11884: Fix ea8c1d85: improve smoothness of smooth-scrolling for 60+Hz screens https://github.com/OpenTTD/OpenTTD/pull/11884
08:37:41 <locosage> freaking rust, how is inlining code making it 10% slower :/
08:44:33 <locosage> something about allocating 256 byte array on stack it looks like
08:46:33 <locosage> somehow it works faster in a separate function ๐Ÿคทโ€โ™‚๏ธ
09:54:01 *** thelounge345 has quit IRC (Quit: The Lounge - https://thelounge.chat)
09:55:02 *** thelounge345 has joined #openttd
10:47:19 <DorpsGek> [OpenTTD/OpenTTD] zephyris commented on pull request #10734: Higher max ship speed https://github.com/OpenTTD/OpenTTD/pull/10734#issuecomment-1911845908
11:08:23 <peter1138[d]> Not so much one field type, there are only fields, not field types.
11:09:33 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200397109145382983/fields_2.png?ex=65c607ed&is=65b392ed&hm=6d2219c456a879dd93b71bfff60851114bd4a29e1f8af8cb606f578ee85e5b90&
11:09:33 <andythenorth> newgrf fields ๐Ÿ˜›
11:09:40 <andythenorth> "frosch has a patch for that"
11:21:38 <truebrain> andythenorth: how are my logos doing? ๐Ÿ˜„
11:24:00 *** Flygon has joined #openttd
11:31:42 *** thelounge345 has quit IRC (Ping timeout: 480 seconds)
11:34:47 <_zephyris> Just need one animated object, updated per tile cycle
11:42:36 *** thelounge345 has joined #openttd
11:48:49 <xarick> good news gentlemen
11:48:57 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1200407025222438922/image.png?ex=65c61129&is=65b39c29&hm=d1b5bb7ee5d0955a3dbec73776507dc167b525a1a30b517eefb1b5f07e5fbc11&
11:49:01 <xarick> no crash
11:49:34 <xarick> it's been running for 12 hours
12:05:57 <locosage> Not quite what I expected to achieve...
12:05:57 <locosage> grf-py-v4: 0.161 sec, 549738 bytes (CORRECT) decode 0.00252 sec
12:05:57 <locosage> grf-py-v3: 0.056 sec, 552416 bytes (CORRECT) decode 0.00253 sec
12:05:57 <locosage> grf-py-v1p: 0.132 sec, 552416 bytes (CORRECT) decode 0.00229 sec
12:05:57 <locosage> truegrf: 0.304 sec, 570092 bytes (EXACT) decode 0.00225 sec
12:05:59 <locosage> nml: 0.228 sec, 570092 bytes (EXACT) decode 0.00227 sec
12:05:59 <locosage> nml_py: 0.757 sec, 570092 bytes (EXACT) decode 0.00225 sec
12:06:01 <locosage> optimal_py: 12.642 sec, 549738 bytes (CORRECT) decode 0.00297 sec
12:08:42 <locosage> but I guess having 40% faster optimal encoder and 4x faster sub-optimal one counts as a win
12:12:03 <locosage> Algorithms go brrr...
12:12:03 <locosage> <https://github.com/citymania-org/grf-py/blob/dfb30fcb2032a3038e1e92824d9c891a6c935050/misc/performance/encodespeed/encodespeed.py>
12:12:03 <locosage> <https://github.com/citymania-org/grf-py/blob/dfb30fcb2032a3038e1e92824d9c891a6c935050/misc/performance/encodespeed/grfrs/src/lib.rs>
12:14:52 <truebrain> so I guess we will not be publishing OpenTTD in the MacOS Store under the new EU regulation .. 50 eurocent per download, even if your game is free. lolz. That gives them zero incentive to prevent fake downloads ... Apple is being weird (and childish)
12:18:35 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1200414480203517962/image.png?ex=65c6181a&is=65b3a31a&hm=c4c84fa5afb742460031ccb0133e415ae3d58756b4472d5e39b555d081fce611&
12:18:35 <xarick> 5000 ships per company might be a dream come true!
12:20:03 <xarick> no buoys!
12:21:18 <xarick> this wouldn't be possible with buoys
12:21:29 <xarick> it would reach the station limit
12:23:10 <locosage> btw, it funny how optimized nml python encoder is
12:23:15 <locosage> couldn't make it any faster at all
12:24:28 <locosage> on the other hand C one should be pretty simple to get to rust speed with some pointers
12:25:34 *** keikoz has joined #openttd
12:40:27 <peter1138[d]> Are you trying to remove dependencies of grf-py?
12:50:28 *** maxshpuntozavr has joined #openttd
12:50:28 <maxshpuntozavr> hello
12:50:36 <maxshpuntozavr> i have a question
12:52:00 <locosage> peter1138[d]: kind of
12:52:11 <locosage> don't really fancy bothering with native extensions rn
12:52:16 <maxshpuntozavr> how the CB can work. we need to do a major renovation and than he restore's a life time
12:52:22 <locosage> but it's nice to know my options for when I need them
12:52:51 <maxshpuntozavr> maxshpuntozavr: is it possible to do?
12:54:54 <maxshpuntozavr> maxshpuntozavr: like for ukraine train it very useful we restroe old trains in new one
12:55:40 <maxshpuntozavr> https://cdn.discordapp.com/attachments/1008473233844097104/1200423814669021224/DSCF4694.png?ex=65c620cc&is=65b3abcc&hm=dd3b779cde4a545c5fc8dd4086963b9be5c771851a9b88d022bf38f681a54495&
12:55:40 <maxshpuntozavr> https://cdn.discordapp.com/attachments/1008473233844097104/1200423815272988672/image.png?ex=65c620cc&is=65b3abcc&hm=56ab6cad5e194778065bf7cf317a72a70819d46e194bef0490badcefaf35728c&
12:55:40 <maxshpuntozavr> like
13:26:13 <_glx_> maybe so combinaison of age and last service date
13:50:41 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1200437657692541000/image.png?ex=65c62db0&is=65b3b8b0&hm=0ec88acd1f20a9c8054b7b666e9829f1c7aa20331355fe1e43d9990fc8f69173&
13:50:41 <xarick> Success!!!
13:53:34 <xarick> Ready for review <https://github.com/OpenTTD/OpenTTD/pull/10544>
13:56:10 *** georgevb has joined #openttd
13:56:10 <georgevb> _glx_: It would not affect amount of breakdowns nor auto-replace.
13:56:10 <georgevb> The main idea of the request is to make vehicle act as it is younger, than it is. For example, vehicle life is 30 years. If you make an "overhaul" refit, it begins to act as 15 years old. its' reliability grows, and auto-replace functions does not try to replace it (for the next 15 years).
13:56:58 <_glx_> reliability and breakdowns doesn't work anyway
13:57:44 <_glx_> a vehicle can breakdown while going out of the depot
14:10:26 *** nielsm has joined #openttd
14:11:23 <maxshpuntozavr> georgevb: maybe make like kife longer from 15 years to 30?
14:38:11 <andythenorth> truebrain: can make tonight
14:38:16 <andythenorth> diary says so
14:38:21 <truebrain> \o/
14:38:55 <truebrain> talltyler: is there anything more needed for ND? I guess frosch is doing the translation issues .. but anything besides that?
14:55:42 <Eddi|zuHause> georgevb: what about having the refurbished model be completely separate, but have lower lifetime? so instead of having lifetime of 30 years, but starting at 15, it'll just have a lifetime of 15 years. then it's the players responsibility to (auto) replace the original by its correct refurbished model
14:57:43 <talltyler> truebrain: Remaining to-do items are:
14:57:43 <talltyler> * Translations - frosch seems to be handling this
14:57:43 <talltyler> * Changing server list from Years to Minutes (or maybe hours? Not sure what's best here...) - you volunteered to help with this ๐Ÿ™‚
14:57:43 <talltyler> * Economy scaling - https://github.com/OpenTTD/OpenTTD/pull/10606
14:57:43 <talltyler> * Server restart based on time instead of year - https://github.com/OpenTTD/OpenTTD/pull/11142
15:13:03 <locosage> https://cdn.discordapp.com/attachments/1008473233844097104/1200458388472086578/Screenshot_from_2024-01-26_20-42-40.png?ex=65c640ff&is=65b3cbff&hm=1fd6b352130828ee1089896275af4e221d89df9ef12ab2d356c14450c40922af&
15:13:03 <locosage> constructing factory looks pretty awkward ...
15:14:22 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11142: Feature: Setting to automatically restart server based on hours played https://github.com/OpenTTD/OpenTTD/pull/11142#pullrequestreview-1845958104
15:16:28 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #11142: Feature: Setting to automatically restart server based on hours played https://github.com/OpenTTD/OpenTTD/pull/11142#pullrequestreview-1845962070
15:17:48 <locosage> locosage: also, these are all building sprites that just happen to cover whole ground tile
15:17:57 <locosage> actual ground is bare land sprite
15:18:27 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11142: Feature: Setting to automatically restart server based on hours played https://github.com/OpenTTD/OpenTTD/pull/11142#issuecomment-1912235820
15:19:17 <truebrain> talltyler: You are on your own with 10606. Might require a bit of lobbying to get other devs to approve it / give an opinion about ๐Ÿ™‚
15:21:11 <georgevb> Eddi|zuHause: If refurbished model is cheaper, player would buy it even without buying the previous one. If it is more expensive, the aim of refurbishment (saving money) is lost. So, this does not fit
15:24:09 *** Wormnest has joined #openttd
15:24:17 <xarick> who's the graphics guy
15:25:10 <xarick> the default hovercraft has the same colour for every company
15:25:22 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11142: Feature: Setting to automatically restart server based on hours played https://github.com/OpenTTD/OpenTTD/pull/11142#issuecomment-1912246552
15:25:29 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #11142: Feature: Setting to automatically restart server based on hours played https://github.com/OpenTTD/OpenTTD/pull/11142
15:26:07 <Eddi|zuHause> georgevb: we had a discussion on per-vehicle storage recently, but i forgot what our conclusion was. maybe you could do something with that
15:26:34 <talltyler> truebrain: _jgr_ , would you care to weigh in on #10606?
15:26:43 <emperorjake> I'll have to give 10606 another go now to use it together with the slowed calendar time
15:27:00 <Eddi|zuHause> xarick: using which base set?
15:27:03 <emperorjake> and do some side by side testing with JGRPP daylength
15:27:16 <xarick> OpenGFX 7.1
15:27:23 <talltyler> Yes, please do, and put your comments in the PR so reviewers can find them later ๐Ÿ™‚
15:27:37 <Eddi|zuHause> xarick: should probably report that there
15:28:04 <Eddi|zuHause> xarick: unless you can reproduce it with other base sets as well
15:28:44 <_jgr_> I haven't had time to closely look through any of the recent changes to the new time/cargo scaling PRs yet
15:28:58 <xarick> there is a very thin line in the carcass that is company coloured, but it's unnoticeable
15:29:18 <_jgr_> That said I have changed the setting in my branch to more closely resemble the setting in your cargo scaling PR
15:33:10 <_jgr_> emperorjake: The two are doing different things, so the effects are not going to be directly comparable
15:33:55 <xarick> Is this the right repository for OpenGFX 7.1 ? <https://github.com/OpenTTD/OpenGFX>
15:34:03 <LordAro> yes
15:34:19 <_jgr_> Play testing it (whether beside other implementations or not) is a good idea
15:40:35 <truebrain> talltyler: how do I go from an EconomyDate to real-time hours?
15:40:38 <truebrain> I forgot ๐Ÿ˜„
15:44:17 <talltyler> 30 economy days = 1 minute
15:44:50 <truebrain> is there a define for that by any chance?
15:45:01 <truebrain> or function
15:46:03 <DorpsGek> [OpenTTD/OpenTTD] LC-Zorg commented on discussion #11793: Prevent griefing https://github.com/OpenTTD/OpenTTD/discussions/11793
15:46:14 <talltyler> DAYS_IN_ECONOMY_MONTH in timer_game_economy.h
15:46:27 <truebrain> that is not helping me in any way shape or form ๐Ÿ˜›
15:46:43 <talltyler> It might be nice to have a new one for how many economy days are in an hour
15:46:50 <talltyler> (1800)
15:47:02 <belajalilija> Hey, last night i made a suggestion regarding improvements to fields, is this on the pile now?
15:47:29 <_glx_> xarick: don't expect any fix in OpenGFX though, now there's OpenGFX2
15:47:38 <truebrain> https://cdn.discordapp.com/attachments/1008473233844097104/1200467091745144853/image.png?ex=65c6491a&is=65b3d41a&hm=b93442885dd183dac59f9f3e103d23dfb63be6758b6fc0db107161aa8bbea2ea&
15:48:50 <_glx_> haha 515ยฒ "minimap"
15:49:16 <truebrain> hmm, I should have highlighted the changes, but okay ๐Ÿ™‚
15:49:28 <talltyler> truebrain: Itโ€™s worth noting that in calendar mode, economy calendar matches the calendar date ๐Ÿ™‚
15:49:31 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
15:49:39 <_glx_> oh the first server in the list looks like spam btw
15:49:47 <truebrain> https://cdn.discordapp.com/attachments/1008473233844097104/1200467634379034797/image.png?ex=65c6499b&is=65b3d49b&hm=39518fd4568aa095efb2a47e8d33f8fe051111be7eab5802ed997077a9d8f872&
15:50:15 <talltyler> I wonder if I have a branch for this
15:50:20 <truebrain> right, got to run; but I will finish this up tonight
15:50:30 <truebrain> just need to fix the game coordinator
15:50:41 <truebrain> and have a proper way of calculating hours ... not how I did this ๐Ÿ˜›
15:50:58 <truebrain> talltyler: hmm .. that is slightly problemetic
15:51:09 <DorpsGek> [OpenTTD/OpenGFX] SamuXarick opened issue #87: Hovercraft are nearly indistinguishable across different companies. https://github.com/OpenTTD/OpenGFX/issues/87
15:51:13 <truebrain> why isn't it the "calendar date - start of game"?
15:51:43 <truebrain> as that is a better representation of economy time, not?
15:51:53 <truebrain> so the amount of days from 1-1-1 are the amount of days the game is old?
15:52:03 <truebrain> anyway, really got to run; talk later ๐Ÿ™‚
15:52:50 <DorpsGek> [OpenTTD/OpenGFX] glx22 commented on issue #87: Hovercraft are nearly indistinguishable across different companies. https://github.com/OpenTTD/OpenGFX/issues/87
15:53:49 <merni> LC-ZorgviaGitHub: Does building a bridge over a diagonal river as shown here really block boats? That seems to defeat one of the purposes of a bridge :p
15:54:15 <_glx_> it does block them because pillars
15:54:31 <_glx_> if bad luck
15:54:36 <xarick> yes
15:54:52 <merni> lol
15:54:54 <xarick> ramp takes the whole tile
15:55:50 <_glx_> same with foundations
15:56:38 <_glx_> to be safe a diagonal river should be at least 2 tiles wide
15:56:43 <merni> Oh, it altogether removes the water, lmao
15:57:27 <_glx_> and not 2 half tile next to each other
15:57:29 <merni> https://cdn.discordapp.com/attachments/1008473233844097104/1200469571178606703/image.png?ex=65c64b69&is=65b3d669&hm=bfcdf0e28dfc7c27325ba60724e8f90eb58cf16f2db76a7ba278b4c4148e7be6&
15:57:29 <merni> That looks so silly
15:57:44 <talltyler> truebrain: In calendar mode, it should be this. In wallclock mode economy time starts at year 1, so it needs different logic.
15:57:59 <merni> If I could convert the river into land somehow why would I not just build an embankment instead of a bridge :p
15:58:06 <xarick> > block the route either by another player or by the growing city.
15:58:06 <xarick> My PR about towns growing blocking ships is still around
15:58:27 <xarick> well not a PR, just the branch
15:59:18 <xarick> towns can also build such bridges
16:04:36 <truebrain> talltyler: And my question was, why isn't it always from year 1? We have the info.
16:05:16 <truebrain> Answering with what it is doesn't answer why it is ๐Ÿ˜‰
16:06:48 <_glx_> https://cdn.discordapp.com/attachments/1008473233844097104/1200471915572248698/image.png?ex=65c64d98&is=65b3d898&hm=93d62a452aa00e4f32484e0dfbb739efcd6df3105fbbf04f3684e39f7611de0b&
16:06:48 <_glx_> so many ways to block water ๐Ÿ™‚
16:08:26 <merni> the top one feels more like a bug, that it is possible to traverse a river without a bridge (or can that road not be used to cross)
16:10:14 <_glx_> the road is fine
16:10:15 <belajalilija> merni: Itโ€™s a ford
16:10:42 <merni> lol
16:10:44 <belajalilija> https://cdn.discordapp.com/attachments/1008473233844097104/1200472905683828766/IMG_6824.png?ex=65c64e84&is=65b3d984&hm=023b905d8743d54776c33397640068fe31fc46ff6a3a50f3e00fa43b42bebb05&
16:11:08 <belajalilija> Would be cool to have these in game
16:11:14 <_glx_> haha next to the bridge
16:11:19 <belajalilija> Maybe with overlapping tiles
16:11:32 <belajalilija> The bridge will be for pedestrians
16:11:48 <merni> do fords prevent navigation (when there is enough water) though?
16:11:49 <belajalilija> A pedestrian bridge is very common with fords
16:11:58 <belajalilija> merni: Yes
16:12:24 <_glx_> the pedestrian bridge itself is too low for navigation anyway
16:12:27 <belajalilija> Personally i wouldnโ€™t cross one with more than like 20cm of water
16:12:57 <merni> _glx_: true in that example
16:13:26 <belajalilija> Recently some guys in a 4x4 went through one near me near when a storm happened and their car got washed away and 3/4 of them died
16:13:30 <_jgr_> Even 20cm is too much for typical vehicles
16:13:35 <belajalilija> ^^
16:14:12 <_glx_> and in any case you'd have to go very slow
16:14:13 <belajalilija> Theyโ€™re something that is safe if you respect them but the people in the 4x4 didnโ€™t respect them
16:14:17 <belajalilija> Yeah
16:14:34 <merni> personally I can't imagine driving through one of thos
16:14:42 <merni> driving ordinarily is stressful enough :p
16:15:10 <belajalilija> Theyโ€™re only really a thing in low traffic rural areas
16:15:20 <belajalilija> Normally where the road isnโ€™t marked
16:15:38 <_glx_> I think many people don't understand how water reacts with speed
16:16:12 <belajalilija> belajalilija: They were in a 4x4 club too
16:16:24 <belajalilija> Wild that they didnโ€™t know tbh
16:16:25 <_jgr_> Going very slow is not necessarily the best strategy
16:16:42 <_glx_> but too fast you may break stuff
16:18:05 <_jgr_> Well you shouldn't go excessively fast, but if you feel that you have to drive very slowly then you just shouldn't cross there at all
16:18:24 <belajalilija> https://cdn.discordapp.com/attachments/1008473233844097104/1200474834153517216/IMG_6825.png?ex=65c65050&is=65b3db50&hm=3e1e9cc888c7f48890ce72c94ae62db0ba013830b5d19e9759cd414a7679253b&
16:18:24 <belajalilija> https://cdn.discordapp.com/attachments/1008473233844097104/1200474834539397261/IMG_6826.png?ex=65c65050&is=65b3db50&hm=4f6fc116bdae4d2fb1412504b46566ebe9372a0c1c39b9953b96af629d2bee10&
16:18:48 <belajalilija> I remember when i was little i helped push a car out of this one
16:18:54 <_glx_> of course, don't try to cross during a flood event
16:19:02 <_glx_> silly people
16:19:14 <belajalilija> I think itโ€™s ideal to keep on the throttle
16:19:30 <belajalilija> So the water doesnโ€™t go up the pipe
16:19:56 <belajalilija> But also not go fast enough so the water smashes your radiator
16:20:08 <belajalilija> Or whatever the front part of the cat inside is called
16:33:26 <DorpsGek> [OpenTTD/OpenTTD] zephyris commented on pull request #10734: Higher max ship speed https://github.com/OpenTTD/OpenTTD/pull/10734#issuecomment-1912347831
16:36:38 <georgevb> belajalilija: It does not look that dangerous
16:36:38 <georgevb> https://youtu.be/akxH83NrYYs
16:41:31 <peter1138[d]> I think it's ideal to take a different route.
17:00:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on discussion #11876: Allow using English as alias https://github.com/OpenTTD/OpenTTD/discussions/11876
17:07:49 <locosage> https://cdn.discordapp.com/attachments/1008473233844097104/1200487270952738847/DSC3682.JPG?ex=65c65be5&is=65b3e6e5&hm=9e129ecd68f09531a2f274d43c2bac87a175b31ac920b0678db1787f6beca41b&
17:07:50 <locosage> random photo from my travels xd
17:08:54 <locosage> but up to like half a meter fords aren't anything special, hard to kill a car there even if you try
17:09:35 <locosage> and main danger is getting water through air intake into the engine
17:21:13 <belajalilija> locosage: You always go to beautiful places
17:22:02 <talltyler> Are you asking why economy time doesnโ€™t start at year 1, even in calendar timekeeping mode? Because economy time is shown in a few places โ€” finance window, company graphs, last service date, etc. โ€” and these need to show calendar dates. The easiest/safest way to do this is to just keep calendar and economy dates synced in calendar timekeeping mode.
17:22:27 <talltyler> truebrain: Are you asking why economy time doesnโ€™t start at year 1, even in calendar timekeeping mode? Because economy time is shown in a few places โ€” finance window, company graphs, last service date, etc. โ€” and these need to show calendar dates. The easiest/safest way to do this is to just keep calendar and economy dates synced in calendar timekeeping mode.
17:26:11 <truebrain> Is the month (30 vs 31) relevant for it? Just trying to understand what to do best with multiplayer
17:42:43 <talltyler> Relevant for what? I donโ€™t understand what youโ€™re asking.
17:45:10 <talltyler> If the game is in calendar timekeeping mode, Iโ€™d send the current date minus the start date, converted to hours by multiplying by days (not years, because 356/366 days is not an even number of minutes โ€” itโ€™s slightly longer than 12 minutes). In economy timekeeping mode Iโ€™d send the current date converted to hours.
17:59:41 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #11885: Update: 3rdparty vendored libraries https://github.com/OpenTTD/OpenTTD/pull/11885
18:02:22 <merni> looks like CI doesn't like you renaming a file:
18:02:22 <merni> > CMake Error at cmake/SourceList.cmake:22 (target_sources):
18:02:22 <merni> > Cannot find source file:
18:02:22 <merni> >
18:02:22 <merni> > /Users/runner/work/OpenTTD/OpenTTD/src/3rdparty/catch2/catch_amalgamated.cpp
18:02:50 <_glx_> or it's not added
18:05:01 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #11885: Update: 3rdparty vendored libraries https://github.com/OpenTTD/OpenTTD/pull/11885
18:05:37 <Rubidium> lets try again...
18:06:24 <_glx_> ah it should be better ๐Ÿ™‚
18:08:20 <peter1138[d]> Damn, that doubled the number of lines added :p
18:08:29 *** gelignite has joined #openttd
18:10:24 <Eddi|zuHause> from one to two?
18:11:58 <peter1138[d]> No, 12,000 to 24,000
18:13:05 <xarick> should I start fixing my old issues? <https://github.com/OpenTTD/OpenTTD/issues/created_by/SamuXarick>
18:13:15 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11874: Change: rebrand Cheats as Sandbox Options https://github.com/OpenTTD/OpenTTD/pull/11874#issuecomment-1912482716
18:14:56 <talltyler> xarick: Fixing crashes when passing invalid arguments seems pretty straightforward ๐Ÿ™‚
18:15:13 <talltyler> You could also look at issues tagged `good first issue`
18:15:34 <talltyler> Obviously not your first issue, but might be low-hanging fruit
18:16:54 <xarick> I think 10407 is already fixed by rubidium
18:17:02 <xarick> gonna retest
18:21:17 <xarick> or was it glx
18:22:33 <xarick> EnforceDeityOrCompanyModeValid_Void() was done to prevent crashes like that
18:24:02 <xarick> yep, it's not crashing
18:24:05 <xarick> can be closed
18:24:53 <talltyler> Excellent, feel free to close your own issues if they are resolved ๐Ÿ™‚
18:25:13 <talltyler> (Assuming you are allowed to do that)
18:25:15 <xarick> let me check the last error message which is what it produces now
18:25:30 <xarick> instead of outright crashing openttd
18:26:30 <peter1138[d]> Turns out NewGRFs work better when you have the correct one loaded...
18:26:52 <talltyler> An AI crashing if it does the wrong thing isnโ€™t a bug. But it crashing OpenTTD is.
18:28:53 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1200507671086891179/image.png?ex=65c66ee5&is=65b3f9e5&hm=fce8b604d9d9348a2a08e8a7a224962c5e2bb7203657a66d18085331ec8829a1&
18:30:58 <truebrain> talltyler: Not asking how you should do it, asking you to teach me how it works ๐Ÿ˜‰ What I was asking, if in calendar mode, it is relevant that the economy date hits 31 days from time to time? Is there any system linked to the economy date where that is relevant
18:34:40 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick closed issue #10407: [Crash]: GS trying to get available railtypes of an invalid company https://github.com/OpenTTD/OpenTTD/issues/10407
18:34:43 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on issue #10407: [Crash]: GS trying to get available railtypes of an invalid company https://github.com/OpenTTD/OpenTTD/issues/10407
18:38:11 <talltyler> Ah, okay. In calendar timekeeping mode, the economy timer behaves just like the calendar timer. It inherits all of its functions from TimerGameCommon, ticks at the same rate as calendar time, and follows the calendar when it gets changed by the date cheat. No issues with the number of days per month or year.
18:39:03 <DorpsGek> [OpenTTD/OpenTTD] github-advanced-security[bot] commented on pull request #11885: Update: 3rdparty vendored libraries https://github.com/OpenTTD/OpenTTD/pull/11885#pullrequestreview-1846340423
18:39:08 <_glx_> calendar is like before noDL
18:39:27 <truebrain> talltyler: yes, that is the how again ๐Ÿ˜„
18:39:32 <truebrain> damn language barriers ๐Ÿ˜›
18:39:49 <merni> github-advanced-secu: Lol codeql doesn't like library authors' code
18:40:04 <truebrain> So let me put it even more blunt: does the economy date care if a months is 30 or 31 days; does anything break if it would always be 30 for calendar mode? (and if so, what?)
18:40:24 <talltyler> `Not asking how you should do it, asking you to teach me how it works` ๐Ÿ˜›
18:40:49 <talltyler> If you ask how I will tell you how ๐Ÿ˜„
18:40:52 <truebrain> as I said, language barriers ๐Ÿ˜‰
18:41:05 <truebrain> I asked before: I want to know the why; I can read code ๐Ÿ˜› I reviewed the bloody thing ๐Ÿ˜„
18:41:11 <truebrain> I just need to know how it functionally behaves
18:41:14 <truebrain> that is hard to make out ๐Ÿ™‚
18:41:18 <talltyler> What are you trying to do?
18:41:24 <truebrain> nothing; I am trying to understand
18:41:41 <truebrain> I want to know what breaks if the economy date is always from year 1
18:41:59 <truebrain> and so far the answer is: it is in sync with the calendar date in calendar mode
18:42:01 <truebrain> that part I got ๐Ÿ™‚
18:42:17 <truebrain> but what weird parts of OpenTTD crack if it doesn't! ๐Ÿ˜„
18:42:36 <talltyler> Company graphs, company finance sheet, and last service date all show the economy date.
18:43:00 <truebrain> okay, so 31 days are actually important there, as the user will observe it
18:43:51 <talltyler> In wallclock mode they are relative to current time, so the user doesnโ€™t see the economy time directly, but in calendar time it is absolute and assumes that calendar time = economy time
18:45:01 <truebrain> hmm, something I could look up in the code, but lazy: do we have any interval timers on economy time?
18:45:01 <talltyler> Yes, economy time needs to match calendar time exactly in terms of the day of the year. If you were to change it to start at year 1 but then show an offset to the current calendar year, it would work until the player does silly things with the date cheat ๐Ÿ™‚
18:46:06 <peter1138[d]> Is that a problem>
18:46:20 <talltyler> Yes, canโ€™t give you a list off the top of my head though
18:46:21 <_glx_> breaking things when using cheats is expected ๐Ÿ™‚
18:46:30 <truebrain> talltyler: that is fine ๐Ÿ˜„
18:46:30 <peter1138[d]> It's no longer a cheat, right?
18:46:31 <peter1138[d]> Sandbox ๐Ÿ˜„
18:46:58 <talltyler> _glx_: Sure, but a negative economy date would be a new bug ๐Ÿ˜›
18:47:08 <truebrain> okay ... all this is a tiny bit problemetic for forward/backward compatible with networking; but I have an idea to try out ... but at least now I understand the functional behaviour a bit better. Tnx ๐Ÿ™‚
18:47:36 <talltyler> Sorry I didnโ€™t know what you were asking ๐Ÿ™‚
18:48:01 <truebrain> we got there in the end ๐Ÿ™‚
18:48:06 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11874: Change: rebrand Cheats as Sandbox Options https://github.com/OpenTTD/OpenTTD/pull/11874#issuecomment-1912527302
18:48:15 <truebrain> talking about not sure I understand you correctly, I really did not know how to read your comment in that ticket ๐Ÿ˜›
18:48:19 <truebrain> so I just made an assumption ๐Ÿ˜„
18:50:18 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #11874: Change: rebrand Cheats as Sandbox Options https://github.com/OpenTTD/OpenTTD/pull/11874#pullrequestreview-1846355018
18:50:21 <truebrain> hahaha
18:50:32 <truebrain> that is unexpected ๐Ÿ˜›
18:50:36 <talltyler> I explained myself in the approval I think ๐Ÿ™‚
18:51:33 <truebrain> btw, solution for money: setting that says: infinite money
18:51:39 <truebrain> and just remove the "give money"
18:51:41 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #11885: Update: 3rdparty vendored libraries https://github.com/OpenTTD/OpenTTD/pull/11885
18:51:45 <truebrain> (introducing: pitchforks!)
18:52:00 <LordAro> truebrain: i'd go with that
18:52:10 <LordAro> that'd make it a true "sandbox" mode
18:52:23 <truebrain> the only moment I found "giving 10M" useful, was during development. In normal gameplay, I don't get the point
18:52:36 <truebrain> either you care about money, or you don't
18:52:42 <truebrain> personal opinion ๐Ÿ˜„
18:52:44 <LordAro> also remove the floating money text and the yearly overview popup
18:52:45 <merni> I agree
18:53:09 <peter1138[d]> I think money sandbox means "track money like normal, but always allow building"
18:53:28 <merni> I think a useful implementation of "infinite money" might be to just allow doing stuff that costs money, even if the money is negative
18:53:30 <merni> lol
18:53:36 <merni> peter thought the same
18:53:57 <truebrain> disabling bunkrupt is easy; but people will have the emotion with "omg, that balance is very negative" in company overview etc
18:53:59 <peter1138[d]> `FOR_ALL_COMPANIES(c) c->money = 100000000000000;` on every tick ๐Ÿ˜‰
18:54:02 <_glx_> yeah I only used money cheat when testing stuff (same as the money shortcut in debug build)
18:54:02 <truebrain> so that needs a bit of polishing
18:54:39 <truebrain> peter1138[d]: owh, that is smart; as that won't show up in the finance window
18:54:56 <truebrain> and hide the money in the statusbar
18:54:57 <truebrain> done!
18:55:22 <merni> truebrain: do people who don't care about money care about that?
18:55:32 <truebrain> merni: strangly enough, yes
18:55:38 <truebrain> being "in the red" gives an emotion
18:55:42 <merni> I see red negative income of trains quite frequently, I just dismiss it since I expect that
18:55:47 <xarick> wow, ScriptGroup::GetNumEngines has more bugs than anticipated
18:55:55 <truebrain> similar that "cheat" gives an emotion
18:56:06 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #11874: Change: rebrand Cheats as Sandbox Options https://github.com/OpenTTD/OpenTTD/pull/11874
18:56:06 <truebrain> on that note ... bye cheat
18:56:38 <_glx_> and it used to be worse with the previous wording in the window
18:57:30 <peter1138[d]> How DARE yoU!
18:58:34 <_glx_> oh of course, now we can't see when the nightly build is about to begin
18:59:06 <truebrain> what do you mean?
18:59:14 <_glx_> no eints commit ๐Ÿ™‚
18:59:18 <truebrain> ah
18:59:31 <truebrain> smart; never actually correlated those two events ๐Ÿ˜›
18:59:59 <talltyler> So maybe we will start the slow process of moving cheats out of the sandbox options until there are none left
19:00:10 <truebrain> I think that is the best approach
19:00:13 <talltyler> Some are easy, others not so much ๐Ÿ˜‰
19:00:43 <frosch123> "road rebuilding programme brings 6 minutes of misery to motorists" <- such meme potential
19:00:52 <merni> Lmao
19:01:25 <truebrain> TimerGameTicker::counter is stored in the savegame .. something to remember when I process surveys
19:01:58 <truebrain> I kinda wrote a line there that assumes it always starts at zero. Not one of huge impact, but still.
19:07:29 <truebrain> talltyler: anyway, the problem I was solving: how to show hours correctly for older servers in the game-listing
19:07:34 <merni> truebrain: Then how about making all the "negative" texts no longer red if no-money-mode is on?
19:08:01 <truebrain> I think that the money-popups are less relevant than your company's worth
19:08:12 <truebrain> but, requires experimentation
19:08:13 <merni> well, red text is not limited to those
19:08:48 <truebrain> w00p, I created a random sorter .... the server list is resorting itself constantly!
19:09:33 <truebrain> the sorter does not appreciate my `uint64_t`
19:11:04 <andythenorth> truebrain: I admit to not paying attention recently...we need an icon pack assembled for macOS, or we need a new logo for the project drawn?
19:11:11 * andythenorth confused which
19:11:29 <truebrain> What I need, for the social integration plugin, is an MIT licensed "icns" file and a Splash image, both for MacOS
19:11:53 <truebrain> the GPLv2 licensed variants are here: https://github.com/OpenTTD/OpenTTD/tree/master/os/macosx
19:12:13 <truebrain> so yes to both your questions
19:13:15 <truebrain> (as we cannot promote the GPLv2 icons to MIT)
19:13:30 <andythenorth> ah yes
19:13:43 <andythenorth> ok I think drawing icons might need _zephyris ๐Ÿ™‚
19:13:48 <peter1138[d]> Can't you just link them via another shared library that can be installed separately? ๐Ÿ˜›
19:13:48 <andythenorth> never been a thing I do well
19:14:07 <andythenorth> I think we safely be derivative in style from the current icon
19:14:46 <truebrain> _zephyris: would you be willing to draw an OpenTTD Logo, licensed under MIT, for us to use for the Social Plugins? ๐Ÿ™‚
19:15:03 <andythenorth> should we make it a plug ๐Ÿ˜›
19:15:16 <andythenorth> or some other visual reference which will not seem a good idea in 3 years time
19:15:20 <truebrain> I always enjoyed the icons we had for our subdomains ๐Ÿ™‚
19:15:34 <truebrain> https://cdn.discordapp.com/attachments/1008473233844097104/1200519417625325568/image.png?ex=65c679d5&is=65b404d5&hm=5d60396c431cce1922d202834bebb0f7e941a9e1a202783a0916bdfed5425d4b&
19:17:26 <truebrain> there is a server online that is running for, on estimation, 16588 hours. It runs 1.3.3
19:17:40 <truebrain> that is .. what .. almost 2 years?
19:17:56 <truebrain> well, the server is not online for that long, the map that is being played is
19:18:11 <truebrain> it might have used date-cheats; that I cannot tell
19:18:43 <andythenorth> we're perpetuating the dollar theme?
19:18:51 <andythenorth> it's an in-joke for a very small number of people
19:19:08 <andythenorth> game with a $ icon, in which money turns out to not be the goal at all
19:19:34 <truebrain> it would be nice if the icon is something that people know is from OpenTTD, that we distributed it
19:19:47 <truebrain> but I don't have any further wishes; I just wish to be able to release the plugin ๐Ÿ™‚
19:21:31 <frosch123> i am sure people would be confused, if it was a ยฃ instead
19:21:53 <truebrain> https://cdn.discordapp.com/attachments/1008473233844097104/1200521007409135665/image.png?ex=65c67b50&is=65b40650&hm=1ee0928b101270c919fc8c2372222c9acbcfd7c4014fe85fa04374d437b182eb&
19:21:53 <truebrain> `Running` feels off ... `Playing`?
19:22:17 <belajalilija> truebrain: Leopard bus
19:22:43 <frosch123> "Game duration"
19:22:45 <belajalilija> Or the hovercraft
19:23:14 <frosch123> or "Play time"
19:23:32 <truebrain> `Play time` works
19:23:42 <truebrain> it is not the duration of the game, as when paused, it is not ticking
19:23:44 <truebrain> annoyingly ๐Ÿ˜›
19:24:03 <frosch123> i read "running" as "online time" ๐Ÿ™‚
19:24:13 <frosch123> time since server boot
19:24:18 <truebrain> which also isn't the case ๐Ÿ˜„
19:24:24 <truebrain> so `Play time` ๐Ÿ™‚
19:26:26 <andythenorth> do we need to focus group a logo and slogan?
19:26:36 <truebrain> no. I just want it done.
19:26:52 <truebrain> *murmles something about stupid MacOS and stupid demands*
19:27:15 <andythenorth> wonder what's already in opengfx 2 that might be useable
19:27:24 <truebrain> is OpenGFX MIT licensed? ๐Ÿ™‚
19:27:39 <andythenorth> if Zeph relicenses the asset it is
19:27:42 <frosch123> ideally it should look the same as the GPL logo, or people will be confused
19:27:45 <andythenorth> if there is one
19:28:08 <_zephyris> truebrain: Sure! Very happy to help
19:28:39 <_zephyris> So is the issue having an OpenTTD icon that's MIT? Or an OpenTTD plugin-specific icon that's MIT?
19:29:05 <truebrain> all the logos we have are GPLv2 licensed
19:29:12 <truebrain> and the author hasn't been seen in years
19:29:14 <_zephyris> Ah, I see
19:29:27 <andythenorth> I think we are on safe moral and legal ground to derive something from current icon
19:29:30 <andythenorth> but redrawn
19:29:36 <merni> andythenorth: https://github.com/zephyris/opengfx2/blob/main/graphics/icons/2/title_letters_alt_32bpp.png ?
19:29:58 <truebrain> as long as it isn't pixel-identical, I would say ๐Ÿ™‚
19:30:21 <_zephyris> Not traced
19:30:45 <_zephyris> Yeah, the 'brand' isn't the issue - it's the specific artistic interpretation/implementation.
19:30:50 <andythenorth> 'inspired by'
19:31:22 <_zephyris> I might nudge the colours to TTD palette entries ๐Ÿ™‚ If it doesn't look too far off
19:31:26 <andythenorth> I'm not going to look too closely at the discord or reddit ๐Ÿ˜›
19:31:38 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200523464033980516/image.png?ex=65c67d9a&is=65b4089a&hm=e643bf9c22945499821db671067cc8ee337f1714633c27df463d0a8f109bae8f&
19:31:38 <andythenorth> oh actually cute
19:32:59 <andythenorth> truebrain: which "MIT license" is it specifically? ๐Ÿ˜›
19:33:09 <truebrain> luckily, there is only one
19:33:12 * andythenorth reading https://www.gnu.org/licenses/license-list.en.html
19:33:57 <truebrain> dunno what GNU is smoking there, but I think they base that on very old information
19:34:08 <truebrain> anyway: https://github.com/OpenTTD/discord-social/blob/main/LICENSE
19:35:16 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886
19:35:28 <truebrain> talltyler: I took a bit of a different turn than you might have expected; curious to what you think.
19:35:30 <merni> > The difference between the X11 license and the Expat license is that the X11 license contains an extra paragraph about using the X Consortium's name. It is not a big deal, but it is a real difference.
19:35:41 <andythenorth> it's moot anyway, as you said, can't transfer GPL -> MIT
19:40:03 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#issuecomment-1912594840
19:42:40 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#issuecomment-1912597788
19:44:41 <xarick> GSEngine.IsValidEngine is a mess
19:45:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#issuecomment-1912600728
19:45:40 <truebrain> we just are never ever again allowed to change the value! ๐Ÿ˜›
19:47:25 <peter1138[d]> Well, you could send ticks_per_ms just in case, but no...
19:47:29 <peter1138[d]> (dP might change it)
19:47:41 <truebrain> funny, the game-coordinator also needs to fill in that field based on the same calculation; as newer clients always get a new game-info blob back
19:47:44 <truebrain> even for older versions
19:48:39 <truebrain> the code in our C++ is only used for LAN games ๐Ÿ™‚
19:52:34 <belajalilija> andythenorth: I hate it
19:53:05 <belajalilija> I feel dirty enough using discord x
19:58:48 <truebrain> now to wait for an hour to see if it actually works ..... boooorrrriiiiinnnnnggggggg ๐Ÿ˜›
20:00:47 <peter1138[d]> Does it matter that you can't reliably provide 1/8th zoom sprites? ๐Ÿ˜‰
20:00:58 <truebrain> awesome, I have 2 servers running on the same invite-code ...
20:01:27 <truebrain> normally the GameCoordinator would detect that
20:01:27 <peter1138[d]> "That'll never happen"
20:01:29 <truebrain> buttttttttttttttt
20:01:35 <truebrain> they are also on the same port ๐Ÿ™‚
20:01:52 <truebrain> so they are sharing the same connection ๐Ÿ˜›
20:02:20 <truebrain> funny, when I connect to the IP, I end up in either of the two
20:02:21 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846449129
20:03:05 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846460835
20:04:11 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846462220
20:04:53 <truebrain> only one tooltip has "click to sort by ..."
20:04:58 <truebrain> something for your list talltyler ๐Ÿ˜›
20:05:33 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846445771
20:05:39 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846464016
20:06:31 <talltyler> Bugger ๐Ÿ˜ฆ
20:06:38 <talltyler> ๐Ÿ˜›
20:08:42 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846468813
20:09:49 <truebrain> the more I look at our UI and mostly, the labels
20:09:51 <truebrain> the more annoying I get
20:09:56 <truebrain> `Date`... and it reads a year
20:09:59 <truebrain> like ....
20:10:12 <truebrain> and the game info is just a lot of text cramped together in a tiny little box
20:10:16 <truebrain> but ... not today!
20:11:06 <andythenorth> oof my archeology nearly worked https://www.tt-forums.net/viewtopic.php?t=8111&hilit=openttd+logo
20:11:12 <andythenorth> so close, but not the actual logo
20:11:49 <truebrain> clearly it was the inspiration for it
20:11:57 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846472964
20:12:17 <peter1138[d]> > but i think you should replace that dollar symbol with steam locomotive or some other vehicle.
20:12:19 <andythenorth> can't find any actual original post in forum with actual logo
20:12:20 <peter1138[d]> Hahaha
20:12:35 <andythenorth> found Bjarni and Dalestan linking to it in svn etc
20:13:14 <peter1138[d]> > The game isn't really about money, though..
20:13:16 <peter1138[d]> In 2004 ๐Ÿ˜„
20:13:28 <truebrain> the last post on page 2 is pretty
20:14:07 <truebrain> `I have the very same idea. I had a 1024x1024 png of the previous icon but not the current one. If I had such an image then the 512x512 image for OSX 10.5 would already be added.`
20:14:07 <truebrain> `... Why would you need so large icons?..`
20:14:07 <truebrain> That ages like milk
20:14:48 <belajalilija> Aside from the leopard bus or hovercraft suggestions for a loco you could do a steam train a la locomotion
20:16:08 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846479247
20:16:42 <peter1138[d]> > Interesting. It would appear that somebody on wikipedia made an svg based on our png. Luckily it's gpl so we can use it
20:16:46 <peter1138[d]> The good ol' "someone"
20:17:27 <peter1138[d]> <https://en.wikipedia.org/wiki/File:Openttdlogo.svg>
20:18:09 <xarick> ``` if (!IsValidGroup(group_id)) {
20:18:09 <xarick> if (group_id != GROUP_DEFAULT && group_id != GROUP_ALL) return -1;
20:18:09 <xarick> } else if (ScriptEngine::GetVehicleType(engine_id) != GetVehicleType(group_id)) return -1;```
20:18:09 <xarick> Is this acceptable code style?
20:18:21 <peter1138[d]> <https://en.wikipedia.org/wiki/User:Stannered>
20:18:33 <peter1138[d]> > I do SVG conversions as well as trying to keep the category for them tidy. In doing so, I come across a lot of butt-ugly images.
20:18:56 <peter1138[d]> So... we could possibly just ask them?
20:19:35 <talltyler> xarick: No. CODINGSTYLE.md says:
20:19:35 <talltyler> When only a single statement is contained, the brackets can be omitted. In this case, put the single statement on the same line as the preceding keyword (if, while, etc.). Note that this is only allowed for if statements without an else clause.
20:20:21 <xarick> oh :/ it's gonna look ugly with a {
20:20:21 <xarick> return -1;
20:20:21 <xarick> }
20:20:29 <truebrain> peter1138[d]: Are they still active users? ๐Ÿ˜„
20:20:44 <talltyler> Ugly but correct ๐Ÿคท
20:21:45 <truebrain> https://cdn.discordapp.com/attachments/1008473233844097104/1200536075936997556/image.png?ex=65c68959&is=65b41459&hm=e4aac1e310cc2994360426c4108873c4ff980d409c74f86106540b4cee4c04f5&
20:21:45 <truebrain> does this work?
20:22:00 <peter1138[d]> Looks fine.
20:22:13 <xarick> heh
20:22:49 <peter1138[d]> You could do days but that incorrectly assumes it's not been paused.
20:22:52 <truebrain> https://cdn.discordapp.com/attachments/1008473233844097104/1200536355311194112/image.png?ex=65c6899b&is=65b4149b&hm=e3cdfe7c7cfe6dd100c727591a76c091feeb34e5d64d4b5f61d159f607ed9c38&
20:22:53 <truebrain> better?
20:23:11 <truebrain> this is actually play-time, mind you. When paused, it doesn't increase
20:23:16 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1200536456431673447/logo.png?ex=65c689b4&is=65b414b4&hm=2398421da383fa274e6da55c4f158fec2ad0382789d913b0436583443c213ef8&
20:23:16 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1200536456653975633/logo.svg?ex=65c689b4&is=65b414b4&hm=3c9267a4de4407667be3523f30f20b79e0c9cb478751ae48ef2c5cbd0589a322&
20:23:31 <truebrain> excellent!
20:23:43 <peter1138[d]> Hmm, not "assumes", but gives the impression it's been running only for 4 days, rather than 96 hours spread out...
20:23:43 <_zephyris> That's with colours tweaked to the TTD palette
20:23:45 <Rubidium> xarick, talltyler: it's only a return in the if, so the else is not needed and should actually be avoided
20:23:51 <frosch123> pretty sure the SI spelling is "min"
20:24:04 <andythenorth> ok need a macOS icon maker next ๐Ÿ™‚
20:24:14 <truebrain> frosch123: 6d 9h 4min ?
20:24:17 <truebrain> that is just weird ๐Ÿ˜›
20:24:27 <truebrain> peter1138[d]: more than just hours? I don't really see that difference?
20:24:31 <xarick> i'm trying to avoid the else
20:24:40 <truebrain> `Unpaused play time`? ๐Ÿ˜„
20:25:06 <xarick> ```/* static */ SQInteger ScriptGroup::GetNumEngines(GroupID group_id, EngineID engine_id)
20:25:06 <xarick> {
20:25:06 <xarick> EnforceCompanyModeValid(-1);
20:25:06 <xarick> if (!ScriptEngine::IsValidEngine(engine_id)) return -1;
20:25:06 <xarick> bool valid_group = IsValidGroup(group_id);
20:25:06 <xarick> if (!valid_group && group_id != GROUP_DEFAULT && group_id != GROUP_ALL) return -1;
20:25:06 <xarick> if (valid_group && ScriptEngine::GetVehicleType(engine_id) != GetVehicleType(group_id)) return -1;
20:25:08 <xarick> return GetGroupNumEngines(ScriptObject::GetCompany(), group_id, engine_id);
20:25:08 <xarick> }```
20:25:12 <peter1138[d]> Well, you might measure a generator runtime in hours, but probably not days.
20:25:18 <frosch123> days is also weird, i would go for "Unpaused play time: HHH:MM"
20:25:40 <truebrain> frosch123: do we have anything that prefixes a number with a zero when < 10?
20:25:43 <_zephyris> Hmm, I missed a slight lightening on the top-left edge, I'll do a quick tweak. And make a version with exact original colours.
20:25:54 <truebrain> (in the string-system)
20:26:31 <truebrain> _zephyris: Now we just need to store it somewhere so we know who the author was in 10 years ๐Ÿ˜„
20:26:39 <peter1138[d]> When does manually copying something because a non-derivative work?
20:26:50 <frosch123> truebrain: ZEROFILL_NUM
20:27:01 <truebrain> cheers
20:27:29 <Rubidium> frosch123: days, hours, minutes are not even official SI units. So, just go with s, ks and Ms ;)
20:27:52 <truebrain> frosch123: people might confuse that with `mm:ss` for the first bits
20:28:08 <truebrain> I do like the `123h 45m` notation because of that
20:28:15 <frosch123> you never have "mm:ss" without "hh:" in front?
20:28:24 <truebrain> sure you do, for systems that measure low times
20:28:26 <truebrain> stopwatches
20:28:33 <truebrain> had plenty of those in my life
20:29:31 <peter1138[d]> Measure it in DHCP units
20:29:36 <truebrain> ๐Ÿ˜„
20:30:46 <truebrain> https://cdn.discordapp.com/attachments/1008473233844097104/1200538342467584000/image.png?ex=65c68b75&is=65b41675&hm=47d8f0100b282cdefa1f96e3787bc1e7423677e1d02aa546e9b2e71e8f5f7438&
20:31:16 <truebrain> https://cdn.discordapp.com/attachments/1008473233844097104/1200538469483692122/image.png?ex=65c68b94&is=65b41694&hm=a9c91649685dc729c5e3d3563931fe8abf8bb3a02197be68d7a2c0dc6693d9ce&
20:31:25 <truebrain> that works for me at least?
20:31:30 <frosch123> fine for me
20:31:38 <peter1138[d]> That says 'yea not playing that'
20:32:22 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1200538744382554164/logo.png?ex=65c68bd5&is=65b416d5&hm=f300c61c1661bb3d867075116b825c2e4da1a7de7c1ce088f81be150049dc6ad&
20:32:22 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1200538744588095668/logo.svg?ex=65c68bd5&is=65b416d5&hm=902d292105542a9a4e741a8c88deb830d25d7b0d4eeb83b827aca80104fe77ea&
20:32:22 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1200538745091407944/logo_ocolours.png?ex=65c68bd5&is=65b416d5&hm=2b6ce18e282464268f26642a09ff0217399c4d967fe1c511a155d44885e458e3&
20:32:22 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1200538745330466876/logo_ocolours.svg?ex=65c68bd5&is=65b416d5&hm=663e88ed3df3e50c66bc69de0c4661a3be8308f30ccca4bc30a6a664eae97cab&
20:32:22 <_zephyris> Enjoy. For OpenTTD under whatever license you need - and save a screenshot of me saying that!
20:32:50 <truebrain> mind storing this in a GitHub repo with a license to it?
20:33:00 <truebrain> also allows you to update it there if you thinker more ๐Ÿ˜„
20:33:14 <truebrain> I can do the same btw
20:33:25 <truebrain> but maybe better if it is under your space
20:33:35 <truebrain> and seriously, thanks a lot for this ๐Ÿ™‚
20:34:54 <_zephyris> No problem at all! I'll make a repo, just give me a list of licenses (just GPL2 and MIT?) you need, and I'll add a general statement for future use too.
20:35:06 <truebrain> GPLv2 and MIT indeed
20:35:57 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #11887: Fix #10405: [Script] Test engine and vehicle type validity for ScriptGroup::GetNumEngines https://github.com/OpenTTD/OpenTTD/pull/11887
20:36:01 <truebrain> maybe, if it is not too much trouble, render a few PNGs from it? ๐Ÿ˜„ 256x256 all the way up to 2048x2048? ๐Ÿ˜„ Again, otherwise I can do it, not a real issue ๐Ÿ™‚
20:36:23 <DorpsGek> [OpenTTD/OpenTTD] Ufiby commented on issue #9056: missing scrollbar on infrastructure window https://github.com/OpenTTD/OpenTTD/issues/9056
20:36:36 <truebrain> https://cdn.discordapp.com/attachments/1008473233844097104/1200539811933593691/image.png?ex=65c68cd4&is=65b417d4&hm=fb3bbad5a2b43bc37ad6f1495b050b18ec7320fffe506f9b047adafea417c46e&
20:36:36 <truebrain> Does this work?
20:37:40 <peter1138[d]> I think after so many hours, you probably don't need to show minutes any more.
20:38:11 <andythenorth> allegedly this is a macOS icon set, but I'm not convinced
20:38:12 <peter1138[d]> But that probably makes it harder to display, string-system-wise ๐Ÿ™‚
20:38:15 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200540229275230278/AppIcons.zip?ex=65c68d37&is=65b41837&hm=f61cf1b8a654d442327372d253a92f5ff2055b4f111d93ce8ae120b803efba9f&
20:38:26 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on issue #9056: missing scrollbar on infrastructure window https://github.com/OpenTTD/OpenTTD/issues/9056
20:38:33 <truebrain> sometimes wording of people annoy me enough that I reply ๐Ÿ˜›
20:38:35 <_zephyris> truebrain: Sure. I can make windows icons too (might even make pixel-tweaked small ones).
20:38:44 <_zephyris> Not sure how mac or Linux icons work!
20:38:50 <peter1138[d]> Feature request: "not fixed" uh huh.
20:39:31 <truebrain> peter1138[d]: looks odd, in a single list
20:39:38 <truebrain> but I do agree, as I did try ๐Ÿ˜„
20:40:15 <peter1138[d]> There are a lot of servers with a lot of play time...
20:40:23 <truebrain> yup ....
20:40:29 <peter1138[d]> 999h 59m
20:40:34 <andythenorth> I found this ๐Ÿ˜› https://www.appicon.co/
20:40:35 <truebrain> normally you don't see them, as they are old servers
20:40:40 <andythenorth> dunno if it's valid ^
20:41:13 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886
20:41:53 <peter1138[d]> `iconutil -c icns FolderName.iconset -o IconName.icns`
20:42:32 <DorpsGek> [OpenTTD/py-protocol] TrueBrain opened pull request #27: Add: support for Game Info v7 https://github.com/OpenTTD/py-protocol/pull/27
20:43:37 <peter1138[d]> What does 13.x see? The years still?
20:43:53 <truebrain> andythenorth: yeah, I need an icns file .. not sure it is actually a zip .. but what peter1138[d] says might work ๐Ÿ™‚
20:44:01 <truebrain> peter1138[d]: yup; nothing changes there
20:44:22 <andythenorth> I am "researching"
20:44:28 <andythenorth> aka googling in hope
20:44:49 <peter1138[d]> <https://bootcamp.uxdesign.cc/5-steps-to-create-a-macos-app-icon-in-icns-format-a659f27f1a85>
20:45:18 <peter1138[d]> (No idea what Figma is but possibly not relevant)
20:45:35 <truebrain> haha, you clearly never work with UXers ๐Ÿ˜›
20:46:11 <peter1138[d]> I work with WWT_PANELs ๐Ÿ™‚
20:46:18 <andythenorth> my day is mostly Figma some days ๐Ÿ˜›
20:47:41 <peter1138[d]> I'm sorry.
20:48:01 <DorpsGek> [OpenTTD/py-protocol] github-advanced-security[bot] commented on pull request #27: Add: support for Game Info v7 https://github.com/OpenTTD/py-protocol/pull/27#pullrequestreview-1846526751
20:48:31 <truebrain> grrr .. you are not wrong, but you are wrong
20:48:39 <truebrain> I will have to write that a tiny bit nicer ๐Ÿ˜›
20:52:45 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886
20:53:01 <locosage> measuring time by ticks is not very precise
20:53:21 <locosage> I once plotted avg tick rate for all citymania games and it's wasn't very consistent
20:53:26 <locosage> also increased with time xD
20:54:09 <truebrain> hmm, no, CodeQL is plain wrong, and it is kinda obvious it is. Annoying
20:54:30 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200544315563323422/openttd.icns?ex=65c69105&is=65b41c05&hm=ea39b4322c85edd100261fbf7815061c3bdd8eb5faed2295877f27a36c5025eb&
20:54:30 <andythenorth> think this needs the white background knocked out
20:54:30 <locosage> and that's not even considering lagging games
20:54:36 <andythenorth> and I don't know if it has all icons needed
20:54:58 <andythenorth> Apple appear to have switched recently from .icns to a newer, more complex format
20:55:38 <truebrain> owh boy .....
20:55:43 <truebrain> well, at long as it wants to build, honestly
20:56:00 <DorpsGek> [OpenTTD/steam-social] TrueBrain updated pull request #2: Feature: initial version of the Social Presence Plugin for Steam https://github.com/OpenTTD/steam-social/pull/2
20:56:04 *** Webster has quit IRC (Ping timeout: 480 seconds)
20:56:27 * andythenorth lost in https://developer.apple.com/design/human-interface-guidelines/app-icons
20:56:45 <locosage> btw, how long game game is running is not very useful info
20:56:53 <locosage> what everyone needs is time until restart
20:57:04 <truebrain> new: `os/macos/openttd.icns: Mac OS X icon, 207009 bytes, "info" type`
20:57:06 <truebrain> old: `../os/macosx/openttd.icns: Mac OS X icon, 213612 bytes, "TOC " type`
20:57:19 <truebrain> so there is some difference in "type"
20:57:23 <truebrain> just no clue what that actually means
21:00:03 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200545711968768150/openttd.icns?ex=65c69252&is=65b41d52&hm=efb50e0258a964ec577863cc686331a96738b9790a2da9444d1cc6ad9eca0901&
21:00:03 <andythenorth> this version has no white bg
21:00:07 <DorpsGek> [OpenTTD/discord-social] TrueBrain opened pull request #4: Add: [Dependabot] introduce Dependabot to keep our workflows up-to-date https://github.com/OpenTTD/discord-social/pull/4
21:00:18 <andythenorth> I haven't optimised the small versions, just shrunk them
21:00:24 <andythenorth> 16px and 32px both look not great
21:00:32 <andythenorth> they need manually redrawn really but eh
21:01:24 <peter1138[d]> As long as it's svg rendered as each size rather than just pixel scalesd.
21:01:51 <andythenorth> it's just bitmap currently
21:02:03 <andythenorth> I can redo, this is a bit of a guessing game
21:02:59 <truebrain> it happily build with the last version you send
21:03:07 <truebrain> give me a sec for the build to finish so you can try it
21:03:15 <truebrain> to at least check it actually works etc etc
21:03:25 <DorpsGek> [OpenTTD/discord-social] TrueBrain merged pull request #4: Add: [Dependabot] introduce Dependabot to keep our workflows up-to-date https://github.com/OpenTTD/discord-social/pull/4
21:06:32 <truebrain> ugh, all those node16 issues ... ugh
21:07:23 <truebrain> andythenorth: https://github.com/TrueBrain/OpenTTD-steam-social/actions/runs/7673305257 <- an you see the artifacts there at the bottom? Can you see if the `steam-social-macos-universal` works, icon-wise?
21:08:13 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200547767362257057/image.png?ex=65c6943c&is=65b41f3c&hm=7f238d64040ecfcdcfdaa62e507a547a72fd57fdf45b4eb18f0bc24654cc977e&
21:08:25 <truebrain> good; so the technoligy works
21:08:27 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200547825537269880/image.png?ex=65c6944a&is=65b41f4a&hm=0759bde2a4282fcbbc716f83db0c88bb5a8ef427f8c82d66a392e31d07c8c45a&
21:08:29 <andythenorth> yes
21:08:32 <andythenorth> all sizes appear
21:08:43 <truebrain> mind creating one now with SVG -> PNG for the different sizes? ๐Ÿ˜„
21:09:27 <peter1138[d]> And transparent ๐Ÿ™‚
21:09:31 <peter1138[d]> Such demands!
21:10:57 <andythenorth> the difference will be negligible but yes I can
21:11:20 <truebrain> let's do it properly while we are at it ๐Ÿ™‚
21:11:27 <truebrain> just a one-time-thingy ๐Ÿ˜„
21:11:38 <DorpsGek> [OpenTTD/discord-social] TrueBrain opened pull request #6: Fix: [CI] remove legacy Linux, as it can no longer be build on our CI https://github.com/OpenTTD/discord-social/pull/6
21:12:01 <andythenorth> do we have the repo with the svg yet?
21:12:12 <andythenorth> /me reading up, been a long week though
21:12:26 <DorpsGek> [OpenTTD/py-protocol] TrueBrain updated pull request #27: Add: support for Game Info v7 https://github.com/OpenTTD/py-protocol/pull/27
21:13:43 <DorpsGek> [OpenTTD/py-protocol] TrueBrain opened pull request #28: Add: [Dependabot] introduce Dependabot to keep our workflows up-to-date https://github.com/OpenTTD/py-protocol/pull/28
21:14:09 <DorpsGek> [OpenTTD/discord-social] TrueBrain merged pull request #6: Fix: [CI] remove legacy Linux, as it can no longer be build on our CI https://github.com/OpenTTD/discord-social/pull/6
21:14:53 <DorpsGek> [OpenTTD/py-protocol] TrueBrain merged pull request #28: Add: [Dependabot] introduce Dependabot to keep our workflows up-to-date https://github.com/OpenTTD/py-protocol/pull/28
21:15:16 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #11888: Fix #10438: [GS] Validate story page element type for ScriptStoryPage::NewElement https://github.com/OpenTTD/OpenTTD/pull/11888
21:15:30 <DorpsGek> [OpenTTD/py-protocol] github-advanced-security[bot] commented on pull request #27: Add: support for Game Info v7 https://github.com/OpenTTD/py-protocol/pull/27#pullrequestreview-1846561966
21:15:31 <truebrain> pfff, a lot of work to make this happen talltyler ... none related to the actual work ๐Ÿ˜„
21:16:19 <xarick> still terrible at commit descriptions
21:17:09 * andythenorth found the svg link in discord
21:18:35 <DorpsGek> [OpenTTD/py-protocol] TrueBrain updated pull request #27: Add: support for Game Info v7 https://github.com/OpenTTD/py-protocol/pull/27
21:18:37 <truebrain> okay ... now the CI should be happy
21:19:20 <peter1138[d]> _zephyris: What, this one not that long ago?
21:19:53 <andythenorth> hmm
21:20:13 <andythenorth> the 16px and 32px icons rasterised from svg are qualitatively worse then the downsized bitmaps
21:20:21 <truebrain> lolz
21:20:23 <truebrain> odd
21:20:26 <andythenorth> nah
21:20:44 <andythenorth> it's a known thing, progressive downsizing in steps tends to be higher quality
21:20:45 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846567672
21:20:48 <andythenorth> at least when using photoshop
21:21:02 <andythenorth> rendering the vectors small, photoshop has no particular skill at
21:21:10 <andythenorth> whereas downsizing pixels is all-day-long
21:21:19 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11887: Fix #10405: [Script] Test engine and vehicle type validity for ScriptGroup::GetNumEngines https://github.com/OpenTTD/OpenTTD/pull/11887#pullrequestreview-1846568170
21:21:38 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200551146318733352/icon_16.png?ex=65c69762&is=65b42262&hm=3d18efdcca9c50b0cd14f4cfe809c6ab830bb972455cd8f57abd3f6ac0805c9e&
21:21:38 <andythenorth> from svg
21:21:47 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200551182930821263/icon_16.png?ex=65c6976b&is=65b4226b&hm=91ca24dd4d3d353fcf62cd2ab586dc5d524ff719c1bd5f7114c4f7d40a6c7e6e&
21:21:47 <andythenorth> downsized bitmap
21:21:54 <truebrain> lol, funny
21:22:09 <truebrain> _glx_: mind skimming over https://github.com/OpenTTD/py-protocol/pull/27, to see if I didn't do anything weird?
21:22:21 <_zephyris> I'll do the logo repo ASAP, but might need to be tomorrow
21:22:43 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200551418319339520/icon_64.png?ex=65c697a3&is=65b422a3&hm=3e03f5074dd0b68446d70d068f82f896562d2493c34191c11411b8ae1b442f39&
21:22:43 <andythenorth> rasterised 64px svg
21:22:55 <truebrain> _zephyris: no worries ๐Ÿ™‚ That is fine!
21:23:00 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200551491170226306/icon_64.png?ex=65c697b4&is=65b422b4&hm=ccb4b71d1225e52084fd4c1f725912151d18fb04bad3fff290ee14bbc46b2d09&
21:23:00 <andythenorth> 64px downsized progressively from 512px
21:23:22 <andythenorth> neither is idea, compared to hand-drawing the same size, but eh, death approaches
21:23:27 <andythenorth> 'marvin moment'
21:23:27 <peter1138[d]> The latter one has sharpening applied.
21:23:43 <andythenorth> yes, photoshop does that
21:23:48 <andythenorth> unless told not to
21:24:46 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1200551931656032326/image.png?ex=65c6981d&is=65b4231d&hm=34c191f2fe3ff3dadc963140fceaf6b1e5b1442cb94b7fcbaa8b7ee885fe30ca&
21:24:46 <peter1138[d]> gimp-rendered 64px
21:25:37 <peter1138[d]> Seems to be a gamma-difference at least as well, but that's Macs for you.
21:26:00 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain opened pull request #219: Add: [Dependabot] introduce Dependabot to keep our workflows up-to-date https://github.com/OpenTTD/game-coordinator/pull/219
21:26:18 <andythenorth> iconutil is fussy about the pngs it gets
21:26:21 <andythenorth> without useful erros
21:26:27 <truebrain> ๐Ÿ˜ฆ
21:26:31 <DorpsGek> [OpenTTD/OpenTTD] github-advanced-security[bot] commented on pull request #11886: Add: show in multiplayer the amount of hours a game has been unpaused https://github.com/OpenTTD/OpenTTD/pull/11886#pullrequestreview-1846574385
21:26:45 <truebrain> ssshhh CodeQL, I already said that!
21:28:53 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain merged pull request #219: Add: [Dependabot] introduce Dependabot to keep our workflows up-to-date https://github.com/OpenTTD/game-coordinator/pull/219
21:29:12 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on pull request #11887: Fix #10405: [Script] Test engine and vehicle type validity for ScriptGroup::GetNumEngines https://github.com/OpenTTD/OpenTTD/pull/11887#pullrequestreview-1846577256
21:34:02 <truebrain> abort-deployment-after-merge, abort-deployment-after-merge ... I forgot to abort deployment after merge
21:34:15 <truebrain> I did not want to kick all TURN users from their game on a Friday night ๐Ÿ˜ฆ
21:34:29 <truebrain> but GitHub was like: yeah, don't do this
21:34:34 <truebrain> so it created an internal error ๐Ÿ˜„
21:37:15 <truebrain> owh, not internal. You are no longer allowed to upload artifacts with the same name ๐Ÿ˜› That used to just work ...
21:37:17 <truebrain> grrr
21:37:40 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11888: Fix #10438: [GS] Validate story page element type for ScriptStoryPage::NewElement https://github.com/OpenTTD/OpenTTD/pull/11888#pullrequestreview-1846588443
21:39:18 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11887: Fix #10405: [Script] Test engine and vehicle type validity for ScriptGroup::GetNumEngines https://github.com/OpenTTD/OpenTTD/pull/11887#pullrequestreview-1846590232
21:39:51 <DorpsGek> [OpenTTD/actions] TrueBrain opened pull request #71: Fix: uploading artifacts with the same name is no longer allowed https://github.com/OpenTTD/actions/pull/71
21:42:08 <xarick> im bad at preconditions ๐Ÿ˜ฆ
21:42:11 <xarick> or pre
21:42:59 <xarick> hmm
21:43:30 <xarick> valid_group && ScriptEngine::GetVehicleType(engine_id) != GetVehicleType(group_id)
21:43:47 <xarick> what's the inverse, reverse
21:44:00 <xarick> negation
21:47:12 <peter1138[d]> de morgans
21:47:13 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #9056: missing scrollbar on infrastructure window https://github.com/OpenTTD/OpenTTD/issues/9056
21:47:33 <andythenorth> is naptime?
21:47:45 <peter1138[d]> Certainly is, ollie.
21:47:47 <Eddi|zuHause> you know you can just !() it and callit a day?
21:47:48 <truebrain> yes; finish tomorrow? ๐Ÿ™‚
21:49:03 <xarick> describing the @pre is difficult
21:49:15 <andythenorth> maybe I'll stay up too late playing openttd
21:49:27 <truebrain> but how far did you get with openttd.icns?
21:49:53 <andythenorth> I made the svg -> png files, but iconutil fails on them for reasons I can't understand
21:49:56 <andythenorth> no error message
21:50:17 <andythenorth> (no useful)
21:50:31 <truebrain> copy back the pngs that were working till it works again?
21:50:59 <truebrain> would at least indicate which png is the issue
21:51:39 <andythenorth> ok it's not the pngs
21:51:46 <xarick> * @pre ScriptEngine::GetVehicleType(engine_id) == GetVehicleType(group_id).
21:52:04 <xarick> im not really sure...
21:53:35 <truebrain> andythenorth: so what is the problem file? ๐Ÿ˜„
21:54:09 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1200559329770745917/openttd_from_svg.icns?ex=65c69f01&is=65b42a01&hm=79918a704fdae464fa6aba00d5bef4c80663bbdac340f036f3e46e1188a20ef9&
21:54:16 <andythenorth> totally unclear, iconutil is a strange beast
21:54:41 <andythenorth> I copied the downsampled bitmap icons folder, replaced all the pngs with the rasterised svg pngs
21:54:43 <andythenorth> and it worked
21:54:48 <andythenorth> must be some macos crap
21:55:04 <DorpsGek> [OpenTTD/OpenTTD] JGRennison commented on issue #9056: missing scrollbar on infrastructure window https://github.com/OpenTTD/OpenTTD/issues/9056
21:55:08 <andythenorth> or I'm typing the wrong command somewhere for iconutil
21:55:16 <andythenorth> anyway svg set
21:55:21 <andythenorth> looks ok here
21:56:20 <truebrain> cool, tnx; going to build some binaries tomorrow ๐Ÿ˜„
21:56:23 <xarick> Who's a logical expert?
21:56:39 <xarick> how to solve #11887
21:57:43 <xarick> I'm not sure about 2TallTyler suggestion
22:00:48 <xarick> those @pre seem to contradict themselves
22:02:36 <xarick> it requires mental gymnastics to decipher those @pre's
22:07:34 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:10:38 <xarick> if !IsValidGroup(group_id) is omitted, then group_id can only be GROUP_ALL or GROUP_DEFAULT - the vehicle type check must be ignored in this case
22:11:25 <xarick> `* @pre !IsValidGroup(group_id) || ScriptEngine::GetVehicleType(engine_id) == GetVehicleType(group_id).`
22:11:25 <xarick> or
22:12:35 <xarick> `* @pre group_id == GROUP_ALL || group_id == GROUP_DEFAULT || ScriptEngine::GetVehicleType(engine_id) == GetVehicleType(group_id).`
22:12:55 <xarick> I'm so confused
22:25:30 <peter1138[d]> Hmm, do we ever run the ICU layouter in separate threads?
22:28:16 <_zephyris> https://github.com/zephyris/openttd-logo
22:31:01 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on pull request #11887: Fix #10405: [Script] Test engine and vehicle type validity for ScriptGroup::GetNumEngines https://github.com/OpenTTD/OpenTTD/pull/11887#pullrequestreview-1846654672
22:36:51 <truebrain> _zephyris: Thank you!
22:37:40 <xarick> am I missing something obvious?
22:38:27 <truebrain> peter1138[d]: Threads? What are those?
22:39:10 <xarick> what happens between if's?
22:39:17 <xarick> is it a || or a &&
22:49:20 *** nielsm has quit IRC (Ping timeout: 480 seconds)
23:04:28 <xarick> ```bool isValidEngine = ScriptEngine::IsValidEngine(engine_id);
23:04:28 <xarick> bool isValidGroup = IsValidGroup(group_id);
23:04:28 <xarick> bool isDefaultOrAllGroup = (group_id == GROUP_DEFAULT || group_id == GROUP_ALL);
23:04:28 <xarick> bool isVehicleTypeMatch = (isValidGroup && ScriptEngine::GetVehicleType(engine_id) == GetVehicleType(group_id));
23:04:28 <xarick> if (!isValidEngine || (!isValidGroup && !isDefaultOrAllGroup) || !isVehicleTypeMatch) {
23:04:30 <xarick> return -1;
23:04:30 <xarick> }
23:04:32 <xarick> Co-pilot generated
23:05:29 <xarick> there's no way to avoid IsValidGroup repeating
23:05:52 <xarick> according to Co-pilot, lol
23:07:20 <xarick> oh well, I'm boring you
23:16:13 *** Test_User has joined #openttd
23:22:30 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #11888: Fix #10438: [GS] Validate story page element type for ScriptStoryPage::NewElement https://github.com/OpenTTD/OpenTTD/pull/11888#issuecomment-1912820623
23:32:30 <DorpsGek> [OpenTTD/py-protocol] glx22 approved pull request #27: Add: support for Game Info v7 https://github.com/OpenTTD/py-protocol/pull/27#pullrequestreview-1846725789
23:50:20 <peter1138[d]> Hmm. huge bug ๐Ÿ˜„
23:53:23 <Test_User> bugreport (I'm not going to use github): "refresh server" button can get stuck in some situations, and prevent you from re-checking and joining it without restarting openttd; exact conditions I found is when something accepts the tcp connection but doesn't send anything: there seems to be neither a timeout nor acceptance of the "connection closed" part; tested on latest
23:53:26 <Test_User> (80ebcc72fb415fc73f80cb8afbf0d927ade639e4) and 13.4
23:54:05 <wensimehrp> *test*
23:54:31 <Test_User> I'm using gnu/linux, if that's relevant
23:56:33 <locosage> Test_User: Yeah, seen that too but never quite figured how to reproduce
23:57:04 <Test_User> you can use netcat as the "server" to trigger the condition reliably
23:59:10 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #11889: Fix: TextfileWindow called virtual methods before constructor completed. https://github.com/OpenTTD/OpenTTD/pull/11889