IRC logs for #openttd on OFTC at 2016-10-10
            
00:23:31 *** Gja has quit IRC
00:40:54 *** Wormnest has quit IRC
00:42:46 *** Biolunar has joined #openttd
00:47:44 *** NGC3982 has quit IRC
00:47:57 *** NGC3982 has joined #openttd
00:57:11 *** Lejving_ has joined #openttd
00:57:59 *** Supercheese has quit IRC
01:01:01 *** Lejving has quit IRC
01:24:44 <Wolf01> 'night
01:24:48 *** Wolf01 has quit IRC
01:31:44 *** Biolunar has quit IRC
01:44:53 *** Lejving_ is now known as Lejving
02:11:49 <Samu> https://www.tt-forums.net/viewtopic.php?f=65&t=75144&p=1174945#p1174945 - better presentation of parameters and score, what u think?
02:12:23 <Samu> also did the same for aircraft https://www.tt-forums.net/viewtopic.php?f=65&t=75174
02:12:38 <Samu> have yet to do trains and road, will take more work
02:22:24 *** Snail has quit IRC
02:26:11 <Samu> trains https://www.tt-forums.net/viewtopic.php?f=65&t=75027&p=1172829#p1172829
02:26:33 <Samu> road vehicles won't be ready, need a few more days
02:26:47 <Samu> im currently testing 2 road ais and they've not finished
02:45:11 *** Samu has quit IRC
03:08:49 *** Myhorta has quit IRC
03:26:37 *** tokai|noir has joined #openttd
03:26:37 *** ChanServ sets mode: +v tokai|noir
03:31:46 *** Fuco has joined #openttd
03:31:48 *** KouDy_ has joined #openttd
03:33:19 *** tokai has quit IRC
03:33:35 *** KouDy has quit IRC
03:33:42 *** Fuco_ has quit IRC
03:55:39 *** Snail has joined #openttd
04:35:50 *** glx has quit IRC
05:37:57 *** Snail has quit IRC
05:52:59 *** Sylf has quit IRC
05:53:12 *** Sylf has joined #openttd
06:45:31 *** smoke_fumus has quit IRC
06:52:01 *** keoz has joined #openttd
08:13:02 *** keoz has quit IRC
08:38:46 *** keoz has joined #openttd
09:34:27 *** Wolf01 has joined #openttd
09:34:33 <Wolf01> o/
09:37:44 *** keoz has quit IRC
10:01:08 <Wolf01> V453000, liquid wagon is yours?
10:10:03 *** Smedles has joined #openttd
10:27:36 *** Biolunar has joined #openttd
10:34:38 <Wolf01> I'm trying to figure out why a road depot needs an owner for depot and one for road piece
10:36:03 <Eddi|zuHause> wouldn't a difference there result in indestructible depots, since you can't bulldoze a depot, only dynamite it?
10:38:59 <Wolf01> Stations use the same but only for roadstops which makes sense
10:40:49 <Wolf01> Maybe this could be abused for drive through depots, for service purpose, not purchasing/stop, like heliports
10:41:24 <Eddi|zuHause> well. what happens if you try to build a depot on a half-tile road owned by someone else/town?
10:41:47 <Wolf01> Right
10:42:02 <Wolf01> There's that case too
10:42:33 <Wolf01> But if you dynamite the depot, you also remove the road bit?
10:42:56 <Wolf01> I never tried that
10:43:51 <Eddi|zuHause> that's what i would expect dynamite to do
10:43:52 *** JacobD88 has joined #openttd
10:45:24 <Wolf01> But if you aren't the road bit owner you shouldn't be allowed to dynamite the tile
10:45:57 <Eddi|zuHause> yes, that's why i asked about this case.
10:46:37 <Wolf01> Mmmh, I'll think about it, must go out for a commission now
10:47:12 *** Samu has joined #openttd
10:47:17 <Samu> hi
11:46:17 *** Myhorta has joined #openttd
11:48:17 <V453000> Wolf01: no, Albert's work :) I am working on the rails, they are a total technical hell
11:56:54 <Wolf01> o/
11:57:12 <Samu> so i heard this Hana girl - https://www.youtube.com/watch?v=MHNb1k7YxeA - , and it quickly reminded of Delerium https://www.youtube.com/watch?v=lUTjXjYuW3g
11:57:53 <Wolf01> Nice, V, it seem you have a lot of work for 0.15
11:57:59 <Samu> plagium much
11:58:32 <V453000> yes, fuckload
11:58:56 <V453000> & most things in hires
11:59:24 <Samu> oh, plagiarism, i dunno the english word for it
12:00:32 <Samu> yes, plagiarism is the correct word, my bad
12:00:50 <Wolf01> I won't surprise if the music is a "stock" music, but even the sing style is the same
12:02:45 <Wolf01> Mmmh, I think I lost the part which tells me "where to put the roadtypes bits"
12:02:48 <Samu> inb4 Delerium invites Hana
12:03:08 <Samu> with vocals like that...
12:03:37 <Wolf01> Spec says m8 which is a typo error, there's m4 free for *clear* road, but I need 8 bits free always
12:03:41 <Samu> and then it's no more plagiarism
12:03:52 <Samu> typical Delerium
12:05:08 <Samu> she has the nerve to call the song Chimera, u know there's a Delerium album called exactly that, Chimaera
12:05:20 <Samu> i guess she really wants it
12:05:32 <Wolf01> Also, I need to recognize an invalid roadtype
12:06:46 <Eddi|zuHause> a road type is invalid if it has no road bits?
12:07:40 <Wolf01> No, even before the use on map
12:08:33 <Eddi|zuHause> put a INVALID in the enum, outside of the usual range? (usually INVALID is -1)
12:09:01 <Wolf01> I thought so, but I don't know how asserts will handle that
12:09:21 <Eddi|zuHause> asserts should be fine
12:09:36 <Eddi|zuHause> you should check for INVALID in most places anyway
12:10:00 <Wolf01> The Pack()/Unpack() should be able to set an "invalid id"
12:10:24 <Eddi|zuHause> why?
12:10:41 <Wolf01> Because I store the identifiers in the array
12:10:48 <Wolf01> And not roadtypes
12:11:00 <Wolf01> Then from the identifiers I can get the roadtypes
12:11:22 <Eddi|zuHause> i don't understand
12:12:28 <Samu> https://www.youtube.com/watch?v=B6VUa8z1pQw oh what a coincidence https://www.youtube.com/watch?v=Lc_k_-jRl1w
12:15:46 <Samu> purple hair on both, whatever...
12:15:59 <Samu> i need to shut up
12:16:45 <Wolf01> Eddi, I allocate an array of 16 items for both roads and trams, but I need to tell which items aren't initialized
12:17:51 <Eddi|zuHause> how is that done for railtypes, industries, etc.?
12:19:53 <Wolf01> It uses INVALID_RAILTYPE
12:20:02 <Wolf01> But they only have 1 array, not 2
12:20:34 <Eddi|zuHause> why does that make a difference?
12:20:56 <Wolf01> Because I like to make my life a hell?
12:24:13 <argoneus> good morning train friends
12:28:52 <Samu> i hate trains
12:29:05 <Samu> j/k
12:30:37 <argoneus> banned
12:32:07 <Samu> trains for u https://www.tt-forums.net/viewtopic.php?f=65&t=75027
12:40:24 <Wolf01> Eddi, the problem is that INVALID_ROADTYPE is 0xFF, but I can't store it in the identifier, so I need to use an identifier which unpacks to INVALID_ROADTYPE + INVALID_ROADSUBTYPE (which could be 0xFF too)
12:41:04 <Wolf01> If I use such identifier, we leave room only for 15 roadtypes instead of 16
12:44:30 <Wolf01> For example, if I ask GetRoadTypeByLabel("ETRM", ROADTYPE_ROAD), which mean I'm looking for an electric tram in roads, it should return an invalid RoadTypeIdentifier
12:45:03 <Eddi|zuHause> i still don't understand why that can't be 0xFF
12:45:48 <Wolf01> Pack() will assert
12:46:36 <Eddi|zuHause> then you need to use 8 bits in pack
12:46:45 <Wolf01> And if I check if it's invalid before Pack(), what "uint8" should I expect?
13:03:40 *** sla_ro|master has joined #openttd
13:09:35 *** Gja has joined #openttd
13:20:38 <Samu> i think you need a NONE, rather than INVALID
13:23:07 <Samu> electrified trams
13:23:22 <Samu> aren't they all electric
13:29:36 <Wolf01> You could have horse driven trams and even steam/diesel ones
13:29:53 <Wolf01> http://www.picturesofgateshead.co.uk/postcards_trams2/ophss7w.jpg
13:32:12 <Wolf01> Also, none is already based on trambits, if you don't have trambits you have no tram
13:32:45 <Wolf01> But it's not this the problem, the proble is when I need to ask for the roadtype info
13:41:00 <Wolf01> Where's cat?
13:41:34 <Eddi|zuHause> over there -->
13:41:58 <Eddi|zuHause> but as soon as i move, they will jump up and demand food
13:49:31 <Samu> woah, king of salt
13:49:42 <Samu> that would make a terrible meme pic
13:51:24 <Samu> i'm bored today https://www.youtube.com/watch?v=S0Phf5ANXYI
13:51:27 <Eddi|zuHause> aw crap, i moved :p
13:55:07 *** Myhorta has quit IRC
13:58:04 <Samu> brb
14:34:17 *** Snail has joined #openttd
14:42:32 <Samu> assert (that this is indeed a tram)
14:43:02 <Samu> pre IsTram or something
14:44:04 *** Gja has quit IRC
14:59:28 *** Snail has quit IRC
15:17:54 *** DDR has quit IRC
15:21:56 *** DDR has joined #openttd
15:23:44 *** DDR has quit IRC
15:26:52 *** ivan_ has joined #openttd
16:07:11 *** Alberth has joined #openttd
16:07:11 *** ChanServ sets mode: +o Alberth
16:07:41 <Alberth> moin
16:37:36 <Wolf01> o/
17:45:15 *** frosch123 has joined #openttd
17:45:21 <Alberth> hola
17:49:09 *** TheMask96 has quit IRC
17:49:48 *** TheMask96 has joined #openttd
17:51:01 <frosch123> moi
17:51:26 <Wolf01> Quak
18:04:05 *** Progman has joined #openttd
18:44:08 *** keoz has joined #openttd
18:48:33 *** Arveen has joined #openttd
18:55:03 *** glx has joined #openttd
18:55:03 *** ChanServ sets mode: +v glx
19:08:13 <Samu> RoadAI finished. I got mixed results
19:08:38 <Samu> in comparison to v3, company value rised slightly
19:08:46 <Samu> there's more vehicles profiting
19:09:08 <Samu> but the average profit is slightly less
19:09:21 <Samu> and road usage efficiency is also less
19:09:42 <Samu> meh, statistics
19:10:19 <Samu> there's nothing standing out, i guess not much changed, if anything
19:10:45 <Samu> differences are within 1%
19:12:38 <Samu> waiting for roadrunner
19:19:26 *** TheMask96 has quit IRC
19:21:58 *** TheMask96 has joined #openttd
19:30:48 *** Flygon__ has joined #openttd
19:36:56 <Samu> http://nsis.sourceforge.net/NSIS_False_Positives virustotal.com is there
19:37:36 *** Flygon_ has quit IRC
19:38:48 *** aard has joined #openttd
19:39:51 <Samu> i guess they associate downloading of OpenGFX OpenSFX OpenMSX to something with malicious intent
19:42:58 <Samu> "the Onion communicates with command and control servers located somewhere inside the anonymous network."
19:44:18 <Samu> i wasn't aware openttd used nsis installer
19:45:44 <DorpsGek> Commit by translators :: r27660 trunk/src/lang/portuguese.txt (2016-10-10 19:45:36 +0200 )
19:45:45 <DorpsGek> -Update from Eints:
19:45:46 <DorpsGek> portuguese: 7 changes by Samu
19:46:28 <Samu> http://nsis.sourceforge.net/mediawiki/skins/nsis/logo.gif - that icon does not inspire confidence everytime I see it, I'm scared of openttd now :o
19:51:18 *** Gja has joined #openttd
20:17:31 *** roidal has joined #openttd
20:17:32 *** frosch123 has quit IRC
20:28:37 *** Gja has quit IRC
20:33:25 *** JacobD88 has quit IRC
20:36:47 *** jonty-co1p has quit IRC
20:36:48 *** jonty-comp has joined #openttd
20:44:14 *** andythenorth has joined #openttd
20:45:24 *** Myhorta has joined #openttd
20:45:28 *** roidal has quit IRC
20:52:16 <andythenorth> Tramz!
20:52:28 <Wolf01> Oh, here you are
20:52:30 <Wolf01> Note for andy: props 0x09 to 0x0D are missing from grf, those are the droids I was looking for
20:53:02 <andythenorth> I should get you a working nml :P
20:53:14 <andythenorth> nobody has done nmlc-as-a-web-service? o_O
20:53:46 <andythenorth> Wolf01: I will add them shortly
20:53:53 <andythenorth> assuming it doesn’t need an nmlc patch
20:53:59 <andythenorth> in which case I will add them longly
20:54:04 <Wolf01> Btw, I made some fixes and changes
20:54:30 <Wolf01> Oh, those are just strings, the ones for dropdown, toolbar title and whatever
20:55:46 <andythenorth> ok cool
20:57:09 <Wolf01> I'm trying to make place road work now, it should place a road/tram with catenary but even if the bit is set it doesn't show
20:57:20 <Wolf01> I think it's because it still reference the base one
20:57:46 <Wolf01> Also, where we decided to put the 8 bits for roadtypes?
20:58:13 <andythenorth> m something :P
20:58:45 <Wolf01> I can't remember if m4 or what
20:59:43 <andythenorth> “move the storage to m4 as part of this, and deprecate the two existing road/tram bits”
20:59:58 <andythenorth> that assumes I counted free bits accurately
21:00:07 <andythenorth> possibility I didn’t :P
21:00:27 *** HerzogDeXtEr has joined #openttd
21:01:53 <Wolf01> I should trash my old links to pastes
21:16:01 *** Progman has quit IRC
21:25:42 <andythenorth> Wolf01: try this http://dev.openttdcoop.org/attachments/download/8120/example_roadtype_more_strings.grf
21:26:00 <andythenorth> strings are explicitly labelled to match props
21:26:06 <Wolf01> Thanks
21:26:46 <andythenorth> some work for me
21:26:57 <Wolf01> The dropdown one works
21:27:19 <andythenorth> yup
21:27:27 <Wolf01> The toolbar I think is based on the basetype so it's road
21:27:45 <Wolf01> But it's a step forward
21:28:12 <andythenorth> +1
21:30:41 <Wolf01> Ok, at least now I'm able to build bot road and tram, I should do it step by step
21:30:45 <Wolf01> *both
21:36:38 <andythenorth> Wolf01: I wouldn’t buy this, but it looks great :) http://www.eurobricks.com/forum/index.php?/forums/topic/141463-review-21307-caterham-seven-620r/
21:37:04 <Wolf01> Yes, it has some weird building techniques
21:37:27 <Wolf01> Like the lipsticks to keep the exhaust pipe connected
21:38:53 <Wolf01> \o/ I finally got both tram with catenary and without catenary
21:40:03 <andythenorth> ha ha
21:40:11 <Wolf01> Now I should avoid to overwrite the catenary bit disabling it if I build a road over the tram track
21:40:36 * andythenorth can’t remember if we’re having catenary per both road and tram
21:40:42 <andythenorth> or once per tile
21:40:49 <andythenorth> got notes somewhere
21:41:09 <Wolf01> We initially said multiple catenary tipes
21:41:11 <Wolf01> *types
21:41:55 <andythenorth> yeah
21:43:27 <Wolf01> Ok, seem to work
21:43:48 <Wolf01> I'll commit this
21:45:42 *** Arveen has quit IRC
21:47:43 <Wolf01> Done, you should be able to add a catenary flag to a roadtype
21:55:23 * andythenorth pulls
21:56:26 <andythenorth> no catenary :)
21:56:47 <Wolf01> My second tram type has the catenary
21:57:41 <andythenorth> hmm, I only see one :)
21:57:45 * andythenorth checks
21:58:04 <Wolf01> Because I added one more :P
21:58:25 <Wolf01> I think road doesn't show catenarty yet
22:04:46 <Wolf01> http://imgur.com/a/9c8BP
22:05:06 <Wolf01> Sorry for the jpg :P
22:08:15 *** FLHerne has joined #openttd
22:11:41 <andythenorth> steam tram time
22:12:18 <Wolf01> Why not a horse driven one?
22:12:25 <andythenorth> also
22:12:44 <andythenorth> or stored energy flywheel tram :P
22:12:50 <Wolf01> :D
22:13:00 <Wolf01> Pull-bakc tram
22:13:03 <Wolf01> *back
22:13:13 <andythenorth> clockwork also
22:13:18 <andythenorth> (toyland) :P
22:13:43 <andythenorth> NRT is great for toyland
22:13:46 <Wolf01> Must be 32bpp, need much detail :P
22:13:46 <andythenorth> hotwheels track
22:13:51 <andythenorth> scalextrics track
22:13:54 <andythenorth> lego track
22:14:48 <Wolf01> We could even trash canals and make little barges on wetroad :D
22:21:44 <Wolf01> Uhm, I need to make a GetRoadTypes function, what should it return? The old one returned "RoadTypes" flags, I have 2 structs
22:24:03 <Wolf01> Where's frosch :(
22:26:52 <andythenorth> iirc, GetRoadTypes should tell if it’s street or light rail on the tile (base type)
22:27:01 <andythenorth> and we need GetTramTypes() and GetStreetTypes()
22:27:03 <andythenorth> or so
22:27:16 <andythenorth> and consumers need updated appropriately
22:29:45 <andythenorth> I have this fragment of code in my notes (out of context now)
22:29:54 <andythenorth> static inline bool HasTramType(rt) { return GetTramType(rt) != ROADTYPES_TRAM_INVALID; }
22:30:06 <andythenorth> :P
22:33:43 <Wolf01> Mmmh
22:34:16 <Wolf01> static inline RoadTypeIdentifier GetRoadTypeRoad(TileIndex t)
22:34:17 <Wolf01> {
22:34:17 <Wolf01> return RoadTypeIdentifier(GB(_m[t].m4, 0, 4));
22:34:17 <Wolf01> }
22:34:17 <Wolf01> I did this
22:37:51 *** Alberth has left #openttd
22:42:35 <andythenorth> Wolf01: I need to sleep, but good progess is good :)
22:46:25 <andythenorth> bye
22:46:29 *** andythenorth has quit IRC
23:06:15 *** Myhorta has quit IRC
23:08:42 *** gelignite has joined #openttd
23:13:12 *** sla_ro|master has quit IRC
23:16:27 <Samu> Microsoft Releases Windows 10 Build 14942: Increases RAM Usage
23:16:37 <Samu> Chrome 55 To Intelligently Reduce Memory Usage By As Much Half, When Needed
23:17:34 <Samu> these news next to each other
23:19:41 <sim-al2> >Service hosts are split into separate processes on PCs with 3.5 GB+ of RAM: If your PC has 3.5+ GB of memory, you may notice an increased number of processes in Task Manager. While this change may look concerning at first glance, many will be excited to find out the motivation behind this change. As the number of preinstalled services grew, they began to get grouped into processes known as service
23:19:41 <sim-al2> hosts (svchost.exes) with Windows 2000.
23:20:01 <sim-al2> https://blogs.windows.com/windowsexperience/2016/10/07/announcing-windows-10-insider-preview-build-14942-for-pc/
23:20:21 <sim-al2> Apparently it increases reliability
23:21:21 <Samu> Mafia III requires 8 GB RAM just for the game
23:21:39 <Samu> + windows increases ram usage
23:21:42 <Samu> thx
23:21:55 <Samu> not that i'm buying that game, but gee
23:22:24 <Samu> they're quickly forcing game systems to standardize 16 GB ram quickly
23:23:46 <Samu> they're also making HDDs suck for gaming
23:23:56 <Samu> with their sub-optimal loading
23:24:14 <Samu> sucks to be poor
23:26:42 *** aard has quit IRC
23:36:07 *** keoz has quit IRC
23:42:01 <Samu> so i was thinking
23:42:22 <Samu> what if water tracks were not like rails
23:42:28 <Samu> but like... hmm roads
23:42:52 <Samu> to reduce pathfinder cpu usage
23:42:58 <ST2> or like Rails... gotta love NUTS Wet Rails xD
23:43:49 <Samu> they currently are like raisl
23:44:46 <Wolf01> Rails are like rails
23:45:36 <Samu> each water tile is the same as 6 rail pieces in a tile
23:47:24 <Samu> for pathfinding purposes i guess it doesn't matter,4 road pieces in a tile still have 4 possible directions
23:48:14 <Samu> meh :(i dunno