Back to Home / #openttd / 2019 / 01 / Prev Day | Next Day
#openttd IRC Logs for 2019-01-23

---Logopened Wed Jan 23 00:00:33 2019
00:34-!-Pikka [~Albert@220-244-87-78.tpgi.com.au] has joined #openttd
00:34-!-Pikka is "realname" on #openttd
00:36-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:81a4:8c12:43be:af4b:f8e3] has quit [Ping timeout: 480 seconds]
00:36-!-bwn [~bwn@107-136-160-22.lightspeed.frokca.sbcglobal.net] has quit [Ping timeout: 480 seconds]
01:04-!-bwn [~bwn@107-136-160-22.lightspeed.frokca.sbcglobal.net] has joined #openttd
01:04-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #mm #kernelnewbies #ext4
01:41<@peter1138>But "^.*STR_AI_CONFIG_HUMAN_PLAYER.*$" is the same as... "STR_AI_CONFIG_HUMAN_PLAYER" ...
02:02<@peter1138>TrueBrain, will there be Linux binaries for nightlies?
02:26-!-Thedarkb-X40 [~beno@51-171-49-131-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
02:27-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
02:27-!-andythenorth is "andythenorth" on #openttd
02:36<andythenorth>moin
02:38<Pikka>noim
02:41<andythenorth>:o
02:41<andythenorth>they allowed Pikka back
02:41<Pikka>time off for good behaviour, or something
02:41<andythenorth>how's pineappple land? 40 degreees?
02:41-!-HerzogDeXtEr [~farci@dslb-178-005-115-041.178.005.pools.vodafone-ip.de] has joined #openttd
02:41<andythenorth>97%?
02:41-!-HerzogDeXtEr is "purple" on #openttd
02:41<Pikka>only 34 today
02:41<Pikka>practically sub-arctic
02:41<andythenorth>dunno if I'm jealous or not
02:42<andythenorth>it's 3 here and dark
02:42<@peter1138>-0.3 at the moment.
02:42<andythenorth>ugh
02:43<andythenorth>Pikka: so what's the go? :)
02:43<andythenorth>more politics?
02:43<andythenorth>educashion?
02:44<Pikka>some of each, I think. Internships for uni this year, which could be fun.
02:44<Pikka>also HSTs
02:45<andythenorth>column A, column B
02:45<andythenorth>hmm why did I delete HSTs?
02:45<Pikka>something about mail capacity
02:46<andythenorth>mumble mumble
02:46<Pikka>I didn't put mail capacity in mine, let people use them on coal trains if they want to ;)
02:46<andythenorth>nah, it's because I have an 8/8 pax engine already with ~3000hp
02:46<andythenorth>so a 16/8 HST engine at 4500hp wins nothing
02:46<Pikka>hmmm
02:47<andythenorth>that could change, but pulling that thread....changes everything else :P
02:47<andythenorth>anyone know if Horse is done yet?
02:47<Pikka>yes, adding a delticoid will blunt the HST somewhat
02:48<andythenorth>I could get over my obsession with integer lengths
02:48<andythenorth>and do a 12/8 HST
02:48<andythenorth>meh
02:49<Pikka>eh
02:51<Pikka>at least with real-world vehicles, I can blame redundancy on "realism" :)
02:52<andythenorth>yair
02:52<Pikka>also I decided to be stricter about 20th century, so the Voyager is out and the HST becomes an end-game vehicle :P
02:53*Pikka bbs
02:53<andythenorth>you need more bi-mode :P
03:17-!-HerzogDeXtEr [~farci@dslb-178-005-115-041.178.005.pools.vodafone-ip.de] has quit [Read error: Connection reset by peer]
03:18<andythenorth>bbls
03:18-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
03:56-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
03:56-!-andythenorth is "andythenorth" on #openttd
04:00<andythenorth>Pikka bob
04:08<@peter1138>Hey Pikka, have you considered not deleting all your website content every couple of months? :/
04:08<andythenorth>serves faster though
04:08<@peter1138>True that.
04:11<andythenorth>delete the web
04:11<andythenorth>imagine the speed of it
04:23<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #7077: Change: Always build baseset metadata, instead of including it in the repo. https://git.io/fhzn8
04:23<@peter1138>Super.
04:24<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on pull request #7077: Change: Always build baseset metadata, instead of including it in the repo. https://git.io/fhaEd
04:24<@peter1138>Azure being shit again :p
04:25<@peter1138>anybody knows why #7077 - my stuff that wasn't build?
04:25<@peter1138>I'm sorry Samu.
04:26<andythenorth>super
04:28-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
04:28-!-mode/#openttd [+v tokai|noir] by ChanServ
04:28-!-tokai|noir is "Christian Rosentreter" on +#openttd
04:30<@peter1138>Lunch time yet?
04:30<andythenorth>yes
04:32<@peter1138>Great.
04:33<@peter1138>Hmm, should I crack on with work, or look at #6811? :p
04:35-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
04:36<Pikka>well
04:36<Pikka>I thought I was going to do something else with the website
04:36<Pikka>but then I didn't
04:37<Pikka>so I put the previous last post back :)
04:37<andythenorth>peter1138: bit of column A, bit of column B?
04:37<andythenorth>how urgent / fun is the work? o_O
04:40<andythenorth>Pikka: signs Horse might be done...
04:40<andythenorth>I spent a day making EMUs go faster if you attach the right engine
04:41<andythenorth>https://dev.openttdcoop.org/attachments/download/9252/horse_tc_madness.png
04:42<Pikka>wasn't there something about redrawing all the steam locomotives? ;)
04:42<andythenorth>oh yes, they're not done
04:42<andythenorth>oof
04:42<andythenorth>also I considered 'brake force', but it turns out Snail already did it
04:42<andythenorth>I even considered....variable running costs :o
04:43<Pikka>:D
04:46*Pikka go make dins
05:11<@peter1138>We need brake force in game :/
05:12<@peter1138>I just have no idea how to properly implement it :p
05:13<@peter1138>Hmm, work out how many tiles it'll take to stop at the current speed, and then reserve those extra tiles. Somehow.
05:13<@peter1138>If (reservation length < braking length) try reserving further, else start slowing down
05:13<@peter1138>Hmm, that may actually work.
05:14<@peter1138>It would also make path signals stay green longer.
05:15<@peter1138>Not sure about slopes.
05:16<andythenorth>can we have acceleration (torque) *and* deceleration (brake force)? :P
05:16<@peter1138>I'd approve #7085 but Azure hasn't run that either.
05:17<@peter1138>andythenorth, please!
05:17<@peter1138>andythenorth, but is there a sensible default for torque?
05:17<andythenorth>yeah but no but
05:17<@peter1138>Is it currently "infinite"?
05:17<andythenorth>can't remember, let me look in ground_vehicle :P
05:18<@peter1138>I think it would be, as it's just mass and max_te.
05:18<@peter1138>& power.
05:19<@peter1138>Would it be an absolute value or a coefficient?
05:19<andythenorth>coefficient I think
05:19<andythenorth>I looked into real physics of it, but eh
05:19<andythenorth>it just needs to be a bonus / malus for vehicles
05:19<andythenorth>I've tested in-game, and TE factor is pretty pointless
05:19<andythenorth>TE only makes a gameplay difference on slopes where the vehicle is already down near lowest speed
05:19<andythenorth>this is correct physics afaict also
05:22<andythenorth>gameplay result is that given a choice of similar engines, you should always pick the engine with most HP
05:45<@peter1138>Our slopes aren't long enough
05:45<@peter1138>It makes a difference when a heavy train is on a slope
05:45<@peter1138>This is why the freight trains factor exists, to artifically inflate the gradient.
05:46<andythenorth>I tested it quite a bit, it's only a factor at lower speeds
05:46<@peter1138>Maybe it would be better to apply to the whole train, not just the weight of freight
05:46<andythenorth>matches the real physics also
05:46<@peter1138>Yes
05:46<@peter1138>Torque is also such a factor
05:46<andythenorth>once TE is 'enough', HP is the major factor IRL
05:46<andythenorth>BUT
05:46<@peter1138>Yes
05:47<andythenorth>real vehicles have limitations like rotation speed of components
05:47<andythenorth>I don't want to model that
05:47<@peter1138>That's why we have a max-speed property
05:47<andythenorth>I just want the option to nerf the acceleration of fast trains
05:47<@peter1138>So torque to limit acceleration.
05:47<andythenorth>yair
05:47<andythenorth>IC125 accelerates slowly :P
05:47<andythenorth>due to high gearing
05:47<@peter1138>If it's a coefficient, what is it a coefficient of?
05:48<andythenorth>dunno, I tried to figure it out, irl the physics equations don't account for it
05:48<@peter1138>If it's an absolute value, that kinda makes more sense and easier to fit in.
05:48<andythenorth>because HP is just derived from torque * speed / 5252 or something
05:48*andythenorth looks
05:50<andythenorth>https://danielmiessler.com/study/horsepower/
05:50<andythenorth>Horsepower = (Torque x RPMs) / 5252
05:50<@peter1138>Stupid units :p
05:51<@peter1138>We don't simulate RPMs of course.
05:51<andythenorth>well we have speed
05:51<andythenorth>which is related to RPMS by pi* r^2 I guess
05:51<@peter1138>Should we simulate gearing?
05:51<andythenorth>dunno
05:51<andythenorth>does your 29-er get off the line faster than your BMX?
05:52<andythenorth>given the same peter1138 on the pedals?
05:52<@peter1138>Errr
05:52<@peter1138>I don't have a BMX.
05:52<@peter1138>So I can't tell you.
05:52<@peter1138>Probably :p
05:52<andythenorth>I never understood why
05:53<@peter1138>Could you simulate gearing by using different max torques at different speeds?
05:53<andythenorth>probs
05:53<andythenorth>I don't understand the IRL maths
05:53<andythenorth>the smaller wheel is easier to spin, but travels less far
05:53<@peter1138>I'm not sure that'd work.,
05:53<andythenorth>so why doesn't the maths net out to same result?
05:53<andythenorth>is it because r^2 ?
05:53<@peter1138>Because it's not just the wheel.
05:53<andythenorth>where is Eddi|zuHause :P
05:54<andythenorth>isn't work done / time going to come out the same at the end?
06:33<Eddi|zuHause>i'm not sure what you're trying to get here
06:34<andythenorth>1. understanding
06:34<andythenorth>2. more ability to differentiate low speed / high speed engines
06:35<Eddi|zuHause>the max rotation speed of the motor comes usually from other factors, so the gear ratio directly translates that into a max vehicle speed
06:36<andythenorth>yes
06:36<andythenorth>those factors aren't captured by f = ma or HP = (torque * rpm) / 5252
06:36<andythenorth>FWIW
06:37<Eddi|zuHause>at low speeds speed is limited by max TE (wheels slipping on the rails), and at higher speeds it is limited by power/speed - friction > 0
06:38<andythenorth>- electric motors produce max torque at stall, and are limited on rotation speed, primarily by back EMF
06:38<andythenorth>- diesel engines produce more torque at higher speeds, but have a fixed RPM range
06:39<andythenorth>- steam engines with cylinders are limited by the rotational speed of the wheel bearing and other motion parts
06:39<andythenorth>so much RL :P
06:40<Eddi|zuHause>that needs a more detailed physics emulation
06:40<andythenorth>well, sticking to 'how does RL work'...
06:40<andythenorth>if an electric motor can deliver 100HP at stall
06:40<Eddi|zuHause>i'm not a physicist
06:40<andythenorth>why does the gearing affect acceleration?
06:41<andythenorth>2:1 will produce twice the torque of 1:1, but the RPMs will be half
06:42<andythenorth>so distance travelled over time should be equal in both cases
06:43<Eddi|zuHause>iirc it moves the point where power/speed takes over from max TE
06:43<andythenorth>web pages I'm reading say "this isn't intuitive, unless you're newton" :P
06:43<Eddi|zuHause>but i don't remember in which direction
06:44<Eddi|zuHause>but really, i'm not the person to discuss this. if you find one, please show me the results :p
06:45<andythenorth>ha ha
06:45<Eddi|zuHause>i think with diesel engines, you want to reach a minimum RPM as quick as possible
06:46<andythenorth>you want to keep the RPM in the efficient power band, which can be very narrow on large diesels
06:46<andythenorth>it varies a bit by transmission type (hydraulic, mechanical, electrical)
06:46<Eddi|zuHause>with higher gearing, you can reach that RPM quicker, but you lose max speed from the max RPM
06:46<andythenorth>if it's diesel electric, the key factor is rotational speed of the traction motor
06:47<andythenorth>hmm, so IRL, you can put max stall torque through any electric motor, but not for long
06:48<Eddi|zuHause>there's an I^2 t thing with electric motors
06:48<@peter1138>Bzzzzz Fizz Boom.
06:48<andythenorth>magic smoke escapes
06:48<Eddi|zuHause>i have no real clue what that does, but it regulates how much current can flow in which timespan
06:49<Eddi|zuHause>which in my limited experience means "if the motor didn't move for 5s, it cuts out"
06:49<andythenorth>there are factors like thermal performance, degradation of the windings
06:49<andythenorth>and risk of flashover
06:49<andythenorth>flashover tends to lead to late arrival of vehicle at destination :P
06:49<Eddi|zuHause>brb
06:49<andythenorth>so lower gearing means you can put max torque through the traction motor for longer
06:50<andythenorth>somewhere in ground_vehicle I want to add 'torque factor' and default it to 1 :P
06:51<@peter1138>Hmm, wonder if I can make jenkins do my deployment on tags.
06:51<andythenorth>green light deploy? :P
06:53<@peter1138>I don't deploy directly, but it'd be nice to be able to use the build result in jenkins rather than just building locally.
06:53<andythenorth>artefacts?
06:58<andythenorth>so https://github.com/OpenTTD/OpenTTD/blob/master/src/ground_vehicle.cpp#L153
06:59<andythenorth>force = force * torque_factor :P
07:00<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on issue #7042: Use intrinsics for bit twiddling? https://git.io/fhay6
07:12<@peter1138>Is it a factor or a maximum?
07:12<@peter1138>If it's a factor, you might as well just specify a lower power.
07:14<andythenorth>if the power is too low, they don't appear to reach max speed, but yeah
07:14<@peter1138>Quite
07:14<andythenorth>don't we have to have enough power to overcome resistance?
07:14<@peter1138>Yes.
07:15<@peter1138>That's what the kickoff acceleration is about.
07:15<@peter1138>Well, that actually means, "err, speed is zero, we can't divide by 0, so just apply max welly"
07:23<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhaQC
07:23<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhaQu
07:26<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhaQD
07:28<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhaQF
07:28-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
07:28-!-snail_UES_ is "Jacopo Coletto" on #openttd
07:28<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhaQb
07:29<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fha7v
07:33<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fha7Y
07:36-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
07:41<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fha71
07:43<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fha7h
07:53<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fha5X
07:55<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fha5d
07:58<Eddi|zuHause>andythenorth: i think what you're looking for is a more dynamic calculation of "power", instead of assuming a constant power over all circumstances
07:58<andythenorth>I wonder if it's a torque curve
07:59<DorpsGek_II>[OpenTTD/OpenTTD] Eddi-z dismissed a review for pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhu7c
07:59<DorpsGek_II>[OpenTTD/OpenTTD] Eddi-z updated pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhI7h
07:59<andythenorth>literally putting numbers through L160 of ground_vehicle.cpp to see how it works
08:01<DorpsGek_II>[OpenTTD/OpenTTD] Eddi-z commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhadg
08:02<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhadV
08:03<Eddi|zuHause>andythenorth: there is two main things to consider: 1) how the power output changes with internal RPM, and 2) how the power output changes by runtime
08:05<andythenorth>I wonder if speed is enough of a proxy
08:05<andythenorth>currently all vehicles will develop max power at low speed
08:05<andythenorth>but depending on transmission characteristics, that's not the case for all RL vehicles
08:09<@peter1138>It's okay for electrics, but not diesels. I have no idea about steam.
08:11<Eddi|zuHause>CI not working again?
08:12<@peter1138>Indeed :/
08:12<@peter1138>TrueBrain, probably hasn't logged in recently enough :/
08:12<@peter1138>That requirement is fecking dumb.
08:12<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhaFC
08:12<Eddi|zuHause>we really need a bot for that
08:12<andythenorth>mechanical turk :
08:13<andythenorth>https://thedailywtf.com/articles/ITAPPMONROBOT
08:13<Eddi|zuHause>one of those birds that flip up and down
08:13<Eddi|zuHause>like in the simpsons
08:16<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhaFK
08:17<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhaFD
08:17<andythenorth>so...a parametric equation for torque vs speed? :P
08:20<Eddi|zuHause>andythenorth: can you check whether #7000 still works for you? (remember new var number and bitshift)
08:20<andythenorth>yes, but not now :)
08:20<andythenorth>I broke...everything
08:20<@peter1138>Putting "rm -rf $PATH" in a Makefile feels dirty.
08:21<andythenorth>what could go wrong?
08:21<Eddi|zuHause>peter1138: "what's the worst thing that can happen"?
08:21<andythenorth>I've seen a video of recursive rm -r
08:22<@peter1138>Needs -r because directories, needs -f because it's removing a git clone which by default has files which are not writable.
08:22<Eddi|zuHause>I HERD U LIEK RECURSION SO WE PUT SOME RECURSION IN UR RECURSION?
08:22<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhabn
08:22<@peter1138>$PATH comes from mktemp -d
08:23<andythenorth>is it lunch?
08:23<andythenorth>again?
08:23<@peter1138>Basically this is: make temp directory, clone release repo into it, delete files, copy current files, add to git, commit to git, make tag, push to git, remove temp directory
08:23<@peter1138>andythenorth, again, yes. I already ate, but I have some food left over.
08:23<Eddi|zuHause>there was a case a few years ago where a broken "make install" instead of "rm -rf /path" did "rm -rf / path"
08:24<@peter1138>Eddi|zuHause, that's the worry.
08:24<andythenorth>I had pork and rice, now I might have mac and cheese
08:24<andythenorth>just snacks really
08:24<@peter1138>I had, um, salad, and a cheese salad roll, and some fruit cake.
08:25<@peter1138>I have left 3 items of fruit, and 4 various "bars" of minimal goodness.
08:25<andythenorth>oof I let unit tests use all my CPU cores
08:25<andythenorth>very noisy fan now
08:25<andythenorth>can hear it even with headphones on
08:25<@peter1138>Worst is the white chocolate Lion bar.
08:25<andythenorth>wat?
08:26<andythenorth>you have Big Clive level of snacks
08:26<@peter1138>I bring them in with my lunch but have stopped eating all of them with lunch. So I have a pile.
08:26<andythenorth>in my office, other people would eat them
08:27<@peter1138>They're in my personal drawer, so fuck them.
08:27<@peter1138>There is a blueberry muffin the kitchen, free to anyone who dares first.
08:27<@peter1138>That's worse than anything in my pile.
08:29<andythenorth>oh yeah here's the thing I made https://dev.openttdcoop.org/attachments/download/9253/TE_vs_HP.png
08:29<andythenorth>both trains left depot at same time
08:29<@peter1138>Yeah.
08:30<andythenorth>whatever the reality is
08:30<andythenorth>I want to nerf train 7 a bit, without stopping it reaching max speed
08:30<andythenorth>I don't care about the physics, except to understand it
08:30-!-Samu [Samu@pa4-84-91-142-34.netvisao.pt] has joined #openttd
08:30-!-Samu is "..." on #openttd
08:30<@peter1138>Train stats are hard to find. I bet torque is near impossible.
08:31<andythenorth>probs
08:31<@peter1138>https://i.imgur.com/e1FH1wu.jpg
08:31<andythenorth>actually, rather than nerfing train 7, I want to get train 6 accelerating faster
08:32<andythenorth>so a bonus
08:32<andythenorth>if train 7 tries to put all it's HP down, it should slip
08:32<andythenorth>IRL
08:33<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #6817: PR for Modernizing for C++11: replacing instances of SmallVector https://git.io/fhaNC
08:33<@peter1138>Yeah but max te is quite high.
08:34<@peter1138>You could make slopes steeper but I'm assuming you're only using slopes to make the effects more obvious.
08:34<andythenorth>yes
08:34<andythenorth>I tested longer trains to see the effect of max TE, and it really only shows when both trains are on their knees
08:37<andythenorth>what's L161 doing? https://github.com/OpenTTD/OpenTTD/blob/c3dbe836b40215d48691356d7bf1298217ba8edc/src/ground_vehicle.cpp#L161
08:37<@peter1138>It's limiting force to max_te, when accelerating.
08:38<andythenorth>so we can't exceed x kN force
08:38<@peter1138>That's pretty much all max_te does.
08:38<@peter1138>Yeah.
08:38<andythenorth>ok
08:38*andythenorth does some maths
08:39<andythenorth>ok so train 7 is actually pretty close to being capped by TE
08:39<@peter1138>Maybe a possible issue? max_te isn't affected by slopes.
08:39<andythenorth>@calc (3200 * 18) / (50 * 5)
08:39<@DorpsGek>andythenorth: 230.4
08:39<andythenorth>max TE on that engine is 235kN
08:39<andythenorth>is force in N or kN?
08:40<@peter1138>It says N there
08:40<andythenorth>it does
08:40<@peter1138>So resistance goes up because of the slope
08:40<andythenorth>yes
08:41<@peter1138>Means max_te is reached with less speed.
08:42<andythenorth>ok max_te is in N apparently
08:42<@peter1138>That's what it says :p
08:43<andythenorth>I was reading L61 too :P
08:43<andythenorth>https://github.com/OpenTTD/OpenTTD/blob/master/src/ground_vehicle.cpp#L61
08:44<@peter1138>That's the one that was 1000 * 10 until fairly recently.
08:44<@peter1138>IIRC
08:46<@peter1138> return _settings_game.vehicle.train_slope_steepness;
08:46<@peter1138>Oh! That already is a setting. Nice.
08:46<andythenorth>yes
08:46<andythenorth>same for RVs too
08:53<andythenorth>@calc (3000 * 18) / (50 * 5)
08:53<@DorpsGek>andythenorth: 216
08:53<@peter1138>I think I'll have a kiwi fruit for a snack later.
08:54<@peter1138>Yeah.
08:54<andythenorth>happy times
08:54<@peter1138>I can't remember how accurate *18/5 is :p
08:54<andythenorth>I think I'll try adjusting "speed * 5" to see if interesting results happen
08:55<andythenorth>it's not supposed to be Trainz, right? :P
08:56<@peter1138>It's not a magic equation, it's just a conversion done integerly.
08:58<andythenorth>yup
09:10<andythenorth>well
09:12<andythenorth>I changed the 5 to 1
09:12<andythenorth>https://dev.openttdcoop.org/attachments/download/9255/TE_vs_HP-speed-factor-1a.png
09:12<andythenorth>https://dev.openttdcoop.org/attachments/download/9254/TE_vs_HP-speed-factor-1b.png
09:13<andythenorth>got the desired result
09:13<andythenorth>but it's very 'magic numbers' and specific to 2 trains
09:13<andythenorth>and untested for slope steepness blah blah
09:14<andythenorth>the 65mph train gets to 65mph faster than the 105mph train
09:16<andythenorth>given enough tiles, the 105mph train then passes it
09:16<andythenorth>if they're both capped to 65mph, the 105mph train is worse, even though it has more HP, it loses due to lower TE
09:17<andythenorth>afaict, the main effect is moving the point where force > max TE
09:17<andythenorth>with bonus unknown side effects :(
09:19-!-WWacko1976-work [~IceChat9@ip-80-113-66-42.ip.prioritytelecom.net] has joined #openttd
09:19-!-WWacko1976-work is "YO!" on #openttd #/r/openttd
09:22<Samu>hi
09:26-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Ping timeout: 480 seconds]
09:27<supermop_work>hello
09:30<Samu>To do:
09:30<Samu>- Use the Dice.png provived by Supermop reflecting a random ai script to replace the newspaper icon.
09:30<Samu>:(
09:30<Samu>i still dont know how to do this
09:33-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
09:33-!-andythenorth is "andythenorth" on #openttd
09:34<supermop_work>hello andythenorth
09:34<andythenorth>yo
09:34<Pikka>yoyo
09:35<andythenorth>walk the dog
09:37<DorpsGek_II>[OpenTTD/OpenTTD] btzy commented on issue #7042: Use intrinsics for bit twiddling? https://git.io/fhVej
09:38<supermop_work>hst looks good Pikka
09:39<Pikka>o/
09:42<DorpsGek_II>[OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
09:42-!-Flygon [~Flygon@dsl-124-150-7-189.vic.westnet.com.au] has quit [Quit: A toaster's basically a soldering iron designed to toast bread]
09:44<Samu>Flyspray clean up, so closing thanks. If this offends, discuss in irc, thanks.
09:44<Samu>I am offended,
09:44<Samu>j/k
09:47<@peter1138>andythenorth, increase the slope factor instead. Cos *18/5 is based on physics ;p
09:47*andythenorth tries
09:52<andythenorth>slope just nerfs them both :)
09:53<andythenorth>the one with less TE eventually gives up
09:53<andythenorth>before the one with more TE
09:53<andythenorth>but it's 1mph vs about 13mph
09:56<Samu>how do you title Reverses in commit message?
09:56<Samu>"Revert: blah"?
09:56<Samu>wanna avoid commit checker failure
09:57<milek7>Add|Feature|Change|Remove|Codechange|Cleanup|Fix|Revert|Doc|Update|Prepare
09:57<andythenorth>you don't afaik
09:57-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has joined #openttd
09:57-!-nielsm is "Niels Martin Hansen" on #openttd
09:57<andythenorth>you shouldn't need to have a revert commit, and you can get in a mess doing them
09:58*andythenorth speaks with experience :P
09:58<Samu>Remove seems more fitting
09:58<Samu>it wasn't something that was in master
09:58<Samu>but on my pr
10:00<DorpsGek_II>[OpenTTD/OpenTTD] SamuXarick updated pull request #7084: Change: AI/GS Config GUI overhaul https://git.io/fh2dV
10:01<milek7>you probably should squash it
10:02<Samu>it was done in 1 step
10:02<Samu>I'm now removing code, unpatching
10:03<Samu>you know, patching in reverse
10:05<milek7>so you should squash it, adding and removing code back and forth in single PR isn't useful
10:07<Samu>I don't understand
10:07<Samu>the PR was 1 single commit
10:07<Samu>can't squash
10:08<milek7>it's 3 commits now
10:08<Samu>yes, because I'm removing stuff from the initial one
10:09<milek7>so why you don't squash last commit into first?
10:10<Samu>I thought I couldn't do that
10:10<Samu>rebase -i right?
10:10<milek7>yes
10:10<milek7>you can change order here and 'fixup' into previous
10:10<Samu>hmm how am i squashing the 3rd onto first?
10:10<Samu>and leave the 2nd as is
10:11<milek7>'These lines can be re-ordered; they are executed from top to bottom.'
10:11<Samu>ah, intersting
10:11<Samu>ok, let's see what i can do, brb
10:12-!-Borg [~borg@87-99-43-52.internetia.net.pl] has joined #openttd
10:12-!-Borg is "Unknown" on #openttd
10:16-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
10:16-!-Wormnest is "Wormnest" on #openttd
10:17<DorpsGek_II>[OpenTTD/OpenTTD] SamuXarick updated pull request #7084: Change: AI/GS Config GUI overhaul https://git.io/fh2dV
10:18<Samu>how do I write strikethrough text
10:22<Samu>i did it https://github.com/OpenTTD/OpenTTD/pull/7084#issuecomment-456615979
10:28<Samu>this appears to be fixed in 1.8.0 https://github.com/OpenTTD/OpenTTD/issues/6453
10:28<Samu>when was it fixed
10:28<Samu>what fixed it
10:29<LordAro>are you expecting an answer, or are you unable to read andy's last comment?
10:29<LordAro>learn to use git bisect and find out yourself :p
10:37<Samu>svn r27787
10:37-!-raphikov [~raphikov@2a02:2168:a411:a000:108e:a87a:a1d6:4847] has joined #openttd
10:37-!-raphikov is "Marseille Raphikov" on #openttd
10:38<Samu>https://github.com/OpenTTD/OpenTTD/commit/86eae807be8d93680e0adcb92fea2cc4d80972d6
10:38<Samu>aha, got it
10:43<Samu>andythenorth, I found your answer
10:43<andythenorth>thanks for highlighting me to mention that
10:43<andythenorth>:P
10:43<Samu>to... #6453
10:43-!-Thedarkb-T60 [~Thedarkb-@51-171-49-131-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
10:43-!-Thedarkb-T60 is "realname" on #openttd #oolite
10:44<LordAro>Samu: a comment on the issue itself would've sufficed
10:46<Eddi|zuHause>there are definitely people who are on the wrong side of the von Moltke spectrum
10:47-!-raphikov [~raphikov@2a02:2168:a411:a000:108e:a87a:a1d6:4847] has quit [Quit: Mutter: www.mutterirc.com]
10:47-!-raphikov [~raphikov@2a02:2168:a411:a000:108e:a87a:a1d6:4847] has joined #openttd
10:47-!-raphikov is "Marseille Raphikov" on #openttd
10:49-!-raphikov [~raphikov@2a02:2168:a411:a000:108e:a87a:a1d6:4847] has quit []
10:50<andythenorth>well that's knocked me out of flow :P
10:50*andythenorth was deep in enterprise software :P
10:53<@planetmaker>so... I spent my day with... this: http://discus.geophys.nat.tu-bs.de/cloud/index.php/s/V3pADytCECgKwse
10:55<Eddi|zuHause>video doesn't play
10:55<Eddi|zuHause>no compatible format found, or somesuch
10:55<@planetmaker>hm
10:56<@planetmaker>works for me :P
10:56<milek7>works in vlc
10:56<milek7>..but what's purpose of that?
10:56<@planetmaker>what does it show? :)
10:57<milek7>chain reaction of mouse traps?
10:57<@planetmaker>^^
10:59<Eddi|zuHause>yeah, i could also run it in vlc, but in firefox it's a "nope"
10:59<Samu>interesting, r27787 is already fixed on my PR, but how come
10:59<Samu>rebase does some magic
11:00<andythenorth>what does 'it is already fixed on my PR' mean? :)
11:00<Eddi|zuHause>"Install libavcodec56, libavcodec57, libavcodec58, libavformat56, libavformat57, libavformat58, libavdevice56, libavdevice57, libavdevice58 package from Packman or VLC repository."
11:00<Eddi|zuHause>i might try that
11:00<Samu>it means, I didn't do the fix, but it was carried over to it
11:00<andythenorth>you rebased, no?
11:00<Samu>must have been the rebase
11:01<Eddi|zuHause>hm, i have those already from packman
11:01<Samu>considering the amount of changes i made on ai_gui.cpp, it's surprising
11:02<andythenorth>clearly time for mac + cheese
11:02<andythenorth>and running the tests to see what I broke
11:02<Eddi|zuHause>you think that might fix your keyboard?
11:02<andythenorth>no
11:03<andythenorth>to fix the keyboard I need to pop some keycaps off, mostly the t key this week
11:03<andythenorth>also I need to type better
11:03<Eddi|zuHause>i wouldn't think that cheese would help :p
11:03<andythenorth>11 tests broken so far
11:04<andythenorth>what could be better? :P
11:04<nielsm>upvote this one please :) https://developercommunity.visualstudio.com/idea/433955/support-doxygen-style-suffix-comments.html
11:06<Samu>TODO: remove all windows closures to test them again and see if they still crash
11:08<Samu>... because they could have been fixed already without my knowledge
11:09<Eddi|zuHause>installing more stuff didn't help :/
11:09<DorpsGek_II>[OpenTTD/OpenTTD] SamuXarick commented on pull request #7084: Change: AI/GS Config GUI overhaul https://git.io/fhVl0
11:09<Eddi|zuHause>maybe i need to restart some stuff
11:09<andythenorth>how about....acceleration callback? o_O
11:10<andythenorth>and I do a custom calculation in newgrf?
11:10<Eddi|zuHause>andythenorth: no
11:10<andythenorth>eh is TE in cb36? o_O
11:10<andythenorth>and on what triggers?
11:10<Eddi|zuHause>andythenorth: if it is, it won't be recalculated often enough
11:10<andythenorth>there's probably a feature request about that
11:10<Eddi|zuHause>andythenorth: mostly on station load and railtype change
11:11<andythenorth>it's probably needed for the USSR set, right?
11:12<Eddi|zuHause>andythenorth: using any other condition might be a desync hazard
11:12<andythenorth>ok we'll file that one
11:12<Eddi|zuHause>andythenorth: and calling more often will be a performance hazard
11:12<andythenorth>would be 'interesting' though
11:13<Eddi|zuHause>more like "nightmare"
11:14<andythenorth>wow other people get way more into this https://steamcommunity.com/app/530070/discussions/0/133261124634409176/
11:18-!-synchris [~synchris@139.138.202.72] has joined #openttd
11:18-!-synchris is "Synesios Christou" on #openttd
11:19<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh commented on pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhV8W
11:21<nielsm>andythenorth, well if you're claiming to be a simulator of driving trains, you damn better also simulate things correctly
11:21<andythenorth>foamers getting really argumentative in comments here :P https://www.youtube.com/watch?v=OwbFFTuSjEM
11:21<andythenorth>that's my new train :P
11:22<nielsm>I stopped playing railworks/TS after continually getting fed up with bugs and bad simulation of various things, and heard bad things about TSW as well so haven't tried that at all
11:28<@peter1138>Urgh. You follow a guideline for doing something with Jenkins and... none of it is right :/
11:31<Eddi|zuHause>andythenorth: i'm just reading a bunch of "this is fake, and the earth is flat."
11:34-!-Thedarkb-T60 [~Thedarkb-@51-171-49-131-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
11:40-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
11:40-!-Gja is "Martin" on #ceph #bcache #openttd
11:40<DorpsGek_II>[OpenTTD/OpenTTD] SamuXarick commented on issue #6453: Crash: scrolling down list of (none) GS parameters https://git.io/fhVB9
11:41-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit []
11:44<Samu>2019-01-23T16:37:32.1396664Z ##[warning]src\lang\latvian.txt(3904,0): Warning : String name 'STR_AI_CONFIG_HUMAN_PLAYER' does not exist in master file (warning)
11:44<Samu>i dont get this warning here
11:44<nielsm>you removed a string from english.txt
11:45<nielsm>but did not remove it from all other languages
11:45<Samu>i did, only latvian is complaining
11:45<Samu>https://dev.azure.com/openttd/OpenTTD/_build/results?buildId=462
11:46<DorpsGek_II>[OpenTTD/OpenTTD] nikolas commented on pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhVRV
11:46<TrueBrain><@peter1138> TrueBrain, will there be Linux binaries for nightlies? <- no clue; someone has to make the Dockerfiles for it. Till then, no.
11:46<nielsm>there's no changes to latvian.txt in your branch
11:46<Samu>oh, I do get it now
11:47<Samu>but how come, I cleared it from all of them
11:47<Samu>now it's suddenly back
11:49<Samu>ok, i'll re-remove it
11:50-!-Thedarkb-T60 [~Thedarkb-@51-171-49-131-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
11:50-!-Thedarkb-T60 is "realname" on #openttd #oolite
11:51<Samu>what the heck
11:51<Samu>I don't have that line on my latvian.txt
11:51<Samu>what is going on?
11:52<Samu>ah, found it, nevermind, I'm probably drunk
11:52<Samu>STR_AI_CONFIG_HUMAN_PLAYER :Spēlētājs (cilvēks)
11:52<DorpsGek_II>[OpenTTD/website] TrueBrain commented on issue #25: Many hardcoded URLs https://git.io/fhV0L
11:54<DorpsGek_II>[OpenTTD/OpenTTD] SamuXarick updated pull request #7084: Change: AI/GS Config GUI overhaul https://git.io/fh2dV
11:58<supermop_work>andythenorth: i feel like those comments sum up all of my experience with uk enthusiasm
12:00<supermop_work>kicking and screaming that near 50 year old trains might get displaced from mainline service
12:01<supermop_work>probably a bit just under the surface about the perceived nationality of the purveyor
12:02-!-andythenorth is now known as Guest1406
12:02-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
12:02-!-andythenorth is "andythenorth" on #openttd
12:03-!-Progman [~progman@p4FD66625.dip0.t-ipconnect.de] has joined #openttd
12:03-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttd
12:04-!-Guest1406 [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Ping timeout: 480 seconds]
12:07<andythenorth>foamers :)
12:07<andythenorth>OTOH, I was sad that the HST would be gone on GW main line
12:08-!-Gustavo6046 [~Gustavo60@189.6.241.48] has joined #openttd
12:08-!-Gustavo6046 is "Non dico nomen." on #openttd #oftc @#moocowsforeverybody #moocows
12:08<andythenorth>but I went on the new train last week, it's fricking awesome
12:08<andythenorth>only complaint is the interior lighting design
12:08<andythenorth>super-white LED strips
12:12<supermop_work>should dreamliner it
12:13<supermop_work>adjust temperature throughout day
12:13<supermop_work>hst is my favorite train but
12:15<andythenorth>interior is not bad on new one https://www.mmpa.org.uk/iet-launch/p05.jpeg
12:15<andythenorth>seats are spartan, but not bad
12:15<andythenorth>but those lights
12:15<andythenorth>at 06.15 in winter, not wanted
12:17<nielsm>do the seats rotate 180 deg like in shinkansen?
12:22<andythenorth>nope
12:24<nielsm>boo
12:25<nielsm>I guess the personnel required to flip all seats at each end of the line would be too costly
12:25<nielsm>because it's awesome for comfort
12:30-!-HerzogDeXtEr [~farci@dslb-178-005-115-041.178.005.pools.vodafone-ip.de] has joined #openttd
12:30-!-HerzogDeXtEr is "purple" on #openttd
12:34-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
12:34-!-sla_ro|master is "slamaster" on #sla #openttd
12:35<DorpsGek_II>[OpenTTD/website] claman commented on issue #25: Many hardcoded URLs https://git.io/fhVgf
12:37-!-Pikka [~Albert@220-244-87-78.tpgi.com.au] has quit [Quit: Leaving]
12:37<Borg>it was legendary PikkaBird?
12:45-!-supermop_work_ [~supermopw@38.105.230.30] has joined #openttd
12:45-!-supermop_work_ is "A CIRC user" on #openttd
12:45-!-HerzogDeXtEr1 [~farci@dslb-178-005-115-041.178.005.pools.vodafone-ip.de] has joined #openttd
12:45-!-HerzogDeXtEr1 is "purple" on #openttd
12:46-!-supermop_work__ [~supermopw@38.105.230.30] has joined #openttd
12:46-!-supermop_work__ is "A CIRC user" on #openttd
12:51-!-HerzogDeXtEr [~farci@dslb-178-005-115-041.178.005.pools.vodafone-ip.de] has quit [Ping timeout: 480 seconds]
12:51-!-supermop_work [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
12:52-!-glx [kvirc@000128ec.user.oftc.net] has joined #openttd
12:52-!-mode/#openttd [+v glx] by ChanServ
12:52-!-glx is "Loïc GUILLOUX" on +#openttd
12:53-!-supermop_work_ [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
12:56-!-Thedarkb-T60 [~Thedarkb-@51-171-49-131-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Remote host closed the connection]
13:01<Samu>time to crash openttd
13:01<Samu>or not, if it was fixed
13:01-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
13:01-!-frosch123 is "frosch" on +#openttd.dev #openttd
13:02-!-Wolf01 [~wolf01@95.232.239.42] has joined #openttd
13:02-!-Wolf01 is "Wolf01" on #openttd
13:02<Wolf01>Moin
13:09<Samu>which window is QUERY_STRING
13:09<Samu>it's been a while
13:09<Samu>is it the one where we manually enter values? cancel/ok?
13:09<+glx>yes input box usually
13:10<Samu>ok, in that case, the svr r27787 fix is incomplete, should also close the QUERY_STRING window
13:10<Samu>because when an AI starts, the start_date parameter is no longer editable
13:12<Samu>or maybe, only some query_string windowses should be closed
13:12<Samu>those that are no longer editable
13:12<Samu>depends on parameter
13:13<Samu>Utf8Decode(WChar *c, const char *s) still crashes
13:13-!-Thedarkb-X40 [~beno@51-171-49-131-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
13:13-!-Thedarkb-X40 is "realname" on #openttd #/r/openttd #oolite
13:15<Samu>DeleteWindowByClass(WC_TEXTFILE); // TODO: this is needed to avoid openttd crash, unless there's another way to manage this window
13:15<Samu>this WC_TEXTFILE
13:15<Samu>crash still present on master
13:16<Samu>Wtf8Decode complains about null pointers
13:17<nielsm>Wtf8? lol
13:17<Samu>i think it's because the text file is switched to nothingness
13:17<Samu>then it tries to decode the nothing and complains about null
13:18<+glx>you can check the call stack
13:18<+glx>and see exactly what happens
13:18<Samu>if i have the license.txt window open
13:18<Samu>and an AI is switched to another
13:18<Samu>one without license
13:18<Samu>this crash occurs
13:19<Samu>also happens with changelog.txt and readme.txt
13:19<Samu>and if it wasn't fixed here, i guess it is also present on newgrf's similar .txt files
13:20<Samu>my fix is "close before it crashes"
13:20<Samu>not really a fix
13:23<Samu>https://paste.openttdcoop.org/pauxxybiu
13:23<Samu>call stack?
13:24<Samu>if (!HasBit(s[0], 7)) {
13:24<Samu>Exception thrown: read access violation.
13:24<Samu>s was nullptr.
13:26<DorpsGek_II>[OpenTTD/OpenTTD] glx22 commented on pull request #7077: Change: Always build baseset metadata, instead of including it in the repo. https://git.io/fhVwn
13:27<+glx>hmm nothing in .notice ?
13:28<Samu>.notice
13:28<Samu>what is that?
13:28<+glx>of course +m channel
13:29<+glx>was talking about DorpsGek_II
13:29<+glx>and #openttd.notice
13:29<Samu>+ s 0x0000000000000000 <NULL> const char *
13:29<+glx>yes s is null
13:29<Samu>the current value of s at that point
13:30<+glx>now walk through the call stack to see why
13:32<DorpsGek_II>[OpenTTD/OpenTTD] glx22 updated pull request #7022: Add: generate_widget.vbs to allow script_window.hpp enums generation … https://git.io/fhsWa
13:32<Samu>https://paste.openttdcoop.org/pauxxybiu where exactly? I don't know
13:32<+glx>ok .notice works now
13:33<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh approved pull request #7022: Add: generate_widget.vbs to allow script_window.hpp enums generation … https://git.io/fhVwD
13:35<+glx>you can double click on call stack lines
13:37<Samu>+ buffer 0x00000023ab6fe970 "AI licence of \x4" char[2048]
13:37<Samu>what is \x4 ?
13:38<+glx>some part of an utf8 encoded character
13:39<+glx>you just get a preview of the buffer
13:39<Samu>so, this buffer is null
13:39<Samu>or wait,no
13:40<Samu>the \x4 is null?
13:40<+glx>no it's not null
13:40<+glx>as it has an address and some content
13:41<Samu>the crash is easy to reproduce
13:41<DorpsGek_II>[OpenTTD/OpenTTD] ale84s opened issue #7087: Presignal not work on long distance https://git.io/fhVr4
13:41<Samu>select AI, pick AIAI
13:41<Samu>click changelog
13:42<Samu>without closing changelog, select another AI, pick AdmiralAI which has no changelog
13:42<Samu>and it crashes right away
13:42<+glx>on master ?
13:42<LordAro>be sure to include which AI versions in your bug report :p
13:42<Samu>yes
13:42<+glx>yeah open an issue
13:42<+glx>will be easier
13:43<Samu>i opened it some years ago :( it's lost somewhere
13:43<Samu>let me find
13:43<+glx>all issues from previous bug tracker are on github
13:44<@peter1138>Hi
13:44<DorpsGek_II>[OpenTTD/OpenTTD] glx22 merged pull request #7022: Add: generate_widget.vbs to allow script_window.hpp enums generation … https://git.io/fhsWa
13:45<Samu>https://github.com/OpenTTD/OpenTTD/issues/6453#issuecomment-379454945
13:46<Samu>i better make a new issue
13:46<Samu>that one is getting confusing
13:46<Samu>part of it is fixed, some other part is not
13:46-!-gelignite [~gelignite@55d4b84c.access.ecotel.net] has joined #openttd
13:46-!-gelignite is "gelignite" on #openttd
13:47<LordAro>Samu: yes, looks like aeveral issues in one there, best make a new one
13:52<DorpsGek_II>[OpenTTD/OpenTTD] SamuXarick opened issue #7088: Crash when changelog.txt, readme.txt, license.txt do not exist https://git.io/fhVoc
13:56<Samu>the issue reported about newgrf is still valid
13:56<Samu>just crash tested
13:56-!-Wormnest [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
14:01<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on pull request #7077: Change: Always build baseset metadata, instead of including it in the repo. https://git.io/fhVob
14:01-!-supermop_work [~supermopw@38.105.230.30] has joined #openttd
14:01-!-supermop_work is "A CIRC user" on #openttd
14:02<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh commented on pull request #7077: Change: Always build baseset metadata, instead of including it in the repo. https://git.io/fhVKv
14:03-!-supermop_work_ [~supermopw@38.105.230.30] has joined #openttd
14:03-!-supermop_work_ is "A CIRC user" on #openttd
14:03-!-supermop_work__ [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
14:09<Samu>hmm the newgrf crash is a little bit different
14:09-!-supermop_work [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
14:09<Samu> const char *name = GetGRFStringFromGRFText(this->name->text);
14:10<Samu>Exception thrown: read access violation.
14:14<Samu>do i make a new issue for newgrf?
14:15<Samu>name = 0xcccccccccccccccc <Error reading characters of string.>
14:16<Samu>i guess i'll do it anyway
14:21<DorpsGek_II>[OpenTTD/OpenTTD] SamuXarick opened issue #7089: Crash when Removing NewGRF from Active list https://git.io/fhV61
14:28-!-bwn [~bwn@107-136-160-22.lightspeed.frokca.sbcglobal.net] has quit [Ping timeout: 480 seconds]
14:31<LordAro>Samu: i cannot reproduce any crash for #7088
14:31<LordAro>the title of the changelog window changes, but the text stays the same and it doesn't crash
14:37<Samu>really?
14:37<Samu>strange
14:40<Samu>well, i'm not getting a crash
14:40<Samu>what the heck
14:40<Samu>maybe this build is still mine?
14:40-!-Borg [~borg@87-99-43-52.internetia.net.pl] has quit [Quit: leaving]
14:41<Samu>sorry, looks like I was testing the wrong build
14:42<Samu>uhm... nop
14:42<Samu>no crash with my build now
14:42<Samu>what the heck
14:43<Samu>are you testing in debug mode?
14:43<Samu>gonna try in release mode
14:43<LordAro>heh
14:44<DorpsGek_II>[OpenTTD/OpenTTD] andythenorth commented on issue #7089: Crash when Removing NewGRF from Active list https://git.io/fhVP8
14:44<LordAro>i'm going to go ahead and close the issue, anyway
14:44<Samu>wait
14:44<Samu>i swear im getting a crash somehow
14:44<Samu>maybe only in release mode, let me confirm
14:44<LordAro>if you can reproduce it, remember to upload the crash.* files
14:45<Samu>I can't get this to crash now... why :|
14:45<Samu>I swear it crashed an hour ago, by doing those exact steps
14:46<LordAro>sounds like it wasn't actually a master build :p
14:46<@planetmaker>typical heisen-bug ;)
14:47<Samu>ah
14:47<Samu>got it
14:47<Samu>it's not AdmiralAI
14:47<Samu>but actually Random AI
14:47<Samu>switch to Random AI from AIAI
14:48<LordAro>got it
14:48<Samu>cool
14:48<Samu>I wasn't drunk afterall
14:56<DorpsGek_II>[OpenTTD/OpenTTD] SamuXarick commented on issue #7088: Crash when changelog.txt, readme.txt, license.txt do not exist https://git.io/fhVXS
15:11<+glx>btw dmp is only valid for build from the compile farm
15:16<Samu>it's 1.8.0 isn't it?
15:20<+glx>anyway crashed here too
15:27-!-synchris [~synchris@139.138.202.72] has quit [Quit: yeeha!]
15:32<TrueBrain>yippie, I can now trigger builds from releases; means the website now auto-updates when ever there was a release :)
15:32<TrueBrain>if building it wouldnt fail :D
15:35<TrueBrain>bad gateway .. hmm
15:35<TrueBrain>lol
15:35<TrueBrain>yeah ....
15:35<TrueBrain>lol
15:38<DorpsGek_II>[OpenTTD/binaries-proxy] TrueBrain opened pull request #6: Add: url for health probe, which always returns 200 https://git.io/fhVyw
15:41<DorpsGek_II>[OpenTTD/website] TrueBrain opened pull request #34: Add: url for health probe, which always returns 200 https://git.io/fhVyA
15:43<DorpsGek_II>[OpenTTD/binaries-proxy] TrueBrain merged pull request #6: Add: url for health probe, which always returns 200 https://git.io/fhVyw
15:43-!-HerzogDeXtEr1 [~farci@dslb-178-005-115-041.178.005.pools.vodafone-ip.de] has quit [Read error: Connection reset by peer]
15:49<DorpsGek_II>[OpenTTD/binaries-proxy] TrueBrain opened pull request #7: Release: 1.0.1 https://git.io/fhVSB
15:49<DorpsGek_II>[OpenTTD/binaries-proxy] TrueBrain merged pull request #7: Release: 1.0.1 https://git.io/fhVSB
15:49<LordAro>so... i can't post comments
15:49<LordAro>that's irritating
15:49<TrueBrain>to what?
15:49<LordAro>github
15:49<LordAro>issues
15:49<TrueBrain>why not?
15:50<LordAro>not sure
15:50<LordAro>"You can't comment at this time."
15:50<TrueBrain>lol
15:50<TrueBrain>to OpenTTD github?
15:50<LordAro>`POST https://github.com/preview?markdown_unsupported=false&repository=128430621&subject=7088&subject_type=Issue net::ERR_EMPTY_RESPONSE`
15:50<LordAro>yeah
15:51<TrueBrain>okkkaayyyy .....
15:51<TrueBrain>YOU BROKE IT
15:51<LordAro>:(
15:53<DorpsGek_II>[OpenTTD/OpenTTD] TrueBrain commented on issue #7088: Crash when changelog.txt, readme.txt, license.txt do not exist https://git.io/fhVSX
15:53<TrueBrain>I can LordAro
15:53<TrueBrain>so sadly, it is a local issue :(
15:53<LordAro>:(
15:54<DorpsGek_II>[OpenTTD/OpenTTD] LordAro commented on issue #7088: Crash when changelog.txt, readme.txt, license.txt do not exist https://git.io/fhVSQ
15:54<LordAro>restarted chrome
15:54<LordAro>silly thing
15:55<DorpsGek_II>[OpenTTD/website] TrueBrain merged pull request #34: Add: url for health probe, which always returns 200 https://git.io/fhVyA
15:55<TrueBrain>and I fixed the proxy :D
15:56<TrueBrain>nasty issue :P
15:56<TrueBrain>only thing I have to think about how to produce a new version of the production container .. as strictly seen you first want that to go to staging
15:57<TrueBrain>validate it works
15:57<TrueBrain>but ... doing that every night is .. euh ... not really cool
15:58<nielsm>https://github.com/OpenTTD/OpenTTD/issues/7087 <-- I'm veyr tempted to reply "you should be using path signals" ... :(
15:58<TrueBrain>"add more signals"
15:59<TrueBrain>okay, so I am just going to rebuild production image and roll it out .. but .. how do I know latest tag for production .. hmm
15:59-!-gelignite [~gelignite@55d4b84c.access.ecotel.net] has quit [Quit: Good fight, good night!]
15:59<TrueBrain>puzzles :D
15:59<TrueBrain>not for this night I guess :)
16:00<TrueBrain>https://www.staging.openttd.org/downloads/openttd-nightlies/latest.html <- FRESH BINARIES (only publishes 2 hours after they were cooked!)
16:01<TrueBrain>tomorrow it will be available around 20:15 CE(S)T :D
16:01<LordAro>:o
16:02<andythenorth>:)
16:03<andythenorth>supermop_work_: so narrow gauge steel mill trains?
16:11<Samu>ah nice find
16:11<Samu>well, slot -1 is the slot for Random AI
16:12<Samu>it doesn't exist and exists at the same time
16:17<Samu>oh wait nvm, wrong window
16:21<Samu>hmm so... random AI needs a name
16: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]
16:26-!-Thedarkb-T60 [~Thedarkb-@51-171-49-131-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
16:26-!-Thedarkb-T60 is "realname" on #oolite #openttd
16:27<Samu>i have an idea for the name
16:28<Samu>Change(NULL) is fine, it's changing to random ai
16:36<supermop_work_>andythenorth: yes
16:36<andythenorth>industrial trains :P
16:36*andythenorth has whole new idea :P
16:37-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
16:44<andythenorth>industrial trains don't fit in Horse right now
16:44<andythenorth>because they need to be slower, for larger capacity
16:50<DorpsGek_II>[OpenTTD/OpenTTD] Eddi-z commented on issue #7087: Presignal doesn't work on long distance https://git.io/fhV5g
16:51<Eddi|zuHause>unfortunately i cannot close tickets
16:51<Eddi|zuHause>andythenorth: i'm pretty sure that ticket can be closed as invalid
16:52<DorpsGek_II>[OpenTTD/OpenTTD] andythenorth closed issue #7087: Presignal doesn't work on long distance https://git.io/fhVr4
16:52<DorpsGek_II>[OpenTTD/OpenTTD] andythenorth commented on issue #7087: Presignal doesn't work on long distance https://git.io/fhV51
17:05<Samu>https://imgur.com/N8rktYm
17:05<Samu>ai license of (random)
17:05<Samu>no more crash
17:05<Samu>but still dumb
17:07<Samu>what should it be doing?
17:07<DorpsGek_II>[OpenTTD/OpenTTD] ale84s commented on issue #7087: Presignal doesn't work on long distance https://git.io/fhVd7
17:19<@peter1138>Eh
17:19<@peter1138>It are cold
17:20<@peter1138>Hmm, only -2
17:20<DorpsGek_II>[OpenTTD/OpenTTD] planetmaker commented on issue #7087: Presignal doesn't work on long distance https://git.io/fhVFj
17:20<DorpsGek_II>[OpenTTD/OpenTTD] glx22 commented on issue #7087: Presignal doesn't work on long distance https://git.io/fhVbT
17:21-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
17:24<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on issue #7042: Use intrinsics for bit twiddling? https://git.io/fhVbR
17:25<Samu>error C2440: '=': cannot convert from 'char *' to 'const char'
17:25<Samu>nvm, i solved it
17:28<Samu>char name[1024];
17:28<Samu>how big can names be?
17:28<Samu>i went with 1024, but not sure if that's appropriate
17:31<Samu>https://paste.openttdcoop.org/pwj2jsxgy does this look correct?
17:32-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
17:44-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
17:46<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on issue #7062: Ship pathfinders ignore the max order distance https://git.io/fhVAt
17:48<DorpsGek_II>[OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
18:03-!-sushibear [~SushiBear@176-204-50-84.dyn.estpak.ee] has quit [Remote host closed the connection]
18:03-!-sushibear [~SushiBear@176-204-50-84.dyn.estpak.ee] has joined #openttd
18:03-!-sushibear is "SushiBear" on #openttd #C
18:03-!-sushibear [~SushiBear@176-204-50-84.dyn.estpak.ee] has quit []
18:09<LordAro>https://github.com/OpenTTD/OpenTTD/milestone/1 i turned the "Release 1.9.0" project into a milestone
18:09<LordAro>seemed more appropriate
18:10<Eddi|zuHause>"66% complete" seems like a nonsense number :p
18:10<LordAro>:p
18:20<DorpsGek_II>[OpenTTD/OpenTTD] LordAro commented on issue #7007: Joining server via shortcut causes freeze https://git.io/fhVhr
18:29-!-Progman [~progman@p4FD66625.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
18:37<DorpsGek_II>[OpenTTD/OpenTTD] LordAro commented on issue #6896: game crashes on first autosave if compiled without lzo but with lzma https://git.io/fhVj5
18:45<Samu>i had reported a crash with lzo some years ago that got fixed
18:45<Samu>but maybe it broke something else
18:45<Samu>let me find the fix
18:47<Samu>https://github.com/OpenTTD/OpenTTD/issues/6450 my report
18:47<Samu>https://github.com/OpenTTD/OpenTTD/commit/ff26c6393e3da796ab14a53462e423909752f68d
18:47<Samu>the fix
18:56-!-Flygon [~Flygon@dsl-124-150-7-189.vic.westnet.com.au] has joined #openttd
18:56-!-Flygon is "Flygon" on #openttd
19:07<DorpsGek_II>[OpenTTD/OpenTTD] ale84s commented on issue #7087: Presignal doesn't work on long distance https://git.io/fhwvx
19:14<DorpsGek_II>[OpenTTD/OpenTTD] LordAro requested changes for pull request #7085: Fix: Remove duplicate French and Slovak town names https://git.io/fhwfW
19:28-!-supermop_work_ [~supermopw@38.105.230.30] has quit [Ping timeout: 480 seconds]
19:29<DorpsGek_II>[OpenTTD/OpenTTD] nikolas updated pull request #7085: Fix: Remove duplicate French and Slovak town names https://git.io/fh2Af
19:30<DorpsGek_II>[OpenTTD/OpenTTD] nikolas commented on pull request #7085: Fix: Remove duplicate French and Slovak town names https://git.io/fhwJ8
19:31<DorpsGek_II>[OpenTTD/OpenTTD] LordAro commented on pull request #7080: Change: Cache stations and links for whole map for linkgraph GUI to eliminate delay when scrolling or zooming https://git.io/fhwJ0
19:37<Samu>still testing windows closures
19:41<m1cr0man>What happens when the passenger distribution is set to manual?
20:12-!-Thedarkb-T60 [~Thedarkb-@51-171-49-131-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
20:19-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
20:19-!-Wormnest is "Wormnest" on #openttd
20:29<Samu>makes them unload at the next station that accepts passengers, instead of the station they want to go
20:34-!-Wormnest [~Wormnest@35.136.176.177] has quit [Quit: Leaving]
20:57<m1cr0man>right cool. I just found the big wiki page on cargodist too that cleared it all up
20:58<m1cr0man>I was running asymmetric distribution for my last game and it got..weird (5000 people to a city with 100 people), so I'm going to do 75% symmetric for the next run
21:37<Samu>aha, 1024 is the correct size
21:39-!-Thedarkb-X40 [~beno@51-171-49-131-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
21:40<DorpsGek_II>[OpenTTD/OpenTTD] glx22 commented on issue #7007: Joining server via shortcut causes freeze https://git.io/fhwtG
21:51-!-Pikka [~Albert@220-244-87-78.tpgi.com.au] has joined #openttd
21:51-!-Pikka is "realname" on #openttd
22:27<Samu>i'm getting a crash only in debug mode
22:28<Samu>in release it doesn't crash. Regardless, it's a bug, a difficult one to reproduce
22:45<DorpsGek_II>[OpenTTD/OpenTTD] SamuXarick opened issue #7090: Query box sets value to hidden parameters https://git.io/fhwmV
22:51-!-D-HUND [~debdog@2a00:79c0:635:700:7a24:afff:fe8a:d04d] has joined #openttd
22:51-!-D-HUND is "Wowbagger" on #openttd #bitlbee
22:54-!-debdog [~debdog@2a00:79c0:60a:a600:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
22:55-!-Samu [Samu@pa4-84-91-142-34.netvisao.pt] has quit []
23:04-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
23:04-!-snail_UES_ is "Jacopo Coletto" on #openttd
23:17-!-glx [kvirc@000128ec.user.oftc.net] has quit []
23:27-!-Gustavo6046 [~Gustavo60@189.6.241.48] has quit [Ping timeout: 480 seconds]
---Logclosed Thu Jan 24 00:00:34 2019