IRC logs for #openttd on OFTC at 2025-05-23
            
00:13:00 *** WormnestAndroid has quit IRC (Remote host closed the connection)
00:13:11 *** WormnestAndroid has joined #openttd
00:26:47 *** WormnestAndroid has quit IRC (Remote host closed the connection)
00:27:08 *** WormnestAndroid has joined #openttd
00:38:14 *** WormnestAndroid has quit IRC (Remote host closed the connection)
00:38:17 *** WormnestAndroid has joined #openttd
01:16:38 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
01:18:06 *** WormnestAndroid has joined #openttd
01:31:47 *** Wormnest has quit IRC (Quit: Leaving)
02:53:00 *** gnu_jj has joined #openttd
02:56:20 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
03:06:35 *** Extrems has quit IRC (Read error: Connection reset by peer)
03:08:48 *** Extrems has joined #openttd
03:18:12 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #14264: Change: Reflow text file content incrementally to avoid "hanging" https://github.com/OpenTTD/OpenTTD/pull/14264#pullrequestreview-2863037422
03:31:28 *** debdog has joined #openttd
03:31:42 *** godbed has joined #openttd
03:34:50 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
03:35:05 *** Zathras has quit IRC (Ping timeout: 480 seconds)
04:03:43 *** keikoz has joined #openttd
04:30:08 *** k-man has quit IRC (Ping timeout: 480 seconds)
04:46:03 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/321f7e86833732c4db05eff76fe9dee93855ffc0
04:46:04 <DorpsGek> - Update: Translations from eints (by translators)
04:52:31 *** k-man has joined #openttd
04:56:57 *** k-man_ has joined #openttd
05:03:38 *** k-man has quit IRC (Ping timeout: 480 seconds)
05:03:38 *** k-man_ is now known as k-man
06:10:25 *** cu-kai has quit IRC (Quit: Leaving for a bit.)
06:10:37 *** cu-kai has joined #openttd
06:17:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14292: Codechange: Use StrongType and StrongBitSet for CargoType and CargoTypes. https://github.com/OpenTTD/OpenTTD/pull/14292
06:24:39 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948#pullrequestreview-2863329932
06:25:50 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948#pullrequestreview-2863332283
06:33:22 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948#pullrequestreview-2863345971
06:35:37 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948#pullrequestreview-2863350214
06:41:35 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948#pullrequestreview-2863362171
06:41:40 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948
06:42:13 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14264: Change: Reflow text file content incrementally to avoid "hanging" https://github.com/OpenTTD/OpenTTD/pull/14264
07:37:06 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948#pullrequestreview-2863504147
07:39:00 <peter1138[d]> ooo
07:46:02 <Rubidium> yomo :)
07:46:34 *** SigHunter has quit IRC ()
07:49:23 *** SigHunter has joined #openttd
07:49:25 <peter1138[d]> Well I guess merging before any release branching helps get things tested...
07:56:53 <Rubidium> it's not like there is a great wish for a release any time soon. I haven't even seen a PR for the beta, or a mention of a feature freeze so things settle down a bit before the RC
08:02:45 <peter1138[d]> Well, I just loaded a big save and found a bug, so not merging yet.
08:10:28 *** gelignite has joined #openttd
08:13:46 <peter1138[d]> Hmm, I wonder what that 'Spiffs' patch for loads more companies does for tile ownership fields.
08:15:54 <peter1138[d]> Difficult to know what's what with all this GS and AI activity, but road ticks seems to be about 10ms less in a Xarick save. 370ns down to 360ms per tick isn't much help though.
08:17:03 <peter1138[d]> (Wasn't expecting a performance benefit, just testing that it's not brutally worse)
08:30:23 <LordAro> 370ns to 360ms doesn't sound like an improvement :p
08:30:41 <peter1138[d]> Oof.
08:30:44 <peter1138[d]> Keys
08:32:08 <DorpsGek> [OpenTTD/OpenTTD] PeterN dismissed a review for pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948#pullrequestreview-2863504147
08:32:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948
09:05:48 <peter1138[d]> Infinite loop fixed ;D
09:10:28 <LordAro> infinite loop is definitely slower than 370ms
09:13:20 <peter1138[d]> Hmm, it could just be the reduced cost of traversing an order list.
09:14:05 <pickpacket> peter1138[d]: so no longer to infinity and beyond?
09:14:18 <peter1138[d]> Traversing a linked list of up to 255 items versus a vector of 255 items.
09:14:31 <peter1138[d]> Where did you get infinity and beyond from? 😮
09:17:09 <pickpacket> peter1138[d]: Buzz Lightyear
09:17:30 <peter1138[d]> Yes I know, but I meant in applying it to this.
09:17:49 <pickpacket> only that you mentioned infinity 😛
09:32:39 <peter1138[d]> Well, infinite.
09:35:13 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948#pullrequestreview-2863828220
09:36:31 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13948: Codechange: Move ownership of Orders to OrderList. https://github.com/OpenTTD/OpenTTD/pull/13948
09:38:38 <pickpacket> peter1138[d]: infinity is infinite
09:39:20 <pickpacket> chocolate isn't infinite. That's sad
09:41:01 <peter1138[d]> Ooh, aeropress coffee time.
09:41:42 <reldred> Time to microwave last nights laksa
09:53:10 <LordAro> today's starter for 10, php decided to stop being able to connect to LDAP
09:53:26 <LordAro> https://github.com/php/php-src/issues/18529 turns out it's a PHP bug, because of course it was
09:56:20 *** gelignite has quit IRC ()
10:09:10 <kuhnovic> peter1138[d]: Oh that has been a while for me!
10:09:43 <kuhnovic> Got too used to the fully automated press-one-button-get-freshly-ground-coffee laziness
10:10:02 <peter1138[d]> I have not got that yet.
10:10:54 <kuhnovic> It's great, but there is a certain joy in using an aeropress that I do miss
10:14:25 <xarick> wow Orders are now fast
10:14:28 <xarick> let's test
10:16:38 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1375417131453251584/OcChO1u4eKcV.png?ex=68319c86&is=68304b06&hm=c41032b2f650ed261ad370d538b06a3e6457e15a771c9a7f170778633e92bed1&
10:16:58 <peter1138[d]> No, orders are not fast.
10:17:22 <xarick> oh
10:18:46 <_zephyris> Thinking about v15 features, what's incomplete? Just badges?
10:20:03 <talltyler> Infinite water 😉
10:20:34 <xarick> my stuff
10:20:45 <peter1138[d]> Definitely incomplete.
10:20:53 <xarick> unbunch for my AIs
10:21:34 <xarick> economy vehicle age
10:25:22 <xarick> I have 2 approved pr's
10:25:28 <xarick> merge? 😐
10:30:42 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #13565: Add #13519, e4c511d: [Script] Saveload and config file support for handpicked configs https://github.com/OpenTTD/OpenTTD/pull/13565
10:34:17 <xarick> oh script orders were touched
10:37:25 <xarick> what if orders are empty
10:37:36 <xarick> you removed the assert
10:39:07 *** debdog has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
10:40:00 <xarick> regression doesn't test implicit orders
10:46:16 <peter1138[d]> If you find anything broken by it, just report it as a normal issue, ideally with a minimal savegame showing the before and after.
10:48:16 <xarick> gonna verify
10:50:36 *** godbed is now known as debdog
10:54:59 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375426782282518608/image.png?ex=6831a583&is=68305403&hm=9eb068ee9eebcbf35c0193fd274028f5888a9d07545897404c5743883c1cad86&
10:54:59 <xarick> well... it doesn't match
10:55:50 <xarick> gonna test 14.1
10:56:44 <xarick> oh snap, savegame is not too odl
10:59:56 <peter1138[d]> So the mapped vehicle order index is now wrong?
11:00:26 <peter1138[d]> "Get order jump to value" doesn't make sense.
11:00:53 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375428266009296976/image.png?ex=6831a6e4&is=68305564&hm=2e789adaa6a1c626f25e31f2c2721525483734a7e62149278d7935fce3a2fb67&
11:03:29 <peter1138[d]> So just "GetOrderJumpTo" 🙂
11:04:11 <xarick> going to check what it was doing before
11:04:21 <xarick> this has changed at least 3 times this year
11:04:26 <peter1138[d]> 15.0-beta2 is "before", right?
11:05:06 <xarick> there was an implicit order fix, but conditional orders were also not that bright, i think glx fixed it, or jgr
11:10:43 <peter1138[d]> I might have broken RealOrderPositionToScriptOrderPosition(), I guess I assumed regression test would pick that up.
11:13:01 <xarick> glx commit: c6cd1a4bca8d348b71ce8fcf64373c877c4dbede
11:13:26 <xarick> when did beta2 came out, unsure if it was before or after glx
11:14:07 *** WormnestAndroid has quit IRC (Remote host closed the connection)
11:14:10 *** WormnestAndroid has joined #openttd
11:14:44 <xarick> ah, it was after. So my screenshot of beta 2 is with the correct behaviour <https://github.com/OpenTTD/OpenTTD/commit/c6cd1a4bca8d348b71ce8fcf64373c877c4dbede>
11:15:16 <xarick> as correct as it can possibly be, even though conditional orders can jump to themselves
11:19:22 <peter1138[d]> These two conversion routines can probably be simplified too.
11:38:25 <peter1138[d]> xarick: try <https://github.com/OpenTTD/OpenTTD/commit/9ee2bf9972c26803433fab67e504f8f907836d92>, it's untested beyond compiling and passing regression test.
11:53:30 <_glx_> Oh nice magic with `operator|`
11:57:27 <peter1138[d]> Hmm, actually I think `it.base()` would be nicer than `&*it`, assuming it returns me to the std::span iterator after the view.
12:07:42 <xarick> back, gonna test
12:08:37 <LordAro> _glx_: that's the whole "thing" with ranges
12:11:32 <xarick> nop, it's wrong somehwere
12:12:10 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375446206725095526/image.png?ex=6831b79a&is=6830661a&hm=53a21e43e82319fe7616805090e890b3dc82a485889a27516822b1c9b68c643e&
12:12:10 <xarick> unles I copy pasted into the wrong place
12:13:47 <peter1138[d]> What about `RealOrderPositionToScriptOrderPosition()`?
12:14:09 <xarick> oh, forgot to paste there
12:14:12 <xarick> my bad
12:15:22 <xarick> i dont know how to access single commits
12:15:55 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375447148677562519/image.png?ex=6831b87a&is=683066fa&hm=e8067b603e3da949da033ebbbf50f56e3cd69d74f0aba87a1e1a9f73f9acf80b&
12:15:55 <xarick> nice, it works
12:21:56 <peter1138[d]> Excellent.
12:52:58 <DorpsGek> [OpenTTD/OpenTTD] glx22 updated pull request #14293: Codechange: TicToc can now accumulate and output every tick https://github.com/OpenTTD/OpenTTD/pull/14293
13:28:05 *** Flygon has quit IRC (Read error: Connection reset by peer)
13:56:28 <xarick> are you PRing it?
13:56:42 <xarick> the order fixes
14:41:57 <peter1138[d]> <https://www.reddit.com/r/cpp/comments/1kt5pts/is_banning_the_use_of_auto_reasonable/>
14:43:05 <xarick> oops, almost forgot stuff changed overnight 'next': is not a member of 'Order'
14:47:50 <xarick> auto everywhere is bad
14:48:03 <xarick> makes searching hard
14:50:54 <xarick> how to iterate orders, need to copy paste
14:51:18 <xarick> oh, seems simple
15:05:15 <xarick> moment of truth
15:05:35 <xarick> iterating orderlist vs iterating group vehicle list
15:06:24 *** Wormnest has joined #openttd
15:06:39 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375490115165622314/image.png?ex=6831e07e&is=68308efe&hm=a57f5592a8fcbe8287b4f4fbd35952932d9772a841a7ca0f41a2131333b33c5b&
15:06:39 <xarick> looks like I win
15:08:44 <xarick> lets try another save
15:47:08 <peter1138[d]> What did you win?
15:50:57 <xarick> https://github.com/OpenTTD/OpenTTD/commit/b1fbaa35a334872c11ee05cf54c070dd2cbfdcf8#diff-45e9239b447d5c6efa6bcad7bdb123d0a2c8931e579c38aaac5820e38a3a2935L65-R77
15:52:42 <xarick> looks like hog doesn't use ScriptVehicleList_Station
15:52:49 <xarick> gonna try other AIs
15:56:09 <peter1138[d]> Surprised you're not adding vehicle lists to everything :p
15:56:25 <peter1138[d]> What's a bit of RAM...
15:59:55 <xarick> oh, I didn't update `ScriptVehicleList(HSQUIRRELVM vm)`
16:00:09 <xarick> because of FreeWagons... they're not addable to groups
16:07:44 <xarick> these templates for FillList... I don't know how to use them
16:13:30 <_glx_> just look how they are already used
16:13:36 <_glx_> easy to figure out
16:18:47 <xarick> i think the waypoint list could be improved
16:24:38 <xarick> oh... road waypoints stuff required
16:24:44 <xarick> to do what I wanna do
16:34:46 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14294: Fix 0455627d16: Incorrect script order position mapping. https://github.com/OpenTTD/OpenTTD/pull/14294
16:44:32 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13993: Add: Player configuration of badge display. https://github.com/OpenTTD/OpenTTD/pull/13993
16:44:43 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14021: Add: Filtering over badges by dropdown list selection. https://github.com/OpenTTD/OpenTTD/pull/14021
16:55:33 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375517522039672964/image.png?ex=6831fa05&is=6830a885&hm=9df691086e7fdb9d06cb822205b3b6ad290be411fb754d6e893b724dc9f613bd&
16:55:33 <xarick> The Any seems wrong
16:55:53 <xarick> how do I test for 2 bits?
16:55:56 *** johnfranklin has joined #openttd
16:56:02 <xarick> and must have both
16:56:07 <xarick> to return true
16:57:20 <xarick> `WAYPOINT_ROAD = ::StationFacilities{::StationFacility::TruckStop, ::StationFacility::BusStop}.base(), ///< Road waypoint`
16:57:25 <xarick> because these take 2 bits
16:58:26 <jfkuayue> https://cdn.discordapp.com/attachments/1008473233844097104/1375518247746535535/image.png?ex=6831fab2&is=6830a932&hm=850510b56809d89c8137e2ef3e9165d2624530420359d5a9dade1a05c7a63061&
16:58:37 <xarick> hah
16:59:16 <johnfranklin> Blame Thunderbird IRC Client
16:59:20 <_glx_> fancy IRC client ?
16:59:44 <peter1138[d]> It's just not irssi.
17:02:51 <_glx_> maybe `if (!HasExactlyOneBit(waypoint_type) && waypoint_type != WAYPOINT_ROAD) return false;`
17:04:18 <_glx_> still generic with an extra special case
17:07:05 <xarick> is the facilities.Any test wrong?
17:07:14 <xarick> should it be facilities.All?
17:07:25 <xarick> or facilities.Test?
17:08:44 <xarick> I'm going with All
17:11:42 <_glx_> Any is fine
17:14:32 *** gelignite has joined #openttd
17:19:13 *** kuka_lie has joined #openttd
17:20:36 *** johnfranklin has quit IRC (Quit: johnfranklin)
17:21:26 <xarick> wish there was a mapping from facility to vehicle type
17:21:55 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375524158770905228/image.png?ex=68320033&is=6830aeb3&hm=b6a5fbe4b2acd899ef734cd3b4a1287d756bcd262a933d989722a9ef684d6d33&
17:21:55 <xarick> this looks ugly
17:25:46 <xarick> hmm... i'm reverting
17:26:56 <xarick> if the waypoint is a ghost
17:27:00 <xarick> this would crash
17:27:20 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic updated pull request #14289: Codechange: Use strong types for water regions. https://github.com/OpenTTD/OpenTTD/pull/14289
17:27:42 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic commented on pull request #14289: Codechange: Use strong types for water regions. https://github.com/OpenTTD/OpenTTD/pull/14289#pullrequestreview-2865188425
17:29:19 <DorpsGek> [OpenTTD/OpenTTD] github-advanced-security[bot] commented on pull request #14021: Add: Filtering over badges by dropdown list selection. https://github.com/OpenTTD/OpenTTD/pull/14021#pullrequestreview-2865194871
17:31:33 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic commented on pull request #14289: Codechange: Use strong types for water regions. https://github.com/OpenTTD/OpenTTD/pull/14289#pullrequestreview-2865203646
17:32:09 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic updated pull request #14289: Codechange: Use strong types for water regions. https://github.com/OpenTTD/OpenTTD/pull/14289
17:34:49 <andythenorth> deep water regions 😛
17:35:03 <andythenorth> no narrow boats
17:36:17 <peter1138[d]> No triremes.
17:36:36 <LordAro> :D
17:37:24 <xarick> strange, openttd stopped outputting log in the console
17:38:37 <andythenorth> no coracles
17:41:38 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic updated pull request #14290: Codechange: Removed T prefix from water region related types. https://github.com/OpenTTD/OpenTTD/pull/14290
17:41:51 <kuhnovic> That's enough water region spam for today (or for now at least)
17:45:34 <xarick> maybe i should use your debugger
17:46:01 <kuhnovic> No I need mine, you can't have it
17:56:00 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375532734461513860/image.png?ex=68320830&is=6830b6b0&hm=1c9678966515161beaf0822f0e3dcbe254d65ec03202f0c443e715a432b51d5e&
17:56:00 <xarick> erm... this looks suspiciously wrong
17:59:38 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375533651017728021/image.png?ex=6832090a&is=6830b78a&hm=4a9276a0211fdcf5d67f5e23c6fa8861a5cef71b6ec436bf0060404d18bd918a&
17:59:38 <xarick> now I'm spammed
17:59:47 <peter1138[d]> Hmm, why is it not allowed for a script to call SetPresidentGender() with the same gender?
18:00:19 <_glx_> does the command fail?
18:00:47 <peter1138[d]> `EnforcePrecondition(false, GetPresidentGender(ScriptCompany::COMPANY_SELF) != gender);`
18:03:15 <_glx_> hmm indeed command is fine if gender is the same, but it's useless to call it for no change
18:03:46 <_glx_> I think GUI also prevent that for human
18:04:29 <peter1138[d]> It's useless to call it, but is it an error? Or is `EnforcePrecondition` just a no-op?
18:13:55 <peter1138[d]> Huh, that wasn't meant to be a draft.
18:13:57 <Rubidium> it will return false and set the error message
18:16:17 <Rubidium> and for scripts maybe more importantly, if you set the same gender you'll get the error in the same tick instead you having to wait for the next tick you're allowed to run to know the answer
18:30:10 *** WormnestAndroid has quit IRC (Remote host closed the connection)
18:31:34 *** WormnestAndroid has joined #openttd
18:31:59 *** akimoto has joined #openttd
18:38:55 <peter1138[d]> > Variable _ is not used.
18:38:56 <peter1138[d]> Thanks 😄
18:41:24 <xarick> can there be a 3rd TicToc option
18:42:03 <xarick> otherwise this is a bit spammy
18:53:22 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #14289: Codechange: Use strong types for water regions. https://github.com/OpenTTD/OpenTTD/pull/14289#pullrequestreview-2865420367
18:53:46 *** kale91 has joined #openttd
18:53:46 <kale91> would there ever be a way to make town name newgrfs load in retroactively and still be usable? Currently they only seem to work if you load them in with the heightmap world generation screen
18:54:34 <kale91> this has happened to me many times where you create or partly edit a whole scenario and realize you forgot the town name newgrf, so you're just stuck with the vanilla names
18:54:44 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #14294: Fix 0455627d16: Incorrect script order position mapping. https://github.com/OpenTTD/OpenTTD/pull/14294#pullrequestreview-2865424320
18:54:47 <kale91> unless there's something Im missing
18:54:48 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic merged pull request #14289: Codechange: Use strong types for water regions. https://github.com/OpenTTD/OpenTTD/pull/14289
18:55:02 <peter1138[d]> They also work fine if you use them for normal map generation and scenario generation.
18:55:26 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14294: Fix 0455627d16: Incorrect script order position mapping. https://github.com/OpenTTD/OpenTTD/pull/14294
18:55:39 <kale91> it does but I have to reload a heightmap in the scenario editor for it to work
18:55:49 <kale91> and that would erase any work you've done creating the scenario
18:56:45 <kale91> being able to input it after the fact would allow you to just input the townname newgrf in the scenario editor and then use the town generation manu to populate the map
18:57:26 <peter1138[d]> Right, I just mean you "they only seem to work if" isn't covering the normal cases.
18:58:18 <peter1138[d]> Town names are part of the newgame configuration, so do need to be set up befure you initially create anything.
18:59:20 <kale91> right I'm aware, just saying it would be nice if it could be edited while editing a scenario and not only before generation
18:59:34 <kale91> regardless of what's considered normal here
19:00:13 *** WormnestAndroid has quit IRC (Remote host closed the connection)
19:01:46 *** WormnestAndroid has joined #openttd
19:01:52 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic updated pull request #14290: Codechange: Removed T prefix from water region related types. https://github.com/OpenTTD/OpenTTD/pull/14290
19:15:27 <peter1138[d]> Neat, it's working 😄
19:19:15 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #14290: Codechange: Removed T prefix from water region related types. https://github.com/OpenTTD/OpenTTD/pull/14290#pullrequestreview-2865481795
19:19:23 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375553717402599544/image.png?ex=68321bba&is=6830ca3a&hm=a65f5f4a365f5411403d4666cddc55ff2fa68da14affae76b04ea9f83df8d2a0&
19:19:23 <xarick> i just accidentally clicked exit openttd when i wanted to click generate 😦
19:27:16 <xarick> random ui design problem 😛
19:31:37 <xarick> but the button is large, so 99% my fault
19:41:06 <xarick> making TicToc slow
19:42:49 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1375559617953792051/image.png?ex=68322139&is=6830cfb9&hm=a8d65305b17514d44997a8f018f548faf2a7a1a48e4cd39e401f393d80b26c2b&
19:42:49 <peter1138[d]> When your fake-greenscreen isn't working...
19:45:19 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
19:50:32 <xarick> making one tiny change in debug.h triggers 465 files being compiled
19:50:47 <xarick> I need a 16 core cpu
19:51:03 <peter1138[d]> Because 465 files depend on debug.h.
19:52:59 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
19:58:36 <xarick> I just made TicToc better, I promise! `static TicToc::State state("ScriptVehicleList", Ticks::DAY_TICKS, true);`
19:59:05 *** WormnestAndroid has joined #openttd
19:59:07 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1375563716447174727/image.png?ex=6832250a&is=6830d38a&hm=8b8d4117e2896c830685e024d88e6e4bf46cc8c3841c473a6dda075053495634&
19:59:07 <peter1138[d]> Getting there.
20:00:08 <xarick> nice looking face
20:00:19 <xarick> AI upscaled?
20:00:37 <peter1138[d]> Not by me. I would never.
20:00:50 <peter1138[d]> But Zephyris might've done. In which case we might need to replace it...
20:01:29 <peter1138[d]> Although that is not quite the same thing as AI slop fabricating things.
20:03:30 <peter1138[d]> Hmm, should I use that toggle button for, uh, toggles?
20:03:43 <peter1138[d]> Earring/Glasses/Mustache...
20:05:10 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #13993: Add: Player configuration of badge display. https://github.com/OpenTTD/OpenTTD/pull/13993#pullrequestreview-2865540405
20:06:46 <_glx_> Rubidium: actually you don't get any error from the command if setting the same gender, so the script just wastes a tick doing it while the precondition returns immediatly
20:08:23 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1375566051357753395/image.png?ex=68322737&is=6830d5b7&hm=0afe9dcab34838cf92f1ba7f45ff0c78de05fc7235aa7c796beb48075f11ae9e&
20:08:23 <peter1138[d]> Too much like a setting? hehe
20:09:07 <peter1138[d]> (Also they're all left aligned, silly me)
20:10:01 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375566461447176292/image.png?ex=68322799&is=6830d619&hm=c10260d9a8de8a015997626bdb4430eb4399431f44bbf28a367cb3c56afd7108&
20:10:01 <xarick> my attempt at debug.h, I like this better
20:10:16 <xarick> [GameTick] is not a GameTick
20:10:42 <xarick> it's a
20:11:03 <xarick> hmm my english
20:13:01 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1375567217847963648/image.png?ex=6832284d&is=6830d6cd&hm=259e5ac9496f99f82cfe52d5f43c595f415be6e5849904f8e8954da199996618&
20:13:01 <peter1138[d]> Well, she's changed a bit 🙂
20:16:50 <xarick> how do I edit strings
20:16:58 <xarick> it's not like in squirrel
20:17:17 <xarick> prefix + "my_extra_text"
20:31:12 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
20:36:27 *** WormnestAndroid has joined #openttd
20:45:16 <goddess_ishtar> peter1138[d]: this is unsettlingly realistic
20:45:31 <peter1138[d]> Blame Zeph 🙂
20:46:05 <dwfreed> real uncanny valley vibes
21:06:29 *** akimoto has quit IRC (Remote host closed the connection)
21:11:45 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:17:24 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375583420582858782/image.png?ex=68323764&is=6830e5e4&hm=aee38bb123321f58d078fc9aac14498b6558aad946557ca57b2d249c5d9e0b5a&
21:17:25 <xarick> how to convince devs to cache vehicle lists in groups /brokenrecord
21:18:43 <xarick> maybe stations should cache them too 🙂
21:19:11 <xarick> BaseStation
21:24:59 <_glx_> well script can cache thata
21:25:39 <_glx_> they are the only one able to modify the content anyway
21:27:22 <_glx_> (minus autoreplace/renew of course)
21:29:36 *** tokai has joined #openttd
21:29:36 *** ChanServ sets mode: +v tokai
21:43:53 *** tokai|noir has joined #openttd
21:43:53 *** ChanServ sets mode: +v tokai|noir
21:44:03 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1375590126654329033/image.png?ex=68323da3&is=6830ec23&hm=573bfdd41035f1cbb9c3ca6de6f9659476ac9110a79db85ab3294b79fb8b7af9&
21:44:03 <xarick> I'd like glx to make an AI
21:45:13 <xarick> maybe there is a way
21:45:18 <xarick> but I can't see
21:46:36 <xarick> there's a vehicle autoreplace event but I didn't give it much though
21:50:50 *** tokai has quit IRC (Ping timeout: 480 seconds)
21:51:33 <xarick> how could I implement that event in my AI
21:52:47 <xarick> Id need to have every route access EventTypes
21:53:57 <xarick> get the old vehicle_id, find which route it belongs to
21:54:24 <xarick> change the id even if I'm managing a completely unrelated route
21:54:34 <xarick> on said route
22:04:08 <xarick> let's say, I have 500 routes, I manage route number 1, containing its own AIList of vehicle ids.
22:04:08 <xarick> I need to check the vehicles of this route if they're unprofitable or so, but to make sure the vehicle ids are still valid, I run from within route 1 a check on events for the vehicle autoreplace. Imagine it finds one id replaced. Now I need to find which of my 500 routes the vehicle which had the id replaced it belongs to. So I iterate up to 500 routes to also iterate their respective AIList of
22:04:08 <xarick> vehicles to get it updated. Only then, I can continue checking for unprofitable vehicles on route 1.
22:06:35 <xarick> doable, but ...
22:07:02 <xarick> those ppl who use 10k max ops
22:07:20 <xarick> meh... it's gonna be bad
22:09:14 *** jinks has quit IRC (Quit: ZNC - http://znc.in)
22:09:37 *** jinks has joined #openttd
22:13:28 <xarick> it's my big detractor for using ScriptVehicleList_Group
22:14:18 <xarick> I resorted to ScriptVehicleList_Station which has been changed to iterate OrderLists
22:15:29 <xarick> i get 63 us average on that example save
22:17:10 <xarick> and 50 us average on the group vehicle list cache branch
22:18:08 <xarick> I would in a heartbeat move away from ScriptVehicleList_Station to ScriptVehicleList_Group
22:18:58 <xarick> turn those 63 us or 50 us into 1 us
22:38:07 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1375603730493341815/Screencast_from_2025-05-23_23-37-31.webm?ex=68324a4e&is=6830f8ce&hm=0236905f328229f4b24463977f6c69d79af90ebb354e80f550495611cf1374ff&
22:38:07 <peter1138[d]> Cursed
22:41:06 *** kuka_lie has quit IRC (Quit: Lost terminal)
23:09:36 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1375611654104158290/Screencast_from_2025-05-24_00-08-52.webm?ex=683251af&is=6831002f&hm=943dfe2a94eebab8723f934ae1581d83501df1cb0aa9729d1e89828f693443d4&
23:09:36 <peter1138[d]> I dunno.
23:11:29 <peter1138[d]> Oh okay, sleep.
23:34:39 *** Flygon has joined #openttd
23:39:11 *** tony_pixel has joined #openttd
23:39:11 <tony_pixel> peter1138[d]: rectangle sliders!!
23:43:31 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
23:44:12 *** WormnestAndroid has joined #openttd
23:44:14 *** WormnestAndroid has quit IRC (Remote host closed the connection)
23:44:22 *** WormnestAndroid has joined #openttd