Config
Log for #openttd on 11th September 2021:
Times are UTC Toggle Colours
00:13:40  *** Gustavo6046 has joined #openttd
00:26:26  *** Gustavo6046_ has joined #openttd
00:28:11  *** Gustavo6046 has quit IRC
00:28:11  *** Gustavo6046_ is now known as Gustavo6046
02:00:30  *** Gustavo6046 has quit IRC
02:18:29  *** Gustavo6046 has joined #openttd
02:21:24  *** D-HUND has joined #openttd
02:24:46  *** debdog has quit IRC
02:35:59  *** glx has quit IRC
02:43:50  *** Wormnest has quit IRC
03:36:47  *** _aD has quit IRC
05:06:22  *** Flygon has joined #openttd
05:47:24  *** Progman has joined #openttd
06:19:42  *** andythenorth has joined #openttd
06:26:09  <andythenorth> yo
06:40:53  *** tokai has joined #openttd
06:40:53  *** ChanServ sets mode: +v tokai
06:47:49  *** tokai|noir has quit IRC
06:51:25  *** nielsm has joined #openttd
07:41:58  *** andythenorth has quit IRC
07:44:29  *** andythenorth has joined #openttd
07:44:47  *** sla_ro|master has joined #openttd
07:49:01  *** Wolf01 has joined #openttd
09:10:23  *** roadt_ has quit IRC
09:10:43  *** roadt_ has joined #openttd
09:15:13  *** WormnestAndroid has quit IRC
09:15:26  *** WormnestAndroid has joined #openttd
09:44:24  *** roadt__ has joined #openttd
09:47:40  *** Samu has joined #openttd
09:51:03  *** roadt_ has quit IRC
10:17:00  <andythenorth> was cat?
10:26:10  *** sla_ro|master has quit IRC
10:30:24  <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #9541: Add: support filtering content entries for patchpacks https://git.io/Jurqv
10:33:34  <peter1138> Fucked mate
10:34:07  <peter1138> Mudguard snapped and it's quite a specific part as it has dynamo cable etc...
10:37:30  <andythenorth> oof
10:44:36  <peter1138> So I started taking it apart and pulled the cable out of the tube it's in, only to discover that that was the plastic tube pulling breaking as well...
10:45:28  <peter1138> So I have to 1) find what the mudguard is meant to be 2) attempt to buy it 3) remove the connectors crimped on the dynamo cable 4) put it all together again...
10:45:53  <peter1138> Meanwhile my mobile phone has stopped working :(
10:57:23  <Samu> AIs competing for air space: the one that mass builds airports the fastest, wins in profits
10:57:47  <Samu> AdmiralAI is an expert on this matter
10:58:20  <Samu> other AIs won't be able to build airports on already serviced towns
10:58:41  <Samu> town noise concerns
11:03:19  <Samu> wait a minute, WormAI has more airports even!
11:03:31  <Samu> profits still below AdmiralAI
11:05:50  <andythenorth> peter1138 sounds like a new bike would be entirely justified
11:06:26  <Samu> should I turn breakdowns off?
11:06:38  <Samu> what is the % of ppl using breakdowns?
11:20:32  *** WormnestAndroid has quit IRC
11:21:10  *** WormnestAndroid has joined #openttd
11:22:57  <Samu> successful AIs with £2B loan -> https://i.imgur.com/urqltxV.png
11:26:24  *** sla_ro|master has joined #openttd
11:26:35  <peter1138> andythenorth, I only bought this one last year.
11:27:08  <Samu> wow, Fatal Application Failure out of nowhgere
11:27:16  <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #9541: Add: support filtering content entries for patchpacks https://git.io/Jutst
11:30:28  <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened issue #9548: [Crash]:  https://git.io/Jur8O
11:33:45  *** Kitrana has quit IRC
11:54:36  <DorpsGek> [OpenTTD/OpenTTD] JGRennison commented on pull request #9529: Fix #9527: Crash when trying to place multitile objects at map edge https://git.io/Jur02
12:21:33  <andythenorth> is it naptime?
12:22:53  *** tokai|noir has joined #openttd
12:22:53  *** ChanServ sets mode: +v tokai|noir
12:29:04  <TrueBrain> Yes
12:29:46  *** tokai has quit IRC
12:41:23  <Samu> where is upstream/release/12?
12:42:22  <Samu> i dont know how to use debug symbols for 12.0-beta2
12:42:33  <Samu> i expected an upstream/release/12
12:51:08  <peter1138> andythenorth, alright if I fit a rack-mounted light instead of the current mudguard-mounted light, that seems like it will simplify mudguard replacement...
12:52:48  <andythenorth> winning?
12:57:46  <Samu> https://cdn.openttd.org/openttd-releases/12.0-beta2/openttd-12.0-beta2-source.tar.xz ok, this works
12:58:01  <Samu> debug says AI 13 died
12:58:06  <Samu> that's trAIns
12:58:14  <Samu> that AI never crashes
12:58:21  <Samu> very strange
12:59:03  <Samu> then when it was deleting AI instance, it crashed in the garbage collector
12:59:55  <Samu> deleting something from an array in the GC
13:00:12  *** glx has joined #openttd
13:00:12  *** ChanServ sets mode: +v glx
13:02:59  <glx> Samu: easy way to get the source is "git checkout 12.0-beta2"
13:03:57  *** andythenorth has quit IRC
13:04:44  <Samu> i've never seen trAIns crash
13:04:47  <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #9548: [Crash]:  https://git.io/Jur8O
13:04:59  <Samu> that's probably the first time
13:05:24  <Samu> and it brought openttd down with it
13:05:24  <glx> the resize() function is so ugly, with explicit calls to destructor
13:06:01  <Samu> maybe memory limit reached?
13:06:13  *** tokai has joined #openttd
13:06:13  *** ChanServ sets mode: +v tokai
13:06:14  <Samu> wish i could know the cause of the ai crash
13:09:42  <glx> it's a Script_FatalError
13:11:21  <glx> so based on a quick search on possible Script_FatalError I think it's a memory allocation fail
13:12:56  *** tokai|noir has quit IRC
13:13:12  <Samu> it's plausible, it uses memory while pathfinding
13:13:34  *** Kitrana has joined #openttd
13:13:44  <glx> sqvector class is so weird
13:14:38  <Samu> i'm re-running the AIs, see if it crashes again
13:15:36  <glx> well AI crashing should not be an issue, but somehow weird stuff happened during the cleanup
13:16:09  <Samu> i set a memory limit of 1024 MB
13:16:39  <Samu> now with the frame rate window open, so that if it crashes, it prints the screen to see memory usage
13:18:01  <DorpsGek> [OpenTTD/OpenTTD] michicc opened pull request #9549: Fix #9463: [Win32] Try to work around XAudio2 crashes by catching SEH exceptions. https://git.io/JurXd
13:18:07  <glx> and of course the important values are optimised and not in the dump
13:31:21  <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #9549: Fix #9463: [Win32] Try to work around XAudio2 crashes by catching SEH exceptions. https://git.io/JurDC
13:33:20  <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #9541: Add: support filtering content entries for patchpacks https://git.io/JurDM
13:34:07  <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #9549: Fix #9463: [Win32] Try to work around XAudio2 crashes by catching SEH exceptions. https://git.io/JurDx
13:34:50  <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain closed issue #105: Policy: Uploads which are not usable with main/trunk OpenTTD https://git.io/JufUD
13:34:53  <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #9541: Add: support filtering content entries for patchpacks https://git.io/Jutst
13:35:05  <glx> TrueBrain: yolo and ask affected steam users to try nightly without the workaround ?
13:35:09  <TrueBrain> You can close issues cross repo, cool
13:35:18  <TrueBrain> glx: sounds like a plan
13:38:50  *** tokai|noir has joined #openttd
13:38:50  *** ChanServ sets mode: +v tokai|noir
13:42:32  <michi_cc> Very much theory, but let's go.
13:42:38  <DorpsGek> [OpenTTD/OpenTTD] michicc merged pull request #9549: Fix #9463: [Win32] Try to work around XAudio2 crashes by catching SEH exceptions. https://git.io/JurXd
13:45:38  *** tokai has quit IRC
14:07:03  *** WormnestAndroid has quit IRC
14:17:32  *** virtualrandomnumber has joined #openttd
14:18:09  *** andythenorth has joined #openttd
14:18:37  *** virtualrandomnumber has quit IRC
14:20:11  <Samu> trAIns currently at 712 MiB
14:20:31  <Samu> increasing 1 MB every 2 seconds
14:29:26  <Samu> SuperSimpleAI crashes meanwhile
14:29:40  <Samu> openttd still running
14:30:34  <Samu> awww trAIns stopped increasing memory
14:30:40  <Samu> it was already at 910
14:30:53  <Samu> back to 5
14:34:26  <peter1138> Urgh why are phones so shit?
14:44:44  *** tokai has joined #openttd
14:44:44  *** ChanServ sets mode: +v tokai
14:46:42  *** virtualrandomnumber has joined #openttd
14:51:49  *** tokai|noir has quit IRC
14:55:20  <TrueBrain> 💩
15:21:14  <Samu> is it possible to make openttd perform a save the moment an AI crashes?
15:24:04  <Samu> save AI data before officially crashing/closing the AI?
15:29:49  <peter1138> Pixels seem to be getting lower spec
15:29:51  <peter1138> OnePl
15:29:58  <peter1138> OnePlus explode, or spy on you
15:30:05  <peter1138> Xaomi... spy on you, heh
15:31:15  <nielsm> samu: you mean post-mortem debugging on the squirrel vm?
15:32:18  <peter1138> And Huawei is no longer Android, heh
15:32:28  <peter1138> Maybe I should just suck it up and go iPhone?
15:32:53  <glx> I limit my choice to android one models
15:34:13  <peter1138> Not heard of that
15:34:42  <Samu> nielsm, not entirely sure what you mean, but it sounds like I mean that, yes
15:34:43  <andythenorth> iphone means Apple
15:34:48  <glx> https://www.android.com/one/
15:35:01  <peter1138> andythenorth, yeah, huge problem.
15:35:07  <andythenorth> Apple: not for everyone
15:35:36  <nielsm> apple requires you to think different
15:35:40  <andythenorth> current iphone is weird
15:35:54  <andythenorth> has some odd things, like the torch is activated 2 different ways depending if screen is locked or not
15:36:08  <andythenorth> and the screen is unlocked magically by raising it near your face
15:36:14  <andythenorth> if there's enough light to see your face
15:36:33  <andythenorth> and I use the torch a lot, instead of turning lights on in my house at night
15:36:53  * andythenorth could just not blame Cupertino, and buy an actual torch
15:37:29  <andythenorth> it's funny that the main feature on my magical internet communicator device is the tiny LED torch
15:38:00  <andythenorth> anyway TL;DR don't buy an iPhone, the torch will probably annoy you
15:39:17  <andythenorth> iOS is generally weird, it's all swipey magical gesture crap
15:39:30  <Samu> NoNoCAB places a lock blocking ships
15:39:42  <Samu> a depot blocking a lock
15:39:44  <andythenorth> I've never had an Android phone, know nothing about them, but I can pick up other people's Androids and use them more easily than the iPhone
15:40:00  <glx> I'm annoyed enough to not find the key I want on apple keyboards
15:40:14  <glx> (no issue for basic letters, but it's all the other ones)
15:40:54  *** Vinnie has joined #openttd
15:41:02  <Vinnie> !password
15:41:02  *** Vinnie was kicked by DorpsGek (Wrong channel. Retry in #openttdcoop.)
15:41:09  <glx> wow
15:41:27  <glx> quite rare event
15:43:36  <andythenorth> glx you mean that 'print screen' key? :P
15:44:02  <glx> no @ and many others are on different location (AZERTY layout)
15:44:30  * andythenorth grew up using some UK layout that nobody uses any more
15:46:08  <peter1138> BBC Micro layout
15:47:54  <andythenorth> yup
15:48:03  <andythenorth> " was shift-2
15:48:33  *** sla_ro|master has quit IRC
15:52:45  <peter1138> Well that is normal layout
15:59:27  *** virtualrandomnumber has quit IRC
16:02:49  *** WormnestAndroid has joined #openttd
16:07:20  *** _aD has joined #openttd
16:10:53  <peter1138> glx, Nokia heavy... I don't know anyone with a Nokia these days...
16:11:07  <glx> I have one :)
16:15:22  <FLHerne> Pixel 6 is supposed to be pretty high-spec?
16:15:32  <FLHerne> the 'a' ones have been more mid-range
16:15:46  <FLHerne> What's this about OnePluses exploding or spying on you?
16:16:00  <FLHerne> Mine hasn't exploded, and I don't *think* it's spying on me...
16:16:48  <peter1138> Pixel 6 isn't out yet.
16:18:20  <FLHerne> soon though, I thought?
16:18:29  <_aD> My 6600 is still in a drawer. I'm sentimental.
16:18:47  <_aD> (the older 6600, not the newer one)
16:21:05  <peter1138> I could get an Alcatel 3080G, and pretend I have a 3080 :D
16:21:18  <glx> lol
16:23:09  <Samu> glx, test this: set a max of 8 MiB memory for AIs, start trAIns
16:23:29  <Samu> openttd will poof
16:23:35  <Samu> no crash screen
16:23:39  <glx> let's try
16:24:03  <Samu> the map size has to be sizeable, 1024x1024
16:24:10  <Wolf01> I purchased a moto edge, but I can't get satisfied... android is too much "commercial" :|
16:29:57  <Samu> this is funny
16:30:08  <Samu> now that I'm testing this in a debug build, it doesn't happen
16:32:23  <Samu> gonna test release build
16:34:51  <Samu> nop, now i dont get it
16:35:04  <Samu> it poofed the first 2 times I tested
16:35:33  <Samu> but now the script errors normally
16:35:41  <Samu> no poof
16:37:31  <Samu> aha, got a crash on release build. I tested 16 MiB limit
16:38:38  <Samu> https://pastebin.com/raw/7GH95Y6J
16:39:33  *** WormnestAndroid has quit IRC
16:40:04  *** WormnestAndroid has joined #openttd
16:40:20  *** Wormnest has joined #openttd
16:41:01  *** WormnestAndroid has joined #openttd
16:41:46  <Samu> crashed on Free
16:42:06  <Samu> ScriptAllocator::Free
16:43:35  <glx> oh so maybe destroying partially constructed object (allocation exception happening during construction)
16:44:23  *** Progman has quit IRC
16:47:05  <peter1138> Hmm, Nokia 8.3 might be okay.
16:47:22  <peter1138> Bit large though.
16:47:23  <_aD> Nokia that supports MS-DOS filenames?
16:47:30  <peter1138> Assumably.
16:47:35  *** tokai|noir has joined #openttd
16:47:35  *** ChanServ sets mode: +v tokai|noir
16:47:36  <_aD> There's an unholy pairing.
16:48:30  <peter1138> Oh it's IPS LCD, ew.
16:51:18  <Samu> better way to test, just set up 14 trAIns
16:51:25  <Samu> 8 MiB limit
16:51:25  <milek7> what else if not IPS?
16:51:40  <Samu> the chances of at least one poofing increases
16:51:57  <peter1138> (AM)OLED
16:52:16  <glx> not the same price range
16:53:53  <Samu> free.cpp not found? :(
16:54:02  <milek7> meh, weird subpixel arragments, burn-in issues, unreasonably fragile
16:54:07  <glx> part of the CRT
16:54:30  *** tokai has quit IRC
16:54:52  <peter1138> Not had screen issues with OLED since the Galaxy Nexus I had, which was 10 years ago.
16:55:23  *** Wormnest has quit IRC
16:57:41  *** Wormnest has joined #openttd
16:57:49  <Samu> openttd.exe!sqvector<SQObjectPtr>::~sqvector<SQObjectPtr>() Line 46
16:57:56  <Samu> it's something in sqvector
17:07:26  <glx> yes but it feels random
17:07:39  <glx> sqvector is weird anyway
17:08:58  <Samu> assert(pos < _allocated); this asserted
17:09:05  <Samu> 0 < 0
17:09:16  <Samu> line 99
17:09:22  <Samu> squtils.h
17:10:37  <glx> and previous line is stack is some kind of _vals[i].~T()
17:10:45  <glx> I hope
17:11:11  <glx> propably not
17:13:21  <Samu> that's the line where it crashes
17:13:54  <Samu> the [] operator thingy asserted once
17:15:10  <Samu> maybe I'm wrong, im unsure
17:15:31  <Samu> maybe it was the ~T() which is the function in line 99
17:15:51  <glx> no, line 99 is operator[]
17:16:27  <glx> used to access sqvector elements from "outside"
17:16:45  <glx> all internal access directly use _vals
17:17:19  *** andythenorth_ has joined #openttd
17:17:46  <glx> but asserting in [] may mean it could crash in any of the internal function accessing _vals
17:17:55  *** gelignite has joined #openttd
17:18:21  <glx> so something is wrong in sqvector area anyway
17:22:21  *** andythenorth has quit IRC
17:28:15  <Samu> for(size_t i = 0; i < _size; i++) this thing isn't called, i thought it was
17:30:14  *** Progman has joined #openttd
17:32:27  *** sla_ro|master has joined #openttd
17:44:54  *** jottyfan has joined #openttd
17:54:47  *** jottyfan has quit IRC
18:08:53  *** Flygon has quit IRC
18:26:59  *** roadt__ has quit IRC
18:30:29  *** roadt__ has joined #openttd
18:48:13  <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/JuoAH
18:48:14  <DorpsGek>   - Update: Translations from eints (by translators)
19:29:19  <DorpsGek> [OpenTTD/OpenTTD] kaomoneus commented on discussion #8397: Daylength https://git.io/Jus1L
19:44:33  <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #9463: [Crash]: Game crashes on start up. https://git.io/JRqkJ
19:48:58  <glx> and also asked another known affected user on discord
19:52:55  *** tokai has joined #openttd
19:52:55  *** ChanServ sets mode: +v tokai
19:59:48  *** tokai|noir has quit IRC
20:16:16  <Samu> nielsm, what was the name of that geometric distance thing that you told me to use instead of bresenham's line?
20:17:24  <Samu> I poorly documented it on my code, have to remedy
20:17:36  *** jottyfan has joined #openttd
20:18:10  *** jottyfan has joined #openttd
20:25:19  <Samu> nevermind nielsm, it was _dp_, just found it in the irc logs
20:59:55  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler started discussion #9551: Vehicle orders GUI: Learning from other games https://git.io/JuKCH
21:09:12  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on discussion #9551: Vehicle orders GUI: Learning from other games https://git.io/JuKCH
21:13:47  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on discussion #9551: Vehicle orders GUI: Learning from other games https://git.io/JuKCH
21:14:01  <Samu> I coded my AI to always be first in company value, but only by the minial difference possible, but it's not always working... https://i.imgur.com/LUioX7h.png
21:15:06  <Samu> brown line should show as tied up with mauve in the graph, but sometimes, it slips below it
21:15:53  <Samu> the checks are done during town action management
21:17:12  <Samu> sometimes, it is allowed to perform expensive town actions because the checks permit it while they should not :(
21:19:28  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on discussion #9551: Vehicle orders GUI: Learning from other games https://git.io/JuKCH
21:26:21  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on discussion #9551: Vehicle orders GUI: Learning from other games https://git.io/JuKCH
21:31:12  <DorpsGek> [OpenTTD/OpenTTD] nielsmh commented on discussion #8397: Daylength https://git.io/Jus1L
21:32:29  *** Samu has quit IRC
21:33:48  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on discussion #9551: Vehicle orders GUI: Learning from other games https://git.io/JuKCH
21:42:41  *** _aD has quit IRC
21:44:12  *** sla_ro|master has quit IRC
22:02:36  *** andythenorth has joined #openttd
22:04:10  *** virtualrandomnumber has joined #openttd
22:04:16  *** virtualrandomnumber has quit IRC
22:09:45  *** andythenorth_ has quit IRC
22:10:46  <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #9529: Fix #9527: Crash when trying to place multitile objects at map edge https://git.io/JuKuE
22:10:54  <DorpsGek> [OpenTTD/OpenTTD] LordAro merged pull request #9529: Fix #9527: Crash when trying to place multitile objects at map edge https://git.io/JEQ2c
22:10:57  <DorpsGek> [OpenTTD/OpenTTD] LordAro closed issue #9527: [Crash]: NewGRF with multi-tile object causes OpenTTD 12.0-beta2 to crash on map generation https://git.io/JEH61
22:12:09  <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #9542: Fix #9241: Grove and forest tree brushes also create rainforests https://git.io/JuKuo
22:14:50  *** Wolf01 has quit IRC
22:36:51  *** nielsm has quit IRC
22:44:15  *** andythenorth has quit IRC
22:54:50  *** Gustavo6046_ has joined #openttd
22:59:17  *** Gustavo6046 has quit IRC
22:59:17  *** Gustavo6046_ is now known as Gustavo6046
23:07:25  *** WormnestAndroid has quit IRC
23:07:50  *** WormnestAndroid has joined #openttd
23:17:19  *** _aD has joined #openttd
23:28:42  *** gelignite has quit IRC

Powered by YARRSTE version: svn-trunk