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

---Logopened Tue Jul 02 00:00:49 2019
01:19-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
01:19-!-andythenorth is "andythenorth" on #openttd
01:39-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
02:08-!-_dp_ [~dP@78.24.222.213] has quit [Remote host closed the connection]
02:09-!-dP [~dP@78.24.222.213] has joined #openttd
02:09-!-dP is "dP" on #openttd.dev #openttd
02:09-!-dP is now known as _dp_
02:44<nakki>this is a cursed morning
02:53*andythenorth somewhat fixed FIRS production
03:07<Eddi|zuHause>andythenorth: i did tell you a few months ago that dropping the leftover calculation was a bad idea
03:07<andythenorth>yes
03:17<andythenorth>I should document why it has to be there
03:17<andythenorth>it appears to be due to the vehicle unload cycle moving very small amounts to the industry
03:33-!-Wacko1976-work [~IceChat9@ip-80-113-66-42.ip.prioritytelecom.net] has quit []
03:45-!-andythenorth_ [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
03:45-!-andythenorth is now known as Guest6512
03:45-!-andythenorth_ is "andythenorth" on #openttd
03:45-!-andythenorth_ is now known as andythenorth
03:49-!-Guest6512 [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Ping timeout: 480 seconds]
04:18<DorpsGek_II>[OpenTTD/OpenTTD] nikolas commented on pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fjKwH
04:21-!-WWacko1976-work [~IceChat9@ip-80-113-66-42.ip.prioritytelecom.net] has joined #openttd
04:21-!-WWacko1976-work is "YO!" on #openttd #/r/openttd
04:29-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
04:32<DorpsGek_II>[OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
04:32<DorpsGek_II>[OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
06:08-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
06:08-!-andythenorth is "andythenorth" on #openttd
06:36-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
07:03-!-Wormnest [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
07:05-!-andythenorth [~andytheno@host81-150-71-244.in-addr.btopenworld.com] has joined #openttd
07:05-!-andythenorth is "andythenorth" on #openttd
08:39-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
08:39-!-snail_UES_ is "Jacopo Coletto" on #openttd
09:02-!-andythenorth [~andytheno@host81-150-71-244.in-addr.btopenworld.com] has quit [Quit: andythenorth]
09:08-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
09:08-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has joined #openttd
09:08-!-Samu is "realname" on #openttd
09:09-!-andythenorth [~andytheno@host81-150-71-244.in-addr.btopenworld.com] has joined #openttd
09:09-!-andythenorth is "andythenorth" on #openttd
09:41-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has joined #openttd
09:41-!-nielsm is "Niels Martin Hansen" on #openttd
09:46<DorpsGek_II>[OpenTTD/OpenTTD] James103 opened issue #7635: Game crash on exit scenario editor when you build or demolish infrastructure https://git.io/fjK1y
09:56-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
09:56-!-sla_ro|master is "slamaster" on @#sla #openttd
10:13<LordAro>more bugs? :(
10:21<peter1138>Features.
10:21<peter1138>Hmm, wondering if I should take the short or long route home.
10:22<LordAro>medium.
10:26<peter1138>Heh
10:28<peter1138>Hmm, 30 vs 50 minutes.
10:30<peter1138>Or, indeed, the as-yet unridden medium route, of probably 40 minutes. (11 miles)
10:31<peter1138>Mainly cos it stays on main roads longer than the short and long routes, so is basically pointless.
10:43-!-Flygon [~Flygon@114-198-103-107.dyn.iinet.net.au] has quit [Quit: A toaster's basically a soldering iron designed to toast bread]
10:45<andythenorth>Long
10:45<andythenorth>it's a nice day
10:45<andythenorth>probly
10:45<andythenorth>I took the 'waiting at red traffic lights a lot' routes yesterday :P
10:45<peter1138>Allegedly it's sunny and 20°C. It's not.
10:45<andythenorth>quite annoying
10:46<peter1138>Hmm, although I'm going out tonight, so maybe I can't be arsed with the long route.
11:06<LordAro>peter1138: i'd do my longer route more often, but i'd need to remember to bring actual cycling clothes
11:06<LordAro>otherwise i get overly damp
11:07<peter1138>Heh
11:07<peter1138>I have stealth clothing: MTB-style shorts and a wicking vest.
11:07<peter1138>Although I don't usually put enough effort in to sweat profusely.
11:07<LordAro>mm, that could work actually
11:08<LordAro>my normal shorts are more of a beige, which kinda shows a bit
11:08<peter1138>I had a bit of extertion getting a KOM on Sunday mind you.
11:30<Samu>the new RailwAI version is apparently performing worse
11:31<Samu>don't know if i should repeat all the rounds with the new version or wait for a more stable version
11:31<Samu>kinda sucks to do about 40~ rounds only to get another version out again
11:34<Samu>version 18
11:44<peter1138>Nodoby really cares :p
11:44<Eddi|zuHause>a KraftOMnibus?
11:45<andythenorth>I don't mind this particular spam though :)
11:45<andythenorth>I find it nice
11:46<Eddi|zuHause>https://de.wikipedia.org/wiki/KOM <-- quite a bit down the list :)
11:51-!-gnu_jj [~quassel@ipbcc06310.dynamic.kabel-deutschland.de] has quit []
11:58<peter1138>Yes, because I often write in German...
11:58<peter1138>https://en.wikipedia.org/wiki/KOM <-- also quite a bit down the list, but you can probably guess which one...
12:14-!-y2kboy23 [~y2kboy23@2600:8800:6b02:6800:9c99:e44c:ce4e:2cbe] has quit [Quit: ZNC - https://znc.in]
12:14-!-y2kboy23 [~y2kboy23@ip98-165-216-149.ph.ph.cox.net] has joined #openttd
12:14-!-y2kboy23 is "Got ZNC?" on #openttd
12:20-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
12:20-!-Wormnest is "Wormnest" on #openttd
12:30-!-gnu_jj [~quassel@ipbcc06310.dynamic.kabel-deutschland.de] has joined #openttd
12:30-!-gnu_jj is "jj" on #ceph-devel #openttd.dev #openttd #ceph
12:41-!-HerzogDeXtEr [~farci@ip9234019e.dynamic.kabel-deutschland.de] has joined #openttd
12:41-!-HerzogDeXtEr is "purple" on #openttd
13:01<andythenorth>which way shall I cycle home?
13:01<andythenorth>up the short steep hill, or the long shallow hill?
13:01<andythenorth>lolz, what am I saying
13:02<andythenorth>there is no shallow hill :P
13:02<Eddi|zuHause>this way ->
13:02<andythenorth>exit stage right
13:02<Eddi|zuHause>remember that stage right is on your left :p
13:03<andythenorth>it's only a 47m vertical climb actually
13:03-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
13:03-!-Wolf01 is "Wolf01" on #openttd
13:04<Wolf01>o/
13:04<Eddi|zuHause>that's like a 15 story building
13:04<andythenorth>3.6km, google says 15 mins, I think I can prove that wrong
13:04<andythenorth>eh, the route I normally go is 4.8km :o
13:04<andythenorth>doesn't feel longer :P
13:06-!-andythenorth [~andytheno@host81-150-71-244.in-addr.btopenworld.com] has quit [Quit: andythenorth]
13:27-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
13:27-!-frosch123 is "frosch" on +#openttd.dev #openttd
13:29<rubenwardy>stage right would be on his right, if he's facing the audience
13:29<rubenwardy>stage directions - perspective of actor facing audience
13:29<rubenwardy>house directions - perspective of audience
13:30<rubenwardy>I only know this because of friends
13:30<Eddi|zuHause>not on the stages i've been
13:31<rubenwardy>F•R•I•E•N•D•S
13:31<rubenwardy>https://www.collinsdictionary.com/dictionary/english/stage-right
13:31<Eddi|zuHause>stage directions were always from the view of the audience (where the director would sit in rehearsals)
13:31<rubenwardy>nope, see link
13:32<rubenwardy>http://dictionary.tdf.org/stage-left-stage-right-house-left-house-right/
13:35-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
13:35-!-tokai|noir is "Christian Rosentreter" on #openttd
13:35-!-mode/#openttd [+v tokai|noir] by ChanServ
13:41-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
13:50-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
13:50-!-andythenorth is "andythenorth" on #openttd
13:51<andythenorth>3.7km 58m vertical climb
13:52<andythenorth>google says 17min, I got 9min
13:52<andythenorth>lucky with green traffic lights
13:52-!-Progman [~progman@p4FD66C22.dip0.t-ipconnect.de] has joined #openttd
13:52-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttd
13:52<andythenorth>also bike has go faster electrification mode :P
13:55<Eddi|zuHause>according to google, if i want to go Anywhere(tm), it's 17km, 108m up, 127m down
13:55<Eddi|zuHause>about 1h
13:58<Eddi|zuHause>just leaving the village is a climb of 23m over a distance of 450m
13:58<andythenorth>is faster on electric bike? :P
13:59<Eddi|zuHause>23m over 300m
14:01<Eddi|zuHause>then it's a drop of 33m over 750m
14:02<Eddi|zuHause>then it's a climb of 27m over 1.5km
14:03<Eddi|zuHause>then there's a short flat section and a drop of 52m over 2km
14:04<andythenorth>ouch
14:05<Eddi|zuHause>and then a climb of 27m over 850m
14:05<Eddi|zuHause>and then i still haven't reached the city limits
14:05<Eddi|zuHause>and to go back the whole thing in reverse...
14:05-!-gelignite [~gelignite@55d4b3af.access.ecotel.net] has joined #openttd
14:05-!-gelignite is "gelignite" on #openttd
14:06<andythenorth>electric bike with big battery :P
14:06<andythenorth>mine only has about 5 mile range if ridden everywhere on turbo
14:08<Eddi|zuHause>it's less climbing if i go on the main road, but that would be crazy and borderline life-threatening
14:09<Eddi|zuHause>and only slightly less...
14:11<andythenorth>so who here has an electric car? :)
14:11<Eddi|zuHause>i'd like one, but it's probably not yet realistic
14:12<Eddi|zuHause>but i should probably be getting a new car by the end of the year...
14:15<andythenorth>I am interested how fast it will switch
14:15<andythenorth>and what blocks it
14:16<Eddi|zuHause>the main blocker for me right now is the high entry cost
14:17<Eddi|zuHause>a lesser annoyance would be the long recharging times at long distance trips
14:21<andythenorth>do you buy cars cash, or finance?
14:22<Eddi|zuHause>i've never actually, technically, bought a car myself
14:26<Eddi|zuHause>i'm not sure i'd get away with financing at the moment
14:26<Eddi|zuHause>although that would probably be the sane thing to do
14:26<andythenorth>last time I looked seriously was ~2 years ago
14:27<andythenorth>the battery was confusing - do you own it or rent it?
14:27<andythenorth>so I bought a diesel van :P
14:27<andythenorth>I think that will get addressed this year
14:27<Eddi|zuHause>last time i pushed my old car through the checks, which was probably more expensive than getting a new old car...
14:27<Eddi|zuHause>diesel is dead
14:28<Eddi|zuHause>(also, i'm not driving nearly enough for a diesel to have made sense)
14:32<andythenorth>electrification has to come, and soon
14:32<andythenorth>there are only 2 electric cars on my street, in a very liberal, affluent area
14:33<Eddi|zuHause>it has to, but it's still only the first step
14:34<Eddi|zuHause>a) you now need more electricity, b) you need to produce this new electricity without using carbon, c) you also need to produce the other electricity without carbon
14:34<Eddi|zuHause>d) and preferably also not irreversably radiating the planet while doing so
14:34<andythenorth>it's non-trivial
14:35<andythenorth>but transport electrification creates demand which attracts capital
14:35<andythenorth>and creates battery reserve
14:37<andythenorth>I look at this a lot http://gridwatch.co.uk/
14:38<andythenorth>in summer the UK regularly pushes 20%-35% renewables
15:10<andythenorth>I really enjoy Pikka's AI
15:10<andythenorth>https://dev.openttdcoop.org/attachments/download/9468/Civil_3.png
15:11-!-glx [kvirc@000128ec.user.oftc.net] has joined #openttd
15:11-!-mode/#openttd [+v glx] by ChanServ
15:11-!-glx is "Loïc GUILLOUX" on #openttd.noai #openttd.notice +#openttd
16:00<Wolf01>https://www.hanselman.com/blog/GitIsCasesensitiveAndYourFilesystemMayNotBeWeirdFolderMergingOnWindows.aspx
16:02-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
16:03-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
16:25-!-HerzogDeXtEr [~farci@ip9234019e.dynamic.kabel-deutschland.de] has quit [Read error: Connection reset by peer]
17:09-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
17:16-!-spnda [~oftc-webi@x4db6ada5.dyn.telefonica.de] has joined #openttd
17:16-!-spnda is "OFTC WebIRC Client" on #openttd
17:21-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has left #openttd []
18:03-!-gelignite [~gelignite@55d4b3af.access.ecotel.net] has quit [Quit: Good fight, good night!]
18:03-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
18:05-!-urdh [~urdh@00013d7a.user.oftc.net] has quit [Ping timeout: 480 seconds]
18:12-!-Progman [~progman@p4FD66C22.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
18:17-!-tfgbd_ [~josepoh@pool-100-14-183-3.phlapa.fios.verizon.net] has joined #openttd
18:17-!-tfgbd_ is "jm" on #openttd
18:23<tfgbd_>Wheres the PPC version
18:29<tfgbd_>NM, I found it: https://web.archive.org/web/20060216173549/http://www.esoftinteractive.com/spookysoft/ppcttd_dev.zip https://web.archive.org/web/20060216173549/http://www.esoftinteractive.com/spookysoft/ppcttd.zip
18:56-!-urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd
18:56-!-urdh is "Simon Sigurdhsson" on #oftc #openttd #moocows
19:21-!-Wormnest [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
19:35-!-Mahjong [~qq@2a00:23c7:e06:ed00:b5b5:39bf:7a6e:c1cd] has joined #openttd
19:35-!-Mahjong is "realname" on #ohnx #openttd #oftc
19:41-!-Mahjong1 [~qq@2a00:23c7:e06:ed00:b5b5:39bf:7a6e:c1cd] has quit [Ping timeout: 480 seconds]
19:43-!-Tirili [~Tirili@2a02:8108:96bf:e614:260:6eff:fe42:7728] has joined #openttd
19:43-!-Tirili is "realname" on #openttd
20:00<spnda>When I want a certain function to run on game start and then sometimes get reexecuted when a game starts or finished in which file should this be done? In a game core file maybe?
20:11<Eddi|zuHause>what kind of function?
20:11<Eddi|zuHause>if it's commands, you might want to look at server scripts or admin port
20:12<spnda>what's the admin port again
20:13<Eddi|zuHause>an interface for external programs to issue commands
20:13<Eddi|zuHause>and a few other things
20:14<spnda>Well it's a function for discord rich presence
20:15<+glx>admin port seems to be a good candidate then
20:16<spnda>That's what planetmakers suggestion was on the forums. But when doing C++ I'm unsure how that would all work
20:16<Eddi|zuHause>admin port is basically like a network connection
20:17<+glx>admin port can be used with any language, it's just an interface
20:17<Eddi|zuHause>there are existing admin port libraries in java and python, i think
20:17<Eddi|zuHause>you could use those as a starting point
20:18<spnda>Python, Java, PHP.
20:18<+glx>and a big advantage of using admin port is that you keep a vanilla server
20:18<+glx>easier for users
20:19<Eddi|zuHause>and it'll work for both vanilla and patchpacks, without complicated merging
20:19<spnda>But doesn't this mean the user would need to launch a different program?
20:19<+glx>admin port is on the server only
20:19<Eddi|zuHause>you probably need to make a wrapper script that launches both your admin port library and the game at the same time
20:20<Eddi|zuHause>and they would need to configure the game to open the admin port
20:20<Eddi|zuHause>not sure if that's even supported in single player
20:24<Eddi|zuHause>hm... my steam cart is alredy 30€ and i've made barely a dent in my wishlist :(
20:25-!-Tirili [~Tirili@2a02:8108:96bf:e614:260:6eff:fe42:7728] has quit [Remote host closed the connection]
20:36-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
20:36-!-Wormnest is "Wormnest" on #openttd
20:37<spnda>I just added the Discord stuff right into the source code. Works perfectly fine.
20:37<+glx>Eddi|zuHause: and how is the list of never started games ?
20:38<Eddi|zuHause>glx: i'm fairly good at that... :)
20:41<spnda>in game_core.cpp can I access the current company, if currently in a game?
20:41<spnda>Or should I do this from a completely different file. (I know I probably should be doing it through the admin port but I want integration inside of the program)
20:43<+glx>if you want the actual player it's the local company
20:46<spnda>Can I get the name of it?
20:47<+glx>_local_company
20:47<spnda>The name of the company itself, I mean.
20:48<+glx>it's a CompanyID so you can use company functions with it
20:53<spnda>But how do I get a Company with a CompanyID?
20:53<+glx>Company::Get() should do it
20:54<+glx>than to get the name of the company you need to format the string
20:54<+glx>check usages of STR_COMPANY_NAME
20:56<+glx>you don't need to get the Company to get the name, CompanyID is enough
21:02<tfgbd_>Use the resource editor. It's GUI now.
21:02<tfgbd_>.rc .re files are not Editible Text
21:18<spnda>Which function runs when a new game has just started?
21:18<spnda>Or a game has been loaded
21:26<+glx>you can look for "game_start.scr" as this script is executed at start
21:26-!-tfgbd_ [~josepoh@pool-100-14-183-3.phlapa.fios.verizon.net] has left #openttd []
21:33<spnda>glx where are those scripts located? I can't find it
21:33-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
21:33-!-snail_UES_ is "Jacopo Coletto" on #openttd
21:34<+glx>I mean search in the code
21:46-!-spnda [~oftc-webi@x4db6ada5.dyn.telefonica.de] has quit [Remote host closed the connection]
22:08-!-Flygon [~Flygon@114-198-103-107.dyn.iinet.net.au] has joined #openttd
22:08-!-Flygon is "Flygon" on #openttd
22:15-!-Wormnest [~Wormnest@35.136.176.177] has quit [Quit: Leaving]
22:23-!-D-HUND [~debdog@2a00:79c0:601:8400:7a24:afff:fe8a:d04d] has joined #openttd
22:23-!-D-HUND is "Wowbagger" on #openttd #bitlbee
22:27-!-debdog [~debdog@2a00:79c0:64e:7700:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
22:31-!-Mahjong1 [~qq@host86-132-188-42.range86-132.btcentralplus.com] has joined #openttd
22:31-!-Mahjong1 is "realname" on #ohnx #openttd #oftc
22:36-!-Mahjong [~qq@2a00:23c7:e06:ed00:b5b5:39bf:7a6e:c1cd] has quit [Ping timeout: 480 seconds]
23:06-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
23:18-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has quit [Read error: Connection reset by peer]
23:29-!-glx [kvirc@000128ec.user.oftc.net] has quit []
---Logclosed Wed Jul 03 00:00:51 2019