IRC logs for #openttd on OFTC at 2018-08-23
            
00:01:07 <Samu> 7>d:\openttd\openttd essentials\shared\include\dmerror.h(12): warning C4005: 'FACILITY_DIRECTMUSIC': macro redefinition (compiling source file ..\src\music\dmusic.cpp) 7> C:\Program Files (x86)\Windows Kits\8.1\Include\shared\winerror.h(162): note: see previous definition of 'FACILITY_DIRECTMUSIC' (compiling source file ..\src\music\dmusic.cpp)
00:02:13 <peter1138> You need to remove the dmusic stuff from your essentials
00:02:42 <Samu> i also get this
00:02:43 <Samu> 7>..\src\tunnelbridge_cmd.cpp(719): warning C4267: 'argument': conversion from 'size_t' to 'uint', possible loss of data
00:03:21 <LordAro> largely irrelevant
00:04:23 <Samu> my essentials were downloaded
00:04:41 <Samu> don't know if there is a newer essentials
00:04:59 <Samu> not sure what im supposed to do
00:05:23 <peter1138> You need to remove the dmusic stuff from your essentials
00:05:30 <Samu> k :p
00:07:35 <Eddi|zuHause> ok, so wine for steam status: 4/5 games run, 2 of them need additional configuration, some have sound issues
00:08:06 <Eddi|zuHause> but the feature itself is great
00:08:12 <Samu> #define FACILITY_DIRECTMUSIC 0x878 /* Shared with DirectSound */
00:08:21 <Samu> i remove this line?
00:08:37 <peter1138> No, the whole files.
00:08:58 <Samu> well, no idea which files they are
00:10:42 <glx> I don't remember dmusic being in essentials
00:11:10 <glx> but we used to require a very old dxsdk
00:11:21 <glx> this one can be uninstalled
00:17:28 *** KouDy has quit IRC
00:25:55 <LordAro> Samu: they're only warnings, they don't particularly matter
00:45:35 *** Samu has quit IRC
00:58:42 *** techmagus has quit IRC
01:02:22 *** techmagus has joined #openttd
01:09:10 *** techmagus has quit IRC
01:22:14 *** techmagus has joined #openttd
01:41:27 *** Mahjong2 has joined #openttd
01:48:39 *** Mahjong1 has quit IRC
01:48:49 *** snail_UES_ has joined #openttd
02:15:59 *** Supercheese has quit IRC
02:22:19 *** DorpsGek has joined #openttd
02:22:19 *** ChanServ sets mode: +o DorpsGek
02:24:12 *** keoz has quit IRC
02:26:07 *** Guest1463 has quit IRC
03:05:20 *** Thedarkb-T60 has joined #openttd
03:11:51 *** cHawk has joined #openttd
03:44:44 *** Thedarkb-T60 has quit IRC
04:05:37 *** KouDy has joined #openttd
04:07:15 *** chomwitt has quit IRC
04:12:53 *** glx has quit IRC
04:20:24 *** Hobbyboy has joined #openttd
04:22:21 *** Sheogorath has joined #openttd
04:22:45 *** TrueBrain_ has joined #openttd
04:22:52 *** Mek_ has joined #openttd
04:23:43 *** Yexo has quit IRC
04:23:43 *** eirc has quit IRC
04:23:43 *** grossing has quit IRC
04:23:43 *** argoneus has quit IRC
04:23:43 *** _dp_ has quit IRC
04:23:43 *** Hirundo has quit IRC
04:23:43 *** SmatZ has quit IRC
04:23:43 *** Yotson has quit IRC
04:23:43 *** debdog has quit IRC
04:23:43 *** Westie has quit IRC
04:23:43 *** luaduck has quit IRC
04:23:43 *** masse has quit IRC
04:23:43 *** Mek has quit IRC
04:23:43 *** gnu_jj has quit IRC
04:23:43 *** Exec has quit IRC
04:23:43 *** KenjiE20 has quit IRC
04:23:43 *** Hobbyboy|BNC has quit IRC
04:23:43 *** blathijs has quit IRC
04:23:43 *** orudge has quit IRC
04:23:43 *** Taede has quit IRC
04:23:43 *** V453000 has quit IRC
04:23:43 *** TrueBrain has quit IRC
04:23:43 *** DorpsGek_II has quit IRC
04:23:43 *** dihedral has quit IRC
04:23:55 *** argoneus has joined #openttd
04:24:12 *** gnu_jj has joined #openttd
04:24:13 *** debdog has joined #openttd
04:24:56 *** eirc has joined #openttd
04:25:06 *** luaduck has joined #openttd
04:25:10 *** dihedral has joined #openttd
04:25:12 *** orudge has joined #openttd
04:25:15 *** grossing has joined #openttd
04:25:40 *** Exec has joined #openttd
04:26:09 *** Yotson has joined #openttd
04:26:55 *** Taede has joined #openttd
04:27:52 *** SmatZ has joined #openttd
04:28:22 *** V453000 has joined #openttd
04:28:52 *** Hirundo has joined #openttd
04:28:55 *** Westie has joined #openttd
04:29:15 *** dP has joined #openttd
04:29:15 *** dP is now known as _dp_
04:29:22 *** Yexo has joined #openttd
04:36:13 *** KenjiE20 has joined #openttd
04:36:59 *** blathijs has joined #openttd
04:37:11 *** masse has joined #openttd
04:40:55 *** Flygon has joined #openttd
04:43:05 *** nielsm has quit IRC
04:47:13 *** Mek_ is now known as Mek
06:01:05 *** haudrauf has quit IRC
06:02:04 *** haudrauf has joined #openttd
06:06:03 *** Supercheese has joined #openttd
06:21:37 *** Supercheese has quit IRC
06:21:59 *** Supercheese has joined #openttd
06:45:20 *** KouDy has quit IRC
06:46:31 *** snail_UES_ has quit IRC
07:08:04 *** Alberth has joined #openttd
07:08:04 *** ChanServ sets mode: +o Alberth
08:19:29 *** KouDy has joined #openttd
08:33:46 *** sim-al2 has quit IRC
09:44:16 *** Supercheese has quit IRC
09:49:51 *** Samu_ has joined #openttd
09:53:09 *** Samu__ has joined #openttd
09:53:17 *** Samu__ has left #openttd
09:53:35 *** Samu__ has joined #openttd
09:54:14 *** Samu_ is now known as Samu
09:54:55 <Samu> i just noticed something, faster planes crash more often because they land more times
09:57:09 *** KouDy has quit IRC
09:57:25 <Arveen> working as intended, heh
09:58:06 <Alberth> use them for longer distances :)
10:05:37 *** Wolf01 has joined #openttd
10:06:16 <Wolf01> o/
10:10:37 <Alberth> o/
10:11:12 *** Wacko1976_ has quit IRC
10:12:31 *** Smedles_ has joined #openttd
10:14:38 *** Smedles has quit IRC
10:17:12 *** Wolf03 has joined #openttd
10:19:03 *** Sacro_ has joined #openttd
10:19:23 *** Wolf01 has quit IRC
10:19:23 *** cHawk has quit IRC
10:19:23 *** acklen has quit IRC
10:19:23 *** Sacro has quit IRC
10:19:29 *** Wolf03 is now known as Wolf01
10:20:26 *** acklen has joined #openttd
10:21:50 <Samu> i took my version of ludiai for a 100 year test, and there are issues
10:22:02 <Samu> big towns, like 40k population
10:22:13 <Samu> make it really slow at locating an airport
10:22:27 <Samu> finding a location*
10:25:04 *** andythenorth has joined #openttd
10:26:46 *** cHawk has joined #openttd
10:26:52 <andythenorth> moin
10:27:07 <peter1138> hi
10:27:20 <Wolf01> o/
10:29:55 *** andythenorth has quit IRC
10:30:28 *** keoz has joined #openttd
10:31:41 *** andythenorth has joined #openttd
10:31:45 <andythenorth> is cat?
10:32:33 <planetmaker> \o
10:34:02 <andythenorth> garden centre industry?
10:34:11 <andythenorth> accepts peat, seeds
10:34:17 <andythenorth> gnomes
10:34:24 <andythenorth> supplies gardens
10:36:39 *** nielsm has joined #openttd
10:37:02 *** KouDy has joined #openttd
10:38:27 <andythenorth> “Anaerobic digestate”
10:38:53 <andythenorth> that’s quite a technical euphemism
10:39:13 <andythenorth> for use on farm fields
10:43:01 *** andythenorth has quit IRC
10:44:34 *** andythenorth has joined #openttd
10:44:44 <andythenorth> water treatment plant
10:45:01 <andythenorth> accepts chlorine, soda ash
10:45:17 <andythenorth> produces anaerobic digestate
10:49:06 *** Alberth has left #openttd
10:49:57 <andythenorth> “urban organic waste digestates”
10:57:03 *** andythenorth has quit IRC
10:58:40 *** andythenorth has joined #openttd
10:59:16 <andythenorth> so is compost, sewage etc “Better Living Through Chemistry” eh?
10:59:26 <andythenorth> or something else
11:11:45 <planetmaker> sounds like ideas for "buzzword economy" :P
11:12:18 *** Flygon_ has joined #openttd
11:13:33 <andythenorth> “Urban Buzzwords”
11:14:02 *** andythenorth_ has joined #openttd
11:14:08 *** andythenorth has quit IRC
11:19:00 *** Eddi|zuHause2 has joined #openttd
11:19:08 *** Flygon has quit IRC
11:20:01 *** andythenorth_ has quit IRC
11:23:25 *** Eddi|zuHause has quit IRC
11:46:02 *** Thedarkb-T60 has joined #openttd
11:55:08 *** chomwitt has joined #openttd
12:02:28 *** andythenorth_ has joined #openttd
12:02:34 *** KouDy has quit IRC
12:05:26 *** andythenorth_ has quit IRC
12:07:08 *** nielsm has quit IRC
12:10:47 *** Alberth has joined #openttd
12:10:47 *** ChanServ sets mode: +o Alberth
12:12:46 <Alberth> o/
12:15:08 *** Eddi|zuHause2 is now known as Eddi|zuHause
12:31:23 <Wolf01> o/
12:33:22 <Samu> I solved the stationspread check issue, turns out I was calculating a rectangle wrong, resulting in an humongous amount of tiles to be examined
12:33:32 <Samu> no wonder it was slow
12:34:07 <Samu> let's hope it's faster now, retesting
12:34:54 <Samu> an humongous or a humongous
12:34:57 <Samu> my englisho
12:37:20 *** NoMorePacers_ has joined #openttd
12:37:42 <LordAro> a humongous
12:45:41 <Samu> wow, what a difference
12:45:44 <Samu> it's so much faster now
12:47:48 <Samu> wanna see the critical years when towns are already large, and larger and more airport types become available
12:48:13 <Samu> I expect some slowdowns, but hope not by much
12:48:56 <SpComb> some slideshows
12:55:32 <Alberth> down under you'd have slowups
13:17:52 <Samu> 1000 aircraft in 30 years, i didn't expect it to be this good lol
13:21:01 <Samu> it is being a bit helicopter happy to my liking
13:38:40 *** Stimrol has quit IRC
13:40:33 *** Stimrol has joined #openttd
13:42:40 <Alberth> heli things fit too easy :)
13:44:34 *** Stimrol has quit IRC
13:49:37 <Samu> i found a weird bug with listing stations
13:50:23 <Samu> i had the list of stations opened for LuDiAIAfterFix and LuDiAI
13:50:33 *** Stimrol has joined #openttd
13:50:39 <Samu> then i clicked to filter airports in one of them
13:52:10 <Samu> and then i clicked to filter airport stations on LuDiAI, then clicked to filter bus stations on the other
13:52:17 <Samu> and the listing starts acting up
13:52:23 <Samu> for the first one
13:53:00 <Samu> it is listing bus stations for the first one even with the airport station pressed down
14:04:10 <Samu> okay, there is yet some problem to fix :(
14:07:03 <Samu> if im looking for a place in a specific town and another town is nearby, it sometimes places the airport belonging to the other town :(
14:07:13 <Samu> I wanna avoid this
14:29:51 <Alberth> why? the other town may not have an airport?
14:34:00 *** KouDy has joined #openttd
14:35:33 <Samu> because I am checking each town individualy
14:35:51 <Samu> if adds the other town to the towns_used list
14:35:51 <Wolf01> Station list shared between windows?
14:36:36 <Samu> it doesn't add the town where it started to check
14:36:59 <Samu> wait a minute, this seems correct
14:37:10 <Samu> then what is wrong :(
14:37:35 *** Thedarkb-T60 has quit IRC
14:37:59 <Alberth> seems highly unlikely that station lists are shared, someone would have noticed it
14:48:06 *** wodencafe has quit IRC
14:48:25 *** wodencafe has joined #openttd
14:49:29 *** keoz has quit IRC
14:53:21 *** KouDy has quit IRC
14:58:29 *** snail_UES_ has joined #openttd
15:04:32 *** snail_UES_ has quit IRC
15:05:15 *** Thedarkb-T60 has joined #openttd
15:05:58 *** sparch has quit IRC
15:08:07 *** sparch has joined #openttd
15:22:44 *** KouDy has joined #openttd
15:23:11 *** wodencafe has quit IRC
15:31:15 *** Wolf03 has joined #openttd
15:31:41 *** Wolf01 is now known as Guest1542
15:31:41 *** Wolf03 is now known as Wolf01
15:37:14 *** Guest1542 has quit IRC
15:38:36 <Samu> tileList.Valuate(AITile.GetClosestTown); tileList.KeepValue(town);
15:38:41 <Samu> is this gonna solve my problem?
15:38:43 <Samu> let's hope so
15:43:16 <Alberth> likely all tiles have a closest town
15:43:40 *** sim-al2 has joined #openttd
15:43:46 <Alberth> oh, it's a filter. never mind
15:44:36 <Alberth> likely there is a single tile that decides the town of an airport
15:56:21 <planetmaker> I think "upper left" of the bounding square might be that square
15:59:09 <Samu> not sure if I use AIAirport.GetNearestTown or that one
15:59:30 <planetmaker> ideally it shouldn't matter
15:59:36 <planetmaker> as it would be identical results
16:00:05 <Samu> i'm not sure about that
16:00:07 <planetmaker> the bounding rectangle is too simple for cases where the airport is joined to an existing station
16:00:31 <planetmaker> as the town-affiliation doesn't change for a station once the 1st tile is built
16:01:00 <planetmaker> so use the API call. Should be both, correct, easier and safer
16:11:12 <Alberth> he wants to know before you build the airport :)
16:15:20 <Alberth> oh, looks like that call would work
16:16:42 <Samu> i'm looking at station_cmd.cpp, CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text)
16:17:27 <Samu> and it's hmm getting towns in 2 different manners
16:17:41 <Samu> depending of town noise being enabled or not
16:18:43 <Samu> Town *nearest = AirportGetNearestTown(as, iter);
16:18:50 <Samu> versus Town *t = ClosestTownFromTile(tile, UINT_MAX);
16:21:26 *** eirc has quit IRC
16:21:37 *** eirc has joined #openttd
16:23:02 *** eirc has quit IRC
16:23:12 *** eirc has joined #openttd
16:24:56 *** Chrill has joined #openttd
16:28:56 *** nielsm has joined #openttd
16:30:56 *** ST2 has quit IRC
16:31:49 *** wodencafe has joined #openttd
16:33:56 *** ST2 has joined #openttd
16:35:00 <Samu> (*st)->town = ClosestTownFromTile(area.tile, UINT_MAX);
16:35:09 <Samu> that settles it
16:35:26 <Samu> AITile.GetClosestTown it is
16:36:12 *** Chrill has quit IRC
16:37:58 *** andythenorth_ has joined #openttd
16:38:17 <Wolf01> So, NNRT With diagonal roads?
16:38:37 <planetmaker> RNRT. Really new...
16:38:49 <Eddi|zuHause> SMNRT
16:39:04 <Eddi|zuHause> (where SM stands fro State Machine)
16:39:44 <Samu> testing...if I find a town with multiple airports, I failed
16:39:47 <Wolf01> I really would like to try making 2 track roads in the same tile, I think I would need another mx[] just to put everything in
16:39:57 <Samu> if everytown has exactly 1 airport, I succeeded
16:40:17 *** andythenorth_ has quit IRC
16:40:33 <Wolf01> And yes, I would need a whole lot of brand new state machine stuff
16:41:30 <Wolf01> But... better road junctions, a lot of interesting layouts with tram+road, maybe even up to 4 roadtypes on a single tile
16:41:34 <Wolf01> 2 trams and 2 roads
16:42:29 <planetmaker> and a rail crossing!
16:42:58 *** ST2 has quit IRC
16:43:04 <Wolf01> And rail in the middle of the road, with both working
16:43:19 <planetmaker> of course
16:43:38 <Wolf01> Serious shit, won't do :P
16:43:48 <planetmaker> but we have already a solution: we introduce a new zoom factor. And simply call 3x3 tiles a "new tile"
16:43:56 <Wolf01> Ahah
16:44:05 <planetmaker> :D
16:44:49 *** synchris has joined #openttd
16:45:37 <Samu> i still fail ... https://imgur.com/TWl0c8Q
16:45:44 <Samu> I don't understand :(
16:45:57 *** andythenorth_ has joined #openttd
16:45:58 <andythenorth_> o/
16:46:11 <andythenorth_> if everytown has a mayor
16:46:44 <andythenorth_> nvm, paradoxes are boring :)
16:47:59 *** andythenorth__ has joined #openttd
16:49:25 *** andythenorth__ has quit IRC
16:50:39 *** ST2 has joined #openttd
16:52:05 <Samu> the things you make me do
16:52:08 <Samu> nearest_town = AITown.GetClosestTown(tile);
16:52:14 <Samu> local allowed_noise = AITown.GetAllowedNoise(AIAirport.GetNearestTown(nearest_town);
16:53:08 <Samu> forgot the type
16:53:50 <Alberth> and a closing parenthesis
16:54:56 <Samu> and i need to supply a town, not a station i guess
16:55:26 <Samu> meh this is confusing me already lol
16:55:34 *** andythenorth_ has quit IRC
16:56:08 <Samu> it's a town actually
16:56:16 <Samu> local allowed_noise = AITown.GetAllowedNoise(AIAirport.GetNearestTown(nearest_town, a);
16:56:24 <Samu> oh
16:56:27 <Samu> local allowed_noise = AITown.GetAllowedNoise(AIAirport.GetNearestTown(tile, a));
16:56:35 <Samu> crap lol i'm a terrible copy paster
16:56:54 <Alberth> don't paste, type it again :)
16:57:01 <Samu> local allowed_noise = AITown.GetAllowedNoise(AIAirport.GetNearestTown(nearest_town, a));
16:57:38 <Samu> it's a tile isn't it? omg damn so confused
16:58:06 <Samu> local allowed_noise = AITown.GetAllowedNoise(AIAirport.GetNearestTown(tile, a));
16:58:06 <Alberth> I have no idea, documentation knows, so I don't have to
16:58:36 <Samu> static TownID GetNearestTown (TileIndex tile, AirportType type)
16:58:42 <Samu> alright, it's a tile
16:59:22 <Alberth> parameter description may add more restrictions, although likely here it will just work
17:00:52 *** Wacko1976 has joined #openttd
17:01:51 *** andythenorth has joined #openttd
17:01:55 <Samu> the other one was also wrong
17:01:59 <Samu> it's nearest_town = AITile.GetClosestTown(tile);
17:02:01 <Samu> not AITown
17:02:11 <andythenorth> Wolf01: first two rail tracks on same tile
17:02:43 <Wolf01> Ha! You read it
17:03:16 *** keoz has joined #openttd
17:03:41 <andythenorth> it’s probably time for two tracks per tile
17:03:46 <andythenorth> also shunting
17:04:01 <andythenorth> and the move-while-liading thing from JGR
17:04:53 <andythenorth> and trains-can-proceed-on-sight option for PBS
17:05:01 <andythenorth> all the ponies
17:05:11 <andythenorth> state machine tiles also
17:08:27 *** chomwitt has quit IRC
17:11:08 *** andythenorth has quit IRC
17:13:06 *** wodencafe has quit IRC
17:14:52 *** andythenorth has joined #openttd
17:15:26 *** andythenorth_ has joined #openttd
17:16:43 *** andythenorth has quit IRC
17:23:27 <Samu> I finally understand asserts
17:23:30 <Samu> assert(!towns_used.HasItem(nearest_town); this.towns_used.AddItem(nearest_town, good_tile);
17:23:40 <Samu> if it's there, I failed
17:23:45 <Samu> the town, that is
17:23:58 *** andythenorth_ has quit IRC
17:24:45 <Samu> crap, parenthesis
17:24:46 <Samu> assert(!towns_used.HasItem(nearest_town));
17:28:13 <planetmaker> the purpose of an assert is like "please crash now. something is not like it should be and worse might happen, if we continue"
17:31:20 <Samu> i could add another
17:31:43 <Samu> assert(!towns_used.HasItem(nearest_town) && town == nearest_town);
17:31:46 *** wodencafe has joined #openttd
17:32:29 *** KouDy has quit IRC
17:39:19 *** Progman has joined #openttd
17:46:51 <Samu> no asserts so far
17:46:57 <Samu> it's looking good :)
17:50:44 *** Thedarkb-T60 has quit IRC
17:51:30 *** Thedarkb-T60 has joined #openttd
17:56:05 *** Gja has joined #openttd
17:58:16 <Eddi|zuHause> so, my distorted sound problems seem to be an instance of https://bugs.winehq.org/show_bug.cgi?id=39814
17:58:24 <Eddi|zuHause> at least the workaround there seems to work so far
18:01:03 *** wodencafe has quit IRC
18:01:35 *** NoMorePacers_ has quit IRC
18:06:12 *** andythenorth_ has joined #openttd
18:06:24 *** Thedarkb-T60 has quit IRC
18:08:48 *** andythenorth_ has quit IRC
18:09:25 <Samu> Alberth: how do I get the cost of a refit for an aircraft I don't yet own?
18:10:06 <Samu> I need to know the cost of an aircraft + the cost of it refiedt to mail before buying it
18:10:13 <Samu> refited*
18:11:14 <Alberth> why not buy it if it is cheap enough, and then query refit. If it is also cheap enough, refit, else sell the aircraft
18:11:57 <Samu> aircraft refit price isn't that cheap
18:12:07 <Samu> at least for the original aircraft
18:12:11 <Alberth> I am not sure it is possible to query refit before owning it
18:12:36 <Alberth> if you cannot afford to buy it, knowing refit cost is no good either :)
18:12:57 <Samu> hmm, good idea
18:13:18 <Samu> buy it, try to refit, fail, sell, destroy airports... rip money :(
18:13:53 *** wodencafe has joined #openttd
18:14:52 <planetmaker> yeah... initially aircraft can be quite expensive :)
18:15:50 <Alberth> I don't even see a function for refit cost if you own the aircraft
18:16:10 <Samu> there is a AITestMode thing
18:16:22 <Samu> i fake refit it
18:16:29 <Samu> and AIAccounting gives me the price
18:16:34 <Alberth> can't fake buy it?
18:16:48 <Samu> i have to actually have the aircraft :(
18:18:24 <Samu> gonna test my ai in a 4k map, i expect bad profits for very very long distances
18:18:41 <Samu> eh, not really mine, but
18:18:48 <Alberth> you can buy it in an existing airport once for testing
18:20:17 <Samu> last_refit_cost_test
18:20:23 <Samu> u gave me an idea
18:20:27 *** Flygon_ has quit IRC
18:20:45 <Samu> if i can actually refit the first aircraft, of course
18:22:00 <Samu> wondering if the refit cost is equal to all aircraft
18:22:04 <Samu> models
18:25:12 *** wodencafe has quit IRC
18:25:45 *** wodencafe has joined #openttd
18:28:14 <Alberth> keep a table for all models, using the largest one you found so far if you don't know
18:30:16 *** KouDy has joined #openttd
18:31:16 *** Thedarkb-T60 has joined #openttd
18:35:59 *** KouDy has quit IRC
18:36:54 *** frosch123 has joined #openttd
18:40:18 *** NoMorePacers_ has joined #openttd
18:40:38 <Samu> this is what it looks like at the moment
18:40:39 <Samu> https://paste.openttdcoop.org/pqdtmtd9t
18:44:07 <Samu> oh, you might want to take a look at TownAirportRadRect(a, town);
18:44:39 <Samu> and the checkadjacent stuff
18:47:22 <Samu> https://paste.openttdcoop.org/pyr4ojjgt there
18:47:45 <Samu> the estimateTownRectangle function was from LuDiAI code
18:47:51 <Samu> it is untouched
18:49:35 *** KouDy has joined #openttd
18:52:03 *** wodencafe has quit IRC
18:52:36 <planetmaker> quak
18:53:17 <frosch123> moi
18:53:30 <planetmaker> https://github.com/OpenTTD/OpenTTD/pull/6885 <-- your comment there seems to indicate that you're not happy with that PR, frosch123? I believe it's two separate issues: a) size of persistent storage. b) how to indicate version for NewGRFs
18:53:41 <planetmaker> The latter is out-of-scope for that PR, I think
18:54:21 <planetmaker> and honestly I'd solve the issue of version reported to NewGRFs identical to savegame version. Just another constant incremented when needed
18:54:52 <frosch123> i think the stable version is sufficient
18:55:13 <planetmaker> if we change nothing, that's what we already have, yes
18:55:14 <frosch123> there is also just one define each to check for c++11/14/17
18:55:32 <frosch123> noone would start testing development versions of compilers
18:56:08 <planetmaker> ok, what does your comment aim at? the _ttdpatch constant?
18:56:45 <frosch123> yes, the pr adds a method for newgrf to test for a specific feature
18:56:58 *** Wormnest has joined #openttd
18:57:06 <planetmaker> hm, ok, fair enough. Not really needed
18:57:16 <planetmaker> and actually bloat in that way of argument
18:57:32 <frosch123> i think noone would ever check that flag in 10 months
18:57:45 <planetmaker> yeah
18:57:53 <frosch123> if people need it now, they should just check for 1.9
18:57:57 <planetmaker> andy would maybe :P
18:58:09 <planetmaker> but then... he would just assume the feature is there :D
18:58:13 <planetmaker> if it's 1.9
19:00:01 <Samu> hmm the original WrigthAI.nut of LuDiAI was 445 lines, my version contains 761
19:00:09 <Samu> I think I overcomplicate too much
19:00:15 *** wodencafe has joined #openttd
19:00:34 <Samu> it was supposed to be a fixed LuDiAI, and now it's becoming something extra :(
19:00:49 <planetmaker> Samu, : :) instead of :( !
19:01:27 <planetmaker> sometimes the seemingly easy improvement needs more work than it made you believe :)
19:01:46 <planetmaker> especially when it comes to teaching computers some kind of "intelligence"
19:02:02 <frosch123> planetmaker: anyway, it is no big deal. there is tons of old cruft in newgrf, adding a bit does not make it worse
19:02:12 <Samu> :|
19:02:17 <planetmaker> it's adding a new byte ;)
19:02:28 <frosch123> i was mostly surprised that ottd had twice as many ttdpflags as ttdp
19:02:49 <frosch123> which i think was someone miscounting :p
19:04:06 <planetmaker> :)
19:04:37 <planetmaker> https://github.com/OpenTTD/OpenTTD/pull/6886 <-- shouldn't that be merged?
19:05:10 <frosch123> wait for tomrrow please
19:05:40 <planetmaker> release day?
19:05:54 <frosch123> on friday we have some chitchat meeting at work, and tomorrow i talk about the gh workflow
19:05:58 <frosch123> and i use that one as example :p
19:06:07 <planetmaker> :D :D
19:06:29 <planetmaker> that is a fair and good reason coming as surprise :)
19:10:31 *** Supercheese has joined #openttd
19:12:18 <frosch123> i need a trivial issue, to point out that prs are done for everything
19:12:32 <frosch123> but i did not want to look up a ln issue
19:18:04 <Eddi|zuHause> haha :p
19:18:13 <Eddi|zuHause> did we fix earrings yet?
19:24:06 <peter1138> :S
19:27:09 *** wodencafe has quit IRC
19:32:07 <planetmaker> hm, do those folks know that *you* made that PR? :D
19:33:28 <peter1138> Also shows that for trivial issues, PRs mean it takes ages to get resolved ;p
19:33:49 <frosch123> planetmaker: yes
19:34:17 <frosch123> since i also show the origin branch
19:35:14 <frosch123> peter1138: a sister subsidiary wants to start using bitbucket, and they want to do PR review by sitting next to each other
19:35:26 <planetmaker> eh
19:35:36 <planetmaker> sounds... unnecessarily complicated
19:35:50 <frosch123> i am not sure whether those who came up with that ever used it
19:36:34 *** Thedarkb-T60 has quit IRC
19:37:02 <Alberth> that's how yo do or discuss a review on paper, right? :)
19:37:15 <Alberth> what else would change :p
19:37:23 <planetmaker> hehe
19:37:29 <frosch123> maybe they even want to do it on paper
19:37:44 <frosch123> they are kind of scared that management reads reviews and judges people
19:37:57 <frosch123> they made rules who is allowe to read reviews
19:38:13 <planetmaker> fair enough. Bad management could us it against you
19:38:38 <frosch123> i have no idea how they really want to do stuff
19:38:48 <planetmaker> Yet if that is a concern, the online version won't be used like it should / could be used. The sissor is then already in the heads
19:38:54 <frosch123> but at least they use git, while in my place everything is svn :p
19:38:58 <Samu> as expected, in a 4k map, it is failing, it's creating too many routes with 4000+ tiles distance
19:39:12 <frosch123> planetmaker: i am very sure it is self-hosted
19:39:52 <Samu> looks like i need a mean to calculate a max distance per route? per airplane model?
19:39:53 <planetmaker> uh, yes. But that doesn't change it, does it?
19:40:12 <planetmaker> Samu, yes, there's a NewGRF property even which restricts maximum travel distance for airplanes
19:40:29 <planetmaker> not for default planes. But some from some pikka sets are restricted in distance
19:42:07 <Samu> oh rats
19:42:17 <Samu> forgot about that "detail"
19:44:42 <planetmaker> Samu, but probably you want a distance restriction anyway... or maybe rather travel *time* restriction. Too long is not profitable either
19:45:20 *** sparch has quit IRC
19:45:29 <Samu> https://imgur.com/2HqmMxl - scary
19:46:04 <Samu> estimating 136 aircraft for a route, lol
19:46:45 <Samu> ok, gonna have to think about the max distance
19:48:20 <Samu> will take a look at those that profit valiantly, and then calculate the distance
19:49:07 <Samu> then i use that distance as the max_distance
19:49:28 <Samu> it will have to "learn from mistakes" at first
19:49:37 <Samu> hmm
19:52:39 *** wodencafe has joined #openttd
19:53:34 *** HerzogDeXtEr has joined #openttd
19:54:57 <Samu> @calc 933 + 3094 - 855 - 2372
19:54:57 <DorpsGek> Samu: 800
19:55:05 <Samu> 800 tiles
19:55:20 <Samu> heh... 5423 in that screenshot lol
20:05:56 *** tokai has joined #openttd
20:05:56 *** ChanServ sets mode: +v tokai
20:09:58 *** Thedarkb-T60 has joined #openttd
20:12:44 *** tokai|noir has quit IRC
20:13:27 <Samu> @calc 1524 + 1101 - 1238 - 454
20:13:27 <DorpsGek> Samu: 933
20:27:39 *** Gja has quit IRC
20:32:41 *** Thedarkb-T60 has quit IRC
20:33:11 *** Thedarkb-T60 has joined #openttd
20:44:39 *** glx has joined #openttd
20:44:39 *** ChanServ sets mode: +v glx
20:47:57 *** gelignite has joined #openttd
21:22:05 <Samu> ok, the learning of the max_air_distance is done. I thought this would be more complicated to code in
21:22:45 <Samu> restarting the 4k map, will see what it will come up with
21:23:40 <Samu> @calc 4096 + 4096
21:23:40 <DorpsGek> Samu: 8192
21:23:51 <Samu> well, i put it starting at 10000
21:23:54 <Samu> should be enough
21:41:15 *** wodencafe has quit IRC
21:41:28 *** wodencafe has joined #openttd
21:51:02 *** andythenorth has joined #openttd
21:52:40 <andythenorth> o/
21:53:52 *** gelignite has quit IRC
21:55:52 *** Thedarkb-T60 has quit IRC
21:56:18 *** Thedarkb-T60 has joined #openttd
22:01:45 <Eddi|zuHause> ah, the daily game of "where the hell did i put my mouse 10 minutes ago?"
22:02:37 <andythenorth> cat?
22:03:02 <Eddi|zuHause> different kind of mouse :p
22:04:07 <Eddi|zuHause> for some completely unknown and mysterious reason, cats are totally uninterested in things that don't move on their own :p
22:04:36 <Alberth> tie a cord to it, so you can find it again
22:05:15 <Alberth> likely cats just consider it bad smelling
22:05:18 <Eddi|zuHause> how 20 years ago :p
22:06:03 <Eddi|zuHause> one could consider putting a phone core in, to make it ring when you lose it :p
22:06:16 *** synchris has quit IRC
22:06:37 <Alberth> nah, it should be sentient, and make itself available when you need it
22:06:58 <Eddi|zuHause> "alexa, spawn my mouse"
22:07:31 <Alberth> night
22:07:56 *** Alberth has left #openttd
22:08:14 <andythenorth> is it bluetooth?
22:08:53 <Eddi|zuHause> it's certainly 2.4GHz, no idea if it's bluetooth
22:09:29 <Eddi|zuHause> it is not configurable
22:11:05 <Eddi|zuHause> i once wanted to warranty-replace the mouse, and they demanded also the dongle and the keyboard, because you can't change the code in the dongle to match the new mouse
22:11:19 <andythenorth> it meeds a tiny speaker in it
22:11:28 <andythenorth> needs *
22:11:43 <Eddi|zuHause> or one of those force-feedback things that gamepads have
22:12:00 <andythenorth> then it could also simulate the tiny squeak that ball mice used to have
22:12:07 <andythenorth> when they were dirty
22:12:32 <andythenorth> my trackpad has a tiny speaker for the click sound :p
22:12:45 <Wolf01> You mean apple mice?
22:12:58 <Wolf01> Because my mice didn't squeak
22:13:23 <Eddi|zuHause> i don't remember ever consciously noticing a mouse squeaking
22:13:38 <andythenorth> maybe I imagined it
22:13:52 <andythenorth> it’s 25 years ago
22:17:50 *** Thedarkb-T60 has quit IRC
22:22:36 <andythenorth> so
22:23:04 <andythenorth> I need a name for an urban economy
22:23:12 <andythenorth> many town cargos
22:23:32 <andythenorth> which is balanced by a lot of farm / food production
22:23:48 <andythenorth> and building materials
22:24:09 <andythenorth> Metropolis?
22:33:24 <Eddi|zuHause> i would save that for one that needs massive amounts of workers each shift
22:34:37 <andythenorth> hmm
22:34:49 <andythenorth> Coffee Town
22:36:29 <andythenorth> Retail Therapy
22:36:38 <andythenorth> Modern Life is Rubbish
22:36:41 <Eddi|zuHause> Farmville
22:36:48 <Eddi|zuHause> Stardew Valley
22:37:17 <Wolf01> Farm simulator 2018
22:38:12 <Wolf01> And that reminds me I should unlock steam locos on train mechanic simulator
22:38:41 <Eddi|zuHause> what did you have before? muscle operated locos?
22:38:56 <Wolf01> No, starts with diesel :(
22:39:03 <Eddi|zuHause> how backwards
22:39:09 <Wolf01> Then lectric and at last steam
22:39:13 <Wolf01> *electric
22:39:52 <andythenorth> Sim City?
22:40:10 <andythenorth> City Skylines?
22:40:57 <Eddi|zuHause> Farmers Market
22:41:56 <andythenorth> A Town Like Alice
22:42:08 <Eddi|zuHause> no clue what that refers to
22:43:24 <andythenorth> it’s a book about an Australian Outback town that grows
22:43:35 <andythenorth> I recently read it :p
22:45:45 *** rocky113844 has joined #openttd
22:45:47 <andythenorth> Market Square
22:45:55 <andythenorth> Gas, Food, Lodging
22:46:48 <Wolf01> Operation market garden... fruit, vegetables, tanks
22:47:02 <andythenorth> oof :p
22:47:07 <andythenorth> well played
22:48:39 <andythenorth> I wonder what climate it will be
22:48:47 <andythenorth> probably temperate
22:52:29 <Wolf01> Shit, half of the train damaged and they want it to be repaired for $1500
22:53:20 <andythenorth> Urban Jungle?
22:53:31 <Eddi|zuHause> are those italian prices? :p
22:54:18 <Eddi|zuHause> "I won this contract for 6 million, let's subcontract to someone that does it for 4 million, and keep 2 million profit without doing anything"
22:54:22 *** rocky113844 has quit IRC
22:54:28 *** rocky113844 has joined #openttd
22:54:45 <Wolf01> Seem so
22:54:54 <Eddi|zuHause> and that guy does "hey, i got this contract for 4 million, let's subcontract it for 3 million, and keep 1 million profit without doing anything"
22:55:00 <Eddi|zuHause> and so on...
22:56:06 <Eddi|zuHause> then the original person was expecting work done in the value of 6 million, but actual work was only done for 1.5 million, other money just disappeared in some pockets
22:56:12 <Wolf01> I can't even repair all the parts asdfasdfasg :D
22:58:13 *** frosch123 has quit IRC
23:00:34 <Samu> i have a problem with the max_distance, grrr
23:00:41 *** sim-al2 has quit IRC
23:00:46 <Samu> i'm only picking the best 10 towns :(
23:01:12 <Samu> sometimes those 10 towns are not within min-max interval
23:01:32 <Samu> it ends up never building anything
23:03:09 <Wolf01> Yes, $600 for a 10 amp fuse is ridiculous, and this game doesn't even allow to have a stash of parts to repair and resell, or keep money between jobs :(
23:03:54 <Eddi|zuHause> a 10 amp fuse? what everyone has in their home?
23:04:18 <Wolf01> It's for automotive, but same
23:05:22 <Wolf01> Managed to destroy 2 of them trying to repair
23:05:31 <Wolf01> But the other ones are now like new
23:05:51 *** andythenorth has quit IRC
23:06:22 *** andythenorth has joined #openttd
23:06:42 <andythenorth> reviews of that game are...mixed :)
23:07:08 <Wolf01> No bonus, out of budget :(
23:07:28 <Wolf01> Was paid only $750
23:07:44 <andythenorth> hmm bed :)
23:07:47 *** andythenorth has quit IRC
23:24:14 <Samu> daym, 4k maps really expose the weaknesses of the ai
23:25:39 <Samu> the first 10 routes all have distances of about 4000+
23:25:43 <Samu> he's gonna bankrupt
23:27:02 <Samu> he cannot learn :(
23:27:07 <Samu> with a bad start
23:27:11 <Samu> bah
23:27:28 *** KouDy has quit IRC
23:31:44 *** NoMorePacers_ has quit IRC
23:40:47 *** Wormnest has quit IRC
23:47:11 <Wolf01> Ok, unlocked steam depot, not it can rest there for 2 or 3 months
23:47:16 <Wolf01> *now
23:47:16 *** Progman has quit IRC
23:48:08 *** snail_UES_ has joined #openttd
23:54:20 *** sim-al2 has joined #openttd
23:56:56 *** Thedarkb-T60 has joined #openttd