Back to Home / #openttd / 2019 / 02 / Prev Day | Next Day
#openttd IRC Logs for 2019-02-15

---Logopened Fri Feb 15 00:00:05 2019
00:16-!-supermop_Home [~user@pool-71-105-225-37.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds]
00:44-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
02:07-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
02:07-!-andythenorth is "andythenorth" on #openttd
02:11<andythenorth>moin
02:27<Eddi|zuHause>i can't decipher what this last NRT update failed on. bunch of squirrel warnings and a linker error which is too long to display, but the silly azure log has no linebreak feature and i don't see a "view as text file" link
02:40<andythenorth>Eddi|zuHause: there are artifacts you can download
02:40<andythenorth>top right 'All logs'
02:41<andythenorth>I can't give you the link because Azure isn't written sensibly
02:41<andythenorth>oh wait https://dev.azure.com/openttd/8da578ca-c6cf-47b8-b489-d54a7b188de8/_apis/build/builds/1159/logs?$format=zip
02:41<andythenorth>dunno if that helps though
02:41<Eddi|zuHause>is there a format=txt?
02:42<andythenorth>not for me
02:42<andythenorth>throws an error
02:43<andythenorth>json or zip
02:43<@peter1138>Oh. Hmm.
02:43<@peter1138>Yeah, fails for me. Strange.
02:45<@peter1138>Well, I know why, but it did work for me last night, but now it edoesn't :p
02:45<@peter1138>Ok so it was a bit late.
02:48<andythenorth>hmm
02:48<andythenorth>daylength?
02:48<Eddi|zuHause>so, https://dev.azure.com/openttd/8da578ca-c6cf-47b8-b489-d54a7b188de8/_apis/build/builds/1159/logs/62
02:53<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #6811: Feature: Add NotRoadTypes (NRT) https://git.io/vhlfg
03:02<@peter1138>See, no errors now :)
03:03<andythenorth>\o/
03:04<@peter1138>Mmm fresh raw milk.
03:07<andythenorth>so
03:07<andythenorth>vehicle variants for 1.9.0? o_O
03:17<@peter1138>Unlikely. It's not as ready as NRT is.
03:17<Pikka>andythenorth: no mail in hsts
03:18<@peter1138>https://icograms.com/icons.php
03:18<@peter1138>Pikka, correct.
03:18<andythenorth>such icons
03:18<Pikka>very
03:18<@peter1138>Bit small for a baseset ;(
03:19<andythenorth>do I need a high speed mail car then? :P
03:19<andythenorth>what about pax in HSTs? :P
03:19<Pikka>only livestock and copper ore
03:20<@peter1138>Big cyclists though.
03:26<andythenorth>HSTs with distributed power? :P
03:29<andythenorth>ha ha, I found PACERS.grf
03:33-!-Thedarkb-T60 [~Thedarkb-@86-40-231-4-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
03:38<Eddi|zuHause>i don't know all that much about british trains, but i don't think pacers fall into the "HST" category :p
03:38<andythenorth>so apparently Horse is broken with daylength
03:38<@peter1138>I think you mean daylength is broken.
03:39<Eddi|zuHause>somehow my brain has learned to skip any sentence andy says which contains the word "broken"
03:40<andythenorth>what's the point of daylength again?
03:40<andythenorth>someone must know?
03:40<andythenorth>is it just to have steam trains indefinitely?
03:41<Eddi|zuHause>longer playtime with steam, mostly
03:41<Eddi|zuHause>no, not "indefinitely"
03:42<andythenorth>so not just "vehicles don't expire"?
03:42<Eddi|zuHause>no... that is really "broken"...
03:42<andythenorth>ok
03:42<andythenorth>so Horse generations are 30 years apart
03:43<andythenorth>so a parameter to set generation length, just a number?
03:43<Eddi|zuHause>why?
03:43<andythenorth>because daylength
03:43<Eddi|zuHause>why?
03:43<andythenorth>because it's a major issue for forums players?
03:43<Eddi|zuHause>why?
03:43<andythenorth>I can't get to 5 answers :(
03:43<andythenorth>I don't know
03:43<andythenorth>3 whys :P
03:44<Eddi|zuHause>all i heard so far was crazy nonsense that doesn't make sense
03:44<Eddi|zuHause>to which the correct response is usually "do nothing"
03:46<andythenorth>2204 forum results
03:46<andythenorth>ok so it's used to fix cdist
03:47<andythenorth>also apparently peter1138 is working on it https://www.tt-forums.net/viewtopic.php?p=1218458#p1218458
03:47<andythenorth>it's used to make tiles closer to real scale
03:48<Eddi|zuHause>wrong link?
03:48<andythenorth>no, read what Leif says :)
03:48-!-Thedarkb-T60 [~Thedarkb-@87-40-28-138.ptr.edu.ie] has joined #openttd
03:48-!-Thedarkb-T60 is "realname" on #openttd #oolite
03:48<andythenorth>seems that daylength makes tiles 18km wide
03:48<Eddi|zuHause>TL:DR?
03:48<andythenorth>that's apparently important
03:49<andythenorth>"Change: Decouple GUI timing from game ticks (#6780)" : "Hopefully, this is the first step towards a real variable daylength."
03:50<Eddi|zuHause>"Change: work on a cure for cancer" - "hopefully that will solve the zombie apocalypse"?!?
03:51<andythenorth>daylength is used to fix RVs
03:51<andythenorth>daylength is used to make RL country scenarios more accurately scaled
03:51<Eddi|zuHause>daylength has apparently suprassed "new map array" as the "fix for everything"?
03:52<Eddi|zuHause>that mythical daylength will never exist.
03:53<andythenorth>some guy in forums called Eddi keeps saying that :)
03:53<andythenorth>I agree, I just wonder if I can do something amusing in newgrf
03:54<Eddi|zuHause>that will end up in a horrible nightmare of "i want to combine X grf with Y grf but it doesn't have Z feature"
03:54<andythenorth>so how about decoupling newgrf vehicle introduction from date?
03:54<andythenorth>and having a tech level?
03:54<Eddi|zuHause>and even if they both offered Z feature on the surface, the internals would be so different to be incompatible anyway
03:55<andythenorth>hmm, I can do boats, trains, RVs, but I'm not doing planes
03:55<andythenorth>ho ho https://www.tt-forums.net/viewtopic.php?p=1190808#p1190808
03:57<Eddi|zuHause>andythenorth: the main problem is that the game has many skewed scale factors (lengths, timeframes) all mixed together in one ridgit framework, while lots of people want to loosen that up a bit with more free scaling of individual parts
03:59-!-Smedles [~quassel@61-245-155-93.3df59b.adl.nbn.aussiebb.net] has quit [Remote host closed the connection]
03:59<Eddi|zuHause>which is part of the reason why any previous daylength approaches failed, they wanted to consolidate this multidimensional balance problem into 1 dimension (instead of the current 0 dimensions), which is, as far as maths is concerned, equally inappropriate
04:01<Eddi|zuHause>there need to be separate scaling factors for things like tech progression, payment graphs, timetable cycles, acceleration, industry production, ...
04:02-!-Smedles [~quassel@61-245-155-93.3df59b.adl.nbn.aussiebb.net] has joined #openttd
04:02-!-Smedles is "Paul Smedley" on #openttd
04:04<Eddi|zuHause>i think that is how every daylength patch so far failed, they saw how every previous attempt resulted in a complicated horrible mess that was unfixable, and went "we need to approach this in a more simple way"
04:05<Eddi|zuHause>... which almost immediately collided with the reality that everyone who wants daylength wants it for some slightly different purpose
04:05<Eddi|zuHause>which again added complicated horrible mess
04:05<Eddi|zuHause>you need to approach it as a complex problem from the start, and break it down into individual problems
04:06<andythenorth>does 'why?' even matter?
04:06<Eddi|zuHause>yes
04:06<andythenorth>but 'why?' is only helpful to meet a user need
04:07<andythenorth>and the user needs are so confused...
04:07<andythenorth>isn't 'why?' > 'because we can' ??
04:07<Eddi|zuHause>which is exactly why you need to explore the "why?"
04:07<andythenorth>except we can't :)
04:08<andythenorth>if we approached this as 'game time should pass at an arbitrary rate', is that a good 'why?'
04:08<Eddi|zuHause>you need to be clear on which section of this multidimensional problem you want to solve
04:08<Eddi|zuHause>because if you take a step in the wrong dimension, everything will fall apart
04:11-!-Smedles [~quassel@61-245-155-93.3df59b.adl.nbn.aussiebb.net] has quit [Remote host closed the connection]
04:12<andythenorth>so you think having one newgrf with arbitrary intro dates doesn't solve it? :)
04:12<Eddi|zuHause>correct.
04:14-!-Smedles [~quassel@61-245-155-93.3df59b.adl.nbn.aussiebb.net] has joined #openttd
04:14-!-Smedles is "Paul Smedley" on #openttd
04:20<@peter1138>I'm back...
04:20<@peter1138>Well, actually I'm in the office now.
04:20<@peter1138>Better late than never.
04:21<@peter1138>I'd work from home but then I wouldn't get my daily cycling fix.
04:23<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #7232: Change: Don't apply forbid 90 deg turn settings to ships. https://git.io/fh7DC
04:23<LordAro>peter1138: pfft, you call that late?
04:23<@peter1138>:)
05:07-!-Progman [~progman@p4FD66866.dip0.t-ipconnect.de] has joined #openttd
05:07-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttd
05:22-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
05:29<Eddi|zuHause>interesting correlation: "on 19th april the GPS epoch rolls over to 0", "on 19th october is bicycle day" :p
05:29<Eddi|zuHause>err
05:29<Eddi|zuHause>s/october/april/
05:29<Eddi|zuHause>dunno how i got october
05:33<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on pull request #7232: Change: Don't apply forbid 90 deg turn settings to ships. https://git.io/fh7bz
05:39<@peter1138>I wonder how much cruft, and performance, we lose if we converted yapf to use std classes.
05:46-!-andythenorth [~andytheno@81.171.232.172] has joined #openttd
05:46-!-andythenorth is "andythenorth" on #openttd
05:50<@peter1138>Hi.
05:51<Eddi|zuHause>what? get rid of 5 nested layers of templates?
05:52<@peter1138>:-)
05:53<LordAro>Eddi|zuHause: implying std classes aren't also 5 nested layers of templates
05:54<@peter1138>Yeah but that's not our problem.
06:05<Eddi|zuHause>i'd probably put yapf in the "don't touch it if it's not broken" category... you're probably looking at like 2 months of full-time dedicated work
06:07<@peter1138>Post 1.9, definitely.
06:22<FLHerne>andythenorth: OTTD maps are pretty big, if you want to 'finish' a single-player game on even 1k*2k it takes real-world days
06:23<FLHerne>(spread over several months of spare evenings, obviously)
06:23<FLHerne>So without adjusting the flow of in-game time, you'd inevitably end up in 2050 before even really getting started
06:25<FLHerne>My current game is only 128^2, 40 years in, and I'm still not quite finished connecting all the industries
06:25<FLHerne>(close, though)
06:27<FLHerne>The "making passengers feasible with CargoDist" side-effect of the current patch is, IMO, a bug
06:27<FLHerne>It's useful, but that's orthogonal
06:36<Eddi|zuHause>so, did steam crash or did i accidentally quit it and don't remember?
06:38<@peter1138>FLHerne, what current patch?
06:38<@peter1138>FLHerne, oh, daylength...
06:38<@peter1138>Yeah
06:47-!-Thedarkb1-T60 [~Thedarkb-@87-40-28-138.ptr.edu.ie] has joined #openttd
06:47-!-Thedarkb1-T60 is "realname" on #openttd #oolite
06:49-!-Thedarkb-T60 [~Thedarkb-@87-40-28-138.ptr.edu.ie] has quit [Ping timeout: 480 seconds]
07:11-!-Flygon [~Flygon@dsl-124-150-7-189.vic.westnet.com.au] has quit [Read error: Connection reset by peer]
07:46-!-Mahjong1 [~qq@2a00:23c5:6526:4400:d6d:4611:7a66:2424] has joined #openttd
07:46-!-Mahjong1 is "realname" on #ohnx #openttd
07:53-!-Mahjong2 [~qq@2a00:23c5:6526:4400:a0f2:3a4e:1dc4:c2d5] has quit [Ping timeout: 480 seconds]
08:16-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
08:16-!-sla_ro|master is "slamaster" on #sla #openttd
08:18-!-Thedarkb1-T60 [~Thedarkb-@87-40-28-138.ptr.edu.ie] has quit [Ping timeout: 480 seconds]
08:27-!-Extrems [gamecube@expert.extremscorner.org] has quit [Ping timeout: 480 seconds]
08:28-!-Thedarkb-T60 [~Thedarkb-@87-40-28-138.ptr.edu.ie] has joined #openttd
08:28-!-Thedarkb-T60 is "realname" on #openttd #oolite
08:28-!-Extrems [gamecube@expert.extremscorner.org] has joined #openttd
08:28-!-Extrems is "https://www.extremscorner.org/" on #openttd
08:29-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
08:31-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
08:31-!-sla_ro|master is "slamaster" on #sla #openttd
08:45-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
08:45-!-snail_UES_ is "Jacopo Coletto" on #openttd
09:00-!-Pikka [~Albert@193-116-217-68.tpgi.com.au] has quit [Quit: Leaving]
09:08-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
09:19-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has joined #openttd
09:19-!-Samu is "realname" on #openttd
09:19<Samu>hi
09:27<@peter1138>Hello.
09:47<Samu>https://www.youtube.com/watch?v=4Eo84jDIMKI
09:54<Samu>https://www.youtube.com/watch?v=bEmCPuUbBy0
09:54<Samu>heh, im bored, sorry
09:55-!-Extrems [gamecube@expert.extremscorner.org] has quit [Ping timeout: 480 seconds]
09:56-!-Extrems [gamecube@expert.extremscorner.org] has joined #openttd
09:56-!-Extrems is "https://www.extremscorner.org/" on #openttd
10:03-!-drac_boy [~oftc-webi@72.1.195.4] has joined #openttd
10:03-!-drac_boy is "OFTC WebIRC Client" on #openttd
10:03<drac_boy>hi there to anyone else who are getting a snowy head too :)
10:03<drac_boy>heh
10:08-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has joined #openttd
10:08-!-nielsm is "Niels Martin Hansen" on #openttd
10:10<drac_boy>so anyway just curious if its a best-try or is there sometimes some sort of minimum ottd version for to apply a new patch to?
10:13<nielsm>?
10:13<nielsm>patches are for specific versions
10:13<nielsm>new patches intended for the next release version of ottd are written against current master at the time
10:14<nielsm>and should be continually updated as long as they don't get merged, to ensure they can still merge after master has changed
10:14<drac_boy>ah ok, just was trying understand the ongoing jgr thread so ty :)
10:27<@peter1138>Yup, they are effectively no longer patches, they have been integrated into his build.
10:39-!-Westie [~oftc@176.31.53.128] has quit [Remote host closed the connection]
10:39<drac_boy>anyway got an apt soon but .. have fun with the fresh snow if thats the case for anyone in here :)
10:39-!-drac_boy [~oftc-webi@72.1.195.4] has left #openttd []
10:42*andythenorth is in bright sun :P
10:45-!-Westie [~oftc@176.31.53.128] has joined #openttd
10:45-!-Westie is "oftc" on #openttd
10:46<nielsm>it's almost looking like spring here, atm
10:49<Samu>i dont know how to work with classes
10:49<Samu>time to give up
10:49-!-WWacko1976-work [~IceChat9@ip-80-113-66-42.ip.prioritytelecom.net] has quit [Ping timeout: 480 seconds]
10:50-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
10:50-!-Gja is "Martin" on #ceph #bcache #openttd
10:50<Samu>I'm trying to figure out a way to create an array of airport routes for my AI
10:51<Samu>each route would have a group, an engine, location from, location to
10:51<Samu>i just... know it is done with classes
10:51<Samu>but not how
10:52<Samu>is there a classes for dummies guide out there?
10:54-!-HerzogDeXtEr [~farci@dslb-188-103-226-015.188.103.pools.vodafone-ip.de] has joined #openttd
10:54-!-HerzogDeXtEr is "purple" on #openttd
10:54-!-Thedarkb-T60 [~Thedarkb-@87-40-28-138.ptr.edu.ie] has quit [Ping timeout: 480 seconds]
10:56<Samu>okay, I give up, before I lose my temper
10:59<Samu>need to find a way to remove empty groups
11:04-!-WWacko1976-work [~IceChat9@ip-80-113-66-42.ip.prioritytelecom.net] has joined #openttd
11:04-!-WWacko1976-work is "YO!" on #openttd #/r/openttd
11:06<@peter1138>Hmm
11:06<@peter1138>You can get a list of vehicles in each group, right?
11:09<Samu>yes, but sometimes, i move vehicles from a valid group into a renew group to upgrade engine, and that group becomes temporarily empty
11:10<Samu>but since I don't keep track of groups for each route, a new group is created after the upgrade
11:10<Samu>and the empty group becomes left behind, empty
11:12<@peter1138>I...
11:12-!-WWacko1976-work [~IceChat9@ip-80-113-66-42.ip.prioritytelecom.net] has quit [Ping timeout: 480 seconds]
11:12<@peter1138>Don't really know what you are doing :p
11:13<@peter1138>Delete the group when you move the vehicle out if it's the last one?
11:13-!-Thedarkb-X40 [~beno@86.42.5.102] has joined #openttd
11:13-!-Thedarkb-X40 is "realname" on #openttd #/r/openttd #oolite
11:14<@peter1138>Or periodically go through all the groups and delete empty ones.
11:14-!-HerzogDeXtEr1 [~farci@dslb-188-103-226-015.188.103.pools.vodafone-ip.de] has joined #openttd
11:14-!-HerzogDeXtEr1 is "purple" on #openttd
11:16<Samu>ideally, I would move back the vehicles to the group they belonged in the first place
11:16<Samu>after the engine upgrade
11:16-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
11:16-!-Wormnest is "Wormnest" on #openttd
11:16<@peter1138>Ok, so you need to remember which group it was in
11:16<Samu>yes
11:16-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit []
11:17<@peter1138>https://www.bbc.co.uk/news/world-us-canada-47258754 uhhh
11:21-!-HerzogDeXtEr [~farci@dslb-188-103-226-015.188.103.pools.vodafone-ip.de] has quit [Ping timeout: 480 seconds]
11:24<Samu>current solution: clean up empty groups (even though they're supposedly temporarily empty)
11:24<Samu>and recreate a new group
11:25<Samu>it works, but it's dumb
11:31-!-HerzogDeXtEr [~farci@dslb-188-103-226-015.188.103.pools.vodafone-ip.de] has joined #openttd
11:31-!-HerzogDeXtEr is "purple" on #openttd
11:32<Samu>if only autorenew/autoreplace didn't screw vehicle_ids...
11:32<Samu>it would be so much easy
11:35<Samu>there would be no need for renewal groups
11:35<Samu>there would be no need to keep track of vehicles heading to depots
11:37-!-HerzogDeXtEr1 [~farci@dslb-188-103-226-015.188.103.pools.vodafone-ip.de] has quit [Ping timeout: 480 seconds]
11:39<Samu>alright, this works
11:39<Samu>stop mumbling
11:39<Samu>next step is to create share orders
11:39<Samu>for aircraft
11:39<Samu>it's currently implemented for road vehicles, but not for aircraft
11:41<Samu>it really helped speed up road vehicle management
11:41<Samu>I assume the same would happen for aircraft
11:44-!-octernion [~octernion@206.223.172.50] has joined #openttd
11:44-!-octernion is "octernion" on #openttd
11:48<@peter1138>why do you need renewal groups?
11:48<Samu>to know which ones are currently heading to depots
11:48<Samu>so I don't repeat sending them to depots
11:48<@peter1138>hmm
11:48<@peter1138>are you using sub-groups?
11:48<Samu>it would stop sending them
11:48<Samu>nop
11:49<@peter1138>you could create your renewal group as a child of the group the vehicle was originally in
11:49<@peter1138>then it gets renewed, and stays in the renewal group
11:49<@peter1138>then you can move it back to the parent group of the renewal group, then delete the renewal group
11:49<@peter1138>there may be an API call or two missing to be able to do that currently.
11:51<@peter1138>https://github.com/OpenTTD/OpenTTD/pull/7225
11:51<@peter1138>^ Yeah, actually it's available in that PR.
11:52<@peter1138>Ah, the matching call to make a new group with a parent is missing.
11:54<Samu>return occupancy / vehicle_count; what if the group is empty?
11:54<Samu>divide by 0?
11:54<@peter1138>Probably :-)
11:55<@peter1138>I haven't tested any of these calls as I don't write AIs.
11:56<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on pull request #7224: Change: Use selected group as parent when creating a new group. https://git.io/fh5f2
11:58<Samu>@calc 0/0
11:58<@DorpsGek>Samu: Error: float division by zero
11:59<@peter1138>It's okay, it's a WIP PR :p
12:00<Samu>current usage isn't displayed for gui
12:00<Samu>so, -1?
12:02<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #7225: Add: Various AI/GS functions that may be useful. https://git.io/fh7Gz
12:04<Samu>a useful function: get capacity of an engine reffitted to cargo_type
12:05<Samu>get price of a reffitted engine
12:05<Samu>both without buying it
12:05<Samu>useful for planning mode
12:06<@peter1138>players can't do that either.
12:06<Samu>t.t
12:06<@peter1138>you can't refit engines
12:06<@peter1138>you can only refit vehicles
12:07<Samu>that's ... sad :|
12:07<@peter1138>the capacity can vary depending on the vehicle
12:08<@peter1138>the joys of newgrf callbacks
12:13<Samu>isn't there a way to pseudo-"buy a vehicle just to get capacity/price" for engine purposes?
12:14<Samu>how does cloneing a vehicle do it?
12:25<Samu>about the 90 degrees... I don't know
12:25<Samu>it's okay, I suppose
12:27<Samu>pathfinder will now attempt going at greater lengths just to avoid doing a 90 turn
12:27<Samu>interesting
12:28<@peter1138>i think cloning buys everything and then undoes it all
12:29<@peter1138>Samu, you can tweak the penalties, it shouldn't go too much farther though.
12:29<@peter1138>Maybe the penalty should be lower for ships, as they are slower.
12:34<Samu>there should be a penalty going through locks now
12:34<Samu>they literally "stop"
12:34<Samu>not literally
12:34<Samu>lol
12:44-!-synchris [~synchris@139.138.202.72] has joined #openttd
12:44-!-synchris is "Synesios Christou" on #openttd
12:48-!-andythenorth [~andytheno@81.171.232.172] has quit [Quit: andythenorth]
12:59-!-Thedarkb-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
12:59-!-Thedarkb-T60 is "realname" on #openttd #oolite
13:00<@peter1138>Could do
13:01<@peter1138>But...
13:01<@peter1138>Kinda unlikely to find a shorter path except in test cases :p
13:06-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
13:06-!-Wolf01 is "Wolf01" on #openttd
13:10-!-Wormnest_ [~Wormnest@35.136.176.177] has joined #openttd
13:10-!-Wormnest_ is "Wormnest" on #openttd
13:17-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
13:17-!-andythenorth is "andythenorth" on #openttd
13:17-!-Wormnest [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
13:18<Wolf01>https://img-9gag-fun.9cache.com/photo/av8W6WE_460s.jpg so, that's how the city center lego set worked, nothing new
13:28<@peter1138>heh
13:30-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
13:30-!-frosch123 is "frosch" on +#openttd.dev #openttd
13:30-!-glx [kvirc@000128ec.user.oftc.net] has joined #openttd
13:30-!-mode/#openttd [+v glx] by ChanServ
13:30-!-glx is "Loïc GUILLOUX" on +#openttd
13:36-!-gelignite [~gelignite@55d45aa2.access.ecotel.net] has joined #openttd
13:36-!-gelignite is "gelignite" on #openttd
13:43<DorpsGek_II>[OpenTTD/OpenTTD] PeterN merged pull request #7224: Change: Use selected group as parent when creating a new group. https://git.io/fh7Y4
13:46<@peter1138>Ok, that was weird. Rebooted my Debian VM and it came back with... no boot device. WTF.
13:47<@peter1138>Maybe time to start doing backups of it :p
13:54<@peter1138>Why is it you only spot bugs after you merge? :/
13:57<andythenorth>life
14:02<DorpsGek_II>[OpenTTD/OpenTTD] PeterN opened pull request #7233: Fix #7224: AI could no longer create groups. https://git.io/fh5TM
14:08<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh approved pull request #7233: Fix #7224: AI could no longer create groups. https://git.io/fh5Tb
14:10-!-Wormnest__ [~Wormnest@35.136.176.177] has joined #openttd
14:10-!-Wormnest__ is "Wormnest" on #openttd
14:15<DorpsGek_II>[OpenTTD/OpenTTD] PeterN merged pull request #7233: Fix #7224: AI could no longer create groups. https://git.io/fh5TM
14:17-!-Wormnest_ [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
14:19-!-kiwitree [uid223914@id-223914.tooting.irccloud.com] has joined #openttd
14:19-!-kiwitree is "kiwitree" on #openttd.dev #openttd
14:19<@peter1138>Oh right, I can see the 'draft' status in the PR list after all.... the merge icon on the left is greyed out.
14:21<@peter1138>Hmm, should I change the existing AI CreateGroup() function, or create a new function?
14:21<@peter1138>Former requires a compat addition, the latter may be considered wasteful
14:21<nielsm>squirrel doesn't have optional arguments at all does it?
14:22<nielsm>since that'd be the obvious solution
14:22<@peter1138>As far as I know, no :(
14:25-!-Mahjong [~qq@host86-150-6-253.range86-150.btcentralplus.com] has joined #openttd
14:25-!-Mahjong is "realname" on #ohnx #openttd
14:25<@peter1138>Squirrel’s functions can have default parameters.
14:26<@peter1138>But I don't know if that carries over to the C++/SQ Api.
14:29-!-Mahjong1 [~qq@2a00:23c5:6526:4400:d6d:4611:7a66:2424] has quit [Ping timeout: 480 seconds]
14:56-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Ping timeout: 480 seconds]
15:08-!-Thedarkb-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
15:16<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #7225: Add: Various AI/GS functions that may be useful. https://git.io/fh7Gz
15:17<@peter1138>^ samu
15:18<@peter1138>Now you can create your replacement group as a child, and... then moved vehicles back to the parent group after replacement
15:18<@peter1138>Technically players can't see the group id, but they can see the heirarchy, so i guess that's fine? :)
15:23<Markk>Hello everyone
15:24<Markk>Just updated to 1.8.0 från 1.7.1 RC1, finally I can right-click scoll again, I've really been missing that.
15:24<Markk>A question though, what does this button do? http://marklulz.rdw.se/button.png
15:24<Markk>I haven't been able to figure out what it does.
15:25<Markk>Or more like, I haven't done anything when I've been pressing it. Even under different cirumstances.
15:25<nielsm>the square one restores the window size to the default
15:26-!-Thedarkb-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
15:26-!-Thedarkb-T60 is "realname" on #openttd #oolite
15:26<nielsm>and if you hold ctrl while clicking it, changes the default size for that window to be the current
15:26<Markk>Ah, I see, nice!
15:26<Markk>Oooh, even sweeter.
15:26<Markk>That's some great news for my OCD.
15:26<Markk>Thank you nielsm!
15:28<Markk>Only thing I'm missing now is like two different levels to sticky windows. So you can have sticky windows, and more sticky windows. Would be great for when having some main windows and then opening some semi permanent windows, like when creating a bunch of new vehicles, when being able to close the semi permanent, but keeping the main ones.
15:29<nielsm>that would be really hard to make a concise UI for I think
15:30<nielsm>"superglued windows"
15:30<@peter1138>Was right-click scrolling now working?
15:31<nielsm>win10 introduced a change in mouse handling somewhere that caused right-click scrolling to break, that's a long time ago
15:31<Markk>peter1138: Yes, in Windows 10 there was some issues with that.
15:32<Markk>I've not been able to use right-click scrolling for the last year or two.
15:32<@peter1138>o
15:32<@peter1138>I wonder what fixed it.
15:32<Markk>An update!
15:32<Markk>:D
15:32<nielsm>pretty sure a code change in ottd was required
15:32<Markk>Yep
15:32<@peter1138>c722cb26b8bc61d720c8a7a037e3c8639851599c
15:33<@peter1138>So the question is... why did it take you so long to change to 1.8.0? :p
15:33<@peter1138>Yeah, I remember working on that now.
15:33<Markk>I've just gotten used to it.
15:33<@peter1138>Had the same idea as michi_cc but he got there first :D
15:34<@peter1138>Ah, 1.8.0 was April 1
15:35<@peter1138>At the end of that month, we also added a different right-click scroll method that doesn't fix the cursor in place.
15:35<@peter1138>Which I needed cos I develop under VNC :-)
15:36<Markk>Oh, have I been so slow to upgrade... But I'm usually fine with the version I'm playing on, if there's not anything I'm really annoyed by. That's why I just upgraded, after reading some forum posts about the scroll issue.
15:43<@peter1138>Heh
15:58<Samu>openttd launcher
15:58<Samu>keeps openttd up to date and launches openttd
15:59<@peter1138>Urgh.
15:59<@peter1138>Steam :p
16:01<Markk>Oh, is OTTD on Steam now as well?
16:01<@peter1138>No :(
16:27-!-synchris [~synchris@139.138.202.72] has quit [Quit: yeeha!]
16:27-!-Wormnest__ [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
16:39-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has quit [Quit: wroom]
16:40-!-Thedarkb1-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
16:40-!-Thedarkb1-T60 is "realname" on #openttd #oolite
16:42-!-Thedarkb-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
16:53-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
16:55-!-Supercheese [~Superchee@50-37-100-143.mscw.id.frontiernet.net] has joined #openttd
16:55-!-Supercheese is "Supercheese" on #openttd
17:03-!-octernion [~octernion@206.223.172.50] has quit [Quit: octernion]
17:08-!-kiwitree [uid223914@id-223914.tooting.irccloud.com] has quit []
17:19-!-Thedarkb-X40 [~beno@86.42.5.102] has quit [Ping timeout: 480 seconds]
17:20<DorpsGek_II>[OpenTTD/OpenTTD] EarthlingKira commented on pull request #6965: Add: Option for population-linear town cargo generation https://git.io/fh5Lp
17:25<DorpsGek_II>[OpenTTD/OpenTTD] EarthlingKira commented on pull request #6965: Add: Option for population-linear town cargo generation https://git.io/fh5tJ
17:39-!-gelignite [~gelignite@55d45aa2.access.ecotel.net] has quit [Quit: Good fight, good night!]
17:54-!-Thedarkb1-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
17:58<DorpsGek_II>[OpenTTD/OpenTTD] PeterN commented on pull request #6965: Add: Option for population-linear town cargo generation https://git.io/fh5to
17:59<@peter1138>q
17:59-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
18:06<Samu>I will consider using sub-groups once the functions are in 1.9.0 for real
18:07<@peter1138>Please test it!
18:07<@peter1138>I can't do it.
18:09-!-Thedarkb-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
18:09-!-Thedarkb-T60 is "realname" on #openttd #oolite
18:10<Samu>oh
18:10<Samu>ok,
18:11<Samu>poor version 8
18:11<Samu>it's having so much test code
18:15<Samu>got to change API to 1.9
18:15<Samu>hmm not sure if that's gonna work for the rest of the code
18:16<@peter1138>Well...
18:17<@peter1138>You could just copy the compat functions you need...
18:18<Samu>I just finished implementing share orders
18:18<Samu>for aircraft, this is all too fresh
18:19<Samu>function WrightAI::BuildAircraft(tile_1, tile_2, silent_mode = false, build_multiple = false, skip_order = null)
18:19<Samu>it's becoming a really messy function
18:20<@peter1138>https://github.com/OpenTTD/OpenTTD/compare/master...PeterN:pr7204-done-differently
18:21<@peter1138>I guess I should test it though, heh.
18:24<@peter1138>Hmm, I wonder how.
18:28<@peter1138>Hmm, judging by Accepts/Supplies in the station windows, it seems to be good still.
18:34<Samu>uhmm where is the doxygen stuff
18:35<Samu>oh, it's not even in master
18:35<Samu>:|
18:36<@peter1138>Nope, it's MASSIVE.
18:37<@peter1138>http://fuzzle.org/~petern/wip-nrt-aidocs/ai__changelog_8hpp.html
18:37<@peter1138>My copy of it.
18:37<@peter1138>Oh actually it's only 4.7MB, but still.
18:37<@peter1138>Waiitit
18:37<@peter1138>it's not nrt lol
18:38<@peter1138>http://fuzzle.org/~petern/wip-aiapi-aidocs/ai__changelog_8hpp.html
18:38<@peter1138>^ better link
18:38-!-drac_boy [~oftc-webi@modemcable013.32-203-24.mc.videotron.ca] has joined #openttd
18:38-!-drac_boy is "OFTC WebIRC Client" on #openttd
18:38<drac_boy>hi
18:38<DorpsGek_II>[OpenTTD/OpenTTD] Eddi-z commented on pull request #6965: Add: Option for population-linear town cargo generation https://git.io/fh5qq
18:38<@peter1138>Ok, NRT docs put bac.
18:38<@peter1138>+k
18:39<drac_boy>just wondering if I got this right, the only thing you can alter is the cosmetic sprites .. to have the refit menu intentionally change any running parameter would require something like the regear "cargo" used by the nars set or alike right?
18:39<drac_boy>sorry about if I'm not wording the question too well after a long day :-|
18:40<@peter1138>What?
18:40<Eddi|zuHause>i think the answer is "no"
18:40<@peter1138>I think so too.
18:41<Eddi|zuHause>you can alter all sorts of things with regular refits. just the general consensus is that every time someone tried it turned out to be a bad idea
18:42<drac_boy>eddi yeah I didn't liek the regear cargo thing in nars either .. but anyway ty for letting me check about this
18:42<drac_boy>like* meh
18:43-!-Progman [~progman@p4FD66866.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
18:45<Eddi|zuHause>no, i mean stuff that sounds like a good idea, like ships changing capacity in FISH
18:45<drac_boy>ah well I guess that one could be nice too .. not having to make a 400 tonnes boat wait a long time for 170 tonnes of cargo
18:51<drac_boy>anyway just carry on :)
18:53<Eddi|zuHause>you also got a few sets which use passenger cargo instead of regearing cargo (since they figured out how to set a capacity of 0)
19:01<DorpsGek_II>[OpenTTD/OpenTTD] PeterN opened pull request #7234: Feature: Game setting to define how industries with neutral stations accept and supply cargo from/to surrounding stations. https://git.io/fh5qg
19:02<@peter1138>Well it worked in a quick test.
19:02-!-tokai [~tokai@00012860.user.oftc.net] has joined #openttd
19:02-!-mode/#openttd [+v tokai] by ChanServ
19:02-!-tokai is "Christian Rosentreter" on +#openttd
19:02<@peter1138>I didn't test very nearby oil rigs.
19:06-!-Flygon [~Flygon@dsl-124-150-7-189.vic.westnet.com.au] has joined #openttd
19:06-!-Flygon is "Flygon" on #openttd
19:09-!-tokai|noir [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
19:10*drac_boy keeps thinking more to myself on rails
19:14<Samu>repositories
19:14<Samu>bah
19:14<Samu>tells me to push
19:15<Samu>if I pull, I get conflicts
19:16<Samu>recycle bin solved
19:16<Samu>clone again
19:17<@peter1138>Hmm, so it's 55 less lines added.
19:19<Samu>omg, to test sub-groups, I need to edit many parts of my ai
19:19<Samu>arf :/
19:20<Samu>sentToDepotAirGroup[i] = AIGroup.CreateGroup(AIVehicle.VT_AIR); invalid number of parameters
19:20-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
19:20-!-Wormnest__ [~Wormnest@35.136.176.177] has joined #openttd
19:20-!-Wormnest__ is "Wormnest" on #openttd
19:20<@peter1138>just add INVALID_GROUP as a parameter.
19:20<@peter1138>It's a shame we can't do optional parameters.
19:21<Samu>but I haven't finnalized v8 yet
19:21<Samu>final
19:21<@peter1138>Hmm, I wonder.
19:22<Samu>v8 is for 1.4 api
19:22<Samu>now im testing 1.9 api
19:22<@peter1138>AIGroup._CreateGroup <- AIGroup.CreateGroup;
19:22<Samu>without having upload v8
19:22<@peter1138>AIGroup.CreateGroup <- function(vehicle_type, parent_group_id = INVALID_GROUP)
19:23<@peter1138>{ return AIGroup._Create(vehicle_type, parent_group_id);
19:23<@peter1138>}
19:23<@peter1138>You never know.
19:23<@peter1138>My keyboard is squeaking :(
19:23<Samu>but this group specifically
19:23-!-Thedarkb-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
19:23<Samu>it to become sub.group
19:24<@peter1138>Hmm?
19:24<Samu>have to re-invent
19:25<Samu>I don't feel like testing this atm, my current stuff for v8 is already a big pile of mess
19:25<Samu>i rather finish v8 first
19:26-!-Supercheese [~Superchee@50-37-100-143.mscw.id.frontiernet.net] has quit [Quit: Valete omnes]
19:27<Samu>the changelog... omg
19:27<Samu>the boring
19:27<@peter1138>k
19:28-!-Wormnest__ [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
19:29<@peter1138>Aww, my company went bust.
19:29<@peter1138>Guess I should've played it a bit more :p
19:30<@peter1138>Infrastructure costs + inflation make a difficult game :p
19:33-!-Thedarkb-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
19:33-!-Thedarkb-T60 is "realname" on #openttd #oolite
19:38-!-D-HUND is now known as debdog
20:04-!-supermop_Home [~user@pool-71-105-225-37.nycmny.fios.verizon.net] has joined #openttd
20:04-!-supermop_Home is "Guest" on #openttd
20:04<supermop_Home>yo
20:05<drac_boy>hi big mop :)
20:05<drac_boy>heh
20:06<+glx>peter1138: I don't fully understand the after load part
20:08<@peter1138>ok
20:08<+glx>the station loop I see why, but the else part
20:09<@peter1138>The else is because I didn't bother saving the st->industry reference.
20:09<@peter1138>So it's two-way associative when loaded, but only one-way when saved.
20:10<@peter1138>Maybe it'll be simpler to just save it.
20:10<+glx>oh I see, st->ind->st and ind->st->ind
20:10<drac_boy>anyway going off for other things before bedtime tonight .. have fun still :)
20:10-!-drac_boy [~oftc-webi@modemcable013.32-203-24.mc.videotron.ca] has left #openttd []
20:11<@peter1138>glx, yeah, gets a bit mad.
20:11<+glx>and can be an infinite indirection ;)
20:12<@peter1138>Just hope that st->ind and ind->st match!
20:15<+glx>yeah saving industry ref implies adding some saveload stuff
20:16<@peter1138>saveload bump was already there from samu's setting addition, so.
20:19<+glx>your changes make it simpler
20:19<+glx>and revert a lot of the original changes :)
20:21<@peter1138>Yes.
20:22<+glx>oh a forgotten doxygen update
20:23<DorpsGek_II>[OpenTTD/OpenTTD] glx22 commented on pull request #7234: Feature: Game setting to define how industries with neutral stations accept and supply cargo from/to surrounding stations. https://git.io/fh5mz
20:30<+glx>and it's also more generic and future proof, in case new industries get a neutral station
20:30<@peter1138>Yup.
20:30<@peter1138>The only reference to oilrigs is in the saveload conversion.
20:31<+glx>where it matters
20:31<@peter1138>Also the original didn't take care of then st->xy isn't a station tile any more.
20:31<@peter1138>I think that can happen when a station is removed.
20:32<+glx>removed and in the waiting for rebuild window ?
20:32<@peter1138>Yeah
20:32<@peter1138>I had it crash on load, hence the test.
20:40-!-Wormnest__ [~Wormnest@35.136.176.177] has joined #openttd
20:40-!-Wormnest__ is "Wormnest" on #openttd
20:51-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
20:51-!-Wormnest is "Wormnest" on #openttd
20:53-!-Wormnest__ [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
21:37<@peter1138>Hmm, if I change a config setting from bool to byte, can I make it not complain about the value being true/false rather than 1/0?
21:41-!-glx [kvirc@000128ec.user.oftc.net] has quit []
21:41-!-HerzogDeXtEr [~farci@dslb-188-103-226-015.188.103.pools.vodafone-ip.de] has quit [Read error: Connection reset by peer]
21:41<DorpsGek_II>[OpenTTD/OpenTTD] PeterN updated pull request #7234: Feature: Game setting to define how industries with neutral stations accept and supply cargo from/to surrounding stations. https://git.io/fh5qg
21:43-!-Wormnest [~Wormnest@35.136.176.177] has quit [Quit: Leaving]
21:52<@peter1138>Ah, savegame bump I guess.
21:53-!-Thedarkb-X40 [~beno@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
21:53-!-Thedarkb-X40 is "realname" on #openttd #/r/openttd #oolite
21:59-!-Mazur [~mazur@5ED2A7DE.cm-7-3c.dynamic.ziggo.nl] has joined #openttd
21:59-!-Mazur is "Stefan Linnemann" on #openttd #oolite
22:00-!-Thedarkb-T60 [~Thedarkb-@86-42-5-102-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
22:28-!-D-HUND [~debdog@2a00:79c0:61f:ff00:7a24:afff:fe8a:d04d] has joined #openttd
22:28-!-D-HUND is "Wowbagger" on #bitlbee #openttd
22:31-!-debdog [~debdog@2a00:79c0:674:2900:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
22:49-!-Pikka [~Albert@193-116-217-68.tpgi.com.au] has joined #openttd
22:49-!-Pikka is "realname" on #openttd
22:50-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
22:50-!-snail_UES_ is "Jacopo Coletto" on #openttd
22:52-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:81a4:b572:f565:9ac3:eb56] has quit [Remote host closed the connection]
22:53-!-Gustavo6046 [~Gustavo60@189.6.240.114] has joined #openttd
22:53-!-Gustavo6046 is "Non dico nomen." on #openttd #oftc #moocows
23:03-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has quit [Quit: Leaving]
---Logclosed Sat Feb 16 00:00:06 2019