Back to Home / #openttd / 2018 / 04 / Prev Day | Next Day
#openttd IRC Logs for 2018-04-06

---Logopened Fri Apr 06 00:00:18 2018
00:01-!-Cubey [] has quit [Ping timeout: 480 seconds]
00:48-!-Supercheese [] has quit [Read error: Connection reset by peer]
01:12-!-sla_ro|master [] has joined #openttd
01:12-!-sla_ro|master is "slamaster" on #sla #openttd
01:31-!-sim-al2 is now known as Guest2345
01:31-!-sim-al2 [] has joined #openttd
01:31-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
01:34-!-Guest2345 [] has quit [Ping timeout: 480 seconds]
01:37-!-ccfreak2k [] has quit [Ping timeout: 480 seconds]
01:40-!-ccfreak2k [] has joined #openttd
01:40-!-ccfreak2k is "Got ZNC?" on #moocows #openttd #slackware
02:04-!-andythenorth [] has joined #openttd
02:04-!-andythenorth is "andythenorth" on #openttd
02:11<andythenorth>lo bird
02:11<andythenorth>47 done?
02:14<Pikka>not quite happy with it yet
02:14<Pikka>in the meantime, teaching AI about industries
02:15<andythenorth>I did such liveries
02:15<andythenorth>and have questions
02:16<andythenorth>ok so the livery alternates if the vehicle is flipped
02:16<andythenorth>works as BAD FEATURE
02:16<Pikka>si... but more than two liveries I see
02:16<andythenorth>different generations
02:16<andythenorth>easier to see them in buy menu
02:16<andythenorth>now I want random coach types, depending on position in consist somehow
02:17<andythenorth>so saloon, restaurant
02:17<andythenorth>I thought maybe brake coach?
02:17<Pikka>so not actually random, just different?
02:17<andythenorth>but not symmetrical
02:17<andythenorth>different or random, dunno
02:17<andythenorth>the code part I can do, it's the 'what'
02:18<andythenorth>coaches nearer to London get a yellow cantrail stripe?
02:19<andythenorth>if next stop is > 32 tiles, it's a sleeper train?
02:19<Pikka>just one or two different coaches makes a big difference
02:20<Pikka>brakes on the ends and a rst somewhere in the middle?
02:20<andythenorth>I'll try the brakes
02:20<andythenorth>they won't flip when flipped
02:20<Pikka>but you could have two different variants, one for the front and one for the back
02:20<Pikka>if so inclined
02:20<andythenorth>and restaurant car every what, 3 cars, 5 cars?
02:21-!-sim-al2 is now known as Guest2351
02:21<andythenorth>measure length of consist, put it in the middle?
02:21-!-sim-al2 [] has joined #openttd
02:21-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
02:21<Pikka>one per train, in the middle but towards the front?
02:21<andythenorth>ok that's some hideous switch
02:22<andythenorth>this also leads to a TPO if the train is only mail :"
02:22<andythenorth>now how to measure consist length :P
02:25*andythenorth reads nfo docs, the nml docs can be confusing
02:25-!-Guest2351 [] has quit [Ping timeout: 480 seconds]
02:34-!-Netsplit <-> quits: Mek_, XeryusTC, Hazzard, Antheus, Yotson, rellig, dihedral, Exec, jonty-comp, swimstar[m], (+105 more, use /NETSPLIT to show all of them)
02:37-!-Netsplit over, joins: Ttech, funnel, ericnoan, urdh, ToffeeYogurtPots_, Taede, greeter, @planetmaker, grossing, muffe (+104 more)
03:26-!-ZexaronS [] has joined #openttd
03:26-!-ZexaronS is "Aaron Zek" on #openttd
04:08-!-ZexaronS [] has quit [Ping timeout: 480 seconds]
04:13<Eddi|zuHause>about the signals: no clue. does it not respect the ingame setting "build semaphore before <X>"? about the maths: sorry, i won't have time today
04:15-!-sla_ro|master [] has quit []
04:18<Pikka>maybe it does, Eddi, but it's a shame if it can't be overriden. After all, the default GUI now allows manually building either signal type.
04:21<Pikka>andythenorth: still something wrong with it. maybe it just needs the roof detail made bolder to distract from the iffy nose shape.
04:21<andythenorth>well it has a nice face
04:22<andythenorth>in the – view, I'd reduce the windscreen rake
04:22<andythenorth>make it more flat, and step in a bit from the nose
04:22<andythenorth>it's not the actual shape, but it's how the shape looks imho
04:22<Pikka>yes, it's been tricky to get that right
04:23<Pikka>it doesn't look quite so pronounced when it's not against a bright white background though :)
04:26<andythenorth>looks live a 50 though
04:26<andythenorth>should be a 50 anyway, more vroom
04:26*andythenorth will stop advising on engines :)
04:27<Pikka>vroom vroom
04:27<andythenorth>make it a bo-bo 47
04:28<andythenorth>I really liked Vs trains
04:29<Pikka>quite the extra zoom level
04:29<andythenorth>that I could leave
04:29<andythenorth>but the chibi
04:30<andythenorth>do it a bit fake, and let the BORTS 2 guys repaint it to realism
04:30<andythenorth>actually BORTS 2 will probably change name
04:30<andythenorth>so all this magic consist stuff
04:30<andythenorth>I'd better do it
04:31<andythenorth>you've done it before pikka
04:31<andythenorth>is it just a *lot* of switches?
04:31<Pikka>and I'll do it again, probably.
04:31<Pikka>not that many?
04:46<andythenorth>probably not
04:46<andythenorth>check consist cargo, check position in consist, check engine, check flipped var
04:52<Pikka>well, if you're going to have that many variations, you'll need that many switches :P
05:09-!-sla_ro|master [] has joined #openttd
05:09-!-sla_ro|master is "slamaster" on #sla #openttd
05:16-!-FLHerne [] has joined #openttd
05:16-!-FLHerne is "Francis Herne" on #kernelnewbies #openttd
---Logclosed Fri Apr 06 05:40:43 2018
---Logopened Fri Apr 06 05:43:42 2018
05:43-!-mikegrb [] has joined #openttd
05:43-!-Irssi: #openttd: Total of 124 nicks [5 ops, 0 halfops, 2 voices, 117 normal]
05:45-!-Irssi: Join to #openttd was synced in 93 secs
06:30<Pikka>cb25 is the gold standard of BAD FEATURES
06:30<andythenorth>can't fugure out how I'd actually make use of it
06:31<Pikka>generational upgrades on one ID :P
06:31<Pikka>HEP, multi-mode electrics, that sort of thing. All the basics.
06:31<andythenorth>how do you set the bits?
06:32<andythenorth>handle cb36, check prop 25, return something?
06:32<Pikka>I was just thinking about cb36... yes, property 25
06:32<Pikka>not hugely useful :P
06:32<Pikka>I'm sure I've used it for some things though
06:32<Pikka>prop 25 rings a bell
06:33<andythenorth>I found a way that didn't need it
06:34<andythenorth>probly much more use when one doesn't have a templated grf compile :P
06:34<andythenorth>then can leave props behind on engines
06:35*Pikka shrugs
06:35<Pikka>engines with props
06:35<andythenorth>zellepins :(
06:36<andythenorth>zellepin mus
06:36<Pikka>4 tiles long
06:37<andythenorth>hover zellepins :(
06:38<Pikka>what's wrong with them?
06:39<andythenorth>the joke is to predictable :)
06:39<andythenorth>the zellepins are fine
06:42<Pikka>zellepins do as zellepins be
06:44<andythenorth>coaches match engine now
06:44<andythenorth>and can still be flipped for alternate livery
06:48<andythenorth>mail cars are kind of sucky sprites
06:49<andythenorth>still haven't found a nice style
06:50<Pikka>I think you need fewer windows/doors
06:50<Pikka>blank sides look like mail, lots of windows and doors look like a compartment car
06:52<andythenorth>slab sides then
06:52<andythenorth>one big black open door? :P
06:52<Pikka>do you have a pic of the current ones?
06:53<andythenorth>2 mins
06:55<andythenorth>ideally I need a style I can apply to trucks too :P
06:57-!-Thedarkb-X40 [] has joined #openttd
06:57-!-Thedarkb-X40 is "realname" on #openttd #/r/openttd
07:01<Pikka>yeah... I'd reduce them to 2 doors with one window, maybe? and/or no windows in the doors?
07:01<andythenorth>NARS 2 is more slab side
07:03<Pikka>the totally-unprototypical ones I've drawn in 32bpp are just MK1s with two half-width windows instead of 4 full windows... I think it gets the point across.
07:03<Pikka>windows=passengers, at TTD scale
07:06<andythenorth>I will do similar
07:09-!-synchris [~synchris@] has joined #openttd
07:09-!-synchris is "Synesios Christou" on #openttd
07:21-!-sla_ro|master [] has quit []
07:37<andythenorth>newgrf wiki cert expired
07:37<andythenorth>chrome is quite strict about it :P
07:40<andythenorth>also tt-forums
07:40<andythenorth>orudge: ^
07:43<LordAro>good ol' shortterm letsencrypt certs
07:43<LordAro>bet it's renewing them but not restarting the webserver
07:45<andythenorth>just restart the webserver every 5 minutes :P
07:55<andythenorth>how to var 42 in nml?
07:56<andythenorth>I can't get most_common_refit to do what I expect
07:59-!-Thedarkb1-X40 [] has joined #openttd
07:59-!-Thedarkb1-X40 is "realname" on #/r/openttd #openttd
08:00<Pikka>I don't know, certificate errors :)
08:00<andythenorth>I added an exception :P
08:01<andythenorth>I had to use firefox
08:01<Pikka>"This site uses HTTP Strict Transport Security (HSTS) to specify that Firefox may only connect to it securely. As a result, it is not possible to add an exception for this certificate."
08:01<andythenorth>how strict
08:03-!-Thedarkb1-X40 [] has quit []
08:03<andythenorth>kind of hoped this would work
08:03<andythenorth>but it might need bitmask stuff
08:04<Pikka>hang on, what are you trying to do?
08:05<andythenorth>get the most common class in the consist
08:05<andythenorth>but hang on, is that what var 42 does?
08:05<andythenorth>nfo docs say it's the cargo type not class
08:07<Pikka>I have NML docs but I still can't see the tt-wiki
08:07*andythenorth tests
08:08<Pikka>42 is cargo classes, yes
08:09<andythenorth>cc the most common cargo type (from the column for type A)
08:09<Pikka>for "column for type A" read "cargo translation table" IIRC
08:10<andythenorth>maybe the error is elsewhere
08:10*andythenorth tests
08:11<Pikka>it might be that that bit of 42 isn't mapped to NML, because no-one ever figured anyone would need it :P
08:11<andythenorth>mayeb :)
08:11<andythenorth>but also my other switches aren't doing what I expect
08:11<andythenorth>so I'll fix that first
08:11<Pikka>cargo_classes_in_consist and most_common_refit are both bits of var 42?
08:13<andythenorth>I think so
08:13<andythenorth>I'll read nml src
08:13<andythenorth> 'most_common_refit' : {'var': 0x42, 'start': 16, 'size': 8},
08:14<andythenorth>8 bits at a 16 bit offset
08:14<andythenorth>so cc
08:16-!-ZexaronS [] has joined #openttd
08:16-!-ZexaronS is "Aaron Zek" on #openttd
08:17<andythenorth>iz puzzle
08:18<andythenorth>but my graphics chain works
08:18<andythenorth>just can't trigger it on MAIL or CC_MAIL
08:18<Pikka>yes, it should work in that case. Unless your train isn't actually mostly cc_mail :P
08:19<andythenorth>or it should be label
08:19<andythenorth>not class
08:19<Pikka>yes, should be a cargo
08:19<andythenorth>nml docs might be wrong
08:19<andythenorth>but I can't get it to work anyway
08:21-!-FLHerne [] has quit [Ping timeout: 480 seconds]
08:24<andythenorth>var 42 I can inspect in game
08:24<andythenorth>it's 00 if the train is mostly pax, and 02 if mostly mail
08:24<andythenorth>which matches the CTT
08:25<Pikka>unless column A is untranslated
08:25<Pikka>I don't remember why there was even a column A and column B, I think one ended up being translated to the CTT and one didn't.
08:26<andythenorth>or nml is broken
08:26<Pikka>mail should be 2 regardless
08:26<Pikka>possibly :P
08:34<andythenorth>think I have a fix
08:35<andythenorth>offset should be 8, not 16, afaict
08:38<Pikka>sounds plausible
08:40<andythenorth>ok more madness now
08:46-!-Thedarkb [] has joined #openttd
08:46-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
08:51-!-sla_ro|master [slamaster@] has joined #openttd
08:51-!-sla_ro|master is "slamaster" on #sla #openttd
08:57<andythenorth>Pikka: armoured livery? o_O
08:58<andythenorth>I'm running out of places to put pixels
09:03<andythenorth>now I just need to do position-in-consist variations
09:14-!-supermop_work [] has joined #openttd
09:14-!-supermop_work is "A CIRC user" on #openttd
09:17<supermop_work>how are the pixels
09:19<Pikka>fighting with AI at the moment, otherwise well
09:28<andythenorth>mail cars check most common cargo
09:31<Pikka>orudge rebooted the server :)
09:32<Pikka>fresh horses
09:32<andythenorth>such horse
09:33<Pikka>Eddi|zuHause, no it doesn't obey that setting... still builds light signals before the date
09:35-!-rocky1138 [~rocky1138@] has quit [Ping timeout: 480 seconds]
09:39<andythenorth>so should mail cars get any position-based variants?
09:39<andythenorth>they already come in 3 lengths
09:42-!-ToBeFree [] has joined #openttd
09:42-!-ToBeFree is "Tobias "ToBeFree" Frei" on #https-everywhere #oolite-dev #openttd #tor #debian @#linux #oolite #oolite-ger @#InfiniteAdventures
09:42<andythenorth>but there are different flavours of mail car
09:44<Pikka>obviously they should, then
09:44<andythenorth>obvs :P
09:44<andythenorth>so a version with no doors?
09:49<andythenorth>ok so every pax mail consist gets: first | default | middle-ish | default | last
09:49<andythenorth>and if it's less than 5 cars, dunno :P
09:50<andythenorth>but fixed rules will get done much sooner :)
09:54-!-Thedarkb-X40 [] has quit [Ping timeout: 480 seconds]
09:54-!-rocky1138 [~rocky1138@] has joined #openttd
09:54-!-rocky1138 is "Your Mom" on #openttd
09:58-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
10:07<Thedarkb>Trains still pick up passengers on implicit orders, right?
10:11<Pikka>if you have cargodist on, possibly not
10:13<Thedarkb>That explains a lot
10:36<Pikka>afaia most people always use explicit non-stop orders
10:36<SpComb>cargodist and non-non-stop isn't a good idea
10:37<andythenorth>also no-loading is required for freight
10:37<SpComb>iirc, although I can't immediately remember why, cargodist doesn't actually use the vehicle orders, does it?
10:49-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
10:50-!-Flygon [] has quit [Read error: Connection reset by peer]
10:53-!-TheMask96 [] has joined #openttd
10:53-!-TheMask96 is "Martijn Zweistra" on #openttd @#altcontrol #openttd.notice
10:53-!-_3298 [] has joined #openttd
10:53-!-_3298 is "realname" on #openttd
11:00<_3298>i think we have a problem, a spammer found the bugtracker
11:01<_3298>can someone with the proper permissions clean it up?
11:02<_3298>this is the spam comment i'm talking about:
11:08<andythenorth>I have some edit rights, but I don't see an option to remove that attachment
11:17-!-Cubey [] has joined #openttd
11:17-!-Cubey is "Jaybar" on #openttd
11:18<_3298>andy, the comment text has been copied from another comment further up, so we lose nothing by deleting the entire comment (if possible)
11:22-!-Wormnest [] has joined #openttd
11:22-!-Wormnest is "Wormnest" on #openttd
11:27-!-HerzogDeXtEr [] has joined #openttd
11:27-!-HerzogDeXtEr is "purple" on #openttd
11:28<andythenorth>nah I don't have rights
11:31-!-tokai [] has joined #openttd
11:31-!-mode/#openttd [+v tokai] by ChanServ
11:31-!-tokai is "Christian Rosentreter" on +#openttd
11:37-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
11:42*Pikka ->
11:42-!-Pikka [] has quit [Quit: Leaving]
11:51-!-GT [] has joined #openttd
11:51-!-GT is "GT" on #openttd
12:12-!-Progman [] has joined #openttd
12:12-!-Progman is "Peter Henschel" on #openttdcoop #openttd
12:15-!-FLHerne [] has joined #openttd
12:15-!-FLHerne is "Francis Herne" on #kernelnewbies #openttd
12:38-!-frosch123 [] has joined #openttd
12:38-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd
12:46<andythenorth>oh you beat me :P
12:46<andythenorth>I didn't want to jump straight in with that :P
12:47<frosch123>i don't come into chat unprepared :p
12:49<andythenorth>do we care about existing grfs?
12:49<andythenorth>they don't work anyway
12:49<andythenorth>so changing name is fine
12:50<frosch123>_3298: done
12:51<frosch123>andythenorth: yes, my thought. noone uses is
12:52<andythenorth>so commit patch, fix docs, done?
12:56-!-glx [] has joined #openttd
12:56-!-mode/#openttd [+v glx] by ChanServ
12:56-!-glx is "Loïc GUILLOUX" on +#openttd
12:58-!-Gja [] has joined #openttd
12:58-!-Gja is "Martin" on #ceph #bcache #openttd
13:09-!-_3298 [] has quit [Quit: Leaving]
13:39-!-Stimrol [] has quit [Ping timeout: 480 seconds]
13:41<andythenorth>frosch123: tests passed locally, I push?
13:42-!-supermop_work [] has quit [Ping timeout: 480 seconds]
13:42<frosch123>please go ahead
13:42-!-chomwitt is "chomwitt" on #debian #debian-games
13:42-!-chomwitt [~chomwitt@2a02:587:dc10:fb00:74a1:7b6:da8:bb9a] has joined #openttd
13:45<@DorpsGek>Commit by translators :: r28004 trunk/src/lang/belarusian.txt (2018-04-06 19:45:38 +0200 )
13:45<@DorpsGek>-Update from Eints:
13:45<@DorpsGek>belarusian: 42 changes by KorneySan
13:46<TrueBrain>frosch123: shall I do my thing first thing tomorrow or so?
13:46-!-supermop_work [] has joined #openttd
13:46-!-supermop_work is "A CIRC user" on #openttd
13:46<andythenorth>I was going to update docs
13:46<andythenorth>but again I can't get in wiki
13:46<TrueBrain>poor you
13:47<TrueBrain>sounds like you are sad about it :(
13:47<TrueBrain>ugh, the automated build of is really no good
13:47<andythenorth>every time I have to use the password reset
13:47<andythenorth>presumably LDAP is just fucked?
13:47<andythenorth>does it ever work?
13:48<TrueBrain>I have no clue what you are talking about, as you never explained your problem to me, so any guess is as good as the next for me :)
13:49<TrueBrain>ah ... nevermind :P
13:49<andythenorth>doesn't recognise my creds
13:49<TrueBrain>not in my domain of control :D
13:49<andythenorth>as long as password reset keeps working, the world will keep spinning
13:52<frosch123>TrueBrain: move fs?
13:53<TrueBrain>and gh
13:54<frosch123>when you move svn we need to shut down eints for some time
13:54<TrueBrain>means tomorrow around .. 10-ish, I put FS in readonly
13:54<TrueBrain>good point
13:54<TrueBrain>can eints work with git btw?
13:54<frosch123>it does on devzone for like 2 projects
13:55<frosch123>but irrc we used different scripts for ottd
13:55<TrueBrain>so my idea would be to migrate FS, takes ~5 hours, then move svn
13:55<TrueBrain>then we fiddle with everything till it is happy again :P
13:55<frosch123>ok, so everything at once :)
13:55<TrueBrain>if you have a better idea :D
13:55<TrueBrain>FS without SVN feels a bit lame :)
13:57<andythenorth>devzone has git projects :o
13:57<andythenorth>also I did the nml docs :)
13:58<TrueBrain>frosch123: I am in the final round of testing the Bamboo <-> GH link; it will be Linux-only for now
13:58<TrueBrain>but we can expand that pretty rapidly
13:58<andythenorth>future arrives fast :)
13:58<andythenorth>ottd is very fun again
13:58<frosch123>sounds nice
13:59<andythenorth>I have totally stopped playing tanks
13:59<andythenorth>it's more fun when there's big infra change
13:59-!-FLHerne [] has quit [Ping timeout: 480 seconds]
13:59<TrueBrain>so tomorrow will be moving day I guess
13:59<TrueBrain>frosch123: do you want to write a post? or email to devs about it?
14:00<frosch123>i want to replace the bug tracker links in the last news
14:00<frosch123>otherwise a news post about the new repository and some rebase-c&p commands when the repo is done
14:01<frosch123>people with svn write access will figure it out :p
14:01<TrueBrain>we need a PR dude to handle this stuff .. wait ... that was what planetmaker was for :P
14:01<TrueBrain>you are the boss :)
14:01<frosch123>by elimination
14:01<TrueBrain>any way to the top is a good way :P
14:03<TrueBrain>I am tempted to start the migration now, but the FS move takes for-ever :(
14:03<TrueBrain>silly limitations
14:04<frosch123>well, earlier we had to delete a spam post on fs
14:04<TrueBrain>getting an account and posting there takes such effort
14:04<frosch123>so maybe move it now before they post 1000 things over night :p
14:04<andythenorth>just lock it
14:04<andythenorth>"omg what if someone can't report a bug" :)
14:05<TrueBrain>well, not the worst idea ... I can start the migration just before bedtime
14:05<frosch123>oh, btw, did we figure out the place to upload .dmp to?
14:05<TrueBrain>I did not
14:06<TrueBrain>did we try uploading it to github issue? (they allow some uploads)
14:06<frosch123>well, if people zip it
14:11<TrueBrain>okay .. so I told to build some Dockerfiles for me
14:11<TrueBrain>then I hit cancel
14:11<TrueBrain>removed the repository
14:11<TrueBrain>created a new under the same name
14:11<TrueBrain>and .... the builds are still being added
14:11<TrueBrain>.... lol?
14:14<Thedarkb>Does the sailing ship NewGRF work with FIRS?
14:15<andythenorth>dunno :)
14:15<andythenorth>try it
14:15<TrueBrain>that is too easy
14:15<Thedarkb>Trying it now.
14:22<Eddi|zuHause>hm... something i came across today: does windows not allow flipping left/right on stereo speakers?
14:23<Eddi|zuHause>or is that just incredibly hidden?
14:23<TrueBrain>I just always connect my boxes correctly
14:23<Eddi|zuHause>that's not really the point ;)
14:24<Eddi|zuHause>it's an issue with cable lengths. because the computer stands on the left, if the powered speaker were on the left instead of right, it would allow better placement
14:29<frosch123>just sit on the other side of the table
14:32*andythenorth sends Eddi 2m of cable from Amazon :P
14:34<andythenorth>so how do I check vehicle is 'middle' of consist?
14:34<TrueBrain>funny ... Bamboo gives me XSRF check failed on some API endpoints (not all), while XSRF is disabled in the config
14:34<TrueBrain>go figure
14:34<andythenorth>I can think of bad ways to do it, but there's probably a neat one line with modulo
14:35<frosch123>position_in_consist - position_in_consist_from_back
14:39<Eddi|zuHause>Pikka (who is not here): with that the AI should now always build semaphores (untested)
14:39<andythenorth>how do I find the number of engines?
14:39<andythenorth>I want to set a sprite for first pax coach
14:39<andythenorth>hmm, assumptions that won't hold reliably :P
14:40<Eddi|zuHause>andythenorth: that will probably never work right
14:40<Eddi|zuHause>except in the most trivial cases
14:40<andythenorth>not even if I go mad with 0x61
14:40<andythenorth>how about 'first of this ID' then?
14:40<TrueBrain>XSRF fails because it sees http instead of https ... euh ... lol ?
14:40<Eddi|zuHause>use position in chain?
14:41<andythenorth>or 0x61 to check preceeding vehicle is not same refit?
14:41<andythenorth>BAD FEATURES
14:41<Thedarkb>What's the join timeout option called?
14:41<Thedarkb>in the cfg
14:43<Eddi|zuHause>you can call var 0x61 after pushing var 41 to the 60+ parameter register
14:43<Eddi|zuHause>that should give you information about the first vehicle in the ID chain
14:43<Eddi|zuHause>possibly negative 41
14:44<Eddi|zuHause>not sure if that is what you asked for
14:45<andythenorth>nah me neither :)
14:45<andythenorth>I think some bad features are better abandoned before they're implemented
14:46<frosch123>andythenorth: use position_in_vehid_chain
14:46<frosch123>easy to check for first vehicle in sequence of identical ones
14:47-!-ZexaronS [] has quit [Quit: Leaving]
14:48<Eddi|zuHause>that won't, however do anything for "give me a list of all vehicles refitted to <X>" type of problems
14:49<andythenorth>I want first and last pax vehicles, specifically
14:49<andythenorth>not sure this is wise
14:50<Eddi|zuHause>but, do you want to identify whether the current vehicle is the first or last. or do you want to access information from those vehicles anywhere in the chain?
14:51<andythenorth>I want to identify if current vehicle is first or last with pax refit
14:52<LordAro>TrueBrain: migration hype
14:52<andythenorth>I'm now 60% certain I shouldn't want to do this :P
14:53<Thedarkb>You know the "your computer is too slow for the server" message?
14:53<Thedarkb>How do I increase the timeout?
14:53<Eddi|zuHause>andythenorth: suggestion: a) scrap the refit part. have always known for any ID whether it's passenger or not passenger, b) use var 60
14:53<Thedarkb>It's my server, I should obviously be able to play on it.
14:54<andythenorth>I could do it with ID yes
14:54<andythenorth>that's not a bad idea
14:55<Eddi|zuHause>if sum (var60 for any ID that is passenger) from PARENT is the same as sum (var60 for any ID that is passenger), then it's the first vehicle
14:55<Eddi|zuHause>if sum is 1, it's the last
14:56<frosch123>how did you apply a time limit to a velocity?
14:57<Eddi|zuHause>andythenorth: mind you that this is probably a computationally expensive operation
14:58<andythenorth>shame there's no var equivalent to position_in_vehid_chain, but spanning gaps (non-consecutive) :)
14:59<Eddi|zuHause>andythenorth: also, i found the "user-defined bits" (again). it's the "uu" part of var42
14:59<andythenorth>yes :)
14:59<andythenorth>and we just added it to nml :P
14:59<andythenorth>I am studiously ignoring it
14:59<frosch123>good choice
14:59<andythenorth>I can't see how it could be used for anything wise
15:00<frosch123>i think it is useful for start/stop realism bs
15:00<frosch123>but likely not useful for graphics
15:00<Eddi|zuHause>i guess the intention was something like "needs a brake van" or "heating type <x>"
15:00<andythenorth>I could use num_vehs_in_vehid_chain
15:01<andythenorth>there are some sprites that make sense to show for first / last vehicle in a chain IFF it's reasonably long
15:01<Eddi|zuHause>andythenorth: like above, var60 for PARENT vs. var60 for SELF?
15:01<andythenorth>if first in consecutive chain, and chain > 5, then show special sprite
15:02<Eddi|zuHause>well, length of the chain is just position from start+position from end?
15:02<Eddi|zuHause>so if start==0 and end > 5?
15:04<Eddi|zuHause>my old idea for the user bits was something like "train has a dining car"
15:05<Eddi|zuHause>like, all dining cars would set the same bit, and then the train can check without knowing all IDs of dining cars
15:05<andythenorth>that is one of the things I am doing
15:05<andythenorth>but I can do that in the compile
15:05<andythenorth>so eh :)
15:05<TrueBrain>I am getting so fed up by Bamboo .. endless bugs and wrong information ..
15:05<TrueBrain>it tries to execute a job on a slave that cannot handle the task defined
15:05<TrueBrain>... no shit
15:05<TrueBrain>it is not in the capability table
15:05<Eddi|zuHause>TrueBrain: sounds like a typical day
15:06<frosch123>would jenkins have the necessary stuff?
15:06<TrueBrain>it would, I guess
15:06<TrueBrain>it has problems too
15:06<TrueBrain>but at least there you can hack the shit out of it
15:06<LordAro>doit :>
15:06<andythenorth>jenkins keeps on trucking
15:06<TrueBrain>yeah, I might try it out soon-ish
15:06<TrueBrain>but for now I just want to get the migration done :)
15:07<LordAro>it's gotten marginally fancy with the pipeline stuff
15:07<andythenorth>works quite well
15:07<LordAro>and the blue ocean interface is very shiny
15:07<andythenorth>we use it for tests, not CI
15:07<TrueBrain>most people I know that know Jenkins, do not want to use pipelines :D
15:07<andythenorth>pipelines were a win for us
15:07<andythenorth>we can run multiple parts of a job sanely
15:07<andythenorth>and split them over AWS too
15:08<TrueBrain>AWS still didnt reply to me questions .. hmmm
15:08<andythenorth>AWS have people? :o
15:08<andythenorth>I can't imagine Bezos wanting to pay to provide customer service
15:08<Eddi|zuHause>maybe you should repeat the question louder and more slowly?
15:09<TrueBrain>okay, enough of this nonesense .. installing Jenkins ...
15:09<frosch123>a co worker advised me to call 24 hour hotlines between 1am and 6am, when they have time for you
15:09<TrueBrain>I am not interested in talking to a heavily breathing woman :P
15:09-!-Gja [] has quit [Quit: Going offline, see ya! (]
15:09<TrueBrain>owh, not those hotlines? :P
15:10<frosch123>it even was the amazon hotline
15:10<frosch123>but not aws
15:10<Eddi|zuHause>i don't think i actually ever tried calling any such hotline
15:10<TrueBrain>I once had to pick up a NOC number ... not funny how many people call for nothing that important :(
15:12<TrueBrain>owh, we once had Jenkins installed on this machine
15:12<TrueBrain>2011 :D
15:12<frosch123>i think there was also something called buildbot
15:12<frosch123>never heard of it again
15:12<TrueBrain>we tried that a blue monday
15:13<andythenorth>we tried buildbot
15:13<TrueBrain>we even run our own farm code for a while
15:13<andythenorth>it was bad
15:13<andythenorth>or we were
15:13<peter1138>I've got a Jenkins install
15:15-!-gelignite [] has joined #openttd
15:15-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
15:16<peter1138>Oops that hot sauce was rather hot
15:17*andythenorth makes trains
15:18<Eddi|zuHause>why the hell did i agree to meeting at 9AM on a saturday?
15:19<TrueBrain>please ask again later
15:19<andythenorth>heuristics failure?
15:19<andythenorth>how BAD should the bad features be?
15:20<andythenorth>first 6 trains are railcars, hauling pax cars
15:20<andythenorth>I *could* make the pax cars look identical to railcar
15:20<andythenorth>but that's confusing
15:21<andythenorth>I *could* knock the yellow ends off the railcars when they are multiple
15:21<andythenorth>that's probably BAD GOOD
15:21-!-Supercheese [] has joined #openttd
15:21-!-Supercheese is "Supercheese" on #openttd
15:22<Eddi|zuHause>make the wagons look like railcars? what's next, powered wagons?
15:22<andythenorth>don't :P
15:29<TrueBrain>okay, Jenkins installed (via docker)
15:29<TrueBrain>weekly, not the LTS .. I am like that, living on the edge!
15:32<TrueBrain>lol .. first you want to install these 500000000+1 plugins :D
15:32<frosch123>that's more than years in ottd
15:33<frosch123>can you reduce it to 5000000
15:34-!-supermop_work [] has quit [Ping timeout: 480 seconds]
15:37<TrueBrain>ugh, it opens in Dutch .. wtf ...
15:38<TrueBrain>well, partial, anyway
15:41<Eddi|zuHause>i don't think i've seen a program that opens in dutch yet
15:44<TrueBrain>be happy
15:44<TrueBrain>horrible language to read systems in
15:48-!-supermop_work [] has joined #openttd
15:48-!-supermop_work is "A CIRC user" on #openttd
15:55-!-Montana [] has joined #openttd
15:55-!-Montana is "OFTC WebIRC Client" on #openttd
15:55<TrueBrain>hmm .. LDAP no workie :(
15:58<TrueBrain>almost locked myself out :D
16:04-!-Gja [] has joined #openttd
16:04-!-Gja is "Martin" on #ceph #bcache #openttd
16:09<TrueBrain>lol @ Jenkins and GitHub hooks
16:09<TrueBrain>one hook refuses to work with username/password
16:09<TrueBrain>the other with API token
16:12-!-Montana [] has quit [Remote host closed the connection]
16:27<TrueBrain>okay ... GH integration works .. ish
16:30<TrueBrain>LOL! His build status update triggers .... another build
16:31<TrueBrain>ah, no
16:31<TrueBrain>I was mistaken
16:31<TrueBrain>it was building all tags!
16:36<Thedarkb>Is there a way of unpasswording companies/
16:36<Thedarkb>From the console?
16:38<TrueBrain>now I have to learn how to make Docker jobs in Jenkins .. oh-oh :D
16:43-!-supermop_work [] has quit [Ping timeout: 480 seconds]
16:47<TrueBrain>FlySpray is now read-only
16:48<Eddi|zuHause>Thedarkb: i don't know much about the console, but you can move yourself to a company, and then change the password
16:50-!-synchris [~synchris@] has quit [Remote host closed the connection]
16:52<TrueBrain>frosch123: it is happening! For the next 12 hours or so you won't receive any bugs :D
16:53<TrueBrain>left a nice message telling people about it, and forced everyone to logout
16:53<TrueBrain>(I changed the session-key-hash :D)
16:54<Supercheese>Flyspray ded, long live Github?
16:54-!-supermop_work [] has joined #openttd
16:54-!-supermop_work is "A CIRC user" on #openttd
16:54<TrueBrain>FlySpray read-only
16:54<TrueBrain>the rest will come tomorrow
16:54<ST2>ohhhh, the hype ;)
16:55<Thedarkb>dbg: [net] [admin] the admin '' () made an error and has been disconnected. Reason: 'received invalid or unexpected packet'
16:55<Thedarkb>dbg: [net] [admin] '' () has disconnected
16:57<TrueBrain>awh, a cosmic ray hit your computer? How terrible :D
16:58<ST2>'received invalid or unexpected packet' <<-- UPS isn't the same nowadays ^^
17:04-!-Gja [] has quit [Quit: Going offline, see ya! (]
17:04-!-sim-al2 [] has joined #openttd
17:04-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
17:09<TrueBrain>hmm .. combining a pipeline where the Jenkinsfile is NOT in the scm and GitHub stuff seems to be incompatible :P
17:12<TrueBrain>simple solution is adding the Jenkinsfile to git :p
17:13-!-Montana [] has joined #openttd
17:13-!-Montana is "Montana" on #openttd #ttdistas
17:13-!-gelignite [] has quit [Quit: I have always found that mercy bears richer fruits than strict justice.]
17:16-!-sim-al2 is now known as Guest2411
17:16-!-sim-al2 [] has joined #openttd
17:16-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
17:19-!-Guest2411 [] has quit [Ping timeout: 480 seconds]
17:20-!-ToBeFree [] has quit [Remote host closed the connection]
17:20-!-ToBeFree [] has joined #openttd
17:20-!-ToBeFree is "Tobias "ToBeFree" Frei" on #https-everywhere #oolite-dev #openttd #debian @#linux #oolite #oolite-ger @#InfiniteAdventures
17:27<andythenorth>consist position rules work :D
17:29-!-FLHerne [] has joined #openttd
17:29-!-FLHerne is "Francis Herne" on #kernelnewbies #openttd
17:30<TrueBrain>meh; a lot of this is automated if the Jenkinsfile is in the repo :p guess that is what we will be doing then or something?
17:32<andythenorth>that's what we do
17:32<andythenorth>at work
17:33<andythenorth>bonus: it means some of the jenkins configuration is in VCS
17:33<andythenorth>and developers can find it, instead of it being hidden magic
17:33<TrueBrain>yeah .. but it picks the Jenkinsfile from the Pull Request
17:33<TrueBrain>my plan was to whitelist everyone, and use Docker
17:33<TrueBrain>so .. nobody can do nasty things .. well .. not really anyway
17:33<andythenorth>coop bundles does something different
17:33<andythenorth>no jenkins file in newgrf repos
17:33<andythenorth>there's some magic
17:34<TrueBrain>I can do it myself; I did that for Bamboo
17:34<TrueBrain>but I like it if others do my work
17:34<TrueBrain>the other mode this comes with by default, that a developer has to whitelist a person making a PR
17:34<TrueBrain>after that it automatically checks for that person
17:35<andythenorth>no comments on the pink pls
17:35<TrueBrain>nice; but that pink ...
17:36<andythenorth>thx TB :)
17:36<TrueBrain>np darling :)
17:37<LordAro>TrueBrain: the whitelist thing doesn't seem unreasonable
17:37<TrueBrain>no, but it is a fake idea of security
17:37<TrueBrain>of course you keep out the people who try this trick to get stuff compiled etc (bitcoin mining)
17:38<TrueBrain>I rather force stuff in Docker :D
17:39<LANJesus>the trick to docker is to go gently
17:39<LANJesus>caress the text files softly
17:39<LANJesus>massage the scripts
17:40<LANJesus>hmm, this might not be the correct channel. pardon me.
17:42<andythenorth>is bed?
17:42<andythenorth>or moar trains :P
17:43<Eddi|zuHause>can't ever have too many trains
17:44<TrueBrain>yeah, bed time; tomorrow more fiddling with getting a CI running :)
17:44<Supercheese>until they... jam
17:49-!-ToBeFree [] has quit [Quit: Leaving]
18:03-!-sla_ro|master [slamaster@] has quit []
18:03-!-andythenorth [] has left #openttd []
18:11-!-FLHerne [] has quit [Quit: There's a real world out here!]
18:15-!-Mahjong2 [~qq@2a00:23c5:6507:1a00:7519:5a25:9cb1:ebb6] has joined #openttd
18:15-!-Mahjong2 is "realname" on #ohnx #openttd
18:22-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
18:23-!-Mahjong1 [~qq@2a00:23c5:6507:1a00:b837:b283:3aa:35ed] has quit [Ping timeout: 480 seconds]
18:29-!-andythenorth [] has joined #openttd
18:29-!-andythenorth is "andythenorth" on #openttd
18:29<andythenorth>how can I check if a consist has an odd number of vehicles?
18:29<andythenorth>something % something
18:32<Eddi|zuHause>you could use %2 or &1
18:33<Eddi|zuHause>or if you're looking for whether you're the at the middle vehicle, use position == position_from_end
18:48<Thedarkb>What kind of industrial station should I use with scrap metal on FIRS
18:50<andythenorth>CHIPS mud
18:52-!-supermop_work [] has quit [Ping timeout: 480 seconds]
18:57-!-Wormnest [] has quit [Quit: Leaving]
19:06<andythenorth>eh no pikka
19:07-!-andythenorth [] has quit [Quit: andythenorth]
19:16-!-Progman [] has quit [Remote host closed the connection]
19:38-!-Montana [] has quit [Quit: Montana]
19:38-!-Pikka [] has joined #openttd
19:38-!-Pikka is "realname" on #openttd
19:45<Eddi|zuHause>Pikka is the new DanMacK?
19:45<Pikka>I hope not
19:46<Eddi|zuHause>it would fit from the timings :p
19:47<Eddi|zuHause>also [06.04.18 20:39] <Eddi|zuHause> Pikka (who is not here): with that the AI should now always build semaphores (untested)
19:50<Pikka>yes... thx
19:59<Pikka>if it's something that needs patching in the API I guess it's a feature request for 1.8.1 then
20:11-!-supermop [] has joined #openttd
20:11-!-supermop is "A CIRC user" on #openttd
20:23-!-Supercheese [] has quit [Quit: Valete omnes]
20:34-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
20:40-!-chomwitt [~chomwitt@2a02:587:dc10:fb00:74a1:7b6:da8:bb9a] has quit [Ping timeout: 480 seconds]
20:43-!-iSoSyS [~iSoSyS@2001:8a0:e97a:ce00:4555:4713:1b2d:100f] has joined #openttd
20:43-!-iSoSyS is "realname" on #/r/openttd #openttd
20:45<supermop>hows tropical brutalism land?
20:46-!-ToBeFree is "ToBeFree" on #debian @#InfiniteAdventures. @#InfiniteAdventures
20:46-!-ToBeFree [] has joined #openttd
20:46<Pikka>they knocked it down to build a casino
20:49-!-Supercheese [] has joined #openttd
20:49-!-Supercheese is "Supercheese" on #openttd
20:56<Pikka>less than 20 years old when they pulled it down
20:56-!-iSoSyS [~iSoSyS@2001:8a0:e97a:ce00:4555:4713:1b2d:100f] has quit [Quit: Leaving]
20:59-!-Thedarkb-X40 [] has joined #openttd
20:59-!-Thedarkb-X40 is "realname" on #/r/openttd #openttd
21:00-!-GT [] has quit [Quit: Leaving.]
21:25-!-glx [] has quit [Quit: Bye]
21:30-!-bwn [] has quit [Ping timeout: 480 seconds]
21:31-!-Thedarkb-X40 [] has quit [Quit: Leaving]
21:41-!-Flygon [] has joined #openttd
21:41-!-Flygon is "Flygon" on #openttd
21:43-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
21:48-!-bwn [] has joined #openttd
21:48-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4 #debian-offtopic
22:06-!-CompuDesktop [~Compu@] has joined #openttd
22:06-!-CompuDesktop is "Compu" on #help #openttd #openttdcoop.stable #openttdcoop #/r/openttd
22:07-!-Compu [] has quit [Ping timeout: 480 seconds]
22:27<supermop>whats your ai Pikka ?
22:27<Pikka>expanding civilai
22:27<Pikka>trucks are done
22:27<Pikka>trains are getting there
22:27<Pikka>ships will be easy
22:28<supermop>is it up for testing?
22:30<Pikka>once the trains and ships are done
22:30<Pikka>the old version with just buses and planes is on bananana
22:30<Pikka>currently wrestling with getting it to put the wagons behind the loco :P
22:30<supermop>push only operation?
22:31<Pikka>behind = in the same train as
22:32-!-muffindrake2 [] has joined #openttd
22:32-!-muffindrake2 is "muffindrake" on #openttd
22:34-!-muffindrake1 [] has quit [Ping timeout: 480 seconds]
22:55-!-ToBeFree [] has quit [Quit: Connection closed for inactivity]
22:56<supermop>what is the reason that these british sets constantly sabotage themselves
22:57<supermop>it seemed in the latest iteration that multiple people were contributing without issue until the project leader just declares the project stopped?
22:57<supermop>why even bother
22:59-!-rocky1138 [~rocky1138@] has quit [Ping timeout: 480 seconds]
23:02-!-Netsplit <-> quits: Mek_, XeryusTC, Hazzard, Antheus, Yotson, rellig, dihedral, Exec, jonty-comp, swimstar[m], (+78 more, use /NETSPLIT to show all of them)
23:03-!-ToffeeYogurtPots_ [] has joined #openttd
23:03-!-funnel is "funnel" on #libevent #davical #uml #perl #monkeysphere #dzen #ii #virt #debian #bitlbee #tor #pentadactyl #kernelnewbies #awesome #oftc #vserver #moocows #linode #acal #flect #antlr @#cursive @#exvm #mci
23:03-!-HeyCitizen [] has quit [Ping timeout: 480 seconds]
23:04-!-Netsplit over, joins: funnel, ericnoan, urdh, Taede, @planetmaker, grossing, muffe, SpComb, berndj, APTX_ (+77 more)
23:05<Pikka>also, ugggggggggghhhhhhh... just needed a -1 on AIVehicle.GetNumWagons(train) and all is well. AI builds a train.
23:06-!-HeyCitizen [] has joined #openttd
23:06-!-HeyCitizen is "Got ZNC?" on #openttd #/r/openttd
23:20-!-Supercheese [] has quit [Read error: Connection reset by peer]
23:20-!-Supercheese [] has joined #openttd
23:20-!-Supercheese is "Supercheese" on #openttd
---Logclosed Sat Apr 07 00:00:19 2018