IRC logs for #openttd on OFTC at 2025-05-12
            
00:32:58 *** Flygon has quit IRC (Read error: Connection reset by peer)
00:44:56 *** OpenTTD_User has joined #openttd
00:45:58 <OpenTTD_User> Hi ) please add function for rotation map in OpenTTD , now all in 3D , but OpenTTD not support ed rotate map and this not comfortably
00:48:29 *** _glx_ has joined #openttd
00:48:29 <_glx_> won't happen
00:48:40 <_glx_> it's a 2D game
01:13:12 <OpenTTD_User> Yes , I known , but will be better if in this game will add rotation map )
01:14:13 <OpenTTD_User> Because now if you have 2800 trains , hard do new routes )
01:30:08 <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #14253: Codechange: Use GrfSpecFeature type instead of uint8_t. https://github.com/OpenTTD/OpenTTD/pull/14253#pullrequestreview-2831605484
01:39:31 *** tokai has joined #openttd
01:39:31 *** ChanServ sets mode: +v tokai
01:46:25 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
02:01:13 *** Wormnest has joined #openttd
02:02:00 *** Wormnest has quit IRC ()
02:19:48 *** wensimehrp has joined #openttd
02:19:48 <wensimehrp> locomotion and openrct2 have map rotating
02:41:53 *** yiffgirl has joined #openttd
02:41:53 <yiffgirl> https://cdn.discordapp.com/attachments/1008473233844097104/1371316419819470888/image.png?ex=6822b170&is=68215ff0&hm=d2ec7b95aa95c7cfa80b472ab1cb364a891c643a0b91d779488f75d4e6468569&
02:41:53 <yiffgirl> just got a crash. no log or anything, just froze and then g-
02:41:53 <yiffgirl> wait wtf it's still open
02:42:08 <yiffgirl> pegging a core
02:47:11 <yiffgirl> https://cdn.discordapp.com/attachments/1008473233844097104/1371317756686762045/image.png?ex=6822b2af&is=6821612f&hm=274df8bbb6634332f39c17c8ac1d760355a46efd21062deb96c5ee9edf388856&
02:47:11 <yiffgirl> after sending it a STOP signal
02:47:39 *** alexanderfxe4125_yt has joined #openttd
02:47:39 <alexanderfxe4125_yt> Well
02:47:41 <yiffgirl> what do i do from here?
02:48:28 <alexanderfxe4125_yt> What is the code for an industry?
02:55:30 <yiffgirl> alexanderfxe4125_yt: you mean the source code? that's on github
02:55:37 *** gnu_jj_ has joined #openttd
02:58:53 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
03:20:45 *** OpenTTD_User has quit IRC (Quit: Page closed)
04:06:56 *** keikoz has joined #openttd
04:47:46 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/2516c435b711b56c530db0e44575890c6702e5a7
04:47:47 <DorpsGek> - Update: Translations from eints (by translators)
07:18:43 <DorpsGek> [OpenTTD/survey-web] survey-summary[bot] pushed 1 commits to main https://github.com/OpenTTD/survey-web/commit/d41b5a7b32c082243c2545f1ba282268d8b60b75
07:18:44 <DorpsGek> - Add: summary for week 19 of 2025 (by OpenTTD Survey)
07:40:27 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14124: Change: Remove extra close buttons from some windows. https://github.com/OpenTTD/OpenTTD/pull/14124#issuecomment-2871245143
07:44:42 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14253: Codechange: Use GrfSpecFeature type instead of uint8_t. https://github.com/OpenTTD/OpenTTD/pull/14253
08:12:12 <DorpsGek> [OpenTTD/OpenTTD] zephyris commented on pull request #14124: Change: Remove extra close buttons from some windows. https://github.com/OpenTTD/OpenTTD/pull/14124#issuecomment-2871348822
08:25:35 <peter1138[d]> yiffgirl: Attach a debugger and get a backtrace.
08:27:14 <xarick> hi
08:41:17 <xarick> i got a crash getting a list of available trains
08:41:42 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1371406973165240321/message.txt?ex=682305c5&is=6821b445&hm=db22c7cbc808c2ec37f27d15a6f2db72174a3c32b4b517f947b0e4dac3290ae1&
08:52:44 <peter1138[d]> See #14252
09:02:56 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14254: Change: Remove Apply button from NewGRF config window when unneeded. https://github.com/OpenTTD/OpenTTD/pull/14254
09:03:12 <xarick> nice, it fixes it, merge asap! πŸ˜›
09:15:36 *** Flygon has joined #openttd
09:16:17 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14252: Fix #14251, a277cb2: [NewGRF] Increase TextRefStack to support 16 registers https://github.com/OpenTTD/OpenTTD/pull/14252#issuecomment-2871712826
09:16:18 *** gnu_jj has joined #openttd
09:16:29 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #14254: Change: Remove Apply button from NewGRF config window when unneeded. https://github.com/OpenTTD/OpenTTD/pull/14254#pullrequestreview-2832485320
09:19:35 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
09:21:12 <xarick> iron horse has an overcapacity problem with mail
09:28:37 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14254: Change: Remove Apply button from NewGRF config window when unneeded. https://github.com/OpenTTD/OpenTTD/pull/14254#pullrequestreview-2832522389
09:29:30 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #14254: Change: Remove Apply button from NewGRF config window when unneeded. https://github.com/OpenTTD/OpenTTD/pull/14254#pullrequestreview-2832525308
09:44:24 <xarick> how smart is wagon autoremoval
09:51:46 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1371424606749069312/image.png?ex=68231632&is=6821c4b2&hm=929708a17702cb7add0fd7e468c83851e410e322da0e57938d1c188f007908ca&
09:51:46 <xarick> dereferencing NULL, is this bad?
09:52:12 <LordAro> good grief.
09:56:14 <peter1138[d]> Whatever you're doing, stop doing it.
09:56:45 <peter1138[d]> Also, hot again.
09:57:58 <xarick> didn't do anything, it's just a warning
09:58:07 <xarick> no code changed
10:11:15 <xarick> found another bug related to loan
10:12:13 <xarick> click borrow loan / repay loan
10:12:19 <xarick> as a human
10:12:25 <xarick> and it doesn't bulge
10:19:30 <DorpsGek> [OpenTTD/OpenTTD] frosch123 opened pull request #14255: Fix #14251: Out-of-bounds writes via TextRefStack. https://github.com/OpenTTD/OpenTTD/pull/14255
10:20:50 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #14252: Fix #14251, a277cb2: [NewGRF] Increase TextRefStack to support 16 registers https://github.com/OpenTTD/OpenTTD/pull/14252#issuecomment-2871942268
10:25:17 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #14255: Fix #14251: Out-of-bounds writes via TextRefStack. https://github.com/OpenTTD/OpenTTD/pull/14255#pullrequestreview-2832719486
10:25:23 <peter1138[d]> "It looks fine"
10:26:12 <peter1138[d]> But yeah, there was an overflow, and then the actual usage didn't bounds check either.
10:39:36 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1371436642673623051/image.png?ex=68232167&is=6821cfe7&hm=7a0b1d879ac3c28a2bb7123c52fd116704754122c8306a6d3e4bb88bd33756cd&
10:39:36 <xarick> autoreplace not smart enough 😦
10:40:15 <xarick> replaced 12 large with 12 small
10:40:37 <xarick> I expected replace 12 large to more than 12 small and maintain train size
10:40:51 <xarick> by tile size
10:43:49 <xarick> going back to manual replace 😦
10:52:53 <xarick> understandable, it can't guess which cargo types to change
10:58:14 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1371441335172730992/image.png?ex=682325c6&is=6821d446&hm=8f5505a845ac4a1106ab40746b8ca085ef63f438c08dcc3cc9c0e6aad51a4708&
10:58:14 <xarick> andythenorth: Iron Horse causing some stalls every few days
10:58:24 <xarick> map is small 256x256
11:00:51 <xarick> 230 ms hiccupts
11:01:46 *** andythenorth has joined #openttd
11:01:46 <andythenorth> xarick: your AI could do that πŸ™‚
11:01:56 <andythenorth> or use JGRPP
11:02:39 <andythenorth> Iron Horse causing stalls is entirely unsuprising....if anyone graphed the call stack for Iron Horse use of vars, it would be 'interesting'
11:03:34 <_glx_> Weird thing is the gameloop peak matches RV peak
11:08:09 <andythenorth> no RVs in Horse πŸ˜›
11:08:15 <andythenorth> is the reporting wrong?
11:08:37 <xarick> rv peak is ~4ms
11:59:37 <DorpsGek> [OpenTTD/OpenTTD] frosch123 merged pull request #14255: Fix #14251: Out-of-bounds writes via TextRefStack. https://github.com/OpenTTD/OpenTTD/pull/14255
11:59:40 <DorpsGek> [OpenTTD/OpenTTD] frosch123 closed issue #14251: [Crash]: Crash opening vehicle purchase menu https://github.com/OpenTTD/OpenTTD/issues/14251
11:59:43 <DorpsGek> [OpenTTD/OpenTTD] frosch123 closed pull request #14252: Fix #14251, a277cb2: [NewGRF] Increase TextRefStack to support 16 registers https://github.com/OpenTTD/OpenTTD/pull/14252
12:27:36 <DorpsGek> [OpenTTD/OpenTTD] bjornwarmedal commented on issue #14101: [Bug]: Multiplayer disconnections due to desynchronization https://github.com/OpenTTD/OpenTTD/issues/14101
12:29:11 <pickpacket> I haven't been around much lately. Have there been any discussions about a target release date for 15.0?
12:35:03 *** talltyler has joined #openttd
12:35:03 <talltyler> I don’t believe we have discussed it. We definitely need another beta first. πŸ™‚
12:40:33 <_glx_> yup it's unsafe to release a "stable" version
12:40:50 <LordAro> could do RC1
12:41:34 <_glx_> RC1 means branching first
12:42:59 <_glx_> with all the recent changes a beta makes more sense
13:06:50 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14254: Change: Remove Apply button from NewGRF config window when unneeded. https://github.com/OpenTTD/OpenTTD/pull/14254
13:17:02 <pickpacket> anything specific we're uncertain about? I feel like the more changes keep coming in the less safe it's going to be :D Prioritise bug fixes, maybe?
13:29:09 *** Flygon has quit IRC (Read error: Connection reset by peer)
13:29:56 *** WormnestAndroid has quit IRC (Remote host closed the connection)
13:30:15 *** WormnestAndroid has joined #openttd
13:33:39 <xarick> i wanted unbunch
13:37:35 <xarick> my requests for 15.0:
13:38:46 <andythenorth> talltyler: I should stop extending Horse and ship a v4 beta
13:39:06 <andythenorth> maybe that would encourage 15-beta badge testing πŸ˜›
13:39:18 <andythenorth> pff major versions of grfs though...aren't possible any more
13:40:38 *** WormnestAndroid has quit IRC (Remote host closed the connection)
13:40:40 *** WormnestAndroid has joined #openttd
13:40:50 <xarick> 13476, 12249
13:40:56 <xarick> the rest can wait
13:54:49 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14124: Change: Remove extra close buttons from some windows. https://github.com/OpenTTD/OpenTTD/pull/14124
14:20:11 <DorpsGek> [OpenTTD/OpenTTD] glx22 updated pull request #13473: Change: [Script] Replace ScriptDate with ScriptEconomyDate and ScriptCalendarDate https://github.com/OpenTTD/OpenTTD/pull/13473
14:23:57 *** _zephyris has joined #openttd
14:23:57 <_zephyris> peter1138[d]: Feel like poking mastadon OSS about this font design, like you did before for the sans? https://github.com/OpenTTD/OpenTTD-TTF/pull/10
14:24:21 <_zephyris> Would be nice to call the hebrew done for 15
14:27:56 *** nielsm has joined #openttd
14:34:55 <talltyler> andythenorth: I would enjoy playing with badges, still haven't actually tried them out πŸ™‚
14:39:39 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened issue #14256: [Bug]: Burrow and Repay Loan buttons do not refresh https://github.com/OpenTTD/OpenTTD/issues/14256
14:45:14 <xarick> what is ScriptGroup::GetNumEngines useful for
14:59:55 <_glx_> estimate autoreplace cost of a group ?
15:02:22 *** Flygon has joined #openttd
15:04:42 *** kuka_lie has joined #openttd
15:07:44 <xarick> no AI uses this function, just searched
15:07:55 <xarick> except regression
15:11:51 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1371505157027659866/image.png?ex=68236136&is=68220fb6&hm=f52d7c4a1c4c6e7f4169100bc740e6741d94dbd7a747cc3ef7df2bc03a43558b&
15:11:51 <xarick> what are these icons representing
15:14:06 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1371505726341517434/image.png?ex=682361be&is=6822103e&hm=14c62b4a7f98c1e64061ab15fb652385d71e90268713ab82ce35032d1ed67c2b&
15:14:47 <xarick> is it the auto replace protection symbol?
15:29:08 <_glx_> yes symbols are protection|active|profit
15:31:10 <_zephyris> No support for badges in NML master, right?
15:46:02 *** Wormnest has joined #openttd
16:14:09 <_glx_> only <https://github.com/OpenTTD/nml/pull/359>
16:18:37 <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened pull request #14257: Fix 3cf9b159: Incorrect tile colour in smallmap for snowy MP_CLEAR tiles in vegetation mode https://github.com/OpenTTD/OpenTTD/pull/14257
16:18:40 *** gelignite has joined #openttd
16:38:18 <andythenorth> 359 works so far
16:38:23 <andythenorth> been using it for months
16:50:18 *** akimoto has joined #openttd
16:51:08 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #14257: Fix 3cf9b159: Incorrect tile colour in smallmap for snowy MP_CLEAR tiles in vegetation mode https://github.com/OpenTTD/OpenTTD/pull/14257#pullrequestreview-2833884485
17:04:47 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #14257: Fix 3cf9b159: Incorrect tile colour in smallmap for snowy MP_CLEAR tiles in vegetation mode https://github.com/OpenTTD/OpenTTD/pull/14257
17:14:36 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1371536049192571000/image.png?ex=68237dfc&is=68222c7c&hm=1708eacdd960638fefa3bb4722c02bca1f7937652bbeb7dbd3c689d34455778a&
17:14:36 <xarick> I'm confused
17:15:36 <xarick> if I don't want vehicles to be renewed, autoreplace protection must be enabled
17:16:01 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
17:16:42 <xarick> if not false && false different than not false
17:17:57 <xarick> i rather just go with true/false words
17:19:36 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1371537308527886356/image.png?ex=68237f28&is=68222da8&hm=ad6d01380814df7e685133097567c58e2fd8c933ebd6a5e4603914eb0eaea9fb&
17:26:10 <xarick> didn't work
17:26:16 <xarick> vehicle was renewed
17:26:22 <xarick> what am I doing wrong
17:27:54 <xarick> it was autorenewed upon entering depot, then manually sold
17:28:12 <xarick> the main goal was to just sell
17:28:18 <xarick> renewing wasn't supposed to happen
17:30:26 <xarick> does me entering the AI company affect the results of autorenew?
17:31:41 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
17:32:15 *** WormnestAndroid has joined #openttd
17:52:47 <_glx_> autorenew doesn't use autoreplace protection
17:53:08 <_glx_> because it's independant
17:53:43 <_glx_> if you want to prevent autorenew you need to disable it
17:58:07 <DorpsGek> [OpenTTD/OpenTTD] James103 commented on issue #14256: [Bug]: Burrow and Repay Loan buttons do not refresh https://github.com/OpenTTD/OpenTTD/issues/14256
18:00:03 *** Wolf01 has joined #openttd
18:00:04 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
18:02:07 *** WormnestAndroid has joined #openttd
18:14:24 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #14256: [Bug]: Burrow and Repay Loan buttons do not refresh https://github.com/OpenTTD/OpenTTD/issues/14256
18:27:34 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
18:28:50 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14258: Fix #14256, dfd9fbf873: Company finance windows not updated when paused. https://github.com/OpenTTD/OpenTTD/pull/14258
18:30:11 *** WormnestAndroid has joined #openttd
18:30:45 <peter1138[d]> Alternative idea, make all window dirtying deferred...
18:32:30 <peter1138[d]> (Although the "set a bit now, invalidate multiple widgets later" approach is likely more effective here.)
18:33:03 *** akimoto has quit IRC (Ping timeout: 480 seconds)
18:38:53 <peter1138[d]> ((Of course, the dirty blocks system is kinda deferred already))
18:59:05 *** felix_ has joined #openttd
19:00:41 *** felix has quit IRC (Ping timeout: 480 seconds)
19:30:49 *** WormnestAndroid has quit IRC (Read error: No route to host)
19:44:36 *** WormnestAndroid has joined #openttd
19:47:11 <peter1138[d]> Well.
19:56:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14259: Fix 0829604b4f: Dragging of selected order was still not possible. https://github.com/OpenTTD/OpenTTD/pull/14259
20:08:29 <xarick> ` if (AIVehicle.GetState(vehicle_id) != AIVehicle.VS_CRASHED && !AIVehicle.IsStoppedInDepot(vehicle_id) && AIOrder.IsCurrentOrderPartOfOrderList(vehicle_id)) {`
20:08:29 <xarick> this check is incomplete.
20:08:46 <xarick> there can be automatic service orders
20:11:55 <xarick> AIOrder.GetOrderFlags(vehicleID, ORDER_CURRENT)
20:11:55 *** WormnestAndroid has quit IRC (Remote host closed the connection)
20:13:27 *** WormnestAndroid has joined #openttd
20:27:31 <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #14260: Change: [Script] ScriptVehicleList_Station accepts an optional VehicleType parameter https://github.com/OpenTTD/OpenTTD/pull/14260
20:28:08 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
20:28:51 *** WormnestAndroid has joined #openttd
20:33:48 <xarick> nice, but not gonna be as mask of vehicle types I'm interested in?
20:35:32 <xarick> Detecting the right kind of order is actually difficult.
20:39:15 *** gelignite has quit IRC ()
20:42:43 *** kuka_lie has quit IRC (Ping timeout: 480 seconds)
20:46:41 <_glx_> if you want more than one vehicle types you can combine lists
20:47:58 <xarick> how to check existing order flags
20:49:21 <_glx_> AIOrder.GetOrderFlags()
20:52:15 <xarick> my brain got stuck
20:54:12 <xarick> IsGotoDepotOrder does this work on ORDER_CURRENT?
20:58:33 <_glx_> it should
20:59:01 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
20:59:27 *** WormnestAndroid has joined #openttd
21:01:12 <_glx_> if current order is depot and not from the order list, it's used directly
21:02:14 <_glx_> else the current order is translated to order from the list
21:06:42 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1371594457861980160/image.png?ex=6823b461&is=682262e1&hm=ead6872de4c18fbe18f435fdeefe0f9421636f920f7387fece82aa666527a588&
21:06:42 <xarick> I'm getting somewhere finally
21:07:37 <xarick> I've been all this time failing to send vehicles to depot if their ORDER_CURRENT is an automated service
21:07:49 <xarick> think I got this
21:12:15 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:12:59 <xarick> `if (AIVehicle.GetState(vehicle_id) != AIVehicle.VS_CRASHED && !AIVehicle.IsStoppedInDepot(vehicle_id) && (AIOrder.IsCurrentOrderPartOfOrderList(vehicle_id) || !AIOrder.IsGotoDepotOrder(vehicle_id, AIOrder.ORDER_CURRENT) || (AIOrder.GetOrderFlags(vehicle_id, AIOrder.ORDER_CURRENT) & AIOrder.OF_STOP_IN_DEPOT) == 0)) {` probably this will work
21:13:41 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14261: Fix 0ce30d05c8: Replacing a dropdown list could reposition it partially off-screen. https://github.com/OpenTTD/OpenTTD/pull/14261
21:23:56 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
21:40:58 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:42:04 *** WormnestAndroid has joined #openttd
21:45:55 <andythenorth> naptime
22:01:37 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:05:25 <peter1138[d]> Nine
23:08:36 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
23:14:54 *** WormnestAndroid has joined #openttd
23:40:26 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
23:44:02 *** akimoto has joined #openttd
23:47:07 *** WormnestAndroid has joined #openttd