IRC logs for #openttd on OFTC at 2016-03-30
⏴ go to previous day
00:05:09 *** Biolunar has joined #openttd
00:22:00 <SpComb> the year selection dropdown on the irclogs calendar browser only goes up to 2009 :P
00:23:55 <SpComb> ${h.select_options(((None, 2006), (None, 2007), (None, 2008), (None, 2009)), month.year)}
00:24:02 <SpComb> yes, this is code that's showing its age :P
00:27:25 *** Zeetherdroid has joined #openttd
00:51:24 *** innocenat has joined #openttd
01:21:23 *** theholyduck has joined #openttd
01:33:59 *** sim-al2 has joined #openttd
02:00:29 <Eddi|zuHause> SpComb: we reported that years ago.
02:01:07 <Eddi|zuHause> the workaround was to just type the date in the address manually :p
02:29:20 <Eddi|zuHause> well, fun. there is a cargo flow graph, but my browser only shows a tiny fraction of that, which basically covers one node of the graph, providing no overview whatsoever, and additionally to that, all the labels are missing
02:35:50 <Eddi|zuHause> you have no colours?
02:36:03 <sim-al2> I have no idea why it disappeared, but it's not in the svg
02:37:26 <sim-al2> Doesn't show in Internet Explorer either, but the colors do appear in Firefox
04:38:30 *** Biolunar_ has joined #openttd
04:48:44 *** Clockworker has joined #openttd
04:51:56 *** Clockworker_ has joined #openttd
06:18:02 *** Supercheese has joined #openttd
07:46:44 *** krizzmanwell has joined #openttd
08:19:27 *** andythenorth has joined #openttd
08:28:05 <andythenorth> GetTileTrackStatus_Road eh?
08:59:25 *** Clockworker__ has joined #openttd
10:30:35 *** andythenorth has joined #openttd
11:30:21 *** andythenorth has joined #openttd
12:21:02 *** TheMask96 has joined #openttd
12:42:31 <Samu> I am investigating the terraform command and this is the most complex function I've ever attempted to learn what it does in order
12:45:27 <Samu> it can potentially interact with all tile types! pff
12:46:54 <Samu> how can I keep it simple with the Run to Cursor option from visual studio?
12:52:49 *** Ketsuban has joined #openttd
13:01:34 <Wolf01> I think is better to set breakpoints instead of run to cursor
13:02:07 <Wolf01> I use run to cursor when I'm already debugging
13:03:21 <Wolf01> it's useful when you need to skip some lines
13:14:57 <Eddi|zuHause> andythenorth: that function is for road tiles, which have a rail track. (i.e. crossings)
13:15:42 <andythenorth> so it is, thanks
13:16:04 <andythenorth> I am looking for a pathfinder function where I can insert more checks on the road tile
13:16:19 <andythenorth> so vehicle can only enter if compatible
13:16:44 <Eddi|zuHause> that's probably called something like "vehicle enter tile"
13:17:06 <andythenorth> VehicleEnter_Road
13:17:34 <Eddi|zuHause> that's what controls barred crossings and stuff
13:17:48 <andythenorth> that one looks like depots
13:17:52 <andythenorth> but it can wait anyway :)
13:17:58 * andythenorth busy rotating SSH keys :P
13:18:03 <Eddi|zuHause> there should be a function in the pathfinder where all the penalties are applied, so the tiles won't be considered valid paths in the first plcae
13:18:10 <andythenorth> that makes sense
13:19:03 <Eddi|zuHause> there's also an equivalent to TrainController for road vehicles
13:19:20 <Eddi|zuHause> which handles the actual movement
13:25:27 *** Quatroking has joined #openttd
13:27:18 *** Myhorta has joined #openttd
13:28:06 *** sla_ro|master has joined #openttd
14:15:59 <Samu> I need self-guidance help: how do I disallow the clearing of river tiles when the issued command is to terraform a tile which contains a river, so that the end result is a river tile with a new slope configuration?
14:16:55 <andythenorth> look at how something like roadstops works to preserve the roadtypes on the tile?
14:17:09 <andythenorth> possibly you’ll just be copying the river bits, and then reapplying them
14:17:59 <Samu> when the clear command is issued, it will turn the water tile type into clear tile type :( i want it to get back to water tile type
14:18:27 <andythenorth> grab the relevant tile bits before clearing and pass them along the function chain
14:18:34 <Samu> but, only for when the original issued command is to raise or lower, not when it's actually clearing
14:19:45 <Samu> ok, give me an hour to understand what you just said, yes, I am that slow
14:26:02 <andythenorth> I only learnt this in the last week or so, I might be wrong :)
14:28:39 <Samu> I think I have to deal with the MakeWaterKeepingClass function
14:31:04 <Samu> in order, issue command to raise a river tile -> it clears the river -> raises the land -> then rebuilds the river on the raised land
14:31:22 <Samu> seems to be this, what the game is doing
14:31:44 <Samu> the rebuild the river on the raised land is missing
14:31:57 <Samu> that's the MakeWaterKeepingClass function, right?
14:32:32 <Samu> but first, it must turn the tile type into water anyway
14:32:44 <Samu> I'm missing something :(
14:48:46 *** ChanServ sets mode: +v tokai
15:10:27 *** Smedles has joined #openttd
15:19:02 <argoneus> good morning train friends
15:40:10 *** Hiddenfunstuff has joined #openttd
15:43:30 *** Myhorta has joined #openttd
16:24:39 *** Alberth has joined #openttd
16:24:39 *** ChanServ sets mode: +o Alberth
16:28:50 *** sim-al2 has joined #openttd
16:29:46 *** Nathan1852 has joined #openttd
16:32:22 <Samu> wow damn, this was so simple after all, gosh I'm such a terrible noob
16:32:28 <Samu> if (IsWaterTile(tile) && IsRiver(tile)) return CommandCost(EXPENSES_CONSTRUCTION, _price[PR_BUILD_FOUNDATION]);
16:33:04 <Samu> this line does the trick
16:37:34 <Samu> right, the price is incorrect
16:37:35 <Alberth> complexity of the solution is not related to complexity of finding that solution :)
16:39:23 <Samu> the action per se, is behaving like I want, the pricing is not
16:40:04 <Samu> i can demolish a river tile, becomes a bare land, and i can also raise/lower the river tile and maintain the river (but the pricing needs fixing)
16:48:31 <Samu> if (IsWaterTile(tile) && IsRiver(tile)) return CommandCost(EXPENSES_CONSTRUCTION, _price[PR_CLEAR_WATER]);
16:51:26 <Samu> i think i am getting a glimpse of what a foundation actually is
16:53:19 *** andythenorth has joined #openttd
17:00:15 *** TheDude has joined #openttd
17:03:40 *** TheMask96 has joined #openttd
17:25:16 *** HerzogDeXtEr has joined #openttd
17:25:17 <Sil> where can i find some scenarios compatible with FIRS ?
17:32:09 <planetmaker> scenarios... scenarios must contain the NewGRFs you're going to use. But I'm sure there are some in the online content, Sil
17:32:18 <andythenorth> unlikely they’ll be FIRS 2
17:32:28 <planetmaker> And possibly some in our forums as well. But yes... probably not FIRS2 :)
17:42:37 *** Wormnest has joined #openttd
18:16:56 <Samu> that one lets you create river tiles on sloped tiles in the scenario editor, and also fixes the innability to demolish river tiles
18:28:47 *** HerzogDeXtEr1 has joined #openttd
18:41:06 <Samu> darn, the flooding behaviour of river tiles at sea level is... crap
18:43:48 <Samu> what's a better solution for this problem? let river tiles become sea tiles if they're at sea level height?
18:44:10 <Samu> forbid lowering river tiles to sea level?
18:47:26 <Wolf01> remember that you can use rivers to make dams at sea level
18:57:05 *** Progman has joined #openttd
19:00:12 *** frosch123 has joined #openttd
19:01:02 *** sim-al2 has joined #openttd
19:31:20 *** gelignite has joined #openttd
19:45:47 <DorpsGek> Commit by translators :: r27528 /trunk/src/lang (brazilian_portuguese.txt catalan.txt) (2016-03-30 19:45:37 +0200 )
19:45:49 <DorpsGek> catalan: 233 changes by juanjo
19:45:50 <DorpsGek> portuguese (brazilian): 1 change by Tucalipe
19:50:13 *** PersonalityOS has joined #openttd
19:50:25 <PersonalityOS> Yep it is him Alberth again...
19:50:49 *** andythenorth has joined #openttd
19:51:32 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:51:49 <PersonalityOS> Im the doge who asked help how to update remember
19:52:11 <PersonalityOS> I made own Operating System
19:52:25 <PersonalityOS> But only 2 downloads ;-;'
19:53:11 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:11 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:11 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:12 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:12 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:12 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:12 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:14 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:14 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:16 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:16 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:18 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:18 <PersonalityOS> Buy the new Operating System: Personality 2017 Edition the new Linux Distro it is FREE!!!!!!!!
19:53:19 <frosch123> @kick PersonalityOS
19:53:19 *** PersonalityOS was kicked by DorpsGek (frosch123)
19:53:48 *** PersonalityOS_ has joined #openttd
19:53:52 <PersonalityOS_> Sorry i apologise
19:55:18 <frosch123> it's not yet 2017 btw
19:56:29 <frosch123> daylight savings only shifts by a hour, not by a year
19:58:28 <PersonalityOS_> but i designed 2018 and 2016 names from Windows 95 And Windows 98
19:58:36 *** PersonalityOS_ has quit IRC
20:04:43 *** strohalm has joined #openttd
20:10:28 <samu> is this a bug? when i use land area information on a coastal tile without a river, I get the name "Coast or riverbank", but when I use it on a coastal tile with a river, I get the name "River"
20:11:30 <andythenorth> nah, sounds correct
20:13:23 <andythenorth> river is correct for a tile with river on
20:13:32 <andythenorth> you think it should also have ‘coast’ ?
20:13:53 <samu> should say "coast" for one and "riverbank" for the other imo
20:15:28 <samu> english is not my native language, so I am wondering
20:18:33 <andythenorth> riverbank would be a tile next to water :)
20:18:39 <andythenorth> not a tile with water :)
20:26:42 <samu> how do i retrieve a tile that is a river and a coast at the same time, what function?
20:26:51 <samu> seems like it's not possible
20:33:17 <samu> andythenorth: what would you call it? River Mouth'
20:33:33 <andythenorth> river mouth is a good name
20:33:47 <samu> ok, there is no such function :(
20:34:08 <samu> or is there? tried to look around in water_cmd.cpp
20:37:24 <andythenorth> there’s no reason I know of why that would be possible
20:37:53 <andythenorth> there might be a convenience function for it, but I can’t think of any gameplay or graphical feature that needs it
20:38:23 * andythenorth hasn’t looked though :)
20:38:59 <samu> i am trying to forbid terraforming river tiles to sea level
20:39:38 <samu> and yet i don't know if this is the best solution for my problem
20:41:13 <samu> limitations tend to be bad ideas
20:44:37 <samu> then i combine it with IsRiver(tile)
20:45:49 <samu> how do I retrieve the min Z coordinates of a tile?
20:50:38 *** Nathan1852 has joined #openttd
20:52:11 <samu> nevermind, i figured it out by accident, lol
20:54:38 <aard> can i somehow run a dedicated openttd minimal ubuntu server without installing all the gui packages?
20:54:38 <samu> so now that rivers are terraformable, ships are now... screwd!
20:56:05 <samu> i'm opening a precedent for a new ship blocking abuse
20:57:50 <Alberth> aard: probably by compiling a dedicated server version yourself
20:58:20 <Alberth> although you will need the baseset graphics even then, as it contains more than just graphics
20:58:43 <Alberth> but not the entire x11 stuff :)
20:59:26 *** Clockworker__ has joined #openttd
21:00:41 <aard> Alberth: okay, just wondered if there was some easy option already there
21:01:44 <Alberth> there is no dedicated version for download, not used often enough
21:02:12 <Alberth> theoretically, ubuntu could make one, but the same holds for them as well, I guess
21:14:40 <andythenorth> Samu: ship blocking abuse by players, meh
21:14:49 <andythenorth> ship blocking by towns terraforming is very annoying
21:15:02 <andythenorth> that already happens with town bridges and towns terraforming coast
21:17:58 <Alberth> coppr and wool are both grey, and both input in a port
21:19:25 <andythenorth> grey on cargo flow?
21:19:48 * andythenorth has paid not much attention to cargo colours
21:20:16 <Alberth> cargo flow (industry chain)
21:20:28 <Alberth> did you fix the distances?
21:20:54 <Alberth> doesn't look like it, 1 tile distance :p
21:21:04 <andythenorth> nah, didn’t fix them yet
21:21:27 * andythenorth hit maximum newgrf authoring :)
21:21:33 <andythenorth> no more for a bit
21:21:48 <Alberth> python code was quite nice imho
21:22:08 <Alberth> looked a lot like nml code :p
21:22:19 <andythenorth> got the link again?
21:22:22 <Alberth> perhaps not entirely accidental :)
21:22:47 *** ToBeFree has joined #openttd
21:23:01 <andythenorth> the patch to detect conflicting industry types
21:23:47 <Alberth> right, let me find that
21:25:20 <Alberth> yw, "hg status" was enough to find the name :p
21:28:20 <samu> "Can't lower land here - Passengers in the way"
21:28:36 <samu> game is throwing random errors
22:04:05 *** sim-al2 has joined #openttd
22:14:02 *** andythenorth has left #openttd
23:04:51 *** Supercheese has joined #openttd
23:18:55 *** Ketsuban has joined #openttd
23:40:30 *** FLHerne has joined #openttd
23:57:00 <Zuu> The 3 car train is the first version which is operational with teams working in the train cars. The other two are experiments to add more detail.
continue to next day ⏵