Back to Home / #openttd / 2019 / 05 / Prev Day | Next Day
#openttd IRC Logs for 2019-05-12

---Logopened Sun May 12 00:00:36 2019
00:03-!-patrickm[m] [~patrickmm@2001:470:1af1:101::36f5] has joined #openttd
00:03-!-patrickm[m] is "@patrickm:matrix.org" on #openttd
00:05<DorpsGek_II>[OpenTTD/OpenTTD] kiwitreekor commented on pull request #7575: Feature: Add industry production graph https://git.io/fjWTS
00:39-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has quit [Read error: Connection reset by peer]
00:39-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has joined #openttd
00:39-!-Supercheese is "Caseum" on #openttd
00:55-!-yoltid[m] [~yoltidhac@2001:470:1af1:101::33e6] has joined #openttd
00:55-!-yoltid[m] is "@yoltid:hackerspaces.be" on #openttd #Qubes_OS
01:12-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has joined #openttd
01:12-!-nielsm is "Niels Martin Hansen" on #openttd
01:18-!-hylshols7qui[m] [~hylshols7@2001:470:1af1:101::337a] has joined #openttd
01:18-!-hylshols7qui[m] is "@hylshols7qui:matrix.org" on #openttd #Qubes_OS
01:28-!-glothit7ok[m] [~glothit7o@2001:470:1af1:101::3301] has joined #openttd
01:28-!-glothit7ok[m] is "@glothit7ok:matrix.allmende.io" on #openttd #Qubes_OS
01:49-!-yur3shmukcik[m] [~yur3shmuk@2001:470:1af1:101::33cd] has joined #openttd
01:49-!-yur3shmukcik[m] is "@yur3shmukcik:tchncs.de" on #openttd #Qubes_OS
01:54-!-lapav[m] [~lapavjunt@2001:470:1af1:101::33d4] has joined #openttd
01:54-!-lapav[m] is "@lapav:junta.pl" on #openttd #Qubes_OS
01:56-!-twom[m] [~twomru-ma@2001:470:1af1:101::35b4] has joined #openttd
01:56-!-twom[m] is "@twom:ru-matrix.org" on #openttd #Qubes_OS
02:00-!-olmvnec[m] [~olmvnecte@2001:470:1af1:101::33cc] has joined #openttd
02:00-!-olmvnec[m] is "@olmvnec:tedomum.net" on #openttd
02:05-!-kiwitree [uid223914@id-223914.charlton.irccloud.com] has quit []
02:07-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
02:17-!-pothyurf[m] [~pothyurfc@2001:470:1af1:101::35a0] has joined #openttd
02:17-!-pothyurf[m] is "@pothyurf:cybre.space" on #openttd #Qubes_OS
02:22-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
02:22-!-andythenorth is "andythenorth" on #openttd
02:24<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on pull request #7575: Feature: Add industry production graph https://git.io/fjWIC
02:31-!-tops[m] [~topsru-ma@2001:470:1af1:101::33d6] has joined #openttd
02:31-!-tops[m] is "@tops:ru-matrix.org" on #openttd #Qubes_OS
02:32<andythenorth>moin
02:35<andythenorth>oops, I was playing 6811
02:35*andythenorth updates to master and compiles
02:36<@LordAro>morn
02:37<andythenorth>hmm
02:37<andythenorth>should I get my own server?
02:37<andythenorth>infosec disaster :P
02:37<andythenorth>oh the map selection buttons are broken in master
02:39<nielsm>huh?
02:41<andythenorth>padding is wrong
02:41<andythenorth>I'll file an issue later
02:41<nielsm>file off the excess padding
02:41*andythenorth should go back to using stable releases :P
02:41<andythenorth>using master is an easy way to get new admin obligations :|
02:46-!-iarp[m] [~iarpavare@2001:470:1af1:101::3649] has joined #openttd
02:46-!-iarp[m] is "@iarp:avareborn.de" on #openttd #Qubes_OS
03:01-!-labs[m] [~labsmatri@2001:470:1af1:101::357a] has joined #openttd
03:01-!-labs[m] is "@labs:matrixim.cc" on #openttd #Qubes_OS
03:02-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
03:02-!-sla_ro|master is "slamaster" on #sla #openttd
03:04-!-nartir[m] [~nartirlin@2001:470:1af1:101::357b] has joined #openttd
03:04-!-nartir[m] is "@nartir:linuxgaming.life" on #openttd #Qubes_OS
03:10<@peter1138>Not sure anyone has touched the padding, but okay.
03:11<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #7380: Feature: Multi-tile docks. https://git.io/fjv8j
03:11<@peter1138>Right, bicycle tiem.
03:12<nielsm>my patch for GUI scaling did some things with padding
03:12<nielsm>but not explicitly in any window
03:12<@peter1138>IT WAS YOU!
03:12<@peter1138>Possibly ;p
03:13<andythenorth>breakfast
03:13<nielsm>sounds like a plan
03:17<andythenorth>oops forgot to use 16 threads for make
03:17*andythenorth waits for slow build
03:19<@LordAro>andythenorth: bro do you even sunk cost?
03:19*LordAro also bike tiem
03:22<andythenorth>these end slopes in 1x zoom pixels :D https://farm5.staticflickr.com/4405/37092165000_b0cc174c76_b.jpg
03:22<andythenorth>are hard to do
03:31-!-khavik[m] [~khavikmat@2001:470:1af1:101::31e9] has joined #openttd
03:31-!-khavik[m] is "@khavik:matrix.org" on #openttd
03:31-!-Progman [~progman@p57A2B4AB.dip0.t-ipconnect.de] has joined #openttd
03:31-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttd
03:43-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has quit [Quit: Valete omnes]
03:47-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has joined #openttd
03:47-!-Samu is "realname" on #openttd
03:51<andythenorth>yeah padding is weird all over the place :)
03:51<andythenorth>did I break it?
03:52<andythenorth>hmm some of it is not new
03:52<andythenorth>present in 1.8.0
03:54<Eddi|zuHause>andythenorth: alias make='make -j16'
03:55<Eddi|zuHause>(i put something like that in a .profile somewhere)
03:55<andythenorth>hmm
03:55<andythenorth>wonder if I can pass the -j flag through to python
03:55<andythenorth>I actually need it to start a python MP worker pool
03:56<andythenorth>I have my own stupid named arg for that
03:56<Eddi|zuHause>put it in an environment variable?
03:56<andythenorth>sounds plausible
03:57<nielsm>andythenorth yeah, may be this change making strange padding more obvious: https://github.com/OpenTTD/OpenTTD/pull/7539/files#diff-0ca62154593f191ee94ea929d203e348R2666
03:57<andythenorth>I should screenshot, but the vehicle window viewport has gained padding
03:58<andythenorth>not broken, just different
03:58<nielsm>def. do, and ideally mark it up
03:59-!-Wolf01 [ziocanaia@0001288e.user.oftc.net] has joined #openttd
03:59-!-Wolf01 is "Wolf01" on #openttd
04:17-!-Meiki [~heikimatr@2001:470:1af1:101::3083] has joined #openttd
04:17-!-Meiki is "@heiki:matrix.org" on #openttd
04:25<V453000>yay one coun_veh_id() per engine
04:25<V453000>optimized
04:25<andythenorth>optimal
04:25<V453000>not done coing yet though
04:29-!-jact[m] [~jactopeni@2001:470:1af1:101::36cc] has joined #openttd
04:29-!-jact[m] is "@jact:openintents.modular.im" on #openttd #Qubes_OS
04:34<Eddi|zuHause>"Structures in the center of every planet and moons now supply free oxygen" ... that should help a few things, i guess :p
04:35<Wolf01>Regarding NRT, town roads get replaced with time or only new roads will be of the new buildable type?
04:36<Wolf01>And if is the first one, does "road reconstruction" speed up the effect?
04:38<andythenorth>Horse compile is now so slow
04:38<nielsm>actually yeah the road reconstruction would make sense to upgrade the affected roads to the latest
04:39<Eddi|zuHause>Wolf01: i would hope so, but i wouldn't expect it...
04:39<andythenorth>so slow that I can open the compiled docs in a browser, view the sprites, and decide whether to ctrl-c the compile
04:39<andythenorth>I think I've pushed nml about as far as it can realistically go
04:40<Eddi|zuHause>andythenorth: have you implemented not-overwriting the sprite files yet, if they haven't changed?
04:40<andythenorth>nope
04:40<andythenorth>that looks worth doing
04:41<andythenorth>after that, I need to decide whether to reimplement everything with layers
04:41<Eddi|zuHause>just write to .png.new (or .new.png), do a cmp, and then overwrite
04:41<andythenorth>peter said I shouldn't optimise with layers because it spanks openttd perfomance
04:41<andythenorth>but it would cut down the number of sprites to encode substantially
04:41<andythenorth>at the expense of massive complexity
04:42<Eddi|zuHause>andythenorth: that sounds like the wrong tradeoff
04:42<Eddi|zuHause>"i want to waste more execution time because i get bored during compile"???
04:42<andythenorth>well I don't play much :P
04:43<andythenorth>is there a preferred method for diffing bitmap files?
04:43<Eddi|zuHause>just cmp
04:43<Eddi|zuHause>also, you should learn https://xkcd.com/303/
04:43<andythenorth>1m-2m is the worst cycle time
04:44<andythenorth>it's not enough to make coffee
04:44<andythenorth>or think
04:44<andythenorth>it's long enough to be boring
04:44<Eddi|zuHause>andythenorth: cmp will give you "same" or "different" on binary level
04:44<Eddi|zuHause>andythenorth: you don't need anything more complex
04:44<andythenorth>all the file handling is in python, so I need to use popen or something?
04:44<andythenorth>or possibly python has a handler to cmp
04:45<Eddi|zuHause>python might have a function for that
04:45<andythenorth>filecmp
04:45-!-blim[m] [~blimrektl@2001:470:1af1:101::358f] has joined #openttd
04:45-!-blim[m] is "@blim:rekt.live" on #openttd #Qubes_OS
04:45<andythenorth>https://docs.python.org/2/library/filecmp.html
04:46<Eddi|zuHause>that sounds useful
04:46<andythenorth>filecmp.cmpfiles looks like it should work
04:46<andythenorth>so I replace all that don't match
04:47<Eddi|zuHause>i would probably use cmp, at the end of the job that creates each file
04:49<Eddi|zuHause>say: generate("{}.new.png".format(file)); if (not cmp("{}.png".format(file), "{}.new.png".format(file)) move("{}.new.png".format(file), "{}.png".format(file))
04:49<Eddi|zuHause>that way you don't need to collect the list of all png files somewhere
04:49<Eddi|zuHause>to then batch-compare them
04:50<Eddi|zuHause>which would be a single-threaded bottleneck
04:50<andythenorth>good point
04:50<andythenorth>bit more intricate but eh ok
04:53-!-ciet[m] [~cietpriva@2001:470:1af1:101::3665] has joined #openttd
04:53-!-ciet[m] is "@ciet:privacytools.io" on #openttd #Qubes_OS
04:56-!-buggeas40d[m] [~buggeas40@2001:470:1af1:101::33e3] has joined #openttd
04:56-!-buggeas40d[m] is "@buggeas40d:chat.weho.st" on #openttd
04:57-!-Progman [~progman@p57A2B4AB.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
04:59-!-andythenorth is now known as Guest2364
04:59-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
04:59-!-andythenorth is "andythenorth" on #openttd
04:59-!-cesar[m] [~cesartome@2001:470:1af1:101::36c5] has joined #openttd
04:59-!-cesar[m] is "@cesar:tomesh.net" on #openttd
05:00-!-Guest2364 [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Ping timeout: 480 seconds]
05:08<Wolf01>andythenorth: is NRT hog in bananas?
05:09<andythenorth>nope
05:09<andythenorth>only forums thread
05:09*andythenorth BBL
05:10-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
05:27<nielsm>hmm, the "hidden" flag on roadtypes doesn't prevent towns from building that type, does it?
05:27<nielsm>so you could have a road type only buildable by towns and a different one only buildable by players
05:32<Wolf01>Wow
05:48-!-chomwitt is "chomwitt" on #debian #debian-games
05:48-!-chomwitt [~chomwitt@2a02:587:dc19:af00:75f6:6f6f:659:9887] has joined #openttd
05:49-!-HerzogDeXtEr [~farci@ip92341cd4.dynamic.kabel-deutschland.de] has joined #openttd
05:49-!-HerzogDeXtEr is "purple" on #openttd
05:53-!-gelignite [~gelignite@55d45bf6.access.ecotel.net] has joined #openttd
05:53-!-gelignite is "gelignite" on #openttd
06:26<Eddi|zuHause>nielsm: that sounds weird at first, but it probably has some use...
06:32-!-Progman [~progman@p57A2B4AB.dip0.t-ipconnect.de] has joined #openttd
06:32-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttd
07:46-!-drac_boy [~oftc-webi@modemcable013.32-203-24.mc.videotron.ca] has joined #openttd
07:46-!-drac_boy is "OFTC WebIRC Client" on #openttd
07:47<drac_boy>hi there
07:51-!-gelignite [~gelignite@55d45bf6.access.ecotel.net] has quit [Quit: Good fight, good night!]
07:51<@peter1138>nielsm, correct.
08:47-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
08:47-!-andythenorth is "andythenorth" on #openttd
08:47*andythenorth sleepy
08:48<andythenorth>is it lunchtime?
08:48<Arveen>past lunchtime for me
08:48<drac_boy>08:49 here sorry :)
08:48<Arveen>14:48 heh
08:56<@LordAro>@calc 58+58
08:56<@DorpsGek>LordAro: 116
08:56<@LordAro>@calc 65+50
08:56<@DorpsGek>LordAro: 115
08:56<@LordAro>peter1138: you beat me
09:10<Eddi|zuHause>LordAro: you probably deserved it.
09:16<DorpsGek_II>[OpenTTD/website] auge8472 commented on pull request #85: Change: HTML5-elements and corresponding CSS-rules for the blog article template https://git.io/fjWYG
09:20<andythenorth>hmm
09:20<andythenorth>now we watch me fail at make :P
09:21-!-spnda [~oftc-webi@x4db4a8bb.dyn.telefonica.de] has joined #openttd
09:21-!-spnda is "OFTC WebIRC Client" on #openttd
09:22-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
09:22-!-frosch123 is "frosch" on +#openttd.dev #openttd
09:23<@LordAro>Eddi|zuHause: :<
09:26<@peter1138>Oh are we combining mileage?
09:28*andythenorth attempts to stop destroying nml spritecache
09:32-!-gareppa [~gareppa@151.24.80.173] has joined #openttd
09:32-!-gareppa is "gareppa" on #bcache #privacybadger #https-everywhere #llvmlinux #ext4 #mm #moocows #oftc #openttd #scilab #C
09:41-!-gareppa [~gareppa@151.24.80.173] has quit []
09:41-!-drac_boy [~oftc-webi@modemcable013.32-203-24.mc.videotron.ca] has left #openttd []
09:42<@LordAro>peter1138: if you like, we can say that you beat me yesterday, and i beat you today :p
09:44<andythenorth>lol
09:44<andythenorth>ok so not destroying the nml cache works
09:44<andythenorth>9.9s > 0.9s
09:44<andythenorth>if just one spritesheet changed
09:45<andythenorth>shame it can't cache the parse :P
09:45<Eddi|zuHause>you need partial compiles for that
09:47<andythenorth>hmm these timings are a bit distorted, I deleted a bunch of trains
09:47<andythenorth>comparing recent total run times is misleading, but the spritecache benefit is isolated and clear
09:48<andythenorth>back down to 45s total
09:48<andythenorth>I should delete more stuff
09:48<andythenorth>should I split Iron Horse into separare grfs?
09:48<andythenorth>Iron Horse - Engines
09:48<andythenorth>Iron Horse - Wagons
09:48<andythenorth>Iron Horse - Carriages
09:48<Eddi|zuHause>probably not
09:50*andythenorth considers compiling 300 grfs
09:50<andythenorth>the overhead probably eats the time saving
09:50<andythenorth>but I have 16 thread units
09:50<andythenorth>@calc 300/16
09:50<@DorpsGek>andythenorth: 18.75
09:50<@peter1138>LordAro, and I had a puncture today! ;(
09:50<andythenorth>what is a puncture please?
09:51*andythenorth has not had a puncture since about 2007
09:51<andythenorth>I have ripped valves off the tube twice
09:52<andythenorth>oh and I get a pinch puncture when the tube got between the rim and tyre wall
09:55<Samu>3662
10:07<Eddi|zuHause>andythenorth: i've rolled back from compiling each engine as 1 grf
10:07-!-gareppa [~gareppa@151.24.80.173] has joined #openttd
10:07-!-gareppa is "gareppa" on #bcache #privacybadger #https-everywhere #llvmlinux #ext4 #mm #moocows #oftc #openttd #scilab #C
10:07<Eddi|zuHause>andythenorth: because it's just too much overhead
10:08-!-gareppa [~gareppa@151.24.80.173] has quit [Remote host closed the connection]
10:09<Eddi|zuHause>aren't modern tyres self-repairing?
10:13<andythenorth>mine are kevlared, never seen anything go through them
10:14<@LordAro>peter1138: oh no
10:15<@LordAro>Eddi|zuHause: sometimes, depends on the tyre. there's usually some disadvantage to them
10:16-!-supermop_work [~supermopw@162.213.133.189] has joined #openttd
10:16-!-supermop_work is "A CIRC user" on #openttd
10:16<supermop_work>yo
10:17<andythenorth>yo
10:18<andythenorth>supermop_work: talk to me about British Rail hopper wagons 1960-2020
10:18<supermop_work>this is some kind of fetish thing huh
10:18<andythenorth>ideally not
10:18<supermop_work>well my memory of seeing them only applies to 1997-1999
10:19<supermop_work>but there seemed to be a variety of them on the rails around that time
10:19<supermop_work>subsequent trips to the UK haven't afforded much freight stock viewing
10:20<supermop_work>but i'd assume they'd still look stubbier than american ones?
10:22<andythenorth>yeah
10:25<andythenorth>if these were 2 different types in game, what would they be called?
10:25<andythenorth>https://live.staticflickr.com/4096/4894313432_706b1dec3d_b.jpg
10:25<andythenorth>https://photos.smugmug.com/Wagons/P-TOPS-Code/PGA/i-2Rxd4Wg/0/6a9ce01f/L/PGA_14176_PR_a_ActonMainline_27042007-L.jpg
10:28<Samu>@calc 3711 - 3662
10:28<@DorpsGek>Samu: 49
10:31<supermop_work>they both empty through chutes on the bottom?
10:35<andythenorth>yes
10:35<andythenorth>one has auto-unloading, one doesn't
10:35<@peter1138>So I wondered about roadtype/town callback stuff.
10:35<@peter1138>But it's a bit non-obvious.
10:35<@peter1138>Like, who gets to decide?
10:36<@peter1138>Shall I buy a sous vide machine? Seems to be some kind of fad.
10:37<andythenorth>it's nice to have a fa
10:37<andythenorth>fad
10:37-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
10:37*andythenorth needs coffee
10:37-!-Wormnest is "Wormnest" on #openttd
10:38<@peter1138>And why would one need to be Alexa-compatible? o_O
10:39<andythenorth>so Amazone know what you're eating
11:02<DorpsGek_II>[OpenTTD/OpenTTD] stale[bot] closed pull request #7213: Feature: BFS-based river generator https://git.io/fhHN6
11:06<andythenorth>:P
11:06-!-Flygon [~Flygon@203-214-143-101.perm.iinet.net.au] has quit [Read error: Connection reset by peer]
11:18-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
11:18-!-snail_UES_ is "Jacopo Coletto" on #openttd
11:18<Eddi|zuHause>damn you stalebot! *throws fist*
11:30<andythenorth>lo snail_UES_
11:30<snail_UES_>hey andythenorth
11:31<@peter1138>Well it hadn't been updated for 3 months...
11:44*andythenorth pixels
11:44<andythenorth>so many clicks
11:51<dwfreed>peter1138: sous vide is a common cooking method in high end restaurants; it's become popular lately because people want the high end restaurant experience, but without the cost of going out to eat
11:51-!-kiwitree [uid223914@id-223914.charlton.irccloud.com] has joined #openttd
11:51-!-kiwitree is "kiwitree" on #openttd.dev #openttd
11:57-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
12:15-!-Wormnest [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
12:42<@peter1138>I know what it is :-)
12:54<snail_UES_>as I was playtesting my set, I noticed lots of settings concerning the economy are so unrealistic
12:54<snail_UES_>inflation raises costs more than profits… infrastructure costs are more than proportional to the scale of your network
12:54<snail_UES_>this is totally NOT how the real world works
13:01<@peter1138>inflation raises costs so that the game gets harder.
13:03-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
13:03-!-andythenorth is "andythenorth" on #openttd
13:04<andythenorth>oof
13:04<snail_UES_>so in order to make the game get harder, we implement something inaccurate?
13:04<Eddi|zuHause>snail_UES_: infrastructure costs are also meant to simulate your overhead. if you employ 2 workers, you must pay double the wage, but if you employ 20 workers, you must also employ a manager that earns a multiple of a worker wage
13:04<snail_UES_>wouldn’t it be better to place something like that in the difficulty levels or so?
13:04*andythenorth sat in the hot tub for 1 hour at 40º
13:04<andythenorth>now I'm spaced out :D
13:05<snail_UES_>Eddi|zuHause: yes, but 20 workers will be able to do a better job than 2 workers * 10
13:05<snail_UES_>ever heard of economies of scale? :P
13:05<andythenorth>:o
13:05<snail_UES_>if what you said was correct, there wouldn’t be any largecap companies in the world
13:05<Eddi|zuHause>snail_UES_: and the inflation difference between income and costs must be dealt with by improved technology
13:06<snail_UES_>Eddi|zuHause: inflation raises prices first, wages later. So what’s implemented in the game is totally unrealistic
13:06<snail_UES_>it’s like wages were raised before the prices of the goods…
13:06<Eddi|zuHause>snail_UES_: you get faster vehicles
13:06<snail_UES_>that’s just not how it works
13:06<snail_UES_>fatser vehicles will have a higher maintenance cost, so that’s already taken into account
13:07<Eddi|zuHause>snail_UES_: it's not a perfect simulation
13:07<snail_UES_>and (usually) higher fuel comsumption
13:07<snail_UES_>I know it’s not perfect
13:07<Eddi|zuHause>snail_UES_: it's a fairly simple formula
13:07<snail_UES_>but this is blatantly broken
13:07<Eddi|zuHause>snail_UES_: again, you're meant to balance this out by better technology
13:07<snail_UES_>I mean it’s like introducing concepts that are broken to begin with...
13:07<_dp_>it's not an economy simulator to be realistic :p
13:08<Eddi|zuHause>no economy simulator is realistic :)
13:08<snail_UES_>agreed
13:08*andythenorth wonders about reading logs :P
13:08<snail_UES_>but at least shouldn’t it “try its best” to be realistic?
13:08<andythenorth>is something else broken?
13:08<Wolf01>Also in 2000 you start with the same money you had in 1950, which allow you to buy like 5 times less things
13:08<snail_UES_>here it’s just doing something totally weird...
13:08<andythenorth>snail_UES_: IMHO, no. It should do its best to offer content APIs to authors of mods
13:08<Eddi|zuHause>snail_UES_: well, you're welcome to come up with a better system?
13:09<nielsm>the inflation is just a mechanism to change the ratio between costs and incomes without having to resort to fractional currency
13:09<snail_UES_>Wolf01: correct, the initial loan should be balanced according to the costs of the period you start at
13:09<andythenorth>is inflation a thing?
13:09<andythenorth>I thought it was deprecated?
13:09*andythenorth is confused, yet again
13:09<Wolf01>Joining a game with inflation enabled after 50 or even 100 years is literally unplayable
13:09<andythenorth>I'll get my coat
13:09<nielsm>the inflation setting is not deprecated, afaik
13:09<snail_UES_>nielsm: ok, but in reality, prices are what inflation raises first
13:09<snail_UES_>so it should benefit a transportation company
13:09<andythenorth>yes, but we don't fix bug reports about inflation
13:10<nielsm>snail_UES_ yes but that's irrelevant for this
13:10<andythenorth>we tell the player to turn inflation off
13:10<snail_UES_>wages are raised later as a result of this
13:10<andythenorth>inflation would make debugging newgrfs really horrible, please don't encourage it :P
13:10<nielsm>it's a game mechanic intended to introduce difficulty, it's not a game mechanic intended to simulate a real world mechanism
13:11<Eddi|zuHause>snail_UES_: that makes no difference, whether the chicken or the egg was first
13:11<snail_UES_>nielsm: ok perfect. But then let’s not call it “inflation”… let’s call it, “difficulty settings” or something like that
13:11<andythenorth>or 'broken'
13:11<_dp_>wtf is a difficulty in a sandbox?
13:11<andythenorth>"broken: on | off"
13:11<snail_UES_>:D
13:12<andythenorth>I need more emojis
13:12<Eddi|zuHause>i think we can safely ignore all lines from andythenorth that include the word "broken"
13:12<andythenorth>is there an emoji for "I am just talking crap to see how it sounds" ?
13:12<snail_UES_>I’ll add two notes to my set “donotreadme”… please turn inflation off, and please turn infrastructure costs off
13:12<andythenorth>it's so hard to disambiguate from "no I really mean this and I am using exactly the same tone in irc"
13:13<nielsm>the problem with inflation as implemented is that it bases the rate on the loan interest rate in a way so the lower interest rates makes the game harder later on, while the higher interest rates makes the game not quite as much harder later on
13:13<andythenorth>I think TB has that problem too ^^
13:13<nielsm>since the inflation rates are interest% and (interest+1)%
13:13<nielsm>so on a higher interest rate the ratio between the two numbers is lower
13:13<andythenorth>isn't this a GS thing?
13:13<_dp_>somehow if you add a goal every thing that's said to make game more difficult end up just being stupid instead
13:14<snail_UES_>nielsm: what are these two quantities ( interest% and (interest+1)% ) ?
13:14<snail_UES_>are they used for revenues and costs, respectively?
13:14<nielsm>snail_UES_: the rate at which incomes rises and the rate at which costs rise
13:14<nielsm>yes
13:14<snail_UES_>ah, so it’s totally broken :)
13:14<andythenorth>why is inflation desired?
13:14<snail_UES_>it should be: interest% and (interest * 1.1)%
13:15<nielsm>it's called "inflation" because it makes numbers go up over time
13:15<nielsm>yeah but that would make the calculations much harder
13:15<snail_UES_>inflation is a nice realistic thing, but it doesn’t work the way it’s implemented
13:15<snail_UES_>nielsm: so we should use the same number on both sides...
13:15<snail_UES_>or at least have a flag or a setting to play on the difference
13:15<nielsm>if the revenue and cost rates are the same then it's just pointless to enable
13:16<nielsm>apart from savings becoming less worth over time
13:16<nielsm>(effectively negative interest on savings)
13:16<andythenorth>is it just a multiplier to all currency displays?
13:16<nielsm>(well, liquid capital?)
13:16<snail_UES_>no, it would still have a meaning. Your interest on your loan would be more and more irrelevant with high inflation
13:16<andythenorth>IT WILL NEVER WORK WITH DAYLENGTH
13:16<andythenorth>or something
13:17<nielsm>no, inflation is a multiplier to actual revenue and cost figures
13:17<snail_UES_>no inflation = your interest on your initial loan will be a huge burden
13:17<snail_UES_>lots of inflation = after a few years it becomes irrelevant
13:17<snail_UES_>nielsm: correct
13:17<_dp_>snail_UES_, wut? interest is irrelevant no matter how high it is
13:17<andythenorth>hmm
13:18<andythenorth>just having an 8/8 wagon won't work
13:18<snail_UES_>this would mean that your interest will be lower and lower as a percentage of your income
13:18*andythenorth tests
13:18<nielsm>but yes the max loan (and maybe loan take/repay amounts) should be scaled up by inflation to make sense
13:18<snail_UES_>nielsm: correct
13:18<snail_UES_>and the interest you pay on outstanding loan will of course be untouched by inflation (we can assume fixed rates)
13:18<snail_UES_>so low inflation —> interest is always a big factor, “go easy on loans"
13:19<snail_UES_>high inflation —> interest will fade away as a percentage of your revenues as time goes on, therefore you can be a bit more aggressive when borrowing
13:20<snail_UES_>I think something like this would make sense. And also allow the player to choose the differential between revenues and cost inflation
13:20<_dp_>with how much money you can make interest needs to be like 200% or smth to make any difference at all
13:20<snail_UES_>_dp_: not in the very early years
13:20<andythenorth>ok maybe a 6/8 version then
13:20<snail_UES_>when you start, you can be a bit more aggressive if inflation is high, you can’t if it’s low or non-existent
13:21<snail_UES_>but I agree, later in the game it’d make a smaller difference (your revenues would be large enough)
13:21<_dp_>snail_UES_, early years aren't that different on cost/profit
13:21<snail_UES_>but when you have only 1 or 2 lines, interest expense can be quite significant to you
13:23<_dp_>snail_UES_, if your goal is money first train about pays for itself on a first run
13:23<_dp_>snail_UES_, I never even bother to repay loans
13:24*andythenorth wonders about alternative mechanics
13:24<andythenorth>like, the game could dump random costs on you
13:24<andythenorth>'GDPR compliance'
13:24<andythenorth>'Euro 6 engines'
13:24<_dp_>andythenorth, ZOMBIES! xD
13:24<snail_UES_>andythenorth: there could be taxes as well
13:24<andythenorth>there's no dividend flow either
13:31-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has joined #openttd
13:31-!-Gumle2 is "Martin" on #ceph #bcache #openttd
13:31-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has quit []
13:36<@peter1138>18:18 < nielsm> but yes the max loan (and maybe loan take/repay amounts) should be scaled up by inflation to make sense
13:36<@peter1138>^ it is
13:38<snail_UES_>peter1138: but interest payments on outstanding loan shouldn’t (if we assume fixed rates)
13:38<snail_UES_>also, the design mistake isn’t there. It’s that costs increase more than revenues
13:39-!-glx [kvirc@000128ec.user.oftc.net] has joined #openttd
13:39-!-mode/#openttd [+v glx] by ChanServ
13:39-!-glx is "Loïc GUILLOUX" on +#openttd
13:41<V453000>WTF :D how could os.makedirs(output_folder, exist_ok = True) give me TypeError: makedirs() got an unexpected keyword argument 'exist_ok' ... it works in my other scripts ._. the path seems right ('Output folder is:', 'D:\\OpenTTD_repositories\\NUTS-git\\scripts\\..\\src-generated')
13:41<V453000>the ".." does not seem to be a problem
13:43<V453000>D:\OpenTTD_repositories\NUTS-git\scripts>python --version this gives me
13:43<V453000> Python 3.6.5
13:43<V453000>so that should be right
13:44<V453000>the print() would not work otherwise
13:44<dwfreed>"Note makedirs() will become confused if the path elements to create include pardir (eg. “..” on UNIX systems)."
13:45<dwfreed>since you have python3.6, you should use a Path instead of a string, and .. will be handled for you
13:46<snail_UES_>another design mistake about inflation… it’s always constant
13:46<snail_UES_>this generates a compounding effect, so that prices in 2020 in a game started in 1880 will be ridiculously high
13:47<nielsm>solution: let GS alter the rate!
13:47<V453000>I wasn't aware a path type exists even :D
13:47<snail_UES_>solution: start with a constant rate, and apply random changes (could be generated by a normal distribution) every year
13:47<dwfreed>V453000: was newly added in 3.6
13:47<V453000>:0
13:48<nielsm>peter1138: maybe the max loan is scaled then, but the starting cash amount and loan take/repay step isn't
13:49<nielsm>(someone is going to say "what if your loan amount is not a multiple of the loan repay amount" and the answer is "just repay the rest if the repay amount is larger than current loan")
13:50<@Rubidium>peter1138: isn't max loan already inflation scaled (in I think 50k blocks)?
13:51<andythenorth>GS
13:51<andythenorth>oh
13:51<andythenorth>hi Rubidium :D :o
13:52<V453000>hm, os.path.normpath seemed correct but gives me the same thing
13:52<V453000>Hello Rubidium :)
13:52<milek7>'New in version 3.2: The exist_ok parameter.'
13:53<V453000>yeah and I'm on 3.6.5 so that should work?
13:53<milek7>it should
13:53<V453000>it always worked for me, I don't understand what is wrong :D
13:53<V453000>I'll just remove it for now, it's just one folder and it already exists but wtf :d
13:53<V453000>I guess I could check if the path of the folder exists manually instead
13:54<andythenorth>if not os.path.exists(graphics_output_path):
13:54<andythenorth> os.mkdir(graphics_output_path)
13:54<V453000>yes
13:54<andythenorth>is code I was using today
13:54-!-kiwitree [uid223914@id-223914.charlton.irccloud.com] has quit []
13:54<V453000>well I have isdir
13:55<@Rubidium>snail_UES_: inflation corrected prices for airline tickets have halved between 1980 and 2010, so it's definitely real (for some forms of transport) that the ticket prices were raised less than inflation. Prices of aircraft were raised faster than inflation though (the 747's different models in this case)
13:55<V453000>well, works. Strange, but fuck it for now
13:55<V453000>thanks :_
13:55<V453000>:)
13:55<snail_UES_>Rubidium: yes, this has a lot to do with external factors such as oil price
13:56<snail_UES_>if we want to keep it simple, such as in a simulation, we should at least raise revenues and costs at the same rate, which would be correct “on average”. It wouldn’t make sense to privilege one vs. the other
13:58<snail_UES_>Rubidium: as for prices of aircraft, it was true for the 747 but not for the smaller planes, where there was more and more competition (think Embraer)
13:58<@LordAro>Rubidium? in #openttd? what year is it?
13:58<snail_UES_>also, lower oil prices affect not only ticket prices, but also fuel prices. This would be a lower cost for an airline company
13:59<@Rubidium>LordAro: 1440 IIRC
13:59<@LordAro>:)
13:59<+michi_cc>snail_UES_: Inflation in OTTD is in no way about realism. Incoming is growing anyway due to faster vehicles and bigger towns. OTTD inflation just buffers that grow a bit.
14:00<@LordAro>V453000: that error definitely implies it's not using your 3.6 python install - sure it's not using a 2.7 by accident? (`python` vs `python3`)
14:00<snail_UES_>so let’s not call it inflation… let’s call it, “exploding costs to increase difficulty level”
14:00<@LordAro>V453000: adding `print(sys.path)` just before should tell you where it's looking for python files
14:01<snail_UES_>in one of my tests (started in 1880), in year 1995, a mid-size narrow gauge railcar cost as much as about 500 new VW Golf of the same era…!!
14:01<snail_UES_>this is like… beyond laughable
14:01<@Rubidium>are those from the same NewGRF?
14:02<snail_UES_>the VW Golf is from a NewGRF called “real world” :)
14:02<snail_UES_>and the railcar is from my own NewGRF, with its cost scaled so that it would match the real world in a game started in that year (1995)
14:03<snail_UES_>the issue was that the railcar’s cost got compounded so much to become astronomical…
14:03<+michi_cc>But does the income from a trip with this railcar match real world as well? Otherwise, matching costs is a bit pointless.
14:03<nielsm>aren't most newgrf vehicles also cost-scaled by (non-in-game) inflation already? i.e. if you compare the inflation-adjusted prices of real world locomotives in 1880 and 1995 you wouldn't see the same price increase you see in non-in-game inflation adjusted prices in ttd
14:05<snail_UES_>michi_cc: maybe it’s matched in-game, but it’s the figure that it a bit silly. A railcar costing DM 13.8M in 1995? Makes me think of Weimar republic prices
14:05<V453000>LordAro: yeah its looking in 2.7
14:06<nielsm>one example, a danish steam loco from 1909 was purchased from factory for 64,000 kr, adjussted for inflation to 2018 prices that's about 4.2 million kr
14:06<V453000>how did I mess this up :D
14:06<nielsm>stats are 60 km/h, 44.8 tons weight, not sure how to determine a power value from the data I have here :P
14:07<snail_UES_>nielsm: exactly. The prices of locomotives went down, because of better technology, which makes it easier to build them
14:07<snail_UES_>nielsm: if you give me firebox surface, grate area, boiler pressure, and superheating surface, I can give you an estimate :)
14:08<snail_UES_>the issue here is that, if I include a 1995 railcar in my trainset, I will set its price around its real-world figure (in 1995)
14:08<nielsm> only have boiler pressure, 12.8 kg/cm^3
14:08<snail_UES_>but if I start a game in 1880, the very same amount I set in my code gets compounded by inflation, therefore hitting an astronomical figure
14:09<snail_UES_>ah… without grate area, it’s going to be tricky
14:09<snail_UES_>I found the product of grate area * boiler pressure to be an acceptable way to estimate a steamer’s power (statistically speaking)
14:09<nielsm>https://www.jernbanen.dk/damp_solo.php?s=1&lokid=243 no idea if anything here will help
14:09<snail_UES_>with firebox, tubes, and superheating surface to be useful to fine-tune the number
14:10<+michi_cc>Well, of course inflation goes bonkers if you apply it twice; once by yourself, once by the game.
14:10<snail_UES_>michi_cc: I don’t apply it by myself. I’m only setting a price as of 1995
14:11<snail_UES_>the way the game currently works, there is no way to have a resonable 1995 price always displayed, because it’d depend on the year a game starts
14:12<snail_UES_>nielsm: cute steamer! but I can’t understand Danish… :(
14:12<snail_UES_>I’ll try with google translate
14:12<nielsm>and a factory new siemens vectron electric loco is estimated to be around 25-30 million kr
14:12<+michi_cc>snail_UES_: But you do. If the same vehicle would have been invented in 1985, it would have had a different price, wouldn't it?
14:13<nielsm>so the cost per power and speed unit seems to have dropped a bunch
14:13<snail_UES_>michi_cc: I would always give a “nominal” price that’s consistent with the introduction time’s price index
14:13<snail_UES_>nielsm: yes, that’s my point!
14:14<snail_UES_>so it’d actually make sense to raise income more than costs… because of what you just said (engines have become cheaper through time)
14:14<nielsm>bbiab
14:15<snail_UES_>nielsm: looks like there’s no grate area for that cutie. Have you tried JDH Smith’s tables?
14:15<_dp_>what's the point of realistic prices? are you making addon for the game or history museum?
14:15<snail_UES_>no, but having a railcar costing like 10M euros? Seriously?
14:15<andythenorth>GS
14:16<snail_UES_>anyway one can live with that. The issue is costs growing more than revenues, making economies of scale impossible (this is especially true for infrastructure maintenance costs)
14:16<andythenorth>why is the inflation switch still present?
14:16<andythenorth>can I put a PR in to remove it?
14:16<snail_UES_>I totally get the idea of making the game harder
14:17<snail_UES_>I just think this is a bit weird way to achieve that...
14:17<_dp_>openttd has shitton of stupid settings, just don't use then :p
14:18<andythenorth>snail_UES_ found any narrow gauge cryo tankers in your research? o_O
14:18<andythenorth>hmm stupid mac touchbar crashed again, let's restart it
14:18<+michi_cc>snail_UES_: Revenues are also growing because towns grow and produce more pax/mail and vehicles get faster, both lead to increasing revenue (independent of any inflation setting).
14:20<+michi_cc>In the game context you can't view game inflation independent from this "natural" grow. This mechanism is at odds with reality, but then OTTD is a game and not a reality simulator.
14:20<snail_UES_>right, I agree
14:21<snail_UES_>I found some threads speaking about this, I think it’s a problem. But wouldn’t it be better to attack it by trying to play with the mechanism that generates pax and mail, and grows towns?
14:21<+michi_cc>TL;DR: Some game rules are simply incompatible with a reality simulator, even if you try to simulate a very nice NewGRF reality :p
14:21<snail_UES_>fixing it with inflation seems to me like… introducing two flaws and hope they can balance each other out
14:22<andythenorth>it was an accident, not a design?
14:22<andythenorth>inflation seems to be clown shoes early days stuff
14:22<andythenorth>was it in TTD?
14:22<snail_UES_>andythenorth: I think so
14:22<+michi_cc>I think it even was in TTO.
14:23<andythenorth>ok it's an accident
14:23<andythenorth>no account for variable start dates
14:23<andythenorth>no account for grf
14:23<+michi_cc>And they got the difficulty wrong even back then. Easy preset had 2% and hard 4%, but 4% is actually easier than 2%.
14:24<andythenorth>presumably we're not allowed to delete it if it was in TTO?
14:24<andythenorth>we have to keep ALL TTO/TTD features?
14:24<+michi_cc>andythenorth: Why do you think there is a setting?
14:24<@LordAro>default can be changed to "disabled"
14:24<andythenorth>isn't it already?
14:25<@LordAro>¯\_(ツ)_/¯
14:25<_dp_>oh god, no, it's on
14:25<andythenorth>lolz
14:25<andythenorth>much lolz
14:25<andythenorth>oh yeah, one of my kids was playing and it ruined his game
14:25<andythenorth>I remember now
14:26<andythenorth>it just makes the game totally unusable
14:26<andythenorth>much lolz
14:26<Wolf01>Still talking about inflation?
14:26<andythenorth>apparently
14:26<andythenorth>much talk, little action :D
14:26*andythenorth drawing sprites
14:26<@LordAro>who's the one that's running the multihundred year game? they mentioned it as well
14:26<andythenorth>yeah child #1 is addicted to ffwd
14:26<andythenorth>so he gets through 500 years quickly
14:27<Wolf01>I'm +1 for changing the default to disabled
14:27<@LordAro>andythenorth: blame peter1138 :p
14:27<andythenorth>are we sure it's not disabled already?
14:27<andythenorth>LordAro: seems unproductive :P
14:27<snail_UES_>andythenorth: I think it’s enabled by default
14:28<snail_UES_>I’d agree to change it to disabled
14:28<andythenorth>I don't know who's in charge here :D
14:28<andythenorth>[but it's not me]
14:28<@LordAro>https://github.com/OpenTTD/OpenTTD/blob/e7f6f07599e822779665cc0883d313cdf55ea3e6/src/table/settings.ini#L1286
14:28<@LordAro>enabled by default
14:29-!-Flipp3rrr [~flipp3rrr@109.201.133.22] has joined #openttd
14:29-!-Flipp3rrr is "Flipp3rrr" on #openttd
14:29<+michi_cc>andythenorth: That would be https://github.com/orgs/OpenTTD/teams/developers/members
14:29<nielsm>https://wiki.openttd.org/FAQ_development#What_are_the_goals_of_the_offical_branch.3F "Replicate the original gameplay"
14:29<nielsm>it's the vision!
14:29<@LordAro>oh no
14:30<andythenorth>yes
14:30<@LordAro>water at map edges :p
14:30<_dp_>btw, adding a warning for deprecated settings would be nice
14:31<_dp_>helped someone recently who had order.selectgoods off
14:31<nielsm>what would that warning consist of?
14:31<nielsm>big red text in settings window?
14:31<nielsm>popup when starting the game?
14:32<@LordAro>"this setting is only intended for compatibility with old savegames, use with caution"
14:32<@LordAro>?
14:32<Wolf01>Yeah
14:32<_dp_>nielsm, eh? just a warning when savegame has hidden settings in non-default values
14:32<@LordAro>extra tab/dropdown in the settings window could work
14:32<nielsm>basic/advanced/expert/expert+deprecated
14:33<nielsm>(except deprecated settings changed from default always show, and with a warning sign on)
14:33<_dp_>nielsm, yeah, something like that
14:41<_dp_>btw, isn't selectgoods an original ttd thing that was removed?
14:41<snail_UES_>nielsm: is your steamer in here —> http://orion.math.iastate.edu/jdhsmith/term/sldkdsb.htm ?
14:42<nielsm>the original behaviour is that a station gets all goods from all producers immediately
14:42<snail_UES_>it looks like the D(II) from jdh smith’s tables
14:42<nielsm>selectgoods as a setting was a ttdpatch thing
14:42<nielsm>yeah that's the one
14:43<snail_UES_>let’s see...
14:43-!-Flipp3rr_ [~flipp3rrr@109.201.133.22] has joined #openttd
14:43-!-Flipp3rr_ is "Flipp3rrr" on #openttd
14:45<snail_UES_>ok, your steamer should have a power of around 750HP…
14:46<snail_UES_>if you want a confidence interval, I’d say between 700 and 800HP
14:46<snail_UES_>tractive effort should be around 83kN
14:48<nielsm>and so for the vectron comparison, the vectron can run 200 km/h with 8600 hp, so 3.3x speed and 11x power for 6x price
14:50-!-Flipp3rrr [~flipp3rrr@109.201.133.22] has quit [Ping timeout: 480 seconds]
14:51<nielsm>(and also requires only a driver, no fireman)
14:53<andythenorth>also no-one to drop and clean the ashpan
14:53<andythenorth>nor clean the smokebox
14:54<snail_UES_>right… which makes it a bit weird to have costs increase more than revenues
14:56<_dp_>nielsm, well, since it was done already inflation can just follow selectgoods example :p
14:59<@peter1138>I ate too much :-(
15:00<@peter1138>18:38 < snail_UES_> also, the design mistake isn’t there. It’s that costs increase more than revenues
15:00<snail_UES_>peter1138: which is not in reality :)
15:00<snail_UES_>so it’s a mistake
15:00<@peter1138>^ Without that, inflation would be just a multiplier with no other effect.
15:01<andythenorth>it would just make the numbers arbitrarily different
15:01<snail_UES_>ok, so it’s mislabeled
15:01<snail_UES_>it could very well exist as a difficulty setting
15:01<snail_UES_>“Allow costs to grow at a higher rate than revenues"
15:02<snail_UES_>that’d be perfectly fine and the player would exactly know what he’s going for
15:02<snail_UES_>just… it’s not what inflation actually does. So it’s mislabeled to the least
15:04<Flipp3rr_>Hello, can anyone help me with IRC? I wanted to connect to another channel but got the error <irc.rizon.net> Error(404): #jb Cannot send to channel
15:05<Flipp3rr_>Nevermind, it works now.
15:07<DorpsGek_II>[OpenTTD/OpenTTD] James103 opened issue #7587: Crash on loading saved game from #1131 https://git.io/fjWZr
15:08<@peter1138>You're welcome :p
15:09<DorpsGek_II>[OpenTTD/OpenTTD] LordAro commented on issue #7587: Crash on loading saved game from #1131 https://git.io/fjWZ6
15:11-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
15:11-!-tokai|noir is "Christian Rosentreter" on #openttd
15:11-!-mode/#openttd [+v tokai|noir] by ChanServ
15:12<@peter1138>LordAro, crashes in master too.
15:12<@peter1138>Hmm
15:12<@peter1138>Oh, I'm in a PR. /me double checks
15:13<@peter1138>Nah, still b0rks.
15:14<@LordAro>cool
15:15<@peter1138>Oh, lol.
15:16<@peter1138>The PR I was in fixes on of the b0rks.
15:16<@peter1138>Eh, no it doesn't, that was merged. Hmm.
15:16<@peter1138>ANother k-d tree loading bug, then. :/
15:17<@peter1138>Which is a separate issue to loading in 1.9.x
15:17<@LordAro>1.9 doesn't have- heh.
15:17<@LordAro>possibly both!
15:17<andythenorth>1.10 soon? :)
15:18-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
15:18<@peter1138>RebuildViewportKdtree() still being called before objects are converted in the map array.
15:18<@peter1138>nielsm, ^^
15:18<@LordAro>andythenorth: not before August, imo
15:18<nielsm>:(
15:19<@peter1138>nielsm, c9fe6e7b8 needs to be applied to the other tile types.
15:21*peter1138 tests
15:22<@peter1138>Yeah, seems to fix the k-d bug. Now to the actual bug :p
15:23<@peter1138>Um. RailTileType is 2. Which isn't one of the enum values.
15:23<@LordAro>given one of these needs to be backported, i'd suggest 2 PRs
15:25<@peter1138>Hmm?
15:25<@peter1138>Sure, I wouldn't do the k-d tree fix together.
15:28<@peter1138>- RAIL_TILE_WAYPOINT = 2, ///< Waypoint (X or Y direction)
15:28<@peter1138>So, a long long time ago...
15:29<@LordAro>oho
15:30<@peter1138>Trying to find where they are converted :-)
15:30-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Ping timeout: 480 seconds]
15:30-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
15:30-!-andythenorth is "andythenorth" on #openttd
15:30<@peter1138>void MoveWaypointsToBaseStations()
15:30<@peter1138>Ok...
15:31-!-Flipp3rr_ [~flipp3rrr@109.201.133.22] has quit []
15:33<@peter1138>That already happens before. Hmm.
15:33<supermop_work>andythenorth: requires game to adjust cost of labor vs cost of materials over time
15:35<andythenorth>also needs some lolz
15:35<@LordAro>peter1138: "happens"
15:36<@peter1138>Hmm?
15:37<@LordAro>well obviously it's not doing its job properly
15:39<@peter1138>Ish. It's converting most of them.
15:39<@peter1138>So old waypoint 1 has an xy of 48731, but that is not a waypoint tile.
15:39<@peter1138>This tile is 50011, with index 1
15:40<@peter1138>190x91 vs 195x91
15:40-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
15:40<@peter1138>Moved waypoint?
15:41-!-Flipp3rrr [~flipp3rrr@109.201.133.22] has joined #openttd
15:41-!-Flipp3rrr is "Flipp3rrr" on #openttd
15:43-!-Flipp3rrr [~flipp3rrr@109.201.133.22] has quit []
15:43-!-Flipp3rrr [~flipp3rrr@109.201.133.22] has joined #openttd
15:43-!-Flipp3rrr is "Flipp3rrr" on #openttd
15:47-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has joined #openttd
15:47-!-Gumle2 is "Martin" on #ceph #bcache #openttd
15:47-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has quit []
15:48<+glx>[20:30:41] <_dp_> btw, adding a warning for deprecated settings would be nice [20:31:09] <_dp_> helped someone recently who had order.selectgoods off <-- not deprecated, just removed from the GUI (don't know why, but last time I searched a long time without finding it)
15:50-!-Flipp3rrr [~flipp3rrr@109.201.133.22] has quit []
15:53<@peter1138>I don't know why either.
15:53<@peter1138>Isn't that what the different settings levels are for? :/
15:53<@peter1138>I keep meaning to make a PR to put everything back into the GUI.
15:55<Eddi|zuHause>(just picking a random sentence from the backlog that i haven't fully read) <snail_UES_> no inflation = your interest on your initial loan will be a huge burden <-- this would be true, if we had any sensible kind of game balance... but income is so disconnected from costs that you have repaid your starting loan long before inflation is even an issue
15:56<_dp_>glx, it was https://github.com/OpenTTD/OpenTTD/issues/6099
15:56<_dp_>also r26528
15:57<+glx>yes I know that, but I don't remember what was the reason to remove it from GUI
15:57<snail_UES_>depends on the set vehicles...
15:58<snail_UES_>if you use vehicles with low capacities (such as NG trains), in the very few years, interest paid are a (small) factor
15:58<@peter1138>Yeah most of those should still be in the UI.
15:58<_dp_>(svn r26528) -Remove: A bunch of archaic settings from the advanced s
15:58<snail_UES_>but it’s true that after having 2 or 3 profitable lines, it becomes negligible
15:58<snail_UES_>my point is, I’m not against this feature, but it should be called for what it is. A difficulty setting. Not an inflation setting
15:58<+glx>but the categorisation of settings in GUI is almost wrong anyway
15:59<@peter1138>snail_UES_, everyone making NewGRFs designs them to be played with inflation off.
15:59<@peter1138>snail_UES_, inflation IS a difficulty setting.
15:59<@peter1138>We don't have a separate section for difficulty settings.
15:59<snail_UES_>peter1138: but “inflation” does not behave the way it’s in the game
15:59<Eddi|zuHause>snail_UES_: there's more difficulty settings, you gotta have a name for it somehow...
15:59<+glx>and inflation was made for the original game time frame
15:59<snail_UES_>if you call this “inflation”, then it’s a design mistake
16:00<Eddi|zuHause>snail_UES_: lots of things don't behave like they are in the game, that's not an argument
16:00<snail_UES_>if you call this “difficulty setting”, then it’s a mislabeling
16:00<+glx>1950-2050 IIRC
16:00<@peter1138>snail_UES_, you realise this inflation was in the original TTD, right?
16:00<_dp_>"difficulty" setting for noobs :p
16:00<snail_UES_>peter1138: yes, I’m playing this thing since TTO
16:00<@peter1138>And it was called inflation back then.
16:00<nielsm>was it even a setting originally?
16:00<Eddi|zuHause>yes
16:00<snail_UES_>that’s ok, so it means it’s been broken since the beginning. Not arguing with that
16:00<Eddi|zuHause>it was bundled with the other difficulty settings
16:01<snail_UES_>so let’s say that we inherited a design mistake
16:01<Eddi|zuHause>like industry density
16:01<Eddi|zuHause>and stuff
16:01<+glx>it's just worse now with custom start date and late ending
16:01<snail_UES_>but since we now have OTTD, we have the chance to fix this… or at least name it correctly
16:01<snail_UES_>glx: exactly. With inflation on, prices in year X will depend on when you started the game
16:02<Eddi|zuHause>snail_UES_: there's lots of things i would fix about it, but the 1% difference between cost and income is probably very low on that list
16:02<Eddi|zuHause>snail_UES_: the start date dependency is a problem
16:02<nielsm>unpatched ttd: https://0x0.st/zAuT.jpg
16:02<snail_UES_>yep and it’s exacerbated by constant inflation
16:02<snail_UES_>through the compounding effect
16:02<Eddi|zuHause>nielsm: the interest rate is the inflation setting
16:02<+glx>would maybe ok if end date is always start date + 100 years
16:03<nielsm>inflation is not a difficulty setting (or any other kind of setting)
16:03<nielsm>Eddi|zuHause yes but you can't disable it
16:03<snail_UES_>if inflation were a random variable that changes once a year, with average of (say) 2%, it would be less of a problem
16:03<nielsm>ttdpatch let you disable inflation
16:03<+michi_cc>glx: Isn't inflation duration already limited?
16:03-!-spnda [~oftc-webi@x4db4a8bb.dyn.telefonica.de] has quit [Remote host closed the connection]
16:03<Eddi|zuHause>nielsm: and technically 2% is more difficult than 4%
16:03<nielsm>yeah
16:04<nielsm>but 2% is the "easy" and 4% the "hard"
16:04<nielsm>:P
16:04<snail_UES_>in reality, prices don’t explode because we have years of deflation (or negative inflation)
16:04<+michi_cc>It might make sense to define inflation to always start in e.g. 1920. If you start earlier, inflation start will still be that year, if you start later, the game will pre-inflate the money till the start date.
16:05<snail_UES_>if inflation were a random variable in the game, the effects would be more plausible
16:05<Eddi|zuHause>michi_cc: yeah, that would be a start
16:06<Eddi|zuHause>michi_cc: and maybe stop it earlier, like 2050 instead of 2090 (170 years)
16:06<Eddi|zuHause>michi_cc: or whenever the vehicle progression gets frozen
16:16<@peter1138>michi_cc, yes, it is limited to 170 years, just the start date isn't fixed.
16:17<@peter1138>Hmm, managed to make that savegame load by doing the waypoint conversion "in reverse">
16:17<@peter1138>(Map array loop instead of old waypoint loop)
16:18<andythenorth>delete everything :P
16:18<andythenorth>I am confused now about the right way to newgrf :P
16:19<andythenorth>should I be using layers, or composited sprites?
16:19<andythenorth>(pre-composited)
16:19<nielsm>one is faster compiles, other is better in-game performance?
16:19<nielsm>maybe?
16:20<Eddi|zuHause>if it's a compile-time to run-time tradeoff, run-time should win every time. but even in a memory to run-time tradeoff, the run-time is the heavier one usually
16:25<@peter1138>Profile it :p
16:25<@peter1138>Apparently the sprite cache can "explode" without layers
16:26<@peter1138>And now this save asserts in OrderList::DebugCheckSanity
16:26<@peter1138>assert(this->timetable_duration == check_timetable_duration);
16:26<@peter1138>Well...
16:31*andythenorth pixels
16:32<DorpsGek_II>[OpenTTD/OpenTTD] James103 commented on issue #7587: Crash on loading saved game from #1131 https://git.io/fjWnQ
16:39<DorpsGek_II>[OpenTTD/OpenTTD] PeterN opened pull request #7588: Fix e8d397e4ee: Avoid using RemapCoords2 during savegame conversion. https://git.io/fjWnx
16:44<@LordAro>why is RemapCoords2 so dangerous? what advantage does it have?
16:45<nielsm>it checks for foundations
16:45<Eddi|zuHause>lots of preconditions might be violated during savegame conversions
16:45<nielsm>and the calculation of foundations depends on map data being consistent
16:49<@peter1138>Yeah, if it's an object tile it gets called before the object map bits have been moved around.
16:49<@peter1138>And st->xy doesn't necessarily point to a station tile.
17:05<@peter1138>So I can "fix" the waypoint issue, but I have no idea on the orders.
17:06<andythenorth>is bed
17:07<@peter1138>Hmm.
17:07<@peter1138>Travel (for 5 days, not timetabled)
17:07<@peter1138>What does that mean?
17:09<andythenorth>shrug emoji
17:14<@peter1138>Yes thanks.
17:14<@peter1138>Night night
17:14<nielsm>last time a vehicle completed that leg of the journey it was measured to 5 days
17:17-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has left #openttd []
17:18<frosch123>peter1138: cargodist needs estimates on how often vehicles complete their route, so it keeps track of how long travel takes even if they times are not timetabled, that is the vehicle does not way when arriving early
17:27<DorpsGek_II>[OpenTTD/OpenTTD] michicc opened pull request #7589: Change: Always apply inflation from 1920 to 2090, no matter the game start year. https://git.io/fjWc7
17:32-!-Progman [~progman@p57A2B4AB.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
17:42-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
17:47-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
17:47-!-Wormnest is "Wormnest" on #openttd
18:03-!-Wolf01 [ziocanaia@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
18:09-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
18:34-!-HerzogDeXtEr [~farci@ip92341cd4.dynamic.kabel-deutschland.de] has quit [Read error: Connection reset by peer]
18:55-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has joined #openttd
18:55-!-Supercheese is "Caseum" on #openttd
20:29<DorpsGek_II>[OpenTTD/OpenTTD] James103 opened issue #7590: If you change the game mode 9 times in succession, then the game crashes on the ninth attempt. https://git.io/fjWWD
20:31-!-Wormnest [~Wormnest@35.136.176.177] has quit [Quit: Leaving]
20:48-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has quit [Ping timeout: 480 seconds]
21:30-!-chomwitt [~chomwitt@2a02:587:dc19:af00:75f6:6f6f:659:9887] has quit [Quit: WeeChat 1.6]
21:33-!-Flygon [~Flygon@203-214-143-101.perm.iinet.net.au] has joined #openttd
21:33-!-Flygon is "Flygon" on #openttd
21:33<DorpsGek_II>[OpenTTD/OpenTTD] glx22 commented on issue #7590: If you change the game mode 9 times in succession, then the game crashes on the ninth attempt. https://git.io/fjWlL
22:23-!-D-HUND [~debdog@2a00:79c0:632:6a00:7a24:afff:fe8a:d04d] has joined #openttd
22:23-!-D-HUND is "Wowbagger" on #bitlbee #openttd
22:26-!-debdog [~debdog@2a00:79c0:602:2900:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
23:10-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has quit [Read error: Connection reset by peer]
23:10-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has joined #openttd
23:10-!-Supercheese is "Caseum" on #openttd
23:34-!-glx [kvirc@000128ec.user.oftc.net] has quit []
---Logclosed Mon May 13 00:00:37 2019