IRC logs for #openttd on OFTC at 2018-03-07
⏴ go to previous day
00:08:47 *** FLHerne has joined #openttd
00:23:00 *** Thedarkb has joined #openttd
00:36:22 *** snail_UES_ has joined #openttd
02:36:42 *** FLHerne has joined #openttd
07:52:17 *** HerzogDeXtEr has joined #openttd
12:31:49 *** FLHerne has joined #openttd
12:54:48 *** ChanServ sets mode: +v tokai
13:38:49 *** chomwitt has joined #openttd
13:53:47 *** snail_UES_ has joined #openttd
14:14:47 *** tokai|noir has joined #openttd
14:14:47 *** ChanServ sets mode: +v tokai|noir
15:45:15 *** Gustavo6046 has joined #openttd
16:17:24 <supermop_work_> apparently my RV set has a bug whereby it disables default vehicles as intended....
16:30:12 *** techmagus has joined #openttd
16:31:21 *** Alberth has joined #openttd
16:31:21 *** ChanServ sets mode: +o Alberth
16:59:41 <Eddi|zuHause> your bug is that it works as intended? that is a really tricky one to solve
17:02:58 *** synchris has joined #openttd
17:04:33 <Eddi|zuHause> so my current working theory is that somebody directly involved with valve tried out portal 2 on some supercomputer cloud thingie for "testing", and then they had to fix the bug to get it working
17:05:28 <LordAro> Eddi|zuHause: "the bug"?
17:05:42 <Eddi|zuHause> the bug. of the last portal 2 patch
17:28:04 <Eddi|zuHause> don't have steam running right now
17:59:05 *** TheMask96 has joined #openttd
18:06:15 <supermop_work_> i have steam very loudly running out of a radiator valve in my office right now
18:10:01 <Eddi|zuHause> just pretend you're at a train station and you're watching an old steam engine
18:23:00 <supermop_work_> sometimes you try to add easter eggs to names, and someone demands that you instead use the original vehicle names
18:23:11 <supermop_work_> forcing you to spoil the joke
18:24:26 *** frosch123 has joined #openttd
18:34:09 *** HerzogDeXtEr has joined #openttd
18:41:53 *** andythenorth has joined #openttd
18:43:13 <supermop_work_> yo andythenorth
18:43:15 <andythenorth> supermop_work_: what time span does MGNRTRV cover?
18:43:25 <andythenorth> 1850-2050 or something?
18:43:41 <supermop_work_> but mostly 1900-2000
18:44:12 <supermop_work_> last tram is 2040 or 45
18:44:32 <supermop_work_> but it could be 1830 i guess
18:45:34 <andythenorth> I posted in thread
18:46:17 <supermop_work_> i assure you there are more than 'about 5' generations
18:47:20 <supermop_work_> also uprading trucks every decade is a pain
18:48:41 <supermop_work_> nfc how to respond to request for original vehicle names though
18:50:16 <supermop_work_> i mean other than ' i dont want to and no one else does'
18:50:28 <supermop_work_> thats about all there is to say
18:50:34 <andythenorth> I make things my way
18:50:40 <andythenorth> and I seek feedback where I want feedback
18:50:52 <andythenorth> and in other cases, I can point to the repo and GPL
18:51:14 <andythenorth> and there are at least 3 FIRS forks I'm aware of
18:51:18 <andythenorth> and at least one fork of FISH
18:51:37 <andythenorth> are your sets on devzone yet? Or github?
18:51:52 <supermop_work_> codes still too messy
18:52:12 <andythenorth> see original HEQS :P
18:52:24 <supermop_work_> have to hide from wife or she'll make fun of it
18:55:03 <supermop_work_> trams are all very melb influenced
18:55:21 <supermop_work_> might need american/english/HK rosters
18:57:16 <supermop_work_> with bow collectors or double armed pantos instead of trolley poles
19:00:45 * andythenorth might need a nap
19:05:16 <Alberth> a small nap, and some tea :)
19:07:42 *** chomwitt has joined #openttd
19:09:11 <supermop_work_> double espresso redeye
19:09:45 <andythenorth> I need to fix NRT :(
19:18:37 <peter1138> Anyone had to revert anything I did yet? :p
19:19:36 *** stefino has joined #openttd
19:19:52 *** Progman has joined #openttd
19:22:48 <andythenorth> ho you made commits
19:22:54 <andythenorth> I should merge to NRT
19:23:55 <frosch123> is there a method to delete the word "bounding box" from the world?
19:24:06 <andythenorth> do bounding boxes do anything?
19:24:13 <andythenorth> I have the impression they're meaningless
19:24:21 <frosch123> yes, they are very meaningless
19:25:03 <stefino> so I can't change foreground/background with boxes size
19:26:23 <stefino> frosch123: so how does it call? :D these boxes?
19:26:34 <frosch123> they have no meaning
19:26:39 <andythenorth> in FIRS I found that setting all zextent, yextent etc to 16 resolved numerous sprite flickering bugs
19:26:57 <andythenorth> previously they were set to size of sprites, or arbitrary nonsense values
19:28:38 <stefino> in the picture you can see that pylons from catenary are covered by platforms roofs
19:29:18 <stefino> this is our problem and our coder said that it could be due small boxes...so it doesnť
19:32:36 <frosch123> sorting problems are caused by overlapping boxes
19:32:40 <frosch123> smaller boxes make it better
19:32:59 <frosch123> reduce the width of the bottom platform boxes
19:37:09 <stefino> okey, we will try it :)
19:37:43 <frosch123> essentially there are two methods to sort boxes
19:38:08 <frosch123> boxes of same size can be sorted by barycenter (which is done by modern games with "pixel sized" boxes)
19:38:23 <frosch123> boxes of different size can be sorted if they do not overlap and do not form a circle
19:38:51 <frosch123> boxes of different size which overlap are always broken
19:39:37 <stefino> okay okay, I'll send it to our coder and try to do it :)
19:47:13 <andythenorth> so did we decide I need to unify RoadVehUpdateCache and CargoChanged?
19:53:54 *** Biolunar has joined #openttd
20:19:24 *** Thedarkb has joined #openttd
20:22:14 *** sla_ro|master has joined #openttd
20:22:25 <supermop_work_> my buses have 'much other flaws'
20:24:36 <frosch123> can you squareroot the amount?
20:38:52 *** ToBeFree has joined #openttd
20:41:59 *** gelignite has joined #openttd
20:42:07 *** JacobD88 has joined #openttd
20:47:13 <Wolf01> Ok, lego parts arrived, time to finish the diorama
20:50:45 <andythenorth> supermop_work_: probably better I don't reply?
20:52:03 <andythenorth> I don't get on with acs121
20:52:21 <andythenorth> I was putting it down to a language barrier, but I think this person is just an ass tbh
20:52:39 <andythenorth> I still don't understand why Unsinkable Sam is a problem
20:53:58 <supermop_work_> also i mean there are 8 generations of buses in game
20:54:37 <andythenorth> forums is as forums does
20:56:48 <andythenorth> should we require ships to follow sealanes?
20:56:52 <andythenorth> rather than just bouys?
20:57:05 <andythenorth> sealanes would have to be constructed by player
21:03:26 <Eddi|zuHause> but we need to cache ship paths in the buoys, so you don't have to rerun the pathfinder for ships
21:03:48 <Eddi|zuHause> essentially ships would do PBS-reservations
21:04:10 <Eddi|zuHause> which now means ship paths cannot cross
21:04:26 *** gelignite has joined #openttd
21:05:35 <andythenorth> interesting use of objects
21:07:47 <Eddi|zuHause> buoys are probably better placed in tile corners
21:07:55 <Eddi|zuHause> instead of in the middle
21:08:44 <frosch123> how weird, i am used to andy posting images with 4x zoom, this seems to be zoomed out
21:09:41 <Eddi|zuHause> because it's not posted by andy?
21:10:18 <andythenorth> I actually do 2x zoom, but my screen is hidpi
21:10:23 <andythenorth> so that doubles the pixels
21:11:01 <frosch123> Eddi|zuHause: andy posted it here
21:11:26 * andythenorth is busy avoiding RoadVehUpdateCache
21:16:40 <andythenorth> the reason I'm not sure about consolidating CargoChanged into RoadVehUpdateCache
21:16:49 <andythenorth> is that sometimes CargoChanged is called conditionally
21:16:54 <andythenorth> and sometimes not
21:17:04 <andythenorth> and that would appear to be significant, at first glance
21:25:39 <frosch123> it's not about never calling CargoChanged
21:25:53 <frosch123> it's about always calling CargoChanged when UpdateCache is called
21:27:22 <andythenorth> L328 if (_settings_game.vehicle.roadveh_acceleration_model != AM_ORIGINAL) v->CargoChanged();
21:27:26 <andythenorth> is that optimising much?
21:27:34 <andythenorth> or can the conditional just be removed?
21:27:43 <andythenorth> it's called in CmdBuildRoadVehicle
21:28:15 <frosch123> i would rather expect it to crash or something when original acceleration is enabled
21:28:48 <andythenorth> also it's not limited to the first vehicle there
21:29:00 <frosch123> but argueably it would then also crash when called via UpdateCache :p
21:29:11 <frosch123> anyway, i have no idea
21:29:29 <frosch123> the names are all glibberish, one would have to look at the details
21:34:20 <andythenorth> I am going to ship it with calls to both functions and wait for more bug reports
21:34:37 <andythenorth> I don't like refactoring things I don't have knowledge of
21:34:46 <andythenorth> there aren't tests, right? o_O
21:35:33 <Eddi|zuHause> what kind of tests?
21:44:48 <andythenorth> regression tests
21:55:30 <Wolf01> andythenorth: not sure what you are doing there, just call both CargoChanged and RVUpdateCache in the right order in the remaining places wasn't enough?
21:56:33 <andythenorth> it's probably enough yes
21:56:55 <andythenorth> frosch recommended code quality improvements
21:58:08 <Wolf01> Not at the same time as bufixes
21:58:34 <Wolf01> Refactoring and bugfix don't go well together
21:59:36 <andythenorth> I'll fix whitespace and push
22:09:56 <DorpsGek> andythenorth: Error: unexpected EOF while parsing (<string>, line 1)
22:10:07 <andythenorth> my os calculator parses 14(3/5
22:27:25 <andythenorth> it's inferring what the operators should be I think
22:28:01 <Wolf01> Yeah, it does, but the missing ) :(
22:28:38 <andythenorth> I really disagree with treating order of operations as a convention
22:29:14 <DorpsGek> Wolf01: Error: invalid syntax (<string>, line 1)
22:29:15 <andythenorth> I'm probably weird
22:29:33 <andythenorth> someone should do a calculator with emoji for april fools
22:29:58 <Wolf01> I didn't see a lot of numbers in the latest years of school
22:30:36 <andythenorth> a^2 = b^2 + c^2 / 2a
22:30:45 <Wolf01> Also, diorama seem to be finished
22:31:04 <andythenorth> you can be responsible for lego profits going up
22:31:13 <Wolf01> Now I need to print the "you are seeing" guides
22:31:30 <Wolf01> I was responsible for lego profits going down for sure
22:31:42 <Wolf01> I almost stopped purchasing last year
23:02:20 *** sla_ro|master has joined #openttd
23:05:23 <Eddi|zuHause> andythenorth: you're probably missing some ()
23:09:28 *** sla_ro|master has joined #openttd
23:10:45 <andythenorth> I was *never* taught order of operations in school or university
23:11:15 <andythenorth> I only learnt about it from one of those stupid facebook '99% of people get this sum wrong' memes
23:11:32 <andythenorth> I am reading more about it, it's bonkers
23:11:57 <andythenorth> they literally have these stupid rules with acronyms to remember them
23:12:02 <andythenorth> just to avoid parentheses
23:12:12 <andythenorth> and the rules are really confusing to parse
23:20:19 *** sla_ro|master2 has joined #openttd
23:23:54 *** supermop has joined #openttd
23:24:18 <supermop> Wolf01: would you do an italian translation for me?
23:24:41 <supermop> mostly so i can say i don't need one from forum guy?
23:24:56 <andythenorth> have you got eints hooked up yet?
23:25:07 <supermop> not much to translate in my grf
23:25:23 <supermop> andythenorth: no, i think i'd need better code for that?
23:25:46 *** sla_ro|master has joined #openttd
23:25:54 <supermop> i just need the parameter descriptions translated i think - don't think brand names should be translated
23:26:17 <andythenorth> you have lang files?
23:27:36 <andythenorth> if you get a devzone repo, it's possible to eints then
23:28:18 <andythenorth> eints just reads the default lng file, offers it for translation, and writes other lng files back to the repo once daily
23:28:28 *** sla_ro|master2 has quit IRC
23:35:15 *** andythenorth has joined #openttd
23:35:46 <andythenorth> @calc 1+1+1+1+1+1+1*0
23:36:13 *** andythenorth has left #openttd
23:36:18 <LordAro> bro do you even bodmas
23:37:46 *** Thedarkb has joined #openttd
23:45:40 *** extspotter has joined #openttd
continue to next day ⏵