Back to Home / #openttd / 2019 / 03 / Prev Day | Next Day
#openttd IRC Logs for 2019-03-13

---Logopened Wed Mar 13 00:00:10 2019
01:01-!-Maarten [~maarten@2600:1700:7fd0:6e98:20c:29ff:fea0:abb6] has quit [Quit: Erection reset by beer]
01:01-!-Maarten [~maarten@2600:1700:7fd0:6e98:20c:29ff:fea0:abb6] has joined #openttd
01:01-!-Maarten is "maarten" on #openttd #oftc #moocows @#maarten
01:14-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
01:32-!-tycoondemon [~ashnohoe@ip503d7ac1.speed.planet.nl] has quit [Ping timeout: 480 seconds]
01:38-!-tycoondemon [~ashnohoe@ip503d7ac1.speed.planet.nl] has joined #openttd
01:38-!-tycoondemon is "..." on #openttd.dev #openttd
02:29-!-Heiki [~hp@taimen.sr2.fi] has quit [Read error: No route to host]
03:18-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has quit [Quit: Valete omnes]
03:36<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on issue #7372: FindStationsAroundTiles with use_nearby=true returns no results for industry tiles https://git.io/fhjhQ
03:38-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
03:38-!-andythenorth is "andythenorth" on #openttd
03:43<@peter1138>lo
03:47<andythenorth>moin
03:47<DorpsGek_II>[OpenTTD/OpenTTD] PeterN merged pull request #7370: Cleanup: Remove questionable syntax https://git.io/fhjil
03:48-!-Heiki [hp@taimen.sr2.fi] has joined #openttd
03:48-!-Heiki is "Heikki Piirainen" on #debian-offtopic #openttd #debian-next #debian
03:59<@peter1138>https://newgrf-specs.tt-wiki.net/wiki/VariationalAction2/Houses#Cargo_acceptance_history_of_nearby_stations_.2864.29
03:59<@peter1138>^ any idea why an offset would be useful?
04:00<@peter1138>Ah...
04:00<@peter1138>I read the description :p
04:01<andythenorth>it's a very specific feature :P
04:01<andythenorth>can't figure out what that would be used for, but eh
04:01<@peter1138>I'm pretty sure it's not used.
04:02<andythenorth>maybe it's to produce mail from houses if mail is delivered to station or something
04:02<andythenorth>seems like TMWFTLB
04:02<@peter1138>No because it wouldn't be picked up by the current tile.
04:02*andythenorth wonders if newgrf spec is finished yet :P
04:03<andythenorth>add counter to vehicles, incrementing on depot ctrl-click, then newgrf is all done
04:03<andythenorth>finished!
04:03<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on issue #7372: FindStationsAroundTiles with use_nearby=true returns no results for industry tiles https://git.io/fhjjY
04:06<DorpsGek_II>[OpenTTD/OpenTTD] PeterN opened pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
04:10<LordAro>peter1138: perhaps the parameter should be const?
04:12<@peter1138>?
04:12<LordAro>to prevent modifications to out parameters like that
04:13<LordAro>StationList * const stations
04:14<@peter1138>Good idea.
04:14<@peter1138>Should probably do that for others :)
04:14<LordAro>probably!
04:14<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
04:15<LordAro>peter1138: doc comment doesn't actually indicate that it's an (in?)out parameter either
04:16<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
04:16<@peter1138>Oh
04:16<@peter1138>Doc :/
04:16<@peter1138>Stupid me
04:17<@peter1138>Is there a way to do that or just free text?
04:17<@peter1138>@param[out] ?
04:18<@peter1138>Yup
04:18<@peter1138>Final
04:18<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
04:19<LordAro>peter1138: i made them all consistent a few months ago :)
04:21<LordAro>seems to me that GH shouldn't display a red x if the build was cancelled
04:22<DorpsGek_II>[OpenTTD/OpenTTD] LordAro approved pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjjP
04:26<andythenorth>hmm
04:26<andythenorth>eh I had an idea
04:26<andythenorth>how about newgrf vehicle variants? o_O
04:26<andythenorth>I should do a mockup
04:28<andythenorth> I worked very fast https://dev.openttdcoop.org/attachments/download/9259/very-groupy.png
04:29<andythenorth>bbl
04:29-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
04:40<DorpsGek_II>[OpenTTD/OpenTTD] PeterN merged pull request #7373: Fix #7372: FindStationsAroundTiles() with caching returns no result for industry tiles. https://git.io/fhjj4
04:40<DorpsGek_II>[OpenTTD/OpenTTD] PeterN closed issue #7372: FindStationsAroundTiles with use_nearby=true returns no results for industry tiles https://git.io/fhjpe
04:42-!-m3henry [~oftc-webi@62.232.243.6] has joined #openttd
04:42-!-m3henry is "OFTC WebIRC Client" on #openttd
04:52<m3henry>o/
04:58-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
04:58-!-andythenorth is "andythenorth" on #openttd
05:27<@peter1138>Hmm, well...
05:57-!-octernion [~octernion@toroon015yw-lp130-04-70-31-5-220.dsl.bell.ca] has joined #openttd
05:57-!-octernion is "octernion" on #openttd
06:03<m3henry>Hmm?
06:05-!-octernion [~octernion@toroon015yw-lp130-04-70-31-5-220.dsl.bell.ca] has quit [Ping timeout: 480 seconds]
06:30-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:81a4:50d5:b1fd:bca5:2e3a] has joined #openttd
06:30-!-Gustavo6046 is "Non dico nomen." on #openttd #oftc #moocows
06:41-!-m1cr0man [~m1cr0man@ns312254.ip-188-165-194.eu] has joined #openttd
06:41-!-m1cr0man is "Lucas" on #openttd #lxde #kvm
06:48-!-Laedek [~quassel@172.92.127.86] has quit [Read error: Connection reset by peer]
07:24-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
07:24-!-sla_ro|master is "slamaster" on #sla #openttd
07:51<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh commented on issue #7371: Kdtree is built too early in savegame loading process https://git.io/fjeJa
07:52-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
07:57-!-octernion [~octernion@toroon015yw-lp130-04-70-31-5-220.dsl.bell.ca] has joined #openttd
07:57-!-octernion is "octernion" on #openttd
07:59-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
07:59-!-andythenorth is "andythenorth" on #openttd
08:06-!-octernion [~octernion@toroon015yw-lp130-04-70-31-5-220.dsl.bell.ca] has quit [Ping timeout: 480 seconds]
08:19<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh commented on issue #7371: Kdtree is built too early in savegame loading process https://git.io/fjeJx
08:23<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on issue #7371: Kdtree is built too early in savegame loading process https://git.io/fjeUJ
08:31<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on issue #7371: Kdtree is built too early in savegame loading process https://git.io/fjeU3
09:25-!-Flygon [~Flygon@114-198-109-47.dyn.iinet.net.au] has quit [Quit: A toaster's basically a soldering iron designed to toast bread]
09:31-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
10:01-!-octernion [~octernion@toroon015yw-lp130-04-70-31-5-220.dsl.bell.ca] has joined #openttd
10:01-!-octernion is "octernion" on #openttd
10:13-!-octernion [~octernion@toroon015yw-lp130-04-70-31-5-220.dsl.bell.ca] has quit [Ping timeout: 480 seconds]
10:15-!-supermop_work [~supermopw@38.105.230.30] has joined #openttd
10:15-!-supermop_work is "A CIRC user" on #openttd
10:18-!-supermop_work_ [~supermopw@38.105.230.30] has joined #openttd
10:18-!-supermop_work_ is "A CIRC user" on #openttd
10:24-!-octernion [~octernion@toroon015yw-lp130-04-70-31-5-220.dsl.bell.ca] has joined #openttd
10:24-!-octernion is "octernion" on #openttd
10:25-!-supermop_work [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
10:43-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
10:43-!-sla_ro|master is "slamaster" on #sla #openttd
10:56<th0bse_>hi there
10:57<nnyby>hi
10:57<nnyby>:)))
10:58-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
10:58-!-Wormnest is "Wormnest" on #openttd
11:00<@peter1138>YES
11:01<andythenorth>?
11:01<@peter1138>https://www.tt-forums.net/viewtopic.php?p=1219309
11:02<@peter1138>mb has been irked ;)
11:03<andythenorth>oh dear
11:03<@peter1138>I probably shouldn't have posted the original picture, to be fair.
11:03<andythenorth>the number of fucks I now give
11:05<Xaroth>wait, UI improvements
11:08-!-octernion [~octernion@toroon015yw-lp130-04-70-31-5-220.dsl.bell.ca] has quit [Quit: octernion]
11:10<@peter1138>ooh that ginger is nice
11:12<@peter1138>https://imgur.com/a/iKjf8NK < arsehole design...
11:13<andythenorth>sold in tesco
11:13<@peter1138>That's where I got it.
11:13<@peter1138>Reduced to £2.50 so not quite so bad.
11:13<@peter1138>https://i.imgur.com/8vhNVv9.png?1
11:13<@peter1138>^ might post that image in there...
11:14-!-supermop_work [~supermopw@38.105.230.30] has joined #openttd
11:14-!-supermop_work is "A CIRC user" on #openttd
11:15<@peter1138>Or ... I cba.
11:15-!-supermop_work__ [~supermopw@38.105.230.30] has joined #openttd
11:15-!-supermop_work__ is "A CIRC user" on #openttd
11:19-!-supermop_work_ [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
11:23-!-supermop_work [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
11:56-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has joined #openttd
11:56-!-nielsm is "Niels Martin Hansen" on #openttd
12:13-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has joined #openttd
12:13-!-Samu is "realname" on #openttd
12:26-!-Alberth [~alberth@00015f9e.user.oftc.net] has joined #openttd
12:26-!-mode/#openttd [+o Alberth] by ChanServ
12:26-!-Alberth is "purple" on @#openttd
12:31<Samu>hi
12:32<andythenorth>o/
12:36<Eddi|zuHause>is that reusing some icon or is that separate?
12:37<@Alberth>o/
12:38-!-Lejving [~Lejving@81-233-148-192-no524.tbcn.telia.com] has quit [Read error: Connection reset by peer]
12:39<@peter1138>Eddi|zuHause, reusing?
12:40<@peter1138>Eddi|zuHause, rail types (even the originals do it) should provide tool bar icons
12:40<@peter1138>Eddi|zuHause, seems many authors didn't bother :/
12:42<planetmaker>that looks smaller than the toolbar icons?
12:44<@peter1138>Rail construction toolbar, not the main toolbar.
12:45<@peter1138>Hmm, mb's post deleted
12:46<Eddi|zuHause>peter1138: so, it's reusing some icon.
12:46<planetmaker>hm, ok. I thought they were bigger, too. But that destinctly looks new and nice
12:46<@peter1138>Oh, oops, it wasn't meant to be a question :-)
12:50-!-HerzogDeXtEr [~farci@ip923425f9.dynamic.kabel-deutschland.de] has joined #openttd
12:50-!-HerzogDeXtEr is "purple" on #openttd
12:52-!-m3henry [~oftc-webi@62.232.243.6] has quit [Quit: Page closed]
12:54-!-tycoondemon [~ashnohoe@ip503d7ac1.speed.planet.nl] has quit [Remote host closed the connection]
12:56-!-tycoondemon [~ashnohoe@ip503d7ac1.speed.planet.nl] has joined #openttd
12:56-!-tycoondemon is "..." on #openttd.dev #openttd
12:59-!-tycoondemon [~ashnohoe@ip503d7ac1.speed.planet.nl] has quit [Remote host closed the connection]
13:04-!-tycoondemon [~ashnohoe@ip503d7ac1.speed.planet.nl] has joined #openttd
13:04-!-tycoondemon is "..." on #openttd.dev #openttd
13:11<andythenorth>but where is cat?
13:16<Eddi|zuHause>it just came inside
13:35-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
13:35-!-frosch123 is "frosch" on +#openttd.dev #openttd
13:38<@peter1138>Hmm, and it came back :p
13:40-!-m3henry [~m3henry@host-212-139-212-35.static.as9105.net] has joined #openttd
13:40-!-m3henry is "realname" on #openttd
13:41<LordAro>meow
13:41<m3henry>o/
13:43<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry updated pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fhSz0
13:44-!-supermop_work__ [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
13:50<LordAro>m3henry: commit 3 "...with std::vector::shrink_to_fir()"
13:50<m3henry>:v
13:50<LordAro>i wonder whether it might be better to replace Reset() with just reinitialising the object, instead of the clear + shrink_to_fit calls
13:51<nielsm>std::swap(thevector, std::vector<thetype>());
13:52<m3henry>nielsm: thevector = std::Vector<thetype>(); does the same without the moves
13:52<nielsm>hm right
13:52<nielsm>-.-
13:53<m3henry>or even thevector = decltype(thevector)(); may work
13:54<m3henry>personally, I'd just use clear, but I think that's implementation specific if capacity is set to 0
13:55-!-supermop_work [~supermopw@38.105.230.30] has joined #openttd
13:55-!-supermop_work is "A CIRC user" on #openttd
13:56<m3henry>but for now, I'd leave it as is and let that sort of thing be decided later
13:56<LordAro>mm
13:57-!-supermop_work_ [~supermopw@38.105.230.30] has joined #openttd
13:57-!-supermop_work_ is "A CIRC user" on #openttd
14:03-!-supermop_work [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
14:19<LordAro>m3henry: there's several push_back({...}) - is there a reason these can't be emplace_back?
14:19<TrueBrain>because emplace is not a word!
14:19<m3henry>I thought I got all of those
14:19<m3henry>:v
14:19<m3henry>greppin time
14:20<LordAro>m3henry: review incoming, i think i've got them all :)
14:20<LordAro>might be easier
14:20<nielsm>I'm also going over it just fyi... might hit some duplicates :P
14:20<nielsm>halfway now
14:21<LordAro>uhoh
14:21<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain commented on pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fjeOn
14:21<LordAro>:D
14:21<m3henry>grep --color -ne "push_back\(\{.*\\}\)" -R . doesn't catch anything
14:21<TrueBrain>but I was also going over it! Wait, I was not :P
14:21<LordAro>m3henry: i'm going through 1 commit at a time, is it possible they were fixed in a later commit?
14:22<andythenorth>let's make OpenTTD!!!
14:23<m3henry>I think push_back({*}) is needed where T has no constructor
14:23<m3henry>or at least just a default one
14:23<LordAro>m3henry: plausible
14:24<LordAro>wouldn't be opposed to you adding some :)
14:24<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
14:24<TrueBrain>LETS BREAK STUFF
14:24<m3henry>is for another PR
14:25<andythenorth>IN CASE OF FIRE
14:25<andythenorth>BREAK GLASS
14:25-!-gelignite [~gelignite@55d44a44.access.ecotel.net] has joined #openttd
14:25-!-gelignite is "gelignite" on #openttd
14:25<Eddi|zuHause>in case of glass, break fire?
14:26<andythenorth>yes
14:26<andythenorth>IN CASE OF BREAK
14:26<TrueBrain>FIREBALL
14:26<andythenorth>FIRE GLASS
14:26<andythenorth>BREAK CASE IF FIRE IN GLASS
14:26<TrueBrain>why is our searchpath so fucked up
14:26<Eddi|zuHause>i finally made a Righteous Fire character work in PoE
14:26<TrueBrain>can someone fix that?
14:26<TrueBrain>PRETTY PLEASE?!
14:26<TrueBrain>Eddi|zuHause: welcome to two .. no, three? metas ago :P
14:27<Eddi|zuHause>probably 5 :p
14:27<TrueBrain>I joined the Bane wagon ... :P I feel so dirty
14:27<Eddi|zuHause>plus, that is one of the earliest characters i created, probably still in open beta :p
14:28<TrueBrain>sudo curl -L https://binaries.openttd.org/extra/opengfx/0.5.2/opengfx-0.5.2-all.zip
14:28<TrueBrain>. /home/vsts/work/_temp/8e2b611a-53bd-4fc6-a316-e4a8d8c3300b.sh: line 4: opengfx-0.5.2-all.zip: Permission denied
14:28<TrueBrain>wuth?!
14:28<Eddi|zuHause>i was pretty close to making it work a bunch of times
14:30<TrueBrain>ah, I see
14:30<TrueBrain>failure on my side :(
14:30<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
14:35<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
14:36<TrueBrain>this is such a frustrating way to debug :P
14:36<TrueBrain>OSX is acting up again :(
14:37<Eddi|zuHause><TrueBrain> failure on my side :( <-- how is that surprising if you're controlling all sides? :p
14:37<TrueBrain>I don't control OSX
14:37<TrueBrain>or AP
14:37<TrueBrain>:P
14:37<TrueBrain>STFU, meany!
14:37<TrueBrain>:P
14:38<@peter1138>7270 merged yet?
14:38<@peter1138>:p
14:38<TrueBrain>ALMOST
14:38<Eddi|zuHause>merge first, fix problems later :p
14:38<TrueBrain>SSE on OSX is failing again :'(
14:38<DorpsGek_II>[OpenTTD/OpenTTD] LordAro requested changes for pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeOw
14:38<LordAro>nielsm: i win
14:38<nielsm>:P
14:39<@peter1138>Who even uses OSX? :D
14:39<LordAro>right, that's the last 40 minutes i've spent not working, time to go home
14:39<TrueBrain>:o
14:39<m3henry>o/
14:40<m3henry>east-const forevar!
14:41<TrueBrain>all Ubuntu agents decided to stop reporting in
14:41<TrueBrain>hateful bunch
14:43<TrueBrain>ah, Docker Hub was saying NO
14:45<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeOP
14:45<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeOX
14:47<nielsm>aaaallllmost there now
14:47<nielsm>...oh , maybe not? https://0x0.st/zXql.png
14:49<TrueBrain>:D
14:53-!-supermop_work_ [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
14:54<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
14:54<TrueBrain>hopefully this fixes OSX .. now MSVC ..
14:55<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
14:58<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeO5
15:01<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
15:05<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fje3J
15:10<@peter1138>Oh, btw, if I'm adding NULL checks, should I start using nullptr?
15:17<TrueBrain>hmm .. MSVC works but also not, because it is running both regressions at once
15:17<TrueBrain>and ... we do some trickery that makes that not possible :P
15:19<LordAro>nielsm: i wouldn't be opposed to that
15:19<LordAro>peter1138: i think we're still "use NULL everywhere for now"
15:19<LordAro>i imagine m3henry will write a PR soon to convert them all :)
15:20<Eddi|zuHause>"sed -i s/NULL/nullptr/g"? :p
15:22<TrueBrain>so ... whos idea was it to make these regression savegames with the same AI name build into it?
15:22<TrueBrain>can I modify the AI name of the savegame, I wonder ..
15:26<TrueBrain>hmm .. how can I do this in a clever way ...
15:26<TrueBrain>it is not a readable string in the savegame ..
15:27<TrueBrain>guess I have one of the compressions to blame :P
15:27<Xaroth><insert XML savegame format joke here>
15:27<TrueBrain>@kick Xaroth joke is on you
15:27-!-Xaroth was kicked from #openttd by DorpsGek [joke is on you]
15:28-!-Xaroth [~Xaroth@00017153.user.oftc.net] has joined #openttd
15:28-!-Xaroth is "Xaroth Brook" on #openttd +#openttd.dev
15:28<TrueBrain>do we have an offline extraction tool for savegames of some sorts?
15:28<andythenorth>silly
15:28<andythenorth>XML is for newgrf
15:28-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
15:28-!-Wolf01 is "Wolf01" on #openttd
15:28<TrueBrain>I am sure peter1138 has a patch for that :D
15:30-!-supermop_work [~supermopw@38.105.230.30] has joined #openttd
15:30-!-supermop_work is "A CIRC user" on #openttd
15:30<TrueBrain>we of course have our own header in front of this .. meh
15:31<dwfreed>andythenorth: perl in xml cdata
15:31-!-supermop_work_ [~supermopw@38.105.230.30] has joined #openttd
15:31-!-supermop_work_ is "A CIRC user" on #openttd
15:31<andythenorth>ow
15:32<andythenorth>how long did it take to think up the worst solution
15:32<dwfreed>probably 5 seconds
15:33<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
15:33<TrueBrain>okay, we are moving away from OFTC, ASAP
15:33<TrueBrain>I am scared shitless now :P
15:33<TrueBrain><3
15:33<dwfreed>not OFTC stuff
15:33<TrueBrain>that is what they all say :P
15:33<dwfreed>this was AntiSpamMeta on freenode
15:33<TrueBrain>owwwhhh, that explains a lot
15:33<TrueBrain>okay, that is fine :P
15:34<dwfreed>we switched those to actual perl modules, though regex is still used for command matching
15:34<dwfreed>it just now directly calls the sub, instead of eval-ing the xml contents
15:34<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fje3V
15:34<TrueBrain>Savegame ver: 193
15:34<TrueBrain>NewGRF ver: 0x150068F0
15:34<TrueBrain>that is pretty old .. 1.5 ..
15:35<TrueBrain>Savegame ver: 104
15:35<TrueBrain>NewGRF ver: 0x07003962
15:35<TrueBrain>that is even older :D
15:38<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fje3w
15:39-!-supermop_work [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
15:45<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
15:45<TrueBrain>*sad panda*
15:46<nielsm>what's the problem?
15:47<TrueBrain>I need to rename the AI that is used by a savegame
15:47<TrueBrain>both savegames for regression load the AI "Regression"
15:47<TrueBrain>and with trickery either one or the other is named like that
15:48<TrueBrain>I want one to load Regression, and the other to load StationList
15:48<TrueBrain>as that makes a lot more sense
15:49<nielsm>maybe just recreate the save and the reference output dump?
15:50<TrueBrain>nearly impossible
15:50<TrueBrain>that would take me a very long time to get that just right :P
15:51<nielsm>I mean, don't try to make it produce the same output as it has done so far
15:51<TrueBrain>difficult to proof I did a good job, in that case
15:51<TrueBrain>as I have no clue what exactly it is testing
15:52<TrueBrain>I just want to decompress the save, tbh :P
15:52<TrueBrain>or ... hmm
15:52<TrueBrain>modify the code to rename the AI :P
15:52<nielsm>the purpose of the regression is to show that the same sequence of commands leads to the same sequence of output
15:52<nielsm>isn't it?
15:52<TrueBrain>sort-of
15:52<TrueBrain>we have 2 versions
15:52<nielsm>the actual sequence of output is secondary
15:52<TrueBrain>regression and station_list
15:52<nielsm>as long as it reproduces
15:53<TrueBrain>regression you really do not want to redo
15:53<TrueBrain>the map is tailored for it
15:53<TrueBrain>it needs certain tiles on certain positions
15:53<TrueBrain>like water, immovable objects, etc
15:53<TrueBrain>it needs to be able to build stations at certain places
15:53<TrueBrain>etc etc
15:53<nielsm>you can use the same map with companies cleared
15:53<TrueBrain>so it is not as easy as you think ;)
15:53<TrueBrain>but okay, the regression is not the issue
15:53<TrueBrain>stationlist is
15:53<TrueBrain>which has tons of stations at tactical places
15:54<TrueBrain>to test if everything is working as expected
15:54<TrueBrain>recreating that is yet another ... pita
15:54<TrueBrain>(40+ stations prebuild)
15:54<nielsm>oh
15:54<nielsm>:(
15:54<nielsm>yeah, specially modified game version that fixes the AI name then
15:54<TrueBrain>load&save, and be done with it :P
15:55<TrueBrain>or overwrite the stop_ai being stupid, and refusing to stop an AI on the company you are also using :P
16:00<TrueBrain>meh; creating a small tool that extracts a savegame is also too much effort :P
16:02<TrueBrain>seems it is not difficult to create that, but meh
16:02<nielsm>probably just hack AI::Load in ai_core.cpp
16:02<TrueBrain>- config->Change(_ai_saveload_name, -1, false, _ai_saveload_is_random);
16:02<TrueBrain>+ config->Change("Stationlist", -1, false, _ai_saveload_is_random);
16:02<TrueBrain>ai_sl.cpp yo :P
16:03-!-Progman [~progman@p4FD668F1.dip0.t-ipconnect.de] has joined #openttd
16:03-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttd
16:12<TrueBrain>now they both load the other AI
16:12<TrueBrain>lol
16:15<TrueBrain>shortname was still the same
16:15<TrueBrain>oops
16:16<TrueBrain>still it loads the wrong AI
16:16<TrueBrain>lol
16:18<TrueBrain>*facepalm*
16:18<TrueBrain>the other has no AI started yet
16:18<TrueBrain>lol
16:24<DorpsGek_II>[OpenTTD/OpenTTD] stale[bot] closed issue #5208: Console: make console commands 'ls' and 'load' work with scenarios https://git.io/fjesl
16:28-!-Alberth [~alberth@00015f9e.user.oftc.net] has left #openttd []
16:28<TrueBrain>*facepalm*
16:28<TrueBrain>forgot to revert my change to fake the AI in
16:28<TrueBrain>such fail
16:28<TrueBrain>such epic
16:29<TrueBrain>hmm .. I guess you can save games paused? :P
16:38<TrueBrain>how did the person who prepared the stationlist savegame do that .. holy crap :P
16:38<TrueBrain>some voodoo shit going on there
16:38<TrueBrain>and what is everyone quiet here today; should I be scared?
16:39<LordAro>TrueBrain: boo
16:39<LordAro>TrueBrain: how is it weird?
16:39<TrueBrain>you need to save the game unpaused
16:39<TrueBrain>but .. that runs the AI
16:39<TrueBrain>well, I guess that is okay .. it will restart again on next load, I guess
16:40-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
16:41<TrueBrain>meh .. that gives another president name, that small unpause moment
16:42<TrueBrain>7838: - HasTreeOnTile(): false
16:42<TrueBrain>7838: + HasTreeOnTile(): true'
16:42<TrueBrain>bah
16:42<LordAro>ha
16:42<nielsm>:D
16:43<TrueBrain>this is annoying :D
16:44<TrueBrain>hmm .. this savegame has no AI assigned yet
16:44<TrueBrain>but out of the 4 runs, it was always 1 of the 2 available
16:50<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjesD
17:01-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has quit [Read error: Connection reset by peer]
17:03<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
17:06<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeGn
17:07<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
17:07<TrueBrain>"editbin is required for this platform; this should be shipped with MSVC!" :(
17:07<TrueBrain>it works locally! :(
17:08<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry updated pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fhSz0
17:14<TrueBrain>lol, Mac says "0x0x0" :D
17:14<TrueBrain>haha
17:14<Xaroth>o_O
17:14<nielsm>amazing
17:14-!-Thedarkb1-T60 [~Thedarkb-@51-171-48-215-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
17:14-!-Thedarkb1-T60 is "realname" on #openttd #oolite
17:15-!-Thedarkb-T60 [~Thedarkb-@51-171-48-215-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
17:17<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
17:18<m3henry>commit checker is failing, but I don't see the tab it's complaining about
17:18<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"'
17:20<nielsm>tabs to indent for structure, spaces to align comments
17:20<nielsm>?
17:20<m3henry>it seems that's what I did
17:21-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
17:21<m3henry>oh, found it
17:21<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
17:21<nielsm>min(internal_id, <HERE> _engine_counts[type])
17:21<nielsm>:)
17:21<m3henry>yeah, turning on tab highlight found it
17:22<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
17:22<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry updated pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fhSz0
17:22<TrueBrain>nowhere clearly documented how to call the new VS2019 image ... guesssssiinnngggg
17:23-!-gelignite [~gelignite@55d44a44.access.ecotel.net] has quit [Quit: Good fight, good night!]
17:24<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
17:24<DorpsGek_II>[OpenTTD/OpenTTD] stale[bot] commented on issue #2155: Console: heightmaps for dedicated server https://git.io/fjeGi
17:24<DorpsGek_II>[OpenTTD/OpenTTD] stale[bot] closed issue #6381: Game Script: method to change company rating in town https://git.io/fjeGP
17:26<TrueBrain>who is a good stalebot? WHO IS A GOOD BOY?!
17:26<andythenorth>hmm
17:26<andythenorth>but PRs aren't > Issues yet :(
17:28<nielsm>gn
17:28<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
17:28<TrueBrain>night nielsm
17:28<TrueBrain>right, I am also done with this .. MSVC is just annoying :P
17:28<TrueBrain>guess glx should check in his tiny tool :)
17:28<DorpsGek_II>[OpenTTD/OpenTTD] M3Henry commented on pull request #7165: [core] Implement SmallVector using std::vector https://git.io/fjeGD
17:36-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
17:37-!-Laedek [~quassel@172.92.127.86] has joined #openttd
17:37-!-Laedek is "Laedek" on #openttd
17:39<Eddi|zuHause>ok, i managed to get my rover stuck in the planet core
17:40<LordAro>Eddi|zuHause: i did that
17:40<LordAro>then i got lost and died
17:40<Eddi|zuHause>i didn't die
17:40<Eddi|zuHause>but also i have no clue what to do on that core
17:41<LordAro>i have an idea, but i've died 3 times trying to get back
17:41<Eddi|zuHause>but first, i'm reloading before my rover got stuck
17:47-!-qwebirc84834 [~oftc-webi@host160-124-dynamic.180-80-r.retail.telecomitalia.it] has joined #openttd
17:47-!-qwebirc84834 is "OFTC WebIRC Client" on #openttd
17:48<Eddi|zuHause>i would feel much better if i had tethers, but i have no oxygenator on my rover :/
17:52-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has joined #openttd
17:52-!-Samu is "realname" on #openttd
17:55<Eddi|zuHause>still have no clue :/
17:56<andythenorth>just play Blitz
17:56<andythenorth>no clue needed
18:04-!-qwebirc84834 [~oftc-webi@host160-124-dynamic.180-80-r.retail.telecomitalia.it] has quit []
18:23-!-m3henry [~m3henry@host-212-139-212-35.static.as9105.net] has quit [Quit: Leaving]
18:24-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has left #openttd []
18:24<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
18:24<DorpsGek_II>[OpenTTD/OpenTTD] stale[bot] commented on issue #5078: NOAI API lack vehicle is old event https://git.io/fjeZD
18:24<DorpsGek_II>[OpenTTD/OpenTTD] stale[bot] commented on issue #4540: Orders: toggle display of implicit orders https://git.io/fjeZy
18:26<@peter1138>Urgh
18:26<@peter1138>That was a massive curry
18:26<LordAro>the best sort
18:28<@peter1138>Charity vegetarian curry, about 50 people there, maybe a 1/3 were from the cycling group.
18:28<@peter1138>My belly hurts.
18:44-!-HerzogDeXtEr [~farci@ip923425f9.dynamic.kabel-deutschland.de] has quit [Read error: Connection reset by peer]
18:44<Eddi|zuHause>you trying haskell next?
18:44<@peter1138>Who?
18:44<Eddi|zuHause>haskell curry
18:45<Eddi|zuHause>after whom the programming language of haskell and the programming concept of currying is named
18:58-!-supermop_work [~supermopw@38.105.230.30] has joined #openttd
18:58-!-supermop_work is "A CIRC user" on #openttd
18:59-!-supermop_work_ [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
19:00-!-supermop_work_ [~supermopw@38.105.230.30] has joined #openttd
19:00-!-supermop_work_ is "A CIRC user" on #openttd
19:03-!-Progman [~progman@p4FD668F1.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
19:03<@peter1138>Hm
19:08-!-supermop_work [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
19:12<@peter1138>Hmm
19:17-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
19:17<LordAro>Hmmm
19:21-!-supermop_work_ [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
19:24<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
19:34<Eddi|zuHause>are we gonna do something about that?
19:36-!-Flygon [~Flygon@114-198-109-47.dyn.iinet.net.au] has joined #openttd
19:36-!-Flygon is "Flygon" on #openttd
19:39<DorpsGek_II>[OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
19:40-!-Wormnest [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
20:53-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
20:53-!-Wormnest is "Wormnest" on #openttd
21:04-!-dihedral [~dihedral@h2771368.stratoserver.net] has quit [Ping timeout: 480 seconds]
21:11-!-Wormnest [~Wormnest@35.136.176.177] has quit [Quit: Leaving]
21:21-!-dihedral [~dihedral@2a01:238:421b:c500:8f29:1729:65bc:1477] has joined #openttd
21:21-!-dihedral is "dihedral" on +#openttdcoop.dev @#grapes #openttd.noai #openttd.dev #openttd
21:36-!-TrueBrain_ [~truebrain@home.truebrain.nl] has quit [Ping timeout: 480 seconds]
21:36-!-TrueBrain [~TrueBrain@home.truebrain.nl] has quit [Ping timeout: 480 seconds]
21:38-!-TrueBrain [~TrueBrain@home.truebrain.nl] has joined #openttd
21:38-!-TrueBrain is "TrueBrain" on #openttd
21:38-!-TrueBrain_ [~truebrain@home.truebrain.nl] has joined #openttd
21:38-!-TrueBrain_ is "Patric Stout" on #dorpsgek #openttd
22:28-!-Thedarkb2-T60 [~Thedarkb-@51-171-49-156-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
22:28-!-Thedarkb2-T60 is "realname" on #openttd #oolite
22:29-!-Thedarkb-X40 [~beno@51-171-49-156-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
22:29-!-Thedarkb-X40 is "realname" on #openttd #/r/openttd #oolite
22:34-!-Thedarkb1-T60 [~Thedarkb-@51-171-48-215-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
23:16-!-debdog [~debdog@2a00:79c0:647:300:7a24:afff:fe8a:d04d] has joined #openttd
23:16-!-debdog is "Wowbagger" on #openttd #bitlbee
23:19-!-D-HUND [~debdog@2a00:79c0:619:5500:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
23:20-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has quit [Quit: Leaving]
23:52-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
23:52-!-tokai|noir is "Christian Rosentreter" on #openttd
23:52-!-mode/#openttd [+v tokai|noir] by ChanServ
23:59-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
---Logclosed Thu Mar 14 00:00:11 2019