IRC logs for #openttd on OFTC at 2024-05-10
            
00:16:13 *** toktik is now known as Guest5441
00:16:18 *** toktik has joined #openttd
00:21:59 *** Guest5441 has quit IRC (Ping timeout: 480 seconds)
00:24:26 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #12652: Codechange: Use vector/string instead of malloc when reading music cat file data. https://github.com/OpenTTD/OpenTTD/pull/12652
02:01:19 *** Flygon has joined #openttd
02:14:58 *** tokai has joined #openttd
02:14:58 *** ChanServ sets mode: +v tokai
02:22:04 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
02:51:32 *** godbed has joined #openttd
02:51:41 *** godbed_ has joined #openttd
02:55:04 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:55:09 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
04:09:33 *** keikoz has joined #openttd
04:28:23 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #12652: Codechange: Use vector/string instead of malloc when reading music cat file data. https://github.com/OpenTTD/OpenTTD/pull/12652#pullrequestreview-2049212878
04:40:34 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/a5c2543efc3e3dc482bba8fab26c66009ca51e1e
04:40:35 <DorpsGek> - Update: Translations from eints (by translators)
07:16:43 <kuhnovic> I'm about to hit merge on the NPF removal (#12209), but I think it would be wise if somebody with a bit more savegame experience can have a look-see at that part. Other than that: SHIP IT
07:18:04 *** HerzogDeXtEr has joined #openttd
07:29:40 <reldred> YEET IT
07:34:13 <DorpsGek> [OpenTTD/OpenTTD] MuxyDuGoulp updated pull request #12647: Fix: [AdminPort] #12411 Send Network Welcome Packet to admin port after game creation completed https://github.com/OpenTTD/OpenTTD/pull/12647
07:47:37 <DorpsGek> [OpenTTD/OpenTTD] MuxyDuGoulp updated pull request #12647: Fix: [AdminPort] #12411 Send Network Welcome Packet to admin port after game creation completed https://github.com/OpenTTD/OpenTTD/pull/12647
07:56:46 <DorpsGek> [OpenTTD/OpenTTD] James103 commented on issue #12651: [Crash]: max_train_length assertion in ReplaceChain can be triggered for long articulated leading engines when wagon removal is enabled https://github.com/OpenTTD/OpenTTD/issues/12651
08:14:13 *** godbed_ has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
08:20:25 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #12209: Remove: NPF https://github.com/OpenTTD/OpenTTD/pull/12209#pullrequestreview-2049563417
08:25:04 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
08:25:58 *** mindlesstux has quit IRC (Quit: The Lounge - https://thelounge.chat)
08:25:59 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #12652: Codechange: Use vector/string instead of malloc when reading music cat file data. https://github.com/OpenTTD/OpenTTD/pull/12652
08:26:25 *** mindlesstux has joined #openttd
08:30:22 <merni> kuhnovic: There you go :)
08:31:44 *** mindlesstux has quit IRC (Quit: The Lounge - https://thelounge.chat)
08:32:45 *** mindlesstux has joined #openttd
08:33:33 <truebrain> weird that LordAro approves, and not just merges ๐Ÿ˜›
08:36:17 <LordAro> i didn't want to deprive kuhnovic
08:36:30 <truebrain> lol
08:38:48 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic merged pull request #12209: Remove: NPF https://github.com/OpenTTD/OpenTTD/pull/12209
08:39:14 <merni> Whoo
08:39:26 <kuhnovic> Thanks LordAro ๐Ÿ˜Š
08:39:39 <merni> More spacebars cooled down
08:39:42 <kuhnovic> And bye bye NPF!
08:40:00 <truebrain> Who will do the farewell speech?
08:40:31 <truebrain> I mean, it has been a good boy for nearly 20 years
08:40:50 <merni> Of which 18 were while YAPF was around :P
08:41:10 <LordAro> ah, but only for 5(?) of those was YAPF usable for ships :p
08:41:23 <kuhnovic> "usable"
08:41:29 <merni> Was NPF usable for ships before then?
08:41:38 <truebrain> merni: no need to stab someone that is already burried
08:41:56 <truebrain> only speak well of the death ๐Ÿ˜›
08:42:12 <truebrain> also, you make the worst farewell speeches ๐Ÿ˜› Just saying ๐Ÿ˜‰
08:42:23 <merni> I am a terrible orator
08:42:28 <merni> Noted
08:42:49 <merni> I shall not do any more farewell speeches for the next feature I delete :)
08:42:59 <truebrain> or practice! ๐Ÿ˜›
08:43:27 <kuhnovic> If anyone asks you to write their eulogy, refer to this conversation
08:43:57 <truebrain> "She was 80, but for the last 60 years a newer model was around (her daughter), so yeah .. there is that"
08:45:42 <kuhnovic> "A for effort, but there was always YAPF"
08:57:40 <Eddi|zuHause> well, there wasn't *always* YAPF
08:58:00 <Eddi|zuHause> YAPF only exists because of NPF
09:04:20 <DorpsGek> [OpenTTD/OpenTTD] MuxyDuGoulp commented on pull request #12647: Fix: [AdminPort] #12411 Send Network Welcome Packet to admin port after game creation completed https://github.com/OpenTTD/OpenTTD/pull/12647#issuecomment-2104235583
09:07:59 <peter1138> LordAro: Oh? News to me ๐Ÿ˜ฎ
09:12:55 *** SigHunter has joined #openttd
09:13:05 *** godbed is now known as debdog
09:19:11 *** SigHunter has quit IRC (Remote host closed the connection)
09:20:12 *** SigHunter has joined #openttd
10:16:37 <DorpsGek> [OpenTTD/OpenTTD] koutya0125 commented on pull request #12650: Fix #12648: Ensure all uses of std::filesystem::path use native encoding. https://github.com/OpenTTD/OpenTTD/pull/12650#issuecomment-2104345966
10:33:13 *** SigHunter has quit IRC ()
10:35:56 *** SigHunter has joined #openttd
10:38:08 *** mindlesstux has quit IRC (Ping timeout: 480 seconds)
10:42:38 *** mindlesstux has joined #openttd
11:45:33 <jenkings> Is there already some fix for inflation ? I can remember that in the version 13 it was absolutely impossible to use road vehicles since some year
11:49:35 <emperorjake> The fix is to turn off inflation
11:51:03 <jenkings> so... it has not been fixed ๐Ÿ™‚
11:52:04 <jenkings> I am still looking for ways to make the game more challenging, because i like building railway networks, but as soon as i reach cca 20 trains, than the game turns into sandbox and i have "unlimited money"
11:54:34 <talltyler> The fix (or lack thereof) for inflation is a conceptual problem, not a technical one.
11:57:36 <jenkings> yeah, i see
11:58:33 <jenkings> maybe the workaround could be some kind of taxes ?
12:00:25 <jenkings> some kind of windfall tax, or very very high infrastructure payments for runing depots ?
12:02:37 <jenkings> or Antimonopoly Office ? That reduces prices for transport in cities where you have more than X stations and percentage of your stations in that city is higher than Y%
12:03:21 <andythenorth> Any fix will have some loophole or exploit
12:04:21 <jenkings> as like as everything ๐Ÿ™‚
12:04:42 <andythenorth> The meta in OpenTTD is that profitable routes will beโ€ฆprofitable
12:05:29 <andythenorth> Itโ€™s quite a simple meta, not much depth to it
12:05:56 <jenkings> yeah, thats what i mean..
12:06:27 <truebrain> jenkings: there have been many ideas over the last 20 years to "solve" inflation, but none really made it into the game. I guess a good solution would be something that can be controlled with a GameScript, so people can build their own challenges. But it needs people thinking about how that would look, what would be needed, etc ๐Ÿ™‚
12:06:52 <talltyler> The โ€œVillages is Villagesโ€ Game Script has taxes based on your profit, thatโ€™s about as close to variable balance/difficulty as Iโ€™ve seen.
12:07:13 <jenkings> talltyler: i have to take a look at it. thanks ๐Ÿ™‚
12:08:36 <jenkings> the only challenge for me now is sloving jammed tracks ๐Ÿ˜„
12:09:07 <truebrain> to slove or not to slove, that is the question
12:10:14 <jenkings> https://docs.openttd.org/ai-api/
12:10:23 <jenkings> this it absolutely great page... /s
12:11:06 <truebrain> PRs to solve that sarcasm go [this way](https://github.com/OpenTTD/OpenTTD/)
12:13:26 <jenkings> i just wanted to make some script to experiment with the difficulty, but i found no documentation for writing gamescripts ๐Ÿ˜ฆ
12:13:55 <_glx_> And game scripts API is on gs-api (ai-api is obviously for AIs)
12:14:23 <_glx_> A lot is shared though
12:14:29 <jenkings> some gamescript info on official page referenced there, so...
12:14:54 *** nielsm has joined #openttd
12:14:59 <andythenorth> Very few people write GS so thereโ€™s very few docs
12:15:15 <andythenorth> Very few docs means very few people write GS
12:15:34 <jenkings> okay, so it would be beter to modify the core source to achieve that, right ? ๐Ÿ™‚
12:15:54 <jenkings> i mean, just for the purpose of my own experiments
12:16:03 <andythenorth> If you are happy running your own fork, then yes
12:16:03 <_glx_> All API doc is doxygen in source
12:16:10 <peter1138> There already IS a PR a solve that issue.
12:17:10 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #12373: Improve Script API docs https://github.com/OpenTTD/OpenTTD/pull/12373#issuecomment-2104508027
12:17:23 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12373: Improve Script API docs https://github.com/OpenTTD/OpenTTD/pull/12373
12:18:09 <peter1138> ๐Ÿคทโ€โ™‚๏ธ
12:30:44 *** toktik has quit IRC (Remote host closed the connection)
12:31:09 *** toktik has joined #openttd
12:35:04 *** nielsm has quit IRC (Ping timeout: 480 seconds)
13:59:04 *** mindlesstux has quit IRC (Quit: The Lounge - https://thelounge.chat)
13:59:24 *** mindlesstux has joined #openttd
15:14:58 <andythenorth> merge all the PRs
15:15:00 <andythenorth> then have lunch
15:15:47 <klote> emperorjake: Hee, Is there a reason why steeltown doesnt have wood?
15:16:34 <andythenorth> ran out of cargos?
15:19:24 *** gelignite has joined #openttd
15:21:15 <emperorjake> klote: I couldn't fit it in as AXIS uses the maximum of 64 cargo types, it wouldn't have added much anyway
15:21:31 <klote> Hmm ok.
15:21:43 <emperorjake> Wood and timber would have used 2 extra slots for something completely unrelated to the metal and petrochem chains
15:21:46 <klote> Would have fit better in my scenario ๐Ÿ˜›
15:22:16 <emperorjake> what's the theme of your scenario?
15:22:18 <klote> Can you advise which train set works good with AXIS?
15:22:33 <emperorjake> maybe a future AXIS economy will fit better, or in the meantime use XIS
15:22:47 <klote> emperorjake: Western europe benelux + denmark Germany czechia poland etc
15:22:51 <emperorjake> klote: Basically anything that works well with FIRS, such as Iron Horse
15:23:12 <klote> ok
15:23:27 <emperorjake> GETS might be a good choice given your region
15:23:32 <klote> emperorjake: im already past the point of staying on AXIS
15:23:49 <klote> I would have to recreate industry if i am switching to XIS
15:23:52 <andythenorth> 65,536 cargos?
15:24:22 <peter1138> hehe
15:24:46 <emperorjake> 128 would probably be enough to cover everything in FIRS and AXIS together
15:25:14 <klote> yes pls
15:26:13 <klote> Maybe in future it would be possible to have cargos become availible over time
15:26:38 <emperorjake> unlikely to happen unfortunately, adding more cargo types is a huge pain
15:26:55 <emperorjake> from what I've heard at least
15:27:32 <emperorjake> gotta be thankful for 64, or we'd still be stuck in the old FIRS Extreme days
15:27:41 <klote> haha
15:27:43 <klote> yeah
15:27:44 <klote> btw
15:27:58 <klote> You need help translating cargo types?
15:28:07 <klote> cause i see you only have english
15:28:37 <andythenorth> peter1138: do it, it would challenge a grf author
15:29:07 <peter1138> 64 already had unforeseen (although it should've been) consequences.
15:29:21 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1238513214665523300/image.png?ex=663f8ed0&is=663e3d50&hm=d0bfd746c424652f9bf7a785563c77f26c0a62850cd134b0afcad35250128127&
15:29:21 <peter1138> What even is going on?
15:30:43 <emperorjake> klote: If you wanna help translate, feel free to make a PR ๐Ÿ™‚
15:31:11 <klote> PR?
15:31:29 <klote> personal request?
15:31:54 <emperorjake> Pull request
15:32:18 <emperorjake> https://github.com/EmperorJake/AXIS
15:36:34 <klote> Yes, will check it out
15:36:48 <klote> want to finnish the scenario
15:36:49 <klote> first
15:39:04 *** asasnat has quit IRC (Quit: User went offline on Discord a while ago)
15:50:55 *** Wormnest has joined #openttd
15:56:46 <peter1138> Do we have 128 bit computers yet?
15:58:10 <peter1138> `STR_QUIT_ARE_YOU_SURE_YOU_WANT_TO_EXIT_OPENTTD :{YELLOW}ๆ‚จ็ขบๅฎš่ฆ้—œ้–‰OperTTDๅ—Ž๏ผŸ`
15:58:11 <peter1138> Um.
16:11:42 <klote> Is there a reason why i am not able to increase Minutes per year?
16:11:54 <klote> https://cdn.discordapp.com/attachments/1008473233844097104/1238523925277708390/image.png?ex=663f98ca&is=663e474a&hm=316ab644e03a884d42dacc54500221c06f24f1f91afa4cb643245ce30d6508dd&
16:12:06 <klote> its stuck on 12...
16:13:53 <talltyler> It can only be changed in Wallclock timekeeping mode.
16:16:53 <klote> what is that?
16:18:53 <klote> oh found it
16:18:57 <klote> thanks
16:39:03 <talltyler> Further reading: https://www.openttd.org/news/2024/03/23/timekeeping ๐Ÿ™‚
16:55:24 <wensimehrp> peter1138: Nice ๐Ÿ™‚
16:57:27 <wensimehrp> I guess the misalignment is because the font you are using has reserved space on the bottom of each character
16:58:49 <wensimehrp> Like Unifont-JP does not have such thing so it works perfectly well with the UIs. But Noto Sans reserves space under each character so it looks like that the UI is stretched
16:58:56 <peter1138> If you mean the text under the vehicles in the list, it's because it's using the wrong font. Should be the small font but it's using the medium font for some reason.
17:00:28 <peter1138> But still. I'm actually surprised this is working already.
17:01:09 <DorpsGek> [OpenTTD/OpenTTD] MuxyDuGoulp commented on issue #12575: [Bug]: Updates on admin port are unreliable https://github.com/OpenTTD/OpenTTD/issues/12575
17:01:52 <wensimehrp> https://cdn.discordapp.com/attachments/1008473233844097104/1238536497121198091/remix-e0933393-eb67-409c-b609-0e05a6bc18ab.png?ex=663fa47f&is=663e52ff&hm=f6bb18cdc0c090da4c54acb5af3312e965b66deddf12b26981c8e242dd3997ef&
17:01:56 <wensimehrp> Oh i thought you meant by this
17:02:38 <peter1138> Ah, right. No, that's just it draws each font at the top of the line, no base line is taken into account.
17:03:18 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1238536859991150632/image.png?ex=663fa4d6&is=663e5356&hm=7f398dd3da6574a7c71c5dc8dc71eeaffd75bc6e5d10e7ab2c7289355b15a8b9&
17:03:18 <peter1138> And indeed, with Noto Sans it's more pronounced.
17:05:05 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1238537307343159319/image.png?ex=663fa540&is=663e53c0&hm=4b4b1cfc907ec6adeb9aa159dd4e1151dfb5677865439284a5902ae8c92c7e59&
17:05:05 <peter1138> No font mixing...
17:05:48 <wensimehrp> hmm
17:06:00 <peter1138> But the exit message that says "OperTTD"... whut
17:12:56 <wensimehrp> wensimehrp: I guess there has to be a function that allows the player to adjust the offset and the size of each font, otherwise the final result would be terrible.
17:14:08 <peter1138> I would imagine that the font itself has this information, but we're just not using it yet.
17:18:51 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
17:23:34 <DorpsGek> [OpenTTD/OpenTTD] MuxyDuGoulp commented on pull request #12337: Change: replace company passwords with allowlist https://github.com/OpenTTD/OpenTTD/pull/12337#issuecomment-2104991740
17:29:58 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #12337: Change: replace company passwords with allowlist https://github.com/OpenTTD/OpenTTD/pull/12337#issuecomment-2105000155
17:34:42 <LordAro> eh
17:34:43 <LordAro> heh
17:35:29 <muxydugoulp> PeterNviaGitHub: What was this "one of the reasons" ?
17:35:42 <peter1138> Modified servers saving passwords.
17:35:59 <peter1138> The other reason is that passwords suck.
17:36:30 <muxydugoulp> but it was not the real passwords
17:36:40 <peter1138> > corrupted double-linked list
17:36:42 <peter1138> Joy ๐Ÿ™‚
17:36:55 <LordAro> muxydugoulp: see the linked items in that PR
17:40:30 <peter1138> > corrupted size vs. prev_size in fastbins
17:40:35 <peter1138> Ooh, not seen that one before ๐Ÿ™‚
17:41:26 <muxydugoulp> LordAro: Damnit, i never saw that. Strange request.
17:42:03 <LordAro> keyboard heaters everywhere
17:43:18 <muxydugoulp> cause company password is not a problem for servers admin that now how to bypass.
17:44:10 <muxydugoulp> just have to find the requester to discuss about it.
17:46:33 <peter1138> What needs to be discussed?
17:46:37 <peter1138> Passwords are gone \o/
17:59:47 <DorpsGek> [OpenTTD/OpenTTD] MuxyDuGoulp commented on discussion #10999: Company password saves? https://github.com/OpenTTD/OpenTTD/discussions/10999
18:04:54 *** Wormnest has quit IRC (Quit: Leaving)
18:12:56 <peter1138> Oops, accidentally brought up the content download window under valgrind ๐Ÿ˜„
18:13:09 <truebrain> kaboom? ๐Ÿ˜„
18:13:21 <peter1138> Well, it's quite slow ๐Ÿ™‚
18:20:04 <truebrain> ghehehe .. E_TOO_MANY_ENTRIES ๐Ÿ˜›
18:30:06 <peter1138> Okay, fixed the memory corruption. Good old static (de)initialisation...
18:34:03 <peter1138> It is quite amusing how much stuff still works despite commenting it out ๐Ÿ˜„
18:34:16 <peter1138> Less is more?
18:35:59 <peter1138> Well, kind of works.
18:36:00 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1238560189397995612/image.png?ex=663fba90&is=663e6910&hm=2581d134a9fdfa1f820c6fa61a52a1e5f0701901367f267061b2b80f877397a0&
18:36:09 <peter1138> I ... don't know ๐Ÿ™‚
18:53:01 *** Wormnest has joined #openttd
18:58:59 <DorpsGek> [OpenTTD/OpenTTD] flowprint commented on discussion #12630: Option to set all months to 30 days for timetable sync https://github.com/OpenTTD/OpenTTD/discussions/12630
19:19:11 <peter1138> Ah, when you don't do something silly it works better.
19:25:34 <truebrain> weird ๐Ÿ˜›
19:29:13 <klote> Does any one know if Iron Horse includes Road vehicles?
19:29:17 <klote> or is it only trainset?
19:31:21 <klote> never mind figured out it is only trainset
19:31:56 <bootmii> Some Hongkonger please save us
19:35:31 <_glx_> use road hog for road vehicles
19:36:01 <ahyangyi> ^
19:36:23 <_glx_> https://grf.farm/road-hog/1.4.1/html/road_vehicles.html
19:36:23 <peter1138> Argh, more wonkiness ๐Ÿ™‚
19:53:25 *** Wolf01 has joined #openttd
19:56:08 *** georgevb has joined #openttd
19:56:08 <georgevb> Hello
19:56:08 <georgevb> https://newgrf-specs.tt-wiki.net/wiki/Callbacks#Engine_name_.28161.29
19:56:08 <georgevb> > The callback is run in purchase list scope, i.e. for cargotype FF. No variables of an actual vehicle are available
19:56:08 <georgevb> Would it be possible to improve the name CB to be able to check vehicle props (mainly cargo_sbtype and date_of_last_service)? It would make it possible to change a name on refit, like VL61->VL61D, VL19->VL19M, Sd->Sm and so on
20:05:49 <michi_cc> Names are cached in various spots, thus the decision was made to not provide vehicle specific variables.
20:09:52 <andythenorth> It also makes autoreplace confusing
20:17:24 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1238585705584787486/image.png?ex=663fd254&is=663e80d4&hm=89b47ca86a335de1b27843943b7c2dbee914b7700bcbdb29d8525f18a52a09f0&
20:17:24 <peter1138> Um...
20:24:05 <andythenorth> is it comic sans?
20:24:17 <andythenorth> I like it
20:27:00 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1238588122082709614/image.png?ex=663fd494&is=663e8314&hm=0f07e167bb3374b4fb27fa6e0fe5d0b8126a07649e610f0a8b3988fa47c2383a&
20:27:00 <peter1138> Much.
20:42:26 <peter1138> What about the rest... Hmm.
20:58:53 *** virtualrandomnumber has joined #openttd
20:59:26 *** virtualrandomnumber has quit IRC ()
20:59:32 *** virtualrandomnumber has joined #openttd
20:59:36 *** virtualrandomnumber has quit IRC ()
21:21:35 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:30:23 *** tony_pixel has joined #openttd
21:30:23 <tony_pixel> https://cdn.discordapp.com/attachments/1008473233844097104/1238604070646841374/5af.png?ex=663fe36e&is=663e91ee&hm=41837f8ee64fdc2cea4d465b217b8798d3f3e3af1b70e6727ee95a81fe960b34&
21:30:23 <tony_pixel> peter1138:
21:35:52 <silent_tempest> Lol
21:37:01 <silent_tempest> I did seriously consider posting some screen shots with Comic Sans for the lulz
21:42:31 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12652: Codechange: Use vector/string instead of malloc when reading music cat file data. https://github.com/OpenTTD/OpenTTD/pull/12652#pullrequestreview-2050910173
21:43:22 <klote> Hi does any one know if its possible to increase connection time (ticks) while the dedicated server is running?
21:43:31 <klote> and if so how?
21:43:39 <klote> is there a command i can use in the CLI?
21:47:32 <Rubidium> it's probably a setting. With `list_settings` you'll get all settings, with `list_settings network` those related to the network. I think you might be looking for `setting network.max_join_time`. Or maybe `setting network.max_download_time`
21:53:13 <peter1138> And if the map is too large, use a smaller map.
22:14:57 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
22:15:10 <peter1138> Hmm, is `#include <WinNls.h>` needed? It causes my mingw compile to fail, and if I remove it, it works...
22:18:02 <klote> peter1138: haha map size should be fine
22:18:13 <klote> 2048x2048.
22:18:26 <klote> i increased the connection time to 1000 ticks
22:18:31 <peter1138> As I say, if the map is too large, use a smaller map.
22:18:49 <klote> Eh thats like saying recreate the entire scenario
22:19:24 <klote> so it either works or it doesnt
22:20:16 <klote> but it was 1 guy who had connection issue
22:20:19 <klote> other people dint
22:20:27 <klote> so it should be fine with increased connection time
22:21:16 <silent_tempest> peter1138: Are you working on the font chooser code again?
22:21:37 <peter1138> No.
22:21:49 <peter1138> Although I have got a branch for doing font listing.
22:22:26 *** gelignite has quit IRC (Read error: Connection reset by peer)
22:23:26 <silent_tempest> Okay
22:23:52 <peter1138> I am currently looking up how to list what codepoints are available in a loaded font.
22:24:20 <peter1138> As usual Windows provides an A and W variant...
22:26:35 <silent_tempest> codepoints?
22:26:46 <silent_tempest> functions?
22:26:48 <peter1138> unicode characters.
22:27:30 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:27:35 <peter1138> Hmm, maybe I need to handle the CMAP table manually. ๐Ÿ˜ฆ
22:30:18 <peter1138> And because the Windows API is UTF-16, it needs to use surrogate pairs again to find glyphs > 65535. What a POS.
22:30:41 <peter1138> API is the wrong way around for what I want.
22:33:38 *** gelignite has joined #openttd
22:34:05 <silent_tempest> I keep hoping Microsoft's own ineptitude will shatter their monopoly and cause them to fall by the way side but it still hasn't happened :/
22:38:48 <peter1138> [1/2] Linking CXX executable openttd.exe
22:39:01 <peter1138> I'll come back in 10 minutes ๐Ÿ˜„
22:47:16 <peter1138> real 6m21.345s
22:47:18 <peter1138> Almost.
22:58:54 <_glx_> peter1138: it's for GetLocaleInfoA
22:59:24 <_glx_> hmm and the header says `// DEPRECATED: Use Unicode. GetLocaleInfoEx is preferred`
23:00:19 <peter1138> More FS2OTTD involved ๐Ÿ˜‰
23:01:45 <_glx_> well `For interoperability reasons, the application should prefer the GetLocaleInfoEx function to GetLocaleInfo because Microsoft is migrating toward the use of locale names instead of locale identifiers for new locales. Any application that runs only on Windows Vista and later should use GetLocaleInfoEx.`
23:04:47 <peter1138> Anyway...
23:04:51 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1238627848022134926/image.png?ex=663ff993&is=663ea813&hm=b50fed2c4bc058319b38120f150120049edfc2439ee8ba36378d529032e41da8&
23:04:51 <peter1138> I'm getting there.
23:05:49 <peter1138> Font order is not finalised as I haven't reimplemented the fallback system yet.
23:05:49 <_glx_> multifont system ?
23:05:53 <peter1138> Yes.
23:06:18 <_glx_> nice
23:06:30 <peter1138> The font order will vary depending on the configuration.
23:07:02 <peter1138> With nothing configured it will load [sprite, OpenTTD]
23:07:56 <peter1138> With a font specified, we can load [sprite, OpenTTD, custom font]
23:08:15 <_glx_> it looks way better when not using chinese font for ASCII
23:08:27 <peter1138> Anything not in custom font can come from OpenTTD, and if it's not there, can come from sprite.
23:08:39 <peter1138> Although OpenTTD Sans doesn't miss anything anyway.
23:09:24 <_glx_> yeah OpenTTD fonts are complete for latin looking languages and some other
23:09:24 <peter1138> Loading as [sprite, custom font, OpenTTD] is how I'm using it right now, for the nice latin characters.
23:09:54 <peter1138> Anyway, I was surprised I managed to think of how to do this, and make it (mostly) work, just today.
23:10:07 <peter1138> Seeing as how we've wanted a better fallback system for years ;D
23:10:44 <_glx_> yeah the idea of changing fonts only for missing glyphs is not new, just nobody found how ๐Ÿ™‚
23:13:41 <peter1138> Ha, and the Windows build crashed with no stacktrace, because no breakpad.
23:15:04 <_glx_> well it's a mingw build anyway so
23:15:27 <peter1138> No stack trace at all makes finding it harder ๐Ÿ˜„
23:18:57 <peter1138> Ah _script_cache is probably wrong.
23:27:15 <peter1138> _glx_: This also gets rid of the special-casing for SCC_SPRITE_START+
23:28:04 <peter1138> When those glyphs are not supported by the truetyep font, the spritefont (and fallbacklayouter) will automatically be used.