IRC logs for #openttd on OFTC at 2018-04-02
            
00:02:16 *** Wacko1976 has quit IRC
00:03:07 *** andythenorth has joined #openttd
00:08:56 *** andythenorth has left #openttd
00:16:16 *** iSoSyS has joined #openttd
00:24:32 *** iSoSyS has quit IRC
00:34:22 *** ryan has joined #openttd
00:34:55 *** ryan has quit IRC
00:35:06 <Wolf01> 'night
00:35:08 *** Wolf01 has quit IRC
00:48:33 <supermop> i just can't find how i write the 'argument' for 'variables that require an argument'
00:52:39 *** Wormnest has quit IRC
00:53:11 <Supercheese> just in parentheses?
00:53:17 <Supercheese> variable_name(argument)
00:53:31 *** FLHerne has quit IRC
00:53:52 <supermop> that gives "'other_veh_curve_info' is not defined as a function."
00:54:16 <Supercheese> could be brackets then
00:54:19 <Supercheese> var[arg]
00:55:01 <LordAro> what do you mean by "variable that requires an argument" ?
00:55:04 <LordAro> how is it defined?
00:55:30 <Supercheese> https://newgrf-specs.tt-wiki.net/wiki/NML:Vehicles#Variables_that_require_an_argument
00:55:36 <Supercheese> probably those
00:55:40 <supermop> yep
00:55:41 <Supercheese> or similar
00:56:27 <supermop> maybe i am just incredibly ignorant, but it seems to me there is no explanation anywhere of how to use those
00:58:46 <supermop> Supercheese: the [ ] just gives error: Syntax error, unexpected token "["
00:58:54 <Supercheese> It should be parentheses
00:59:03 <Supercheese> I have:
00:59:04 <Supercheese> switch(FEAT_OBJECTS, SELF, seagull_tile_check_switch, nearby_tile_water_class(0,0))
00:59:08 <Supercheese> in one bit of code
00:59:32 <Supercheese> cf. https://newgrf-specs.tt-wiki.net/wiki/NML:Objects#Object_variables
01:01:58 <supermop> that gets me back to "'other_veh_curve_info' is not defined as a function."
01:02:22 <Supercheese> hm
01:02:25 <supermop> for "switch (FEAT_ROADVEHS, SELF, carrier_low_mid, other_veh_curve_info(-1) ){
01:05:20 <supermop> like am i crazy? is that variable not actually even in nml?
01:06:05 <LordAro> time to go look at the source
01:06:06 <Supercheese> it might be for trains only
01:06:09 <Supercheese> or somethin
01:06:20 <LordAro> variables that have arguments... aren't normally called variables though
01:06:22 <LordAro> those are functions
01:06:42 <Supercheese> "variables with parameter" could be a better term
01:07:08 <Supercheese> which is in fact what is used for Objects as linked above
01:07:22 <Supercheese> hurrah for inconsistent nomenclature
01:09:50 *** Supercheese has quit IRC
01:09:54 *** Thedarkb has joined #openttd
01:11:36 *** Mahjong1 has joined #openttd
01:18:44 *** Mahjong has quit IRC
01:20:08 <supermop> i guess i can try using var[0x62, etc] instead
01:24:36 *** chomwitt has quit IRC
01:25:16 *** Supercheese has joined #openttd
01:27:38 *** Progman has quit IRC
01:37:26 <Thedarkb> Who made the 2cc pack?
01:44:49 <supermop> 2cc trains?
01:45:30 <supermop> many people over many years, many of whom are no longer active
01:49:03 <supermop> the forum topic would say
01:50:50 <supermop> ooops: Unrecognized identifier 'PALETTE_CC_DARK_ORANGE' encountered
01:51:01 <supermop> too bad there is no dark orange
01:52:07 <supermop> 'PALETTE_CC_PALE_BROWN'
01:52:36 <supermop> the cc brown is already pretty pale, wonder what pale brown would be
01:53:33 <supermop> oh man
01:53:35 <Thedarkb> Since I last used it, they added a bunch of trains from my homeland.
01:53:46 <supermop> "'PALETTE_CC_LIGHT_WHITE"
01:55:12 <Thedarkb> But they have the reliability of the 001 class up way too high
01:55:24 <Thedarkb> It's at 83% on my game and it should really be 20%
01:55:29 <Thedarkb> Not kidding
01:55:40 <Supercheese> >playing with breakdowns enabled
01:55:45 <Thedarkb> They used military surplus marine engines and they fell apart in use.
01:55:46 <Supercheese> unless it's that improved breakdowns patch
01:55:54 <Thedarkb> Nah, I don't personally on my server.
01:55:58 <Thedarkb> Just an observation.
01:56:11 <supermop> ok day_of_year is not a real thing
01:56:19 <Supercheese> yeah, reliability is rarely balanced by authors, I'd expect
01:56:35 <Thedarkb> I'd like to see some other Irish trains added.
01:56:47 <Thedarkb> The 071 class is kind of iconic.
01:56:57 *** iSoSyS has joined #openttd
01:57:35 <Eddi|zuHause> supermop: so i think i found your problem
01:57:36 <supermop> needed a current_
01:57:44 <Eddi|zuHause> it's not "curve_info"
01:57:48 <Eddi|zuHause> it's "curv_info"
01:57:58 <supermop> god damn it
01:58:16 <Thedarkb> I can't really do pixel art though so it's not going to happen.
02:00:14 <supermop> Eddi|zuHause: holy shit
02:02:15 *** iSoSyS has quit IRC
02:03:28 <supermop> i knew i was being dumb, but i am surprised at just how dumb
02:03:58 <supermop> though to be fair, the name of that variable is so long, why bother saving the e
02:04:22 <Eddi|zuHause> supposedly consistency with the already existing variables
02:04:42 <Eddi|zuHause> dunno who thought this up in the first place
02:05:03 *** Pikka has joined #openttd
02:05:29 <supermop> well pikka doesn't sleep that much
02:05:58 <Pikka> only sometimes
02:08:24 <Pikka> also, no inconsistency in variable names in nfo ;)
02:09:25 <Supercheese> just hex
02:09:37 <Supercheese> so inscrutable rather than inconsistent
02:09:59 <Pikka> somewhat
02:10:48 <Eddi|zuHause> so the original curv_info variables date very very early in nml history
02:11:16 <Eddi|zuHause> commit by yexo, april 2010
02:11:30 <Supercheese> whew
02:12:56 <Eddi|zuHause> also, it's not actually an abbreviation of "curve", but "curvature"
02:23:24 <jinks> Mikro ist mal wieder sehr leise... ca. 50% der Musik
02:23:35 <Pikka> oui
02:23:47 <jinks> sorry, wrong tab :(
02:38:36 *** HerzogDeXtEr has quit IRC
03:00:47 *** Flygon has joined #openttd
04:15:34 *** Compu has joined #openttd
04:32:46 *** supermop has quit IRC
05:40:40 *** Supercheese has quit IRC
05:40:57 *** Supercheese has joined #openttd
07:21:41 *** Cubey has quit IRC
08:28:00 *** Wacko1976 has joined #openttd
08:33:42 *** andythenorth has joined #openttd
08:35:24 <andythenorth> huzzah
08:35:59 <andythenorth> Pikka: solved it all? o_O
08:36:23 <Pikka> mostly
08:38:17 <Pikka> road hogs are really expensive. :P the poor ai struggles.
08:52:26 <andythenorth> really?
08:52:31 <andythenorth> I thought I made it too cheap
08:53:02 <andythenorth> I have costs on 'medium' eh
09:07:06 *** Wolf01 has joined #openttd
09:07:21 <Wolf01> Moin
09:24:15 <andythenorth> lo Wolf01
09:26:45 <andythenorth> Pikka: expensive to run, or expensive to buy?
09:31:39 <Pikka> to buy, mostly. but it's being conservative about money reserves, I can loosen it up a bit
09:39:03 *** Supercheese has quit IRC
09:43:46 <andythenorth> yeah ok
09:43:53 <andythenorth> compared to Horse, Hog is expensive to buy
09:44:03 <andythenorth> train will repay within 1-2 years on a good route
09:44:21 <andythenorth> trucks are 5-10 years
09:55:42 <andythenorth> livery remap for alcohol tankers? o_O http://2.bp.blogspot.com/-OHEMfVLFX3o/TpyRa9anzqI/AAAAAAAAExo/x9RvTH9OcNk/s1600/Heineken+truck.jpg
10:09:58 *** Progman has joined #openttd
10:55:11 <Eddi|zuHause> andythenorth: only if you get payment from the respective brand
11:27:57 <andythenorth> 8 year old wants ship tunnels
11:28:02 <andythenorth> he has made an extensive pitch
11:29:26 <Pikka> aircraft tunnels, doesn't it
11:31:30 <andythenorth> through mountains though
11:40:54 *** HerzogDeXtEr has joined #openttd
11:45:09 *** gelignite has joined #openttd
11:46:16 *** frosch123 has joined #openttd
12:01:27 <andythenorth> quak
12:01:28 <andythenorth> etc
12:02:12 <frosch123> hoin
12:04:31 *** Wormnest has joined #openttd
12:06:32 *** debdog has joined #openttd
12:18:16 <TrueBrain> hmm ... how do I get a graphics set via the command line for regression check ...
12:21:02 <TrueBrain> the GUI can, but you can't via command line?
12:21:05 <TrueBrain> what is this bullshit? :P
12:21:24 <LordAro> wget?
12:21:47 <TrueBrain> that means that I also have to figure out both the URL and the place to wget it to
12:21:57 <TrueBrain> not ideal for a Docker regression-checker :)
12:22:48 <LordAro> mm, maybe
12:22:49 <TrueBrain> and installing the openttd-opengfx via Debian is not sufficient ... lol
12:23:42 <TrueBrain> where does it expect this to be ..
12:24:39 <TrueBrain> baseset is now in /usr/share/games/openttd
12:24:41 <TrueBrain> but .. hmmmmmm
12:24:52 <TrueBrain> haha, local
12:24:53 <TrueBrain> ugh
12:27:23 <TrueBrain> I always found it weird that the game depends on gfx files in order to run
12:27:25 <TrueBrain> I know why etc etc
12:27:27 <TrueBrain> still weird :P
12:29:39 <frosch123> the win installer has some openttd.org address for download
12:29:57 <frosch123> https://www.openttd.org/en/download-opengfx
12:30:31 <frosch123> but i remember that something also used to wget nogfx
12:31:03 <frosch123> https://dev.openttdcoop.org/attachments/download/798/nogfx-nogfx.tar
12:31:16 <frosch123> ^^ only 270kB
12:31:41 <TrueBrain> why is that tar not something official? :)
12:31:48 <TrueBrain> but I was also puzzled where I should put that file
12:31:57 <TrueBrain> nothing really helped me in any indication wher eI could put it ..
12:32:02 <TrueBrain> been a while since I knew :P
12:32:12 <frosch123> readme 4.2 :p
12:32:16 <TrueBrain> yes .. didnt help
12:32:21 <TrueBrain> as it says: /usr/share
12:32:26 <TrueBrain> but by default, prefix is /usr/local
12:32:29 <TrueBrain> so .. yeah ....
12:32:37 <frosch123> blame lordaro
12:33:09 <TrueBrain> I would think that for dedicated servers, you could also have a command-line option that auto-downloads a gfx
12:33:11 <TrueBrain> just like the GUI
12:33:34 <frosch123> i would rather get rid of the stupid gfx requirement :)
12:33:49 <TrueBrain> works for me as well :)
12:34:01 <TrueBrain> either way, I now just installed openttd-opengfx from debian-stretch
12:34:06 <TrueBrain> and set the prefix-dir to /usr
12:34:10 <TrueBrain> now regression works
12:36:45 <TrueBrain> easiest way to get rid of it might be to include that above tar in the repo :P
12:37:16 <TrueBrain> btw, frosch123, something for another day, but after OpenTTD moves to github, we also have to move stuff like grfcodec, etc etc (the extra folder)
12:37:20 <TrueBrain> that is not in scope for me atm
12:37:27 <TrueBrain> (not sure if I already said that :P)
12:39:53 <TrueBrain> okay, all linux dockers seem to work; later today I hope to tackle OSX dockers ..
12:43:14 <LordAro> frosch123: rude
12:45:20 <andythenorth> nice TrueBrain :)
12:45:49 <TrueBrain> I also replaced zesty with something with an a
12:45:53 <TrueBrain> (17.04 -> 17.10)
12:46:26 <LordAro> if you wait a few days, you'll be able to use 18.04 LTS
12:46:48 <TrueBrain> yeah ... we just add that when it gets there :)
12:46:54 <TrueBrain> its as easy as adding an entry to Makefile :)
12:47:28 <TrueBrain> LINUX_RELEASE_TARGETS += ubuntu-<whatever>-amd64 ubuntu-<whatever>-i386
12:47:30 <TrueBrain> :P
12:47:42 <LordAro> :)
12:47:55 <TrueBrain> owh, and for autobuilds, you need to add the tag in the docker hub account ..
12:48:13 <TrueBrain> still not sure if I want to use their autobuild .. it is nice, but another place to maintain stuff ..
12:48:27 <andythenorth> how can I draw a neutral dock?
12:48:35 <andythenorth> the CHIPS one is asphalt / concrete
12:48:42 <andythenorth> and has to be used with concrete station tiles
12:48:48 <frosch123> what makes a dock neutral?
12:48:59 <TrueBrain> Austria owns it
12:49:27 <frosch123> ask wolf to return venecia then
12:49:39 <andythenorth> frosch123: looks good with all CHIPS station tiles
12:49:48 <andythenorth> and all FIRS harbour industries
12:50:07 <Wolf01> What?
12:50:21 <frosch123> Wolf01: austria needs a port
12:50:34 <Wolf01> Take Trieste
12:51:05 <LordAro> TrueBrain: Switzerland, surely?
12:51:24 <LordAro> TrueBrain: what does autobuild entail?
12:52:44 <TrueBrain> LordAro: nah, that would be to political correct
12:52:54 <TrueBrain> hub.docker can autobuild a GitHub repo into Docker images
12:52:59 <TrueBrain> so you point it to a repo with a Dockerfile
12:53:02 <TrueBrain> when-ever you push there
12:53:05 <TrueBrain> he builds a new image
12:53:30 <TrueBrain> but I guess I can just make our Bamboo do the same .. gives a bit more flexibility I guess
12:53:51 <andythenorth> maybe time for newgrf docks?
12:53:53 <TrueBrain> their autobuild also cannot do Windows ..
12:54:08 <TrueBrain> *shrug* .. not sure .. lets first get the GH migration done :)
12:59:03 <TrueBrain> Debian is cool .. they are creating 'slim' images for Docker .. removing shit you most likely won't be needing
12:59:29 <TrueBrain> I now have images < 200 MiB that can build OpenTTD
12:59:33 <TrueBrain> including all main dependencies
12:59:35 <TrueBrain> (like ICU)
12:59:51 <andythenorth> :)
13:00:01 <TrueBrain> well, more like 300 MiB
13:00:07 <TrueBrain> the ubuntu, in contrast, are 700 MiB
13:03:04 <TrueBrain> that stupid Makefile requirements that it needs tabs ... it keeps screwing me over
13:10:26 *** FLHerne has joined #openttd
13:15:10 <LordAro> TrueBrain: tabs 4 lyfe
13:24:31 *** Thedarkb has quit IRC
13:43:02 <andythenorth> Pikka: is it wagon speed limits? or not?
13:43:28 <Pikka> I think so
13:44:16 <Pikka> it's "realism", and it makes the fastest express engines not the ideal choice for literally everything
13:44:58 <andythenorth> same here
13:46:33 <Pikka> when I get around to doing industries again, I think I'll try an experimental cargo payment setting which ignores time in transit, see if that improves the game
13:46:52 <andythenorth> such industry
13:46:55 <andythenorth> 2x zoom?
13:47:02 <Pikka> TTD's time/distance payment model is dumb. faster vehicles already have an advantage in that they can make more trips, they don't need to be paid more too.
13:47:23 <Pikka> very zoom
13:47:28 <andythenorth> lawks
13:49:38 * andythenorth double tracks some canals
13:53:49 <andythenorth> should I random cabeese?
13:55:16 <andythenorth> they are all this sort of thing currently http://www.locomotionmodels.com/content/bachmann-38-551-midland-brake-van-br-grey-without-duckets~1350.jpg
13:55:24 <frosch123> add cabbage as cargo
13:55:46 <andythenorth> well
13:55:51 <andythenorth> I could
13:56:02 <andythenorth> 'Veg' is missing mostly from FIRS
13:56:08 <andythenorth> also this kind of cabeese https://images.railsofsheffield.com/product-images.axd/IMG_6789.jpg?preset=large
13:57:06 <andythenorth> not sure how useful random is :P
13:58:07 <andythenorth> ha ha also I deleted all the code for random graphical variants :D
14:00:30 <Pikka> brakevans kind of feel like the one thing that should be fairly consistent
14:00:47 <Pikka> unless you want to do different graphics per company, which is real BAD FEATURES
14:01:45 <andythenorth> I have 2 to choose from anyway
14:01:54 <andythenorth> maybe random sprites are blah
14:29:36 *** Stimrol has quit IRC
14:30:37 *** Stimrol has joined #openttd
14:36:15 <Thedarkb-X40> I was going to build an OpenTTD package for TinyCore Linux but I couldn't get it to cooperate with Xvesa
14:37:01 <Thedarkb-X40> My TinyCore machine has no Linux graphics drivers so sacrifices must be made.
14:55:21 <Pikka> hmmmm
14:56:16 <Pikka> andythenorth, your courier trucks are confusing my AI
14:56:39 <andythenorth> oops
14:56:44 <andythenorth> what haps?
14:56:54 <Pikka> different capacities for different cargos :)
14:57:29 <andythenorth> is proper no? :P
14:57:47 <andythenorth> can I provide any hint? o_O
15:00:29 <Pikka> hmm
15:02:03 *** chomwitt has joined #openttd
15:02:49 <Pikka> well, I could give it a hint... maybe make it prefer vehicles which carry goods by default
15:02:56 <Pikka> when it's looking for a big goods truck
15:06:01 <andythenorth> if default cargo is mail? o_O
15:06:03 <andythenorth> ignore?
15:06:27 <Pikka> something like that
15:10:12 <Pikka> there we go, Rattlebrooks away
15:16:18 <Wolf01> andythenorth: do you how to make a hinge which allow an active axle to pass with an angle >90°?
15:20:35 <andythenorth> Wolf01: bevel gears
15:20:58 <Wolf01> Max 90-100°
15:22:28 <andythenorth> I need non-electric trams in my game
15:22:31 <andythenorth> :(
15:23:01 <Wolf01> Draw tem without pantograph
15:23:04 <Wolf01> *them
15:24:04 <andythenorth> I need to hide the catenary
15:24:10 <Wolf01> Use NRT
15:24:16 <andythenorth> maybe I could patch to not show catenary? o_O
15:25:45 <Wolf01> Mmmh, double elbow... I will kill myself trying to get it together, but it might work
15:27:05 <andythenorth> still making robot arms?
15:28:08 <Wolf01> Yes
15:54:59 *** chomwitt has quit IRC
15:55:22 *** gelignite has quit IRC
15:58:13 <Wolf01> Double elbow won't work
16:08:59 * andythenorth lunch
16:15:11 <andythenorth> cargo loading sprites :(
16:48:20 *** gelignite has joined #openttd
16:59:54 *** andythenorth has quit IRC
17:01:36 *** Gja has joined #openttd
17:16:16 *** andythenorth has joined #openttd
17:37:28 *** Flygon has quit IRC
18:04:17 *** Thedarkb has joined #openttd
18:49:48 *** FLHerne has quit IRC
18:55:30 *** Cubey has joined #openttd
19:21:08 *** FLHerne has joined #openttd
19:23:09 *** sla_ro|master has joined #openttd
19:58:57 <Thedarkb> I'm not as good on FIRS as I'd like to be.
20:06:42 <andythenorth> ? o_O
20:08:56 <LordAro> people actually play with firs?
20:09:13 *** FLHerne has quit IRC
20:13:23 <andythenorth> at least one
20:14:36 <Thedarkb> What's wrong with FIRS
20:14:44 <Thedarkb> I used to love Heart of Darkness.
20:19:14 <Thedarkb> LordAro, What industry replacement do you recommend?
20:36:43 <LordAro> firs, probably
20:36:55 <LordAro> i haven't played in ages
20:43:59 *** sla_ro|master has quit IRC
21:14:47 *** frosch123 has quit IRC
21:20:25 *** gnu_jj has joined #openttd
21:22:55 *** debdog has quit IRC
21:27:51 *** Wacko1976 has quit IRC
21:31:05 *** cHawk has quit IRC
21:39:13 <Wolf01> So, andythenorth: I think I've finished the robotic arm. Even without motors everywhere (there's only one motor at the base) and trying to keep it light as possible it weights a lot and doesn't work really well :(
21:41:15 *** cHawk has joined #openttd
21:42:06 <andythenorth> :P
21:42:17 *** debdog has joined #openttd
21:47:13 *** debdog has quit IRC
21:51:55 *** debdog has joined #openttd
22:04:11 *** sim-al2 has quit IRC
22:06:50 *** FLHerne has joined #openttd
22:10:55 *** circ-user-ELLc8 has joined #openttd
22:11:08 *** circ-user-ELLc8 is now known as supermop_work
22:14:26 <supermop_work> yo
22:15:16 <andythenorth> lo mop
22:19:03 <Thedarkb> Why do previously profitable routes become unprofitable?
22:20:42 <andythenorth> inflation?
22:20:54 <andythenorth> if inflation is on, turn it off
22:20:56 <andythenorth> it's broken
22:21:22 *** chomwitt has joined #openttd
22:35:41 *** Gja has quit IRC
22:36:11 *** cHawk has quit IRC
22:43:37 *** gelignite has quit IRC
22:51:56 <Pikka> Chris Sawyer, master of BAD FEATURES
22:54:16 <LANJesus> lol.
23:04:07 *** andythenorth has quit IRC
23:04:31 *** supermop_work_ has joined #openttd
23:05:21 *** supermop_work has quit IRC
23:12:47 *** cHawk has joined #openttd
23:19:52 <Wolf01> 'nihgt
23:19:57 <Wolf01> 'night also
23:20:01 *** Wolf01 has quit IRC
23:41:30 *** bwn has joined #openttd
23:54:09 <Thedarkb-X40> Yeah I'll turn off inflation
23:56:37 <supermop_work_> still think it would be worth 'fixing' inflation somehow, or making it controllable by GS or new grf
23:57:27 <supermop_work_> even if revenue and costs scale 1:1, it would at least reduce the real value of giant cash piles