IRC logs for #openttd on OFTC at 2020-01-09
            
00:03:49 *** Wolf01 has quit IRC
00:10:28 *** Progman has quit IRC
00:10:30 *** skrause has quit IRC
00:23:08 *** snail_UES_ has joined #openttd
00:36:59 <glx> maybe have 2 cached values
00:40:01 <DorpsGek_III> [OpenTTD/OpenTTD] SamuXarick commented on pull request #7918: Fix 3c047b1: AIGroup.GetProfitLastYear could get values different than those displayed in gui https://git.io/Jvebc
00:40:18 <Samu> oops too late
00:40:31 <Samu> gotta go sleep
00:40:34 <Samu> tc
00:41:16 *** Samu has quit IRC
00:42:06 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on pull request #7918: Fix 3c047b1: AIGroup.GetProfitLastYear could get values different than those displayed in gui https://git.io/Jveb8
00:44:06 *** nielsm has joined #openttd
00:52:11 *** nielsm has quit IRC
00:55:54 *** Flygon has joined #openttd
01:24:51 *** snail_UES_ is now known as Guest13355
01:24:52 *** snail_UES_ has joined #openttd
01:37:27 *** Wormnest has quit IRC
01:46:01 *** snail_UES_ has quit IRC
02:02:05 *** Wormnest has joined #openttd
02:32:33 *** Eddi|zuHause has quit IRC
02:33:14 *** Eddi|zuHause has joined #openttd
02:56:41 *** nolep[m] has quit IRC
02:56:41 *** iarp[m] has quit IRC
02:56:41 *** dude[m]1 has quit IRC
02:56:41 *** ad5twoknebor[m] has quit IRC
02:56:47 *** Wormnest has quit IRC
02:56:51 *** jeeg[m] has quit IRC
02:56:51 *** fiddeldibu[m] has quit IRC
02:56:56 *** yur3shmukcik[m] has quit IRC
02:57:01 *** pothyurf[m] has quit IRC
02:57:01 *** labs[m] has quit IRC
02:57:21 *** mrtmol[m] has quit IRC
02:57:21 *** pina[m] has quit IRC
02:57:26 *** fjodor[m] has quit IRC
02:57:26 *** karoline[m] has quit IRC
03:22:21 *** Wormnest has joined #openttd
03:33:01 <DorpsGek_III> [OpenTTD/OpenTTD] JGRennison updated pull request #7914: Town, station and industry directory window sorting performance improvements https://git.io/Jej92
04:05:42 *** zvxb has quit IRC
04:19:21 *** D-HUND has joined #openttd
04:22:46 *** debdog has quit IRC
04:34:13 *** glx has quit IRC
04:58:32 *** tokai has joined #openttd
04:58:32 *** ChanServ sets mode: +v tokai
05:05:32 *** tokai|noir has quit IRC
05:09:17 *** snail_UES_ has joined #openttd
05:18:24 *** Laedek has quit IRC
05:31:02 *** Wormnest has quit IRC
06:33:13 *** Wormnest has joined #openttd
06:57:29 *** snail_UES_ has quit IRC
07:07:25 *** sla_ro|master has joined #openttd
07:25:32 *** Wormnest has quit IRC
08:16:44 *** andythenorth has joined #openttd
08:35:24 <andythenorth> yo
08:42:56 <Pikka> yoyo
08:45:56 <andythenorth> Horse freight speeds go like this
08:46:00 <andythenorth> tumty tumty tumty
08:46:21 <andythenorth> (1860) 45mph, 45mph, 60mph, 75mph, 87mph, 96mph (2020)
08:47:01 <andythenorth> 96 seems a bit fast, and from 1930 onwards, it's a forced upgrade of all freight every 30 years, or some trains block others
08:47:08 <andythenorth> so
08:47:27 <andythenorth> (1860) 45mph, 45mph, 60mph, 75mph, 75mph, 90mph (2020)
08:47:51 <andythenorth> and do a big capacity bump in 1990
08:48:17 <andythenorth> I already tried keeping 60mph for 2 generations, and that was boring :)
08:49:26 <andythenorth> it's all getting a bit realism though :|
08:49:39 <Pikka> ya
08:50:02 *** Flygon_ has joined #openttd
08:50:58 <andythenorth> the proposed way there can be 60 years of class 20 :P
08:51:12 <Pikka> yikes
08:51:22 <andythenorth> and I can cheat the 66 so it stays around as end-game loco :x
08:51:40 <Pikka> I ended up not doing the 66 at all :/
08:51:47 <Pikka> I was going to but then I accidentally did a 60 instead
08:52:02 <Pikka> and the 60 is strictly better in OTTD terms
08:52:03 *** Flygon has quit IRC
08:52:03 <andythenorth> if we do livery groups, you can do same stats, different sprite :P
08:56:45 <andythenorth> oh it's computer crash time
08:56:46 <andythenorth> lolz
08:57:05 <andythenorth> BIAB
08:57:15 *** andythenorth has quit IRC
09:12:10 *** crazystacy has joined #openttd
09:12:35 <crazystacy> hi, i was here a few days ago but had to leave: hello. trying to set up a dedicated server. trying to install NewGRF things with this link: https://www.tt-forums.net/viewtopic.php?t=69139 but every time i exit OpenTTD the CFG is wiped. if i add newgrfs manually they are always wiped. i am running it from the terminal. don't have gui acces
09:58:51 <peter1138> OpenTTD saves the config on exit, so if you are changing the config while OpenTTD is running, it'll overwrite it.
10:00:30 <peter1138> I can't remember what happens if the game can't find the NewGRF listed, though. So maybe check you have the addons in the correct directory.
10:15:03 <crazystacy> i change it before running
10:15:14 <crazystacy> i set it, start, close, and it's wiped (newgfx prat)
10:15:31 <crazystacy> someone said to start a game in GUI, with all the trimmings (settings, newgfx), immediately save it, and then load it on dedicated
10:15:40 <crazystacy> aah. so i probably don't have the newgrfs installed
10:16:12 <crazystacy> i mean i can tell there are many dedicated servers out there, wish i could get in touch with one of the hosters. i have a server lying around so i figured i could host something. vanilla works flawlessly but i wanted some newgrfs
10:16:30 <crazystacy> tho maybe there're already too many servers & too few players
10:22:49 <Pikka> you really need a community and/or friends for server hosting to be worthwhile
10:23:02 <Pikka> I don't think anyone's going onto OpenTTD looking for a random game to join
10:24:40 <crazystacy> i do...
10:24:58 <crazystacy> well like i said i have it sitting there. actually i just wanted to host it for myself but it wasn't as str84ward
10:34:44 *** qwebirc13698 has joined #openttd
10:40:20 *** WormnestAndroid has quit IRC
10:40:33 *** WormnestAndroid has joined #openttd
10:48:26 *** smoke_fumus has joined #openttd
10:59:19 <peter1138> crazystacy, where did you put the newgrfs? Did you download them from the OpenTTD console content manager?
11:10:30 *** andythenorth has joined #openttd
11:10:45 *** qwebirc13698 has quit IRC
11:12:40 <andythenorth> hmm
11:14:33 <crazystacy> hm, yes
11:14:46 <crazystacy> according to some forum instructions
11:18:49 <peter1138> Yes to the second question, I guess?
11:19:03 <crazystacy> yes
11:19:22 <peter1138> With that, they should be installed. Not sure what the path magic should be, though.
11:19:58 <crazystacy> what on earth. openttd has a terminal video driver?
11:20:19 <crazystacy> or did something else happen. i ran openttd over ssh and it's showing me ascii graphics
11:20:28 <crazystacy> i guess i am a noob
11:20:33 <crazystacy> this is amazing
11:24:33 <peter1138> That will be SDL or Allegro, probably.
11:25:10 <andythenorth> https://www.youtube.com/watch?v=61-PpWzl_0w
11:29:52 <planetmaker> crazystacy, for servers a thing like console commands to download online content (newgrfs etc) is very worthwhile
11:32:12 <peter1138> That's built in... but adding it to the config isn't.
11:32:22 <peter1138> Maybe it should be :-)
11:32:36 <peter1138> Probably considered TMWFTLB
11:56:16 *** Laedek has joined #openttd
12:02:43 <andythenorth> Pikka: I have decided not to (a) delete 15% of Horse (b) rework 30% of it
12:02:44 <andythenorth> :P
12:03:01 <Pikka> fair enough :)
12:03:16 <andythenorth> seemed like overkill as a solution to 'class 66 still available after 2020'
12:11:51 <Pikka> yes
12:11:55 <Pikka> well
12:12:12 <Pikka> I have the class 14 and 37 as end-game locos, so... ;)
12:12:50 <Pikka> 66s are fine
12:14:25 *** Laedek has quit IRC
12:17:42 *** Laedek has joined #openttd
12:23:32 <crazystacy> planetmaker, yes exactly that happened
12:23:37 <crazystacy> it was pretty nice
12:23:45 <crazystacy> now to create an actual ascii video driver
12:23:57 <andythenorth> class 37 in 2120
12:24:08 <peter1138> Why not?
12:24:12 <peter1138> Is it lunch yet?
12:24:20 <andythenorth> if it's not, it should be
12:24:28 <andythenorth> someone should fix that
12:24:33 <crazystacy> what is Horse?
12:24:38 <crazystacy> i saw a guy named Horse on a hard server just before
12:25:01 <crazystacy> maybe i'm confused
12:26:31 <andythenorth> https://firs-test-1.s3.eu-west-2.amazonaws.com/iron-horse/docs/html/tech_tree_table.html
12:26:36 <crazystacy> is there an openttd-dev?
12:26:54 <peter1138> My washing machine lied. I told it, at 8am, to finish at 12:30. It just altered me that finished 5 minutes ago!
12:26:57 <crazystacy> it's your own train newgrf?
12:27:12 <andythenorth> somewhat
12:27:43 <crazystacy> i like Peasweep
12:27:51 <peter1138> This is where we talk dev, but actual change-related discussion tends to happen on github.
12:27:56 <crazystacy> why remove them, it's nice to have a lot to pick from
12:28:01 <Pikka> peas weep
12:28:06 <crazystacy> ok. i am poking at the code now
12:28:07 <peter1138> Maintenance.
12:28:13 <peter1138> I miss running sounds still, though ;)
12:28:22 <crazystacy> i went on some huge server with 50 newgrfs, and it had 8 boats. pah
12:28:26 <peter1138> Heh
12:28:31 <peter1138> Boats are a bit... forgotten.
12:28:52 <crazystacy> i know you get 999 million suggestions and no one will work for me, but damn, boats are really crap in this game. i mean. i play on the Reddit server, and it's almost impossible to use them at all without getting griefed :/
12:29:02 <crazystacy> but yes i saw that you want to be true to real TTD so i won't complain
12:29:11 <crazystacy> boats are so nice. i wish i could play boats only and actually make a profit
12:29:30 <crazystacy> well i could add that hovercraft newgrf
12:30:01 <crazystacy> the other day i built canals in the ocean to prevent land raising. great right? someone built a lock over my canal!
12:30:08 <peter1138> You can but... yeah :/
12:30:16 <crazystacy> if that is a "bug" i could almost fix that myself just to be able to beat that asshole
12:30:22 <andythenorth> boats are .... possible
12:30:29 <crazystacy> so i ended up canaling, and then raising land around it, and then building roads around the edges
12:30:33 <peter1138> Boats also suffer from the game's built in penalties for using older vehicles.
12:30:49 <crazystacy> then i realised it's cheaper to just build depots or buoys along the entire length of my route, but then i get 10000 buoy signs. and the admin removed it and then i was griefe :D
12:30:52 <peter1138> I mean, obviously that should be different per vehicle class, but it's probably not.
12:30:56 <crazystacy> i love boats.
12:31:05 <crazystacy> also the "too far from previous destination" is a pathfinding problem presumably?
12:31:30 <andythenorth> http://bundles.openttdcoop.org/unsinkable-sam/push/LATEST/docs/html/ships.html
12:31:38 <crazystacy> omg
12:31:39 <andythenorth> ^ that one is not finished
12:31:41 <andythenorth> at all
12:31:45 <peter1138> I should get my server running again, so I can not play it again.
12:31:46 <crazystacy> i guess i should play on coop. i guess no griefing there
12:31:46 <andythenorth> very much broken sprites
12:32:01 <peter1138> I like a very high amount of water to play with boats.
12:32:07 <crazystacy> i like the reddit one because it at has 10+ ppl but a lot of griefing. but that's almost fun too, since you feel like you're interacting
12:32:19 <peter1138> I dislike the reddit server rules.
12:32:27 <crazystacy> hm
12:32:31 <crazystacy> "you have to be nice" is all i remember
12:32:39 <crazystacy> i got a few ppl banned by being whiny
12:32:44 <peter1138> Secondary industry cargo "ownership"
12:32:54 <crazystacy> oh. yeah. well it does suck, but at the same time it's not competitive
12:33:08 <crazystacy> i mean, it sucks to have it stolen on e.g. a goal server, but if it's not, who cares.
12:33:38 <peter1138> Right but cargo is never owned by transport companies :)
12:33:41 <crazystacy> andythenorth, you made those boats? i like them. i like the sailing boat newgrf too. but it has too few. but i do like all the nice names of them
12:34:01 <andythenorth> there's Squid and FISH also
12:34:03 <crazystacy> i really like this one newgrf, dunno the name, maybe SQUID. it has a steam paddler and a hoverthing
12:34:09 <andythenorth> yeah
12:34:10 <andythenorth> that was me
12:34:11 <crazystacy> but i would still like 200 boats
12:34:16 <andythenorth> there's also NewShips
12:34:22 <andythenorth> and there's a Russian boat grf
12:34:53 <crazystacy> i would like to do a Mars Colonisation mod/newgrf/combo. i saw the Toyland->Mars thing. and i downloaded one Mars NewGRF (not amazing). so apparently i can change terrain simply thru newgrfs? at first i thought it was some patch, but apparently it's a copyright problem
12:35:05 <peter1138> Meh, stop eating :/
12:35:08 <crazystacy> wish i had gotten into the modding stuff 10 yrs ago, presumably there were more people then
12:35:12 <crazystacy> who?
12:35:14 <peter1138> (Just had 2 pepero sticks!)
12:35:16 <peter1138> Me!
12:35:33 <peter1138> I want to get back into not snacking all the time again, heh
12:35:42 <andythenorth> as far as I can tell newgrf modding is pretty constant
12:36:15 <crazystacy> i am gonna have to look more deeply into it after my exams (except due to the power of procrastination, i will stop coding and playing openttd 16 hrs a day and go back to doing nothing after exams)
12:36:42 <crazystacy> snacking is nice
12:36:51 <crazystacy> i ate half a kilo of cheese in 2 days
12:37:25 <crazystacy> i really like unsinkable sam. unified look
12:37:54 <crazystacy> there's also a nice leveling-up or tier system with those freighters
12:37:56 <peter1138> Yes it's nice, and self-fulfilling, but also grows my belly :p
12:38:13 <crazystacy> well
12:38:22 <peter1138> Me o'clock!
12:38:28 <crazystacy> do you stop eating if you play openttd?
12:38:37 <peter1138> I don't have time, heh.
12:38:43 <Pikka> https://www.podomatic.com/podcasts/the_goon_show/episodes/2006-12-02T10_25_59-08_00
12:38:43 <crazystacy> omg a mail ship
12:38:54 <Pikka> this means the end of the horse-drawn zellepin
12:39:01 <Pikka> what should I rename av9.8 to?
12:39:11 <crazystacy> i noticed zeppelins for the first time. are they like UFOs in the early game?
12:39:45 <Pikka> there's a disaster zeppelin that can crash on small airports, yes
12:39:48 <peter1138> Without NewGRFs, yes.
12:39:55 <crazystacy> oh
12:40:01 <peter1138> With NewGRFs, you could have one transporting passenegers, or something.
12:40:07 <crazystacy> nice
12:40:22 <peter1138> I recommend the aircraft NewGRFs by a some guy called Pikkabird.
12:40:47 <peter1138> He mayn't :D
12:40:55 <crazystacy> one thing i figured with boats was, somehow cargo rates could be higher, to allow for slower transport, or just faster boats, which is ugly. since "realistically" boats would take forever and are used to transport everything. but i am not here to suggest anything really
12:41:27 <crazystacy> what's the top 5 newgrfs if i just want some extra stuff which fit well with vanilla gameplay?
12:41:28 <Pikka> cargo payment decay rates can be changed for slower vehicles
12:41:34 <crazystacy> really?
12:41:36 <Pikka> and I think they are in andy's grfs
12:41:37 <Pikka> yes
12:42:00 <peter1138> Station penalties still happen though, don't they? Or is that already compensated for?
12:42:17 <andythenorth> Pikka: it's barely worth doing though
12:42:29 <crazystacy> one other thing, in my dark ages i would unload instead of transfer. what happens then? the distance is the same but i don't get that little bit of extra transfer money?
12:42:57 <Pikka> you only want to transfer if you're explicitly taking the cargo further to a final destination
12:42:57 <crazystacy> i would feel good if my boats could keep up with that 40-truck coal train
12:43:03 <crazystacy> 39*
12:43:14 <Pikka> otherwise just unloading is fine
12:43:18 <andythenorth> boats have infinite infrastructure
12:43:28 <andythenorth> so they are the most OP form of transport, if speed doesn't matter
12:43:31 <crazystacy> ah ok, i wondered/secretly hoped that if i unloaded, the timer would be reset
12:43:40 <crazystacy> so i could transport people all over the map on a boat, unload, and then they're "fresh"
12:44:03 <crazystacy> yes that is their one advantage. canals are really nice i realised. i played a bit of "canaling" as a challenge
12:44:15 <crazystacy> i mean, the rivers
12:44:23 <andythenorth> Pikka: av8.9?
12:44:29 <andythenorth> av10.01?
12:44:40 <andythenorth> Zellepin Horse
12:44:43 <Pikka> needs a completely new name IMO
12:44:51 <andythenorth> Wings
12:44:52 <Pikka> zellepin horse maybe
12:45:00 <andythenorth> Big Bird
12:45:14 <andythenorth> Zen
12:45:23 <crazystacy> do you guys play on a specific server regularly ?
12:45:26 <andythenorth> no
12:45:27 <crazystacy> people*
12:45:34 <andythenorth> MP rarely works
12:45:41 <crazystacy> it does for me
12:46:03 <andythenorth> it's rare to find a group of people who can all play at the same time
12:46:14 <andythenorth> playing MP solo, or with strangers is meh
12:46:19 <crazystacy> meh
12:46:24 <andythenorth> and server games take so long to set up
12:46:41 <crazystacy> i guess your playing is next-level
12:46:47 <crazystacy> i just join a server and make a coal line
12:46:47 <andythenorth> all the action is (used to be?) on openttd coop servers
12:47:02 <andythenorth> my favourite game was on peter1138's server
12:47:05 <andythenorth> I made a castle
12:47:17 <crazystacy> was that also coop?
12:47:22 <andythenorth> nah, just peter
12:47:32 <andythenorth> and pikka and pikka's friend
12:47:36 <crazystacy> some guy on reddit server wanted lots of people to coop so we could cover the map in coal lines i guess
12:47:40 <peter1138> It was... limited. Trusted players, I believe.
12:47:46 <andythenorth> 'trusted' :)
12:47:53 <peter1138> I did a co-op with Sacro once. Great fun.
12:48:05 <peter1138> Similar play styles, innit.
12:48:07 <andythenorth> we should play MP with your patchpack
12:48:17 <peter1138> My patchpack is mostly master.
12:48:18 <planetmaker> crazystacy, build canals at sea to ensure your boat routes remain valid and cannot be terraformed away ;)
12:48:25 <peter1138> planetmaker, too expensive.
12:48:30 <andythenorth> just lower land
12:48:31 <Pikka> we had a good GS game or two back in the day, I remember. Sillycon valley.
12:48:33 <andythenorth> canals don't work
12:48:36 <peter1138> Mmm
12:48:38 <crazystacy> planetmaker, i did that. and yes expensive. but someone built a lock *over* my canal
12:48:38 <andythenorth> Silicon Valley remains rad
12:48:44 <peter1138> I still miss cargodest :/
12:48:47 <andythenorth> +lots
12:48:49 <SpComb> my infrastructure sharing game with my friend was a little meh, different playstyles
12:48:54 <andythenorth> I've figured out how to use cargodist though
12:48:56 <crazystacy> how to: build canal adjacent to your "enemy's", raise land, build lock. it will block their canal
12:48:57 <planetmaker> hm, I can build locks on other people's canals?
12:49:00 <crazystacy> yes.
12:49:04 <peter1138> Ooof, yes, I remember fun IS games too.
12:49:05 <crazystacy> not on, but next to, and blocking
12:49:06 <andythenorth> with cdist, just build point-point networks
12:49:12 <andythenorth> don't connect multiple routes
12:49:16 <crazystacy> yeah cdist f*cked me over
12:49:22 <peter1138> I'd really like IS in the main game but I'm too lazy to investigate all the issues :p
12:49:26 <planetmaker> sounds... buggy tbh. I cannot build stations on other people rails either
12:49:29 <crazystacy> what's IS?
12:49:35 <crazystacy> planetmaker, it's possible in 1.9.3 vanilla
12:49:35 <peter1138> infrastructure sharing
12:49:46 <peter1138> actually the version I played was called subsidiaries.
12:49:57 <SpComb> I carefully and meticulously built a neat train network in one corner, and meanwhile they just expanded over the map like crazy with an ugly train network... so I had well under half of the map built out, and kinda ran out of stuff to build without expanding onto "their" side of the map
12:50:07 <Eddi|zuHause> peter1138: that was like 13 years ago :p
12:50:14 <peter1138> Yup!
12:50:16 <crazystacy> # <- canal ### <- add a bit <- #X# place your lock
12:50:16 <andythenorth> recent history
12:50:22 <peter1138> About when I last enjoyed just playing the game ;)
12:50:55 <crazystacy> ah. so multiple companies share the same stuff? is that a patch or you just share a comp?
12:51:26 <Eddi|zuHause> crazystacy: you can do it by sharing a company, but there was a patch that allowed more interactions between companies
12:51:31 <crazystacy> if you want to test edge cases it's on the reddit server you must go
12:52:15 <crazystacy> but it was not added to the main game?
12:52:37 <Eddi|zuHause> no, it had side effects and unsolved corner cases
12:52:52 <crazystacy> but if it was possible to make it good it would be added?
12:52:59 <Eddi|zuHause> maybe
12:53:04 <planetmaker> hehe, you can play with IS on vanilla actually: transfer via oil rig
12:53:16 <peter1138> Yers...
12:53:16 <crazystacy> that's amazing
12:53:35 <Eddi|zuHause> planetmaker: which solves exactly 0 of the issues
12:53:37 <crazystacy> ah but only on the edges
12:53:38 <planetmaker> it even works with cargodist... you bring home the PAX from another company... (or is that fixed?)
12:53:53 <planetmaker> of course it doesn#t solve any issues. It rather illustrates them
12:53:54 *** tokai|noir has joined #openttd
12:53:54 *** ChanServ sets mode: +v tokai|noir
12:55:04 <crazystacy> config.lib is not a generated file?
12:55:26 <planetmaker> iirc it's a collection of functions to test config
12:55:50 <peter1138> How's the cmake stuff going?
12:56:20 <crazystacy> can't figure out where WITH_SDL2 is defined, or...
12:56:38 <planetmaker> grep -R WITH_SDL2 *
12:56:57 <crazystacy> yep
12:57:06 <planetmaker> also !!!WITH_SDL!!!
12:57:22 <crazystacy> never seen that before
13:00:52 *** tokai has quit IRC
13:16:43 <andythenorth> WHIT
13:17:45 <crazystacy> :|
13:49:00 <andythenorth> eh maybe I could scrap that class 70
13:49:02 <andythenorth> realism https://www.rmweb.co.uk/community/index.php?/topic/119384-freightliner-class-70s/
13:49:08 <andythenorth> I don't like the sprite
13:49:23 <andythenorth> https://firs-test-1.s3.eu-west-2.amazonaws.com/iron-horse/docs/html/trains.html#chimera
13:50:44 <crazystacy> hm, i probably don't know anything, but why declare variables as static in sdl2_v.cpp instead of in sdl2_v.h?
13:51:22 <crazystacy> andythenorth, is that the same as before?
13:51:28 <crazystacy> that's a huge set
13:51:40 <crazystacy> i like the over-sized trucks
13:51:51 <crazystacy> being able to use mini trucks is nice too
13:53:19 <crazystacy> andythenorth, you do model railway? i would love to get my grandfather into OpenTTD. he used to be really into model railways when i was a kid. unfortunately he got into MMORPGs, and now he mostly does that :/ a great shame
13:53:30 <crazystacy> he filled his entire basement with terrain and trains
13:53:40 <andythenorth> I model railwayed when I was younger
13:53:56 <crazystacy> analogue or digital?
13:53:58 <crazystacy> i love that smell
13:54:10 <andythenorth> analogue
13:54:20 <crazystacy> sort of burnt smell from running them too har
13:54:20 <crazystacy> d
13:54:24 <andythenorth> motor smell
13:54:26 <crazystacy> :D
13:54:53 <crazystacy> chimera looks nice
14:13:17 <FLHerne> andythenorth: Oh, that's a 70?
14:13:29 <FLHerne> tbh, I thought it was a 58 :P
14:13:42 <FLHerne> The weird nose lumps don't really show up
14:14:53 <andythenorth> it's whatever you see it as :)
14:14:57 <andythenorth> but it was drawn as a 70
14:15:01 <andythenorth> the radiators flare
14:18:28 *** Samu has joined #openttd
14:33:10 *** snail_UES_ has joined #openttd
14:43:24 <DorpsGek_III> [OpenTTD/OpenTTD] SamuXarick opened pull request #7921: Codechange: Use const instead of magic number for vehicle profit threshold https://git.io/Jvvqs
14:49:27 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro approved pull request #7921: Codechange: Use const instead of magic number for vehicle profit threshold https://git.io/Jvvqz
14:49:36 *** snail_UES_ has quit IRC
14:49:45 <LordAro> Samu: noticed that in your commit link from yesterday, thanks for putting that together :)
14:52:02 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro merged pull request #7921: Codechange: Use const instead of magic number for vehicle profit threshold https://git.io/Jvvqs
15:11:40 *** tokai has joined #openttd
15:11:40 *** ChanServ sets mode: +v tokai
15:18:42 *** tokai|noir has quit IRC
15:31:29 <Samu> group statistics now stores 2 last_age_profits
15:31:38 <Samu> but i doubt this will work as intended
15:31:42 <Samu> testing
15:39:25 *** Flygon_ has quit IRC
15:56:54 <Samu> nop...
15:57:10 <Samu> a vehicle was autoreplaced
15:57:25 <Samu> last year profits became 0 for some reason
15:57:33 <crazystacy> which debug level should i use?
16:23:26 <Samu> seems that it's adding the profit last year of the vehicle-that-replace vehicle, instead of the vehicle-that-is-replaced vehicle
16:23:27 <milek7_> crazystacy: static in C means that variables aren't exported from that translation unit
16:23:33 <milek7_> so why it should be in .h?
16:25:00 <Samu> and the profit last year of the new vehicle is 0, group profit is updated wrong
16:25:15 <Samu> it should inherit profit last year of the old vehicle
16:27:21 <Samu> profit last_year is only carried over to the new vehicle later in the autoreplace command
16:27:33 <Samu> too late
16:28:02 <Samu> what do I do now?
16:31:53 *** sla_ro|master has quit IRC
16:32:23 <crazystacy> milek7_, alright
16:33:00 *** sla_ro|master has joined #openttd
16:34:04 <Samu> halp!! LordAro
16:35:07 <Samu> actually glx
16:35:14 <Samu> since he had the idea
16:43:33 *** HerzogDeXtEr has joined #openttd
16:43:56 *** Laedek has quit IRC
16:51:50 *** Wormnest has joined #openttd
17:06:04 *** andythenorth has quit IRC
17:06:54 *** nielsm has joined #openttd
17:09:47 *** andythenorth has joined #openttd
17:16:02 *** andythenorth has quit IRC
17:20:29 *** tokai|noir has joined #openttd
17:20:30 *** ChanServ sets mode: +v tokai|noir
17:24:56 <Samu> i have no idea how to do this, time to give up
17:27:24 *** tokai has quit IRC
17:29:40 <DorpsGek_III> [OpenTTD/OpenTTD] SamuXarick commented on pull request #7918: Fix 3c047b1: AIGroup.GetProfitLastYear could get values different than those displayed in gui https://git.io/Jvvsy
17:29:43 *** supermop_work has quit IRC
17:40:39 *** crazystacy has quit IRC
17:44:12 *** supermop_work has joined #openttd
18:03:57 *** andythenorth has joined #openttd
18:04:35 *** supermop_work has joined #openttd
18:05:16 *** Progman has joined #openttd
18:42:17 <andythenorth> is the OpenTTD tick rate related to VGA refresh? o_O
18:42:24 * andythenorth reading the Doom book
18:43:13 <nielsm> I don't think OTTD's is, but DOS TTD might be
18:43:44 <nielsm> I don't actually know which mode it runs in, but I think it's 60 hz
18:44:26 <andythenorth> "DOOM’s unit of time is the tic. The value of 35 was not random; it is half the frequency of the VGA mode-Y"
18:45:34 <nielsm> yeah the common mode 13h is 70 hz I think
18:47:13 <andythenorth> Doom book is good
18:47:15 <andythenorth> http://fabiensanglard.net/gebbdoom_v1.1.pdf
18:48:27 *** Wolf01 has joined #openttd
18:48:37 <nielsm> but TT runs in a 640x480 VESA SVGA mode, not VGA mode 13h
18:53:31 *** jlx_ has left #openttd
18:55:36 <andythenorth> ho ho
18:55:50 * andythenorth wonders about dusk mode for ottd
18:55:58 <andythenorth> sprites towards rear of viewport are darkened
18:56:53 *** glx has joined #openttd
18:56:53 *** ChanServ sets mode: +v glx
18:57:31 *** frosch123 has joined #openttd
19:06:38 <LordAro> andythenorth: something like NightGFX probably easier :p
19:07:06 <andythenorth> we should do more lolz things
19:07:19 <andythenorth> frosch123 once made land hovercraft
19:07:47 <nielsm> can we delete the 8bpp blitters?
19:09:04 <frosch123> i think we disabled them on osx and windows, but they work fine on linux
19:09:26 <frosch123> though my "latest" measurements were with sdl 1.2
19:09:35 <nielsm> win32_v still contains lots of code to manage GDI palettes
19:10:02 <frosch123> hmm, i think win32_v used 8bpp when fullscreen
19:10:17 <frosch123> you know that old CRT fullscreen with change of resolution/video mode
19:10:24 <frosch123> does that still exist in win10?
19:10:47 <nielsm> still possible yes
19:11:05 <Eddi|zuHause> i think that still exists, but gets phased out for "windowed fullscreen" in many modern games
19:11:10 <nielsm> games still use fullscreen modes that may be different from desktop resolution
19:14:59 *** Pikka has quit IRC
19:19:18 <nielsm> okay DOS TTD appears to use 75 hz refresh
19:21:44 <nielsm> I'm very tempted to try writing my own music driver for DOS TTD just to do weird things
19:22:13 <nielsm> like not actually play music but just log timestamps for when it triggers the "play some more notes" interrupt
19:32:38 <Samu> this gives a different perspective about profits https://github.com/OpenTTD/OpenTTD/pull/7919#pullrequestreview-340119230
19:32:51 <Samu> currently I added vehicle aging devalue
19:34:20 <Samu> adding purchasing costs, hmmm
19:34:46 <Samu> not sure yet how to do it
19:42:38 *** tokai has joined #openttd
19:42:38 *** ChanServ sets mode: +v tokai
19:45:06 <nielsm> I think you'd have to store the purchase price as a new variable on each vehicle, and _not_ subtract it from the stored lifetime profit, but instead have an accessor function for lifetime profit that takes the earnings value and subtracts the sum of the purchase price of all vehicles in the chain (train)
19:45:41 <nielsm> also, are refit costs added anywhere?
19:45:53 <nielsm> it might also be something that should go into the "purchase cost" if not
19:49:08 <Samu> refit costs modify profit_this_year. displaying lifetime is profit_lifetime + profit_this_year
19:49:21 <Samu> so it's already included
19:49:34 *** tokai|noir has quit IRC
19:50:54 <nielsm> ok
20:21:56 *** Antheus has quit IRC
20:28:59 <Samu> this doesn't feel right
20:29:24 <Samu> we buy a vehicle and lifetime profit is already negative - the cost of purchase
20:29:50 <Samu> then i still subtract devalue due to age
20:31:06 <nielsm> well... that's pretty much adding in the purchase cost via depreciation
20:31:24 <nielsm> which is honestly closer to how real bookkeeping is usually done
20:33:35 <Samu> depreciation
20:34:23 <nielsm> (not to be confused with deprecation, which is mostly a software/technology term)
20:35:44 <Samu> i buy a plane, bang -£50,000 to lifetime profit
20:36:09 <Samu> without even starting the plane and waiting let's say 1 year, it's already at -£60,000
20:36:21 <Samu> this math doesn't seem to add up
20:36:37 <Samu> if I sell the plane now, i gain £40,000
20:37:05 <Samu> net: -£20,000, should be -£10,000 imo
20:37:46 <nielsm> yes if you already subtract the depreciation from the lifetime profit then don't subtract the purchase price
20:38:03 <nielsm> because then you're subtracting the vehicle cost twice
20:39:20 <Samu> I'm confused, I don't know what is right
20:39:47 <nielsm> your method is more correct
20:40:13 <nielsm> it much more closely models depreciation than just subtracting the purchase cost as a lump sum
20:42:22 <nielsm> when a business purchases e.g. a car for its employees to get around in for €100,000, they will usually plan for it to have a lifetime of a certain number of years, say 10 years. the car is then taken as having an investment cost on the books of €10,000 every year for the next 10 years, i.e. it's calculated into the budget for its entire planned lifetime
20:43:49 <nielsm> so it only "costs" €10,000 on the budget for the year it's purchased, and then the car has a "book value" of €90,000, the next year the car will "cost" another €10,000 and now have a book value of €80,000, and so on
20:44:21 <nielsm> and at the end the car has zero book value and zero yearly cost (apart from maintenance, which comes out of a different account)
20:45:14 <nielsm> and this depreciation calculation also has some effect on how the business pays taxes, as far as I know
20:55:34 *** tokai|noir has joined #openttd
20:55:34 *** ChanServ sets mode: +v tokai|noir
20:59:25 <andythenorth> depreciation reduces net profit
20:59:40 <andythenorth> depends on tax regime probably tho
21:01:06 *** HerzogDeXtEr has quit IRC
21:02:28 *** tokai has quit IRC
21:53:11 *** spnda has joined #openttd
21:53:43 <spnda> From https://newgrf-specs.tt-wiki.net/wiki/NML:Vehicles#Train_properties, under "visual_effect_and_powered", what is ENABLE_WAGON_POWER or DISABLE_WAGON_POWER?
21:55:37 *** sla_ro|master has quit IRC
21:57:22 <andythenorth> it's a legacy thing spnda
21:57:22 <frosch123> it's horrible stuff
21:57:36 <andythenorth> https://newgrf-specs.tt-wiki.net/wiki/Action0/Vehicles/Trains#Visual_effects_and_wagon_power_.2822.29
21:58:06 <andythenorth> it's properties doing multiple things, to save bits
21:58:24 <frosch123> it's an old method to code emu and dmu
22:07:22 <spnda> Ah, so I don't need to care about it I assume.
22:09:18 <nielsm> well if it does exactly what you want, it might be better performance to use than a callback based thing
22:09:19 <nielsm> ?
22:19:23 *** nielsm has quit IRC
22:37:28 *** frosch123 has quit IRC
22:46:48 <Samu> this isn't easy to do for trains, there's a whole lot of command and operations with trains and wagons, i dont know where to begin
22:47:06 <Samu> lifetime profit
22:48:23 <andythenorth> hard problem
22:48:46 <Samu> seems like im not adding the purchase costs to lifetime formula
22:49:01 <Samu> nor the depreciation
22:50:05 <Samu> maybe somebody with more raw knowledge of how this train code works
22:51:59 <Samu> seems that I have to store purchase price
22:52:47 <Samu> eh... not in the mood for this
22:58:39 <DorpsGek_III> [OpenTTD/OpenTTD] ldpl opened pull request #7922: Improved logic of sharing industry production between stations https://git.io/JvvB1
23:03:50 *** Progman has quit IRC
23:08:16 *** jinks has joined #openttd
23:10:11 *** andythenorth has left #openttd
23:11:59 <DorpsGek_III> [OpenTTD/OpenTTD] floodious commented on issue #7920: Purchase land tool lacks by-area https://git.io/JveBj
23:21:23 <spnda> Someone is asking how someone could replace the terrain icons in the generating menu with a NewGRF
23:23:00 <_dp_> just replace some base sprites, no?
23:24:18 <Samu> haha ldpl
23:24:37 <Samu> i had a patch rejected
23:24:44 <Samu> touching the exact same code
23:25:29 *** Wormnest has quit IRC
23:26:09 <Samu> https://github.com/SamuXarick/OpenTTD/tree/distribute-cargo-to-multiple-stations-or-industries
23:39:47 <_dp_> lol, yeah, somehow I completely missed it
23:39:54 <_dp_> that pr got completely derailed tho
23:41:22 <_dp_> from simple fix to gs pit of despair
23:44:16 <Samu> oh, its you
23:48:16 *** Wolf01 has quit IRC
23:48:26 *** Wormnest has joined #openttd