Config
Log for #openttd on 13th July 2023:
Times are UTC Toggle Colours
00:54:10  <belajalilija> so ive had an idea and i'd like to know if it is technically possible before making a github thingy
00:59:38  <belajalilija> the idea is
00:59:38  <belajalilija> when adding a bunch of grfs some things can be disabled due to incompatibility issues for example
00:59:38  <belajalilija> track set not having the right voltage
00:59:38  <belajalilija> track set not being the right gauge
00:59:38  <belajalilija> other grfs (firs can have issues with rukts and sbb set)
00:59:40  <belajalilija> this can cause problems as you need to know every vehicle in a grf to know if it is missing or not and it can be hard to tell at a glance
00:59:40  <belajalilija> my suggested solution would be a command to either list in the console or dump a text document that lists all vehicles that could not be enabled, better yet if it can list any "things" such as vehicles, objects, track and road types, that are disabled, but the idea is mostly for trains
01:16:59  <_glx_> openttd just follow the newgrf decisions, it can't know what is skipped
01:24:06  <belajalilija> Damn
01:33:49  <Eddi|zuHause> damn cities:skylines... i could get neither my unemployment rate nor my crime rate up to 50%... unemployment peaked at 45% and crime at 35%
01:39:34  <Eddi|zuHause> belajalilija: the NewGRF can issue a warning with action B. that's the only way to know.
01:41:00  <belajalilija> Eddi|zuHause: not sure ive ever even seen it used then which is a shame
01:45:57  *** dihedral has joined #openttd
02:18:35  *** debdog has quit IRC
03:01:01  *** felix has quit IRC
03:05:23  *** felix has joined #openttd
03:23:54  <DorpsGek> [OpenTTD/OpenTTD] kiwitreekor updated pull request #10953: Add: Station variable 6B to get extended station id of nearby tiles https://github.com/OpenTTD/OpenTTD/pull/10953
03:26:00  <DorpsGek> [OpenTTD/OpenTTD] kiwitreekor updated pull request #10953: Add: Station variable 6B to get extended station id of nearby tiles https://github.com/OpenTTD/OpenTTD/pull/10953
03:30:41  <DorpsGek> [OpenTTD/OpenTTD] kiwitreekor commented on pull request #10953: Add: Station variable 6B to get extended station id of nearby tiles https://github.com/OpenTTD/OpenTTD/pull/10953#issuecomment-1633493932
03:32:47  *** keikoz has joined #openttd
03:45:05  *** keeeek has quit IRC
03:45:05  *** leon13639 has quit IRC
03:45:05  *** kamnet has quit IRC
03:45:34  *** DorpsGek_v has joined #openttd
04:16:55  *** tokai|noir has joined #openttd
04:16:55  *** ChanServ sets mode: +v tokai|noir
04:23:49  *** tokai has quit IRC
05:48:11  *** k-man has quit IRC
05:49:02  *** k-man has joined #openttd
06:44:13  <Rubidium> pickpacket: would it mean that? In the real world it definitely doesn't mean that. It's rather the percentage of people without a job who want a job divided by the number of people with a job plus those wanting a job
06:45:03  <Rubidium> so if you have saved (a lot) and at age of 50 say... I don't want to work anymore, I'll just live my life of my savings, then you're not counted as unemployed
06:45:55  <pickpacket> Rubidium: what it actually means depends. The definition often differs from country to country
07:38:07  <pickpacket> in any case I think "35% crime rate" is a lot less clear :) Does it mean that 35% of your citizens are gangstas?
08:34:56  <LordAro> https://devblogs.microsoft.com/cppblog/include-cleanup-in-visual-studio/
08:37:44  *** truebrain has joined #openttd
08:37:44  <truebrain> oooooeeeeehhhhh
09:21:49  <Eddi|zuHause> pickpacket: i think it means 35% of the population.
09:48:10  *** starbud has joined #openttd
09:55:52  <LordAro> we're missing a lot of context
09:56:21  <Lor2023-07-13T22:44:23  <locosage> That's a "what provides power" POV
22:45:32  <locosage> In gasoline vehicle main power comes from alternator, in ev from battery
22:46:52  <locosage> But ev does have a functional analog of alternator, it's just called motor since it more often converts electricity to rotation than back
23:04:34  <peter1138> Changing lights is easier on my bike than the car.
23:05:06  *** m3henry has quit IRC
23:05:08  <peter1138> Although my current car isn't too bad. Last car needed handles about 30cm long but only 1cm thick...
23:11:27  <peter1138> Hmm, strange, not saving cargo history didn't save any bytes. I guess I'm doing it wrong 😄
23:14:52  <peter1138> Maybe try a stupid size map, like 1024x1024.
23:19:29  <peter1138> Vanilla: 24766936 bytes
23:19:37  <peter1138> Patched: 24760648 bytes
23:19:40  <peter1138> That's... not a lot :p
23:19:50  <peter1138> Compression wins.
23:24:29  <peter1138> Vanilla but 25 history slots: 24805932 bytes
23:24:40  <peter1138> Patched but 25 history slots: 24760648 bytes
23:24:43  <peter1138> Such minor :/
23:27:19  <talltyler> If we’re talking about the industry production graph PR, I believe dP’s complaint was about increased saving time, not just file size. Maybe that’s easier to time?
23:27:45  <talltyler> Does it reserve those bytes somewhere even if you’re not writing anything into them?
23:27:56  <_jgr_> Are these cargo history values mostly zeroes?
23:28:07  <talltyler> (That was possibly the most uniformed question I’ve ever asked 😛 )
23:28:14  <peter1138> heh
23:30:14  <peter1138> In this case, yes, I'm just making it skip saving history if slot is CT_INVALID, which for vanilla industries is 14 out of the 16 slots...
23:31:10  <peter1138> I suspect my saveload rearrangement resulted in slower saving, as it replaced flat arrays with a nested objects.
23:31:56  <_jgr_> I doubt it will make much difference
23:31:59  <peter1138> It's also possible to skip trailing zero entries in the history, but in vanilla that doesn't save much, and after 2 years doesn't save much either.
23:33:14  <peter1138> (And working out which is the last non-zero entry may cost more time)
23:33:47  <peter1138> After 2 years with that patch, that is.
23:41:10  <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #11133: Change: Don't save industry history if cargo slot isn't used. https://github.com/OpenTTD/OpenTTD/pull/11133
23:41:16  <peter1138> *shrug*
23:44:50  <_jgr_> If the history length is increased by making the std::array<ProducedHistory, N> bigger, as in 10541, that could waste a non-negligible amount of memory at run-time, which isn't compressible
23:45:42  <peter1138> Maybe possible to std::vector it. I didn't with 2 as it wasn't necessary.
23:48:17  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11133: Change: Don't save industry history if cargo slot isn't used. https://github.com/OpenTTD/OpenTTD/pull/11133#issuecomment-1635064036
23:57:54  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #11134: Change: Clean up window title and button capitalization and wording https://github.com/OpenTTD/OpenTTD/pull/11134
20232023-07-14T22:37:12  *** HerzogDeXtEr has quit IRC

Powered by YARRSTE version: svn-trunk