Config
Log for #openttd on 13th March 2019:
Times are UTC Toggle Colours
00:23:55  *** supermop_Home_ has joined #openttd
00:29:49  <supermop_Home_> what would someone recommend for a nice mnitor
00:29:52  <supermop_Home_> monitor
00:30:33  <supermop_Home_> with good color and high dpi sort of similar to my surface book's screen
00:33:07  <peter1138> Uh...
00:33:22  <peter1138> Something 4K and IPS then?
00:33:53  <supermop_Home_> i mean are monitors basically a commodity these days?
00:34:08  <supermop_Home_> where you just buy whatever meets your spec?
00:34:24  <peter1138> Uh...
00:34:42  <supermop_Home_> since 2003 i have bought a total of two monitors
00:35:04  <supermop_Home_> one in 2003 and one in early 2017 that i don't like
00:41:22  *** Thedarkb-X40 has joined #openttd
00:51:19  <peter1138> Hmm, crap.
01:08:40  *** Thedarkb-X40 has quit IRC
01:41:45  *** Gustavo6046 has quit IRC
01:52:04  *** Beerbelott has joined #openttd
01:55:27  *** Supercheese has joined #openttd
02:19:06  *** octernion has joined #openttd
02:23:56  *** glx has quit IRC
02:26:56  *** snail_UES_ has joined #openttd
02:27:10  *** octernion has quit IRC
02:36:05  *** Guest3115 has quit IRC
02:36:27  *** th0bse_ has joined #openttd
02:39:37  <Samu> hi
02:39:50  <Samu> supermop_Home_, wanna continue game? or a new game?
02:40:08  <Samu> anyway, it's a bit late
02:40:14  <Samu> 2:40 am
02:49:19  <Samu> well im off to bed, cyas
02:49:22  *** Samu has quit IRC
02:51:58  *** Supercheese has quit IRC
02:52:20  *** Supercheese has joined #openttd
02:57:13  *** supermop_Home_ has quit IRC
02:58:04  *** Wormnest has quit IRC
03:01:05  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN opened issue #7371: Kdtree is built too early in savegame loading process https://git.io/fhjxX
03:16:52  *** D-HUND has joined #openttd
03:20:11  *** debdog has quit IRC
03:25:32  *** Beerbelott has left #openttd
03:36:31  <DorpsGek_II> [OpenTTD/OpenTTD] JGRennison opened issue #7372: FindStationsAroundTiles with use_nearby=true returns no results for industry tiles https://git.io/fhjpe
03:40:15  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7372: FindStationsAroundTiles with use_nearby=true returns no results for industry tiles https://git.io/fhjpJ
03:52:51  *** tokai has joined #openttd
03:52:51  *** ChanServ sets mode: +v tokai
03:59:47  *** tokai|noir has quit IRC
05:01:00  *** Maarten has quit IRC
05:01:07  *** Maarten has joined #openttd
05:14:44  *** snail_UES_ has quit IRC
05:32:56  *** tycoondemon has quit IRC
05:38:48  *** tycoondemon has joined #openttd
06:29:22  *** Heiki has quit IRC
07:18:25  *** Supercheese has quit IRC
07:36:50  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7372: FindStationsAroundTiles with use_nearby=true returns no results for industry tiles https://git.io/fhjhQ
07:38:33  *** andythenorth has joined #openttd
07:43:43  <peter1138> lo
07:47:05  <andythenorth> moin
07:47:35  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7370: Cleanup: Remove questionable syntax https://git.io/fhjil
07:48:42  *** Heiki has joined #openttd
07:59:47  <peter1138> https://newgrf-specs.tt-wiki.net/wiki/VariationalAction2/Houses#Cargo_acceptance_history_of_nearby_stations_.2864.29
07:59:58  <peter1138> ^ any idea why an offset would be useful?
08:00:25  <peter1138> Ah...
08:00:29  <peter1138> I read the description :p
08:01:16  <andythenorth> it's a very specific feature :P
08:01:34  <andythenorth> can't figure out what that would be used for, but eh
08:01:42  <peter1138> I'm pretty sure it's not used.
08:02:14  <andythenorth> maybe it's to produce mail from houses if mail is delivered to station or something
08:02:19  <andythenorth> seems like TMWFTLB
08:02:57  <peter1138> No because it wouldn't be picked up by the current tile.
08:02:58  * andythenorth wonders if newgrf spec is finished yet :P
08:03:33  <andythenorth> add counter to vehicles, incrementing on depot ctrl-click, then newgrf is all done
08:03:38  <andythenorth> finished!
08:03:45  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7372: FindStationsAroundTiles with use_nearby=true returns no results for industry tiles https://git.io/fhjjY
08:06:01  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN opened pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
08:10:25  <LordAro> peter1138: perhaps the parameter should be const?
08:12:01  <peter1138> ?
08:12:58  <LordAro> to prevent modifications to out parameters like that
08:13:28  <LordAro> StationList * const stations
08:14:00  <peter1138> Good idea.
08:14:08  <peter1138> Should probably do that for others :)
08:14:31  <LordAro> probably!
08:14:42  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN updated pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
08:15:24  <LordAro> peter1138: doc comment doesn't actually indicate that it's an (in?)out parameter either
08:16:13  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN updated pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
08:16:35  <peter1138> Oh
08:16:37  <peter1138> Doc :/
08:16:39  <peter1138> Stupid me
08:17:06  <peter1138> Is there a way to do that or just free text?
08:17:34  <peter1138> @param[out] ?
08:18:05  <peter1138> Yup
08:18:23  <peter1138> Final
08:18:28  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN updated pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
08:19:06  <LordAro> peter1138: i made them all consistent a few months ago :)
08:21:42  <LordAro> seems to me that GH shouldn't display a red x if the build was cancelled
08:22:16  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro approved pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjjP
08:26:18  <andythenorth> hmm
08:26:22  <andythenorth> eh I had an idea
08:26:34  <andythenorth> how about newgrf vehicle variants? o_O
08:26:41  <andythenorth> I should do a mockup
08:28:46  <andythenorth>  I worked very fast https://dev.openttdcoop.org/attachments/download/9259/very-groupy.png
08:29:19  <andythenorth> bbl
08:29:21  *** andythenorth has quit IRC
08:40:28  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
08:40:33  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN closed issue #7372: FindStationsAroundTiles with use_nearby=true returns no results for industry tiles https://git.io/fhjpe
08:42:38  *** m3henry has joined #openttd
08:52:48  <m3henry> o/
08:58:29  *** andythenorth has joined #openttd
09:27:34  <peter1138> Hmm, well...
09:57:06  *** octernion has joined #openttd
10:03:18  <m3henry> Hmm?
10:05:07  *** octernion has quit IRC
10:30:58  *** Gustavo6046 has joined #openttd
10:41:12  *** m1cr0man has joined #openttd
10:48:37  *** Laedek has quit IRC
11:24:02  *** sla_ro|master has joined #openttd
11:51:16  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7371: Kdtree is built too early in savegame loading process https://git.io/fjeJa
11:52:20  *** andythenorth has quit IRC
11:57:55  *** octernion has joined #openttd
11:59:29  *** andythenorth has joined #openttd
12:06:02  *** octernion has quit IRC
12:19:50  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7371: Kdtree is built too early in savegame loading process https://git.io/fjeJx
12:23:44  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7371: Kdtree is built too early in savegame loading process https://git.io/fjeUJ
12:31:34  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7371: Kdtree is built too early in savegame loading process https://git.io/fjeU3
13:25:07  *** Flygon has quit IRC
13:31:05  *** sla_ro|master has quit IRC
14:01:12  *** octernion has joined #openttd
14:13:30  *** octernion has quit IRC
14:15:44  *** supermop_work has joined #openttd
14:18:04  *** supermop_work_ has joined #openttd
14:24:19  *** octernion has joined #openttd
14:25:45  *** supermop_work has quit IRC
14:43:23  *** sla_ro|master has joined #openttd
14:56:39  <th0bse_> hi there
14:57:01  <nnyby> hi
14:57:27  <nnyby> :)))
14:58:43  *** Wormnest has joined #openttd
15:00:05  <peter1138> YES
15:01:41  <andythenorth> ?
15:01:54  <peter1138> https://www.tt-forums.net/viewtopic.php?p=1219309
15:02:01  <peter1138> mb has been irked ;)
15:03:21  <andythenorth> oh dear
15:03:28  <peter1138> I probably shouldn't have posted the original picture, to be fair.
15:03:37  <andythenorth> the number of fucks I now give
15:05:07  <Xaroth> wait, UI improvements
15:08:27  *** octernion has quit IRC
15:10:41  <peter1138> ooh that ginger is nice
15:12:05  <peter1138> https://imgur.com/a/iKjf8NK < arsehole design...
15:13:21  <andythenorth> sold in tesco
15:13:28  <peter1138> That's where I got it.
15:13:46  <peter1138> Reduced to £2.50 so not quite so bad.
15:13:50  <peter1138> https://i.imgur.com/8vhNVv9.png?1
15:13:53  <peter1138> ^ might post that image in there...
15:14:03  *** supermop_work has joined #openttd
15:15:14  <peter1138> Or ... I cba.
15:15:22  *** supermop_work__ has joined #openttd
15:19:45  *** supermop_work_ has quit IRC
15:23:05  *** supermop_work has quit IRC
15:56:31  *** nielsm has joined #openttd
16:13:26  *** Samu has joined #openttd
16:26:24  *** Alberth has joined #openttd
16:26:24  *** ChanServ sets mode: +o Alberth
16:31:12  <Samu> hi
16:32:50  <andythenorth> o/
16:36:59  <Eddi|zuHause> is that reusing some icon or is that separate?
16:37:06  <Alberth> o/
16:38:01  *** Lejving has quit IRC
16:39:30  <peter1138> Eddi|zuHause, reusing?
16:40:05  <peter1138> Eddi|zuHause, rail types (even the originals do it) should provide tool bar icons
16:40:17  <peter1138> Eddi|zuHause, seems many authors didn't bother :/
16:42:00  <planetmaker> that looks smaller than the toolbar icons?
16:44:06  <peter1138> Rail construction toolbar, not the main toolbar.
16:45:49  <peter1138> Hmm, mb's post deleted
16:46:37  <Eddi|zuHause> peter1138: so, it's reusing some icon.
16:46:56  <planetmaker> hm, ok. I thought they were bigger, too. But that destinctly looks new and nice
16:46:58  <peter1138> Oh, oops, it wasn't meant to be a question :-)
16:50:31  *** HerzogDeXtEr has joined #openttd
16:52:51  *** m3henry has quit IRC
16:54:40  *** tycoondemon has quit IRC
16:56:06  *** tycoondemon has joined #openttd
16:59:08  *** tycoondemon has quit IRC
17:04:05  *** tycoondemon has joined #openttd
17:11:44  <andythenorth> but where is cat?
17:16:33  <Eddi|zuHause> it just came inside
17:35:39  *** frosch123 has joined #openttd
17:38:13  <peter1138> Hmm, and it came back :p
17:40:04  *** m3henry has joined #openttd
17:41:51  <LordAro> meow
17:41:58  <m3henry> o/
17:43:03  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry updated pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fhSz0
17:44:40  *** supermop_work__ has quit IRC
17:50:06  <LordAro> m3henry: commit 3 "...with std::vector::shrink_to_fir()"
17:50:23  <m3henry> :v
17:50:44  <LordAro> i wonder whether it might be better to replace Reset() with just reinitialising the object, instead of the clear + shrink_to_fit calls
17:51:50  <nielsm> std::swap(thevector, std::vector<thetype>());
17:52:31  <m3henry> nielsm: thevector = std::Vector<thetype>(); does the same without the moves
17:52:47  <nielsm> hm right
17:52:52  <nielsm> -.-
17:53:13  <m3henry> or even thevector = decltype(thevector)(); may work
17:54:31  <m3henry> personally, I'd just use clear, but I think that's implementation specific if capacity is set to 0
17:55:40  *** supermop_work has joined #openttd
17:56:13  <m3henry> but for now, I'd leave it as is and let that sort of thing be decided later
17:56:55  <LordAro> mm
17:57:29  *** supermop_work_ has joined #openttd
18:03:45  *** supermop_work has quit IRC
18:19:21  <LordAro> m3henry: there's several push_back({...}) - is there a reason these can't be emplace_back?
18:19:30  <TrueBrain> because emplace is not a word!
18:19:43  <m3henry> I thought I got all of those
18:19:45  <m3henry> :v
18:19:55  <m3henry> greppin time
18:20:07  <LordAro> m3henry: review incoming, i think i've got them all :)
18:20:13  <LordAro> might be easier
18:20:27  <nielsm> I'm also going over it just fyi... might hit some duplicates :P
18:20:40  <nielsm> halfway now
18:21:07  <LordAro> uhoh
18:21:08  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fjeOn
18:21:09  <LordAro> :D
18:21:11  <m3henry> grep --color -ne "push_back\(\{.*\}\)" -R . doesn't catch anything
18:21:16  <TrueBrain> but I was also going over it! Wait, I was not :P
18:21:51  <LordAro> m3henry: i'm going through 1 commit at a time, is it possible they were fixed in a later commit?
18:22:45  <andythenorth> let's make OpenTTD!!!
18:23:00  <m3henry> I think push_back({*}) is needed where T has no constructor
18:23:18  <m3henry> or at least just a default one
18:23:45  <LordAro> m3henry: plausible
18:24:34  <LordAro> wouldn't be opposed to you adding some :)
18:24:34  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
18:24:34  <TrueBrain> LETS BREAK STUFF
18:24:56  <m3henry> is for another PR
18:25:40  <andythenorth> IN CASE OF FIRE
18:25:42  <andythenorth> BREAK GLASS
18:25:45  *** gelignite has joined #openttd
18:25:58  <Eddi|zuHause> in case of glass, break fire?
18:26:04  <andythenorth> yes
18:26:14  <andythenorth> IN CASE OF BREAK
18:26:17  <TrueBrain> FIREBALL
18:26:17  <andythenorth> FIRE GLASS
18:26:34  <andythenorth> BREAK CASE IF FIRE IN GLASS
18:26:41  <TrueBrain> why is our searchpath so fucked up
18:26:43  <Eddi|zuHause> i finally made a Righteous Fire character work in PoE
18:26:43  <TrueBrain> can someone fix that?
18:26:45  <TrueBrain> PRETTY PLEASE?!
18:26:59  <TrueBrain> Eddi|zuHause: welcome to two .. no, three? metas ago :P
18:27:15  <Eddi|zuHause> probably 5 :p
18:27:55  <TrueBrain> I joined the Bane wagon ... :P I feel so dirty
18:27:58  <Eddi|zuHause> plus, that is one of the earliest characters i created, probably still in open beta :p
18:28:22  <TrueBrain> sudo curl -L https://binaries.openttd.org/extra/opengfx/0.5.2/opengfx-0.5.2-all.zip
18:28:27  <TrueBrain> . /home/vsts/work/_temp/8e2b611a-53bd-4fc6-a316-e4a8d8c3300b.sh: line 4: opengfx-0.5.2-all.zip: Permission denied
18:28:29  <TrueBrain> wuth?!
18:28:31  <Eddi|zuHause> i was pretty close to making it work a bunch of times
18:30:03  <TrueBrain> ah, I see
18:30:05  <TrueBrain> failure on my side :(
18:30:31  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
18:35:56  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
18:36:14  <TrueBrain> this is such a frustrating way to debug :P
18:36:17  <TrueBrain> OSX is acting up again :(
18:37:21  <Eddi|zuHause> <TrueBrain> failure on my side :( <-- how is that surprising if you're controlling all sides? :p
18:37:32  <TrueBrain> I don't control OSX
18:37:33  <TrueBrain> or AP
18:37:34  <TrueBrain> :P
18:37:40  <TrueBrain> STFU, meany!
18:37:41  <TrueBrain> :P
18:38:07  <peter1138> 7270 merged yet?
18:38:09  <peter1138> :p
18:38:22  <TrueBrain> ALMOST
18:38:33  <Eddi|zuHause> merge first, fix problems later :p
18:38:35  <TrueBrain> SSE on OSX is failing again :'(
18:38:43  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro requested changes for pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeOw
18:38:48  <LordAro> nielsm: i win
18:38:56  <nielsm> :P
18:39:04  <peter1138> Who even uses OSX? :D
18:39:14  <LordAro> right, that's the last 40 minutes i've spent not working, time to go home
18:39:19  <TrueBrain> :o
18:39:39  <m3henry> o/
18:40:17  <m3henry> east-const forevar!
18:41:25  <TrueBrain> all Ubuntu agents decided to stop reporting in
18:41:26  <TrueBrain> hateful bunch
18:43:58  <TrueBrain> ah, Docker Hub was saying NO
18:45:08  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeOP
18:45:44  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeOX
18:47:00  <nielsm> aaaallllmost there now
18:47:59  <nielsm> ...oh , maybe not? https://0x0.st/zXql.png
18:49:24  <TrueBrain> :D
18:53:00  *** supermop_work_ has quit IRC
18:54:24  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
18:54:32  <TrueBrain> hopefully this fixes OSX .. now MSVC ..
18:55:33  <nielsm> LordAro: I'm getting your comments in the files I have to expand now, and I see a bunch of suggestions for emplace_back as replacement for push_back({ initializer, list }), but I don't think that'll work without writing constructors for the type involved
18:58:40  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeO5
19:01:34  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
19:05:00  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fje3J
19:10:04  <peter1138> Oh, btw, if I'm adding NULL checks, should I start using nullptr?
19:17:13  <TrueBrain> hmm .. MSVC works but also not, because it is running both regressions at once
19:17:19  <TrueBrain> and ... we do some trickery that makes that not possible :P
19:19:19  <LordAro> nielsm: i wouldn't be opposed to that
19:19:40  <LordAro> peter1138: i think we're still "use NULL everywhere for now"
19:19:55  <LordAro> i imagine m3henry will write a PR soon to convert them all :)
19:20:21  <Eddi|zuHause> "sed -i s/NULL/nullptr/g"? :p
19:22:12  <TrueBrain> so ... whos idea was it to make these regression savegames with the same AI name build into it?
19:22:32  <TrueBrain> can I modify the AI name of the savegame, I wonder ..
19:26:41  <TrueBrain> hmm .. how can I do this in a clever way ...
19:26:59  <TrueBrain> it is not a readable string in the savegame ..
19:27:05  <TrueBrain> guess I have one of the compressions to blame :P
19:27:46  <Xaroth> <insert XML savegame format joke here>
19:27:55  <TrueBrain> @kick Xaroth joke is on you
19:27:55  *** Xaroth was kicked by DorpsGek (joke is on you)
19:28:13  *** Xaroth has joined #openttd
19:28:14  <TrueBrain> do we have an offline extraction tool for savegames of some sorts?
19:28:15  <andythenorth> silly
19:28:18  <andythenorth> XML is for newgrf
19:28:46  *** Wolf01 has joined #openttd
19:28:48  <TrueBrain> I am sure peter1138 has a patch for that :D
19:30:16  *** supermop_work has joined #openttd
19:30:38  <TrueBrain> we of course have our own header in front of this .. meh
19:31:51  <dwfreed> andythenorth: perl in xml cdata
19:31:55  *** supermop_work_ has joined #openttd
19:31:57  <andythenorth> ow
19:32:05  <andythenorth> how long did it take to think up the worst solution
19:32:16  <dwfreed> probably 5 seconds
19:33:01  <dwfreed> an IRC bot I used to help maintain stored its commands as perl snippets in XML; the XML tag had attributes defining a regex to match for the command to be executed
19:33:26  <TrueBrain> okay, we are moving away from OFTC, ASAP
19:33:29  <TrueBrain> I am scared shitless now :P
19:33:33  <TrueBrain> <3
19:33:35  <dwfreed> not OFTC stuff
19:33:40  <TrueBrain> that is what they all say :P
19:33:47  <dwfreed> this was AntiSpamMeta on freenode
19:33:55  <TrueBrain> owwwhhh, that explains a lot
19:33:57  <TrueBrain> okay, that is fine :P
19:34:11  <dwfreed> we switched those to actual perl modules, though regex is still used for command matching
19:34:37  <dwfreed> it just now directly calls the sub, instead of eval-ing the xml contents
19:34:45  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fje3V
19:34:48  <TrueBrain> Savegame ver: 193
19:34:48  <TrueBrain> NewGRF ver:   0x150068F0
19:34:52  <TrueBrain> that is pretty old .. 1.5 ..
19:35:04  <TrueBrain> Savegame ver: 104
19:35:04  <TrueBrain> NewGRF ver:   0x07003962
19:35:06  <TrueBrain> that is even older :D
19:38:10  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fje3w
19:39:40  *** supermop_work has quit IRC
19:45:32  <TrueBrain> so when I kill the AI, it loses all its stations. If I change my company to the AI first, I cannot kill the AI
19:45:36  <TrueBrain> *sad panda*
19:46:59  <nielsm> what's the problem?
19:47:27  <TrueBrain> I need to rename the AI that is used by a savegame
19:47:50  <TrueBrain> both savegames for regression load the AI "Regression"
19:47:57  <TrueBrain> and with trickery either one or the other is named like that
19:48:06  <TrueBrain> I want one to load Regression, and the other to load StationList
19:48:09  <TrueBrain> as that makes a lot more sense
19:49:56  <nielsm> maybe just recreate the save and the reference output dump?
19:50:04  <TrueBrain> nearly impossible
19:50:11  <TrueBrain> that would take me a very long time to get that just right :P
19:51:03  <nielsm> I mean, don't try to make it produce the same output as it has done so far
19:51:35  <TrueBrain> difficult to proof I did a good job, in that case
19:51:39  <TrueBrain> as I have no clue what exactly it is testing
19:52:01  <TrueBrain> I just want to decompress the save, tbh :P
19:52:10  <TrueBrain> or ... hmm
19:52:32  <TrueBrain> modify the code to rename the AI :P
19:52:37  <nielsm> the purpose of the regression is to show that the same sequence of commands leads to the same sequence of output
19:52:42  <nielsm> isn't it?
19:52:47  <TrueBrain> sort-of
19:52:53  <TrueBrain> we have 2 versions
19:52:54  <nielsm> the actual sequence of output is secondary
19:52:56  <TrueBrain> regression and station_list
19:52:57  <nielsm> as long as it reproduces
19:53:02  <TrueBrain> regression you really do not want to redo
19:53:06  <TrueBrain> the map is tailored for it
19:53:18  <TrueBrain> it needs certain tiles on certain positions
19:53:26  <TrueBrain> like water, immovable objects, etc
19:53:33  <TrueBrain> it needs to be able to build stations at certain places
19:53:34  <TrueBrain> etc etc
19:53:42  <nielsm> you can use the same map with companies cleared
19:53:45  <TrueBrain> so it is not as easy as you think ;)
19:53:52  <TrueBrain> but okay, the regression is not the issue
19:53:53  <TrueBrain> stationlist is
19:53:58  <TrueBrain> which has tons of stations at tactical places
19:54:03  <TrueBrain> to test if everything is working as expected
19:54:08  <TrueBrain> recreating that is yet another ... pita
19:54:11  <TrueBrain> (40+ stations prebuild)
19:54:21  <nielsm> oh
19:54:24  <nielsm> :(
19:54:38  <nielsm> yeah, specially modified game version that fixes the AI name then
19:54:48  <TrueBrain> load&save, and be done with it :P
19:55:28  <TrueBrain> or overwrite the stop_ai being stupid, and refusing to stop an AI on the company you are also using :P
20:00:23  <TrueBrain> meh; creating a small tool that extracts a savegame is also too much effort :P
20:02:07  <TrueBrain> seems it is not difficult to create that, but meh
20:02:12  <nielsm> probably just hack AI::Load in ai_core.cpp
20:02:28  <TrueBrain> -                               config->Change(_ai_saveload_name, -1, false, _ai_saveload_is_random);
20:02:28  <TrueBrain> +                               config->Change("Stationlist", -1, false, _ai_saveload_is_random);
20:02:33  <TrueBrain> ai_sl.cpp yo :P
20:03:16  *** Progman has joined #openttd
20:12:11  <TrueBrain> now they both load the other AI
20:12:12  <TrueBrain> lol
20:15:51  <TrueBrain> shortname was still the same
20:15:52  <TrueBrain> oops
20:16:30  <TrueBrain> still it loads the wrong AI
20:16:31  <TrueBrain> lol
20:18:50  <TrueBrain> *facepalm*
20:18:53  <TrueBrain> the other has no AI started yet
20:18:54  <TrueBrain> lol
20:24:49  <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] closed issue #5208: Console: make console commands 'ls' and 'load' work with scenarios https://git.io/fjesl
20:28:01  *** Alberth has left #openttd
20:28:28  <TrueBrain> *facepalm*
20:28:32  <TrueBrain> forgot to revert my change to fake the AI in
20:28:35  <TrueBrain> such fail
20:28:37  <TrueBrain> such epic
20:29:32  <TrueBrain> hmm .. I guess you can save games paused? :P
20:38:34  <TrueBrain> how did the person who prepared the stationlist savegame do that .. holy crap :P
20:38:50  <TrueBrain> some voodoo shit going on there
20:38:58  <TrueBrain> and what is everyone quiet here today; should I be scared?
20:39:08  <LordAro> TrueBrain: boo
20:39:15  <LordAro> TrueBrain: how is it weird?
20:39:27  <TrueBrain> you need to save the game unpaused
20:39:31  <TrueBrain> but .. that runs the AI
20:39:42  <TrueBrain> well, I guess that is okay .. it will restart again on next load, I guess
20:40:08  *** sla_ro|master has quit IRC
20:41:32  <TrueBrain> meh .. that gives another president name, that small unpause moment
20:42:49  <TrueBrain> 7838: -   HasTreeOnTile():      false
20:42:49  <TrueBrain> 7838: +   HasTreeOnTile():      true'
20:42:51  <TrueBrain> bah
20:42:56  <LordAro> ha
20:42:59  <nielsm> :D
20:43:47  <TrueBrain> this is annoying :D
20:44:41  <TrueBrain> hmm .. this savegame has no AI assigned yet
20:44:49  <TrueBrain> but out of the 4 runs, it was always 1 of the 2 available
20:50:51  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjesD
21:01:26  *** Samu has quit IRC
21:03:20  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
21:06:08  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeGn
21:07:03  <DorpsGek_II> [OpenTTD/OpenTTD] JGRennison opened issue #7374: Station sign kd-tree is not updated if station XY changes due to acquiring an ownerless/grey station pending deletion https://git.io/fjeGW
21:07:29  <TrueBrain> "editbin is required for this platform; this should be shipped with MSVC!" :(
21:07:33  <TrueBrain> it works locally! :(
21:08:31  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry updated pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fhSz0
21:14:31  <TrueBrain> lol, Mac says "0x0x0" :D
21:14:32  <TrueBrain> haha
21:14:43  <Xaroth> o_O
21:14:46  <nielsm> amazing
21:14:53  *** Thedarkb1-T60 has joined #openttd
21:15:40  *** Thedarkb-T60 has quit IRC
21:17:43  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
21:18:38  <m3henry> commit checker is failing, but I don't see the tab it's complaining about
21:18:40  <m3henry> ##[error]*** b/src/newgrf.cpp:663: Invalid tab usage: '			static_cast<uint8>(min(internal_id,	_engine_counts[type])) // substitute_id == _engine_counts[subtype] means "no substitute"'
21:20:00  <nielsm> tabs to indent for structure, spaces to align comments
21:20:03  <nielsm> ?
21:20:28  <m3henry> it seems that's what I did
21:21:13  *** frosch123 has quit IRC
21:21:14  <m3henry> oh, found it
21:21:17  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
21:21:40  <nielsm> min(internal_id, <HERE> _engine_counts[type])
21:21:43  <nielsm> :)
21:21:59  <m3henry> yeah, turning on tab highlight found it
21:22:49  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
21:22:56  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry updated pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fhSz0
21:22:59  <TrueBrain> nowhere clearly documented how to call the new VS2019 image ... guesssssiinnngggg
21:23:19  *** gelignite has quit IRC
21:24:11  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
21:24:47  <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on issue #2155: Console: heightmaps for dedicated server https://git.io/fjeGi
21:24:49  <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] closed issue #6381: Game Script: method to change company rating in town https://git.io/fjeGP
21:26:03  <TrueBrain> who is a good stalebot? WHO IS A GOOD BOY?!
21:26:42  <andythenorth> hmm
21:26:49  <andythenorth> but PRs aren't > Issues yet :(
21:28:06  <nielsm> gn
21:28:22  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
21:28:23  <TrueBrain> night nielsm
21:28:32  <TrueBrain> right, I am also done with this .. MSVC is just annoying :P
21:28:43  <TrueBrain> guess glx should check in his tiny tool :)
21:28:46  <DorpsGek_II> [OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeGD
21:36:10  *** nielsm has quit IRC
21:37:10  *** Laedek has joined #openttd
21:39:02  <Eddi|zuHause> ok, i managed to get my rover stuck in the planet core
21:40:14  <LordAro> Eddi|zuHause: i did that
21:40:21  <LordAro> then i got lost and died
21:40:34  <Eddi|zuHause> i didn't die
21:40:47  <Eddi|zuHause> but also i have no clue what to do on that core
21:41:13  <LordAro> i have an idea, but i've died 3 times trying to get back
21:41:39  <Eddi|zuHause> but first, i'm reloading before my rover got stuck
21:47:06  *** qwebirc84834 has joined #openttd
21:48:37  <Eddi|zuHause> i would feel much better if i had tethers, but i have no oxygenator on my rover :/
21:52:39  *** Samu has joined #openttd
21:55:06  <Eddi|zuHause> still have no clue :/
21:56:45  <andythenorth> just play Blitz
21:56:49  <andythenorth> no clue needed
22:04:45  *** qwebirc84834 has quit IRC
22:23:22  *** m3henry has quit IRC
22:24:20  *** andythenorth has left #openttd
22:24:48  <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on issue #6266: UI Zoom: ugly lists in network windows on double/quad interface sizes with custom fonts https://git.io/fjeZM
22:24:50  <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on issue #5078: NOAI API lack vehicle is old event https://git.io/fjeZD
22:24:51  <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on issue #4540: Orders: toggle display of implicit orders https://git.io/fjeZy
22:26:43  <peter1138> Urgh
22:26:47  <peter1138> That was a massive curry
22:26:56  <LordAro> the best sort
22:28:28  <peter1138> Charity vegetarian curry, about 50 people there, maybe a 1/3 were from the cycling group.
22:28:42  <peter1138> My belly hurts.
22:44:15  *** HerzogDeXtEr has quit IRC
22:44:36  <Eddi|zuHause> you trying haskell next?
22:44:45  <peter1138> Who?
22:44:56  <Eddi|zuHause> haskell curry
22:45:54  <Eddi|zuHause> after whom the programming language of haskell and the programming concept of currying is named
22:58:59  *** supermop_work has joined #openttd
22:59:05  *** supermop_work_ has quit IRC
23:00:39  *** supermop_work_ has joined #openttd
23:03:21  *** Progman has quit IRC
23:03:25  <peter1138> Hm
23:08:10  *** supermop_work has quit IRC
23:12:18  <peter1138> Hmm
23:17:36  *** Wolf01 has quit IRC
23:17:43  <LordAro> Hmmm
23:21:23  *** supermop_work_ has quit IRC
23:24:48  <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on issue #6328: Try to preserve existing depot orders when demolishing / rebuilding a depot. https://git.io/fjecY
23:34:11  <Eddi|zuHause> are we gonna do something about that?
23:36:30  *** Flygon has joined #openttd
23:39:13  <DorpsGek_II> [OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
23:40:53  *** Wormnest has quit IRC

Powered by YARRSTE version: svn-trunk