Back to Home / #openttd / 2017 / 12 / Prev Day | Next Day
#openttd IRC Logs for 2017-12-02

---Logopened Sat Dec 02 00:00:48 2017
00:12-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Read error: Connection reset by peer]
00:15-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
00:15-!-debdog is "Wowbagger" on #openttd
01:09-!-Arveen [~Arveen@p5DE76A88.dip0.t-ipconnect.de] has joined #openttd
01:09-!-Arveen is "realname" on #openttdcoop #openttd
01:14-!-Arveen2 [~Arveen@p5DE7693E.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
01:31-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has quit [Ping timeout: 480 seconds]
02:38-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
02:38-!-andythenorth is "andythenorth" on #openttd
02:38<andythenorth>o/
03:16-!-Alberth [~alberth@00015f9e.user.oftc.net] has joined #openttd
03:16-!-mode/#openttd [+o Alberth] by ChanServ
03:16-!-Alberth is "purple" on @#openttd
03:16<@Alberth>ping
03:17-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds]
03:31-!-HerzogDeXtEr [~farci@dslb-188-103-249-252.188.103.pools.vodafone-ip.de] has joined #openttd
03:31-!-HerzogDeXtEr is "purple" on #openttd
03:53-!-PressureLine [~PL@122-60-249-27.jetstream.xtra.co.nz] has joined #openttd
03:53-!-PressureLine is "realname" on #openttd
04:10<andythenorth>moin Alberth
04:10<@Alberth>moin
04:17-!-Progman [~progman@p57A2B18B.dip0.t-ipconnect.de] has joined #openttd
04:17-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttdcoop #openttd
04:24-!-PressureLine [~PL@122-60-249-27.jetstream.xtra.co.nz] has quit [Read error: Connection reset by peer]
04:27-!-PressureLine [~PL@122-60-249-27.jetstream.xtra.co.nz] has joined #openttd
04:27-!-PressureLine is "realname" on #openttd
04:27-!-PressureLine [~PL@122-60-249-27.jetstream.xtra.co.nz] has quit [Remote host closed the connection]
04:27-!-PressureLine is "realname" on #openttd
04:27-!-PressureLine [~PL@122-60-249-27.jetstream.xtra.co.nz] has joined #openttd
04:32-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
04:32-!-Wolf01 is "Wolf01" on #openttd
04:33<Wolf01>Moin
04:38<@Alberth>moin sir W
05:01<PressureLine>o/
05:14-!-PressureLine [~PL@122-60-249-27.jetstream.xtra.co.nz] has quit [Quit: Leaving]
05:15-!-FLHerne [~flh@cpc129772-papw8-2-0-cust286.know.cable.virginm.net] has joined #openttd
05:15-!-FLHerne is "Francis Herne" on #openttd
05:36-!-gnu_jj [~quassel@ipbcc36896.dynamic.kabel-deutschland.de] has quit [Remote host closed the connection]
05:41-!-Guest118 [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC - http://znc.in]
05:42-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
05:42-!-mindlesstux is "ZNC - http://znc.in" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
05:49-!-gnu_jj [~quassel@ipbcc36896.dynamic.kabel-deutschland.de] has joined #openttd
05:49-!-gnu_jj is "jj" on #openttd.dev #openttd
05:56-!-oskari89 [oskari89@213-186-253-145.bb.dnainternet.fi] has joined #openttd
05:56-!-oskari89 is "Oskari Kvist" on #openttd
05:57-!-gnu_jj [~quassel@ipbcc36896.dynamic.kabel-deutschland.de] has quit [Ping timeout: 480 seconds]
06:02-!-gnu_jj [~quassel@ipbcc36896.dynamic.kabel-deutschland.de] has joined #openttd
06:02-!-gnu_jj is "jj" on #openttd.dev #openttd
06:24-!-ToffeeYogurtPots [~ToffeeYog@9J5AAAARD.tor-irc.dnsbl.oftc.net] has joined #openttd
06:24-!-ToffeeYogurtPots is "realname" on #oftc #privacytech #privacytools.io #openttd #privacybadger #https-everywhere #i2p #tor-offtopic #tor-onions #tor-project #tor #apparmor #debian-offtopic #debian-hurd
06:33-!-Alberth [~alberth@00015f9e.user.oftc.net] has left #openttd []
06:41-!-ToffeeYogurtPots [~ToffeeYog@9J5AAAARD.tor-irc.dnsbl.oftc.net] has quit [Ping timeout: 480 seconds]
06:46-!-ToffeeYogurtPots [~ToffeeYog@4G4AABD77.tor-irc.dnsbl.oftc.net] has joined #openttd
06:46-!-ToffeeYogurtPots is "realname" on #oftc #privacytech #privacytools.io #openttd #privacybadger #https-everywhere #i2p #tor-offtopic #tor-onions #tor-project #tor #apparmor #debian-offtopic #debian-hurd
06:52-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
06:52-!-frosch123 is "frosch" on #openttdcoop.devzone +#openttd.dev #openttd
07:21<andythenorth>tquak
07:28<frosch123>hoi
07:30-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has joined #openttd
07:30-!-Stimrol is "Stimrol" on #openttd
07:32-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
07:32-!-Gja is "Martin" on #ceph #bcache #openttd
08:05-!-Gustavo6046 [~Gustavo60@177.204.144.144.dynamic.adsl.gvt.net.br] has joined #openttd
08:05-!-Gustavo6046 is "Gustavotsky the soviet leader for 2018" on #openttd #ohnx @#gusbot #doom64ex
08:19-!-ToffeeYogurtPots [~ToffeeYog@4G4AABD77.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
08:19-!-ToffeeYogurtPots [~ToffeeYog@4G4AABEB6.tor-irc.dnsbl.oftc.net] has joined #openttd
08:19-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
08:21-!-JacobD88 [~Thunderbi@cpc80683-stap13-2-0-cust1171.12-2.cable.virginm.net] has joined #openttd
08:21-!-JacobD88 is "JacobD88" on #openttd.dev #openttd.notice #openttd
08:38-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
08:38-!-Samu is "OFTC WebIRC Client" on #openttd
08:40-!-ToffeeYogurtPots [~ToffeeYog@4G4AABEB6.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
08:41-!-ToffeeYogurtPots [~ToffeeYog@4G4AABEC8.tor-irc.dnsbl.oftc.net] has joined #openttd
08:41-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
08:43-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
08:57-!-oskari89 [oskari89@213-186-253-145.bb.dnainternet.fi] has quit []
08:59-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
08:59-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
09:29-!-Alberth [~alberth@00015f9e.user.oftc.net] has joined #openttd
09:29-!-mode/#openttd [+o Alberth] by ChanServ
09:29-!-Alberth is "purple" on @#openttd
09:29<@Alberth>moin
09:31<frosch123>o/
09:40-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
09:53<andythenorth>I did try merging trunk to NRT to keep it alive, but I can't merge ottd.grf :P
10:00-!-Flygon [~Flygon@202-161-31-200.dyn.iinet.net.au] has quit [Read error: Connection reset by peer]
10:01-!-Flygon [~Flygon@202-161-31-200.dyn.iinet.net.au] has joined #openttd
10:01-!-Flygon is "Flygon" on #openttd
10:01<frosch123>andythenorth: merged
10:02-!-chomwitt is "chomwitt" on #debian #debian-games
10:02-!-chomwitt [~chomwitt@2a02:587:dc04:7f00:7d43:6b7a:81f7:3ed] has joined #openttd
10:08<frosch123>ah, i forgot to touch the .nfo to force a proper recompile
10:09<frosch123>well, fixed now
10:22<andythenorth>thanks :)
10:23<frosch123>anyway, it's a generated file, so you merge the rest, compile and add whatever the result grf is
10:23<frosch123>you just need to make sure that it actually gets recompiled
10:23<frosch123>which i failed on the first time :)
10:24-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has joined #openttd
10:24-!-Wormnest is "Wormnest" on #openttd
10:28<andythenorth>works for me
10:29<Wolf01><frosch123> andythenorth: merged <- what a good guy :P
10:30<Wolf01>I'm here building a lego robotic arm instead
10:34-!-JacobD88 [~Thunderbi@cpc80683-stap13-2-0-cust1171.12-2.cable.virginm.net] has quit [Quit: JacobD88]
10:35<Wormnest>Looking at WormAI´s airport upgrading I notice it fails to demolish aiport when there´s planes in the landing queue above the airport tiles
10:35<Wormnest>Is this intentional or should I report it as abug
10:38<@Alberth>original ttd already did this
10:38<@Alberth>so I'd classify it as "working as intended" :)
10:43<Wormnest>Ah guess I´ll have to work around that then. At least I figured out what´s going on that´s already the start of a solution
10:44<Samu>Alberth: I'm sorry, I can't figure out how to do this
10:46<Samu>meanwhile I was reviewing my own code, fixed a few issues, and at the same time I learned why I did it the way I did
10:46<@Alberth>Wormnest: remove the airport of the orders of all aircraft, then destroy it
10:46<Samu>there's something I can try to do
10:46<@Alberth>not sure if aircraft could get rerouted to it for maintenance in the meantime
10:46<Samu>there is at most 2 tiles that will be terraformed
10:47<Samu>i can compute the variables for the DoCommand and for the MakeClearedObjectArea
10:47<@Alberth>so probably a cycle of "try to demolish, if failed, check for aircraft going there, reroute
10:47<@Alberth>with a big question what to do if you don't find such aircraft :p
10:48<@Alberth>crash would be my guess :p
10:48<Wormnest>Alberth: Well the thing is I intend to rebuild an upgraded airport so I´d prefer to keep the orders of the planes going there
10:48<Samu>so that I would only call these two functions once or twice
10:48<Samu>avoiding the whole repetition
10:48<Wormnest>But shouldn´t be too hard checking if planes are above airport
10:49<@Alberth>Wormnest: ah, I used to defert all aircraft to it to the next station, then quickly replace it
10:49<@Alberth>until some sneaky AI used that space in the mean time :p
10:49<Wormnest>In fact it might make the current check even simpler :)
10:49<Wormnest>hehe that happens :)
10:50-!-ToffeeYogurtPots [~ToffeeYog@4G4AABEC8.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
10:50-!-ToffeeYogurtPots [~ToffeeYog@7YZAAAUL4.tor-irc.dnsbl.oftc.net] has joined #openttd
10:50-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
10:51<@Alberth>Samu: what value of "this" did you refer to?
10:52<Samu>i can't figure how or even why would I calculate corner heights
10:52<Samu>i tried something
10:52<Samu>getting the best height range of all the 6 corners
10:52<Samu>but there was cases of ties
10:53<@Alberth>of course there is
10:53<@Alberth>it's also in your current solution, although you may have never realized that
10:53<Samu>range 5 to 8, the best height would be 6 or 7
10:54<@Alberth>how do you get 5 to 8 in 2 tiles?
10:54<@Alberth>oh, steep tile?
10:54<Samu>steep slope
10:54<Samu>yes
10:55<@Alberth>5 to 9 would be possible?
10:55<@Alberth>but never mind
10:55<Samu>i forbid terraforming steep slopes on my code though, so i could probably exclude these there too
10:56<Samu>but hmm okay, I got a tie,
10:56<Samu>6 or 7, but it would only use one of these
10:56<Samu>i couldn't figure what to do next
10:56<@Alberth>there are many more ties, eg 3 corners at height 5 and 3 corners at height 6
10:56-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
10:56-!-mode/#openttd [+v tokai|noir] by ChanServ
10:56-!-tokai|noir is "Christian Rosentreter" on +#openttd
10:56<@Alberth>just pick one, imho
10:57<@Alberth>you could take surrounding tiles into account to further reduce tarraforming
10:57<@Alberth>but eventually, I think you will encounter several equivalent solutions
10:58<@Alberth>either refuse to do them, and let the user decide, or pick one
10:58-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
10:58-!-mode/#openttd [+v glx] by ChanServ
10:58-!-glx is "Loïc GUILLOUX" on +#openttd
10:58<@Alberth>if they are equally good, it doesn't matter which you end up with
10:59<andythenorth>can't AI close airport?
11:00<Samu>gonna rewrite the code I had yesterday
11:00<Samu>I deleted it meanwhile
11:00<Samu>brb
11:02<Wormnest>andythenorth: Yes airport was closed but then planes waiting to land start accumulating flying around above the closed airport
11:03-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
11:08-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
11:08-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
11:11<Gustavo6046>Qui sunt illis, obliviscatur fecimus magna in praeteritum? Ad praeterita nostris obliviscatur equalus ut monumentum obliviscatur! Nostris praeterita tergo adducere nostrum!
11:16-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
11:16-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
11:17-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
11:18-!-Flygon [~Flygon@202-161-31-200.dyn.iinet.net.au] has quit [Read error: Connection reset by peer]
11:44-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
11:44-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
11:51<Samu>this is what I had yesterday
11:51<Samu>https://paste.openttdcoop.org/p3elkxu0z
11:51<Samu>line 66 to 96
12:04<Samu>i'm missing something, seems incomplete
12:06<Samu>how do i count the number of corners of the same height
12:06<Samu>with the same height
12:10<Samu>counting corners
12:10<@Alberth>why do you want to know?
12:10<Samu>to determine the best_h
12:12<@Alberth>why not compute the amount of absolute deviation for each height between and inclusing min to max ?
12:12<@Alberth>and take the height with the smallest deviation
12:13<@Alberth>or rather, take *a* height with the smallest deviation
12:13<Samu>have to google smallest deviation
12:14<@Alberth>abs(wanted_height - current_height)
12:14<@Alberth>sum them for all corners
12:15<@Alberth>that's the total deviation for a wanted height
12:15<Samu>i dont know how to get the wanted_height
12:15<Samu>to get to the wanted_height :(
12:15<@Alberth>"smallest" means to select that wanted_height with the smallest sum
12:15-!-sla_ro|master [~sla.ro@78.96.209.89] has joined #openttd
12:15-!-sla_ro|master is "slamaster" on #sla #openttd #love
12:16<@Alberth>try all heights
12:17<@Alberth>for (wanted_height = min_height; wanted_height <= max_height; wanted_height++) { ... }
12:18<Samu>for (int h = min_h; h <= max_h; h++) {
12:18<Samu>isn't that similar
12:18<@Alberth>seems that way
12:19<Samu> delta = max(delta, Delta(h, corners[c]));
12:19<@Alberth>there are only around 3 heights to try at most, or so. Don't make it more difficult than needed
12:21<Samu>isn't Delta the same as abs?
12:21<Samu>gonna try, brb
12:22<@Alberth>don't know, I never said Delta
12:22<@Alberth>you could use least square method, but likely not relevant either
12:24<@Alberth>if you dared opening a book, you'd just know what things mean, instead of trying it all, which is horribly inefficient
12:27<Samu>looks like I dunno what deviation means :( goota learn
12:31-!-ToffeeYogurtPots [~ToffeeYog@7YZAAAUL4.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
12:32-!-ToffeeYogurtPots [~ToffeeYog@7YZAAAUOF.tor-irc.dnsbl.oftc.net] has joined #openttd
12:32-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
12:51-!-Naksu [naksu@youzen.ext.b2.fi] has joined #openttd
12:51-!-Naksu is "Naksu" on #openttd
12:52<Naksu>hello, any idea what might be causing weird jitter when trying to scroll with mouse2 instead of the actual scrolling happening
12:52<Naksu>the screen just shakes
12:52<@Alberth>windows?
12:52<Naksu>yes
12:53<@Alberth>I mean, as in, windows is what is happening
12:53<frosch123>it's broken in w10 since november update
12:53<frosch123>switch to left-mouse-button scrolling for now
12:53<@Alberth>https://www.tt-forums.net/viewtopic.php?f=31&t=77042 don't have windows, so no clue, but here is the topic
13:10-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
13:11<Samu>https://paste.openttdcoop.org/po85kouwx
13:11<Samu>was that it? I guess not :(
13:15<@Alberth>best_h needs to be initialized
13:16<@Alberth>min_h would be a valid value
13:16<@Alberth>otherwise looks fine to me
13:17<@Alberth>last_sum initialization is a bit weird, why MAX_TILE_HEIGHT?
13:18<@Alberth>actually last_sum is better named best_sum
13:20<Samu>oh, right, it's not MAX_TILE_HEIGHT, it's a sum
13:20<Samu>so, INT_MAX or so?
13:22-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
13:22-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
13:34-!-Gustavo6046 [~Gustavo60@177.204.144.144.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 480 seconds]
13:53<@Alberth>6 * (max_height - min_height) ?
13:53<@Alberth>INT_MAX works too
14:04-!-ZexaronS [~zexpc@cpe-194-152-22-45.static.triera.net] has joined #openttd
14:04-!-ZexaronS is "Aaron Zek" on #openttd
14:12<Samu>how to detect a tie? :(
14:12<Samu>if (there is a tier) return_cmd_error(STR_ERROR_SITE_UNSUITABLE);
14:13<Samu>tie*
14:18<@peter1138>Hmm, so what's needed to set up a dev environment on Windows these days?
14:19<@peter1138>Last time I fiddled I was using the Linux subsystem and X11, which isn't going to be helpful for ^ that bug.
14:24-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
14:25-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
14:25-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
14:25-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has quit []
14:26-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
14:26-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
14:26-!-Gustavo6046 [~Gustavo60@177.204.144.144.dynamic.adsl.gvt.net.br] has joined #openttd
14:26-!-Gustavo6046 is "Gustavotsky the soviet leader for 2018" on #openttd #ohnx @#gusbot #doom64ex
14:26<@peter1138>Hmm, I already have VS 2015 Community apparently. I wonder if it actually supports not-.Net
14:28<andythenorth>docker? :P
14:29<@peter1138>Ooh, it's building.
14:29<@peter1138>Hmm, need the build dependencies though.
14:30<@peter1138>"This is an archived release of openttd-useful 6.0, released on 2015-10-03 07:18 UTC."
14:31<@peter1138>I guess that is reasonably recent.
14:41<@peter1138>Gosh, it built.
14:43<Samu>https://paste.openttdcoop.org/pxbdzvrr4
14:43<Samu>lol
14:44<Samu>my drawing of 2 tiles
14:58<@peter1138>Hmm, I'm guessing that after sending SetCursorPos() we're now getting the new position back immediately, as it's "moved".
15:05<frosch123>did you read the fs task?
15:05<frosch123>it has a lot of detail information
15:06<@peter1138>Didn't see it.
15:06<frosch123>https://bugs.openttd.org/task/6629
15:08<@peter1138>Yeah, basically what I figured.
15:08<@peter1138>It's buggy behaviour that just happened to work before.
15:08-!-DDR [~DDR_unhap@S0106f0f249839863.vc.shawcable.net] has quit [Ping timeout: 480 seconds]
15:12-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
15:14-!-Thedarkb [~beno@51-171-49-168-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
15:14-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
15:15<Samu>how to detect a tie? :(
15:16<Samu>if the sum of an h equals the sum of another h and they're both the best_h
15:16<Samu>return error
15:17<Samu>can't figure it out
15:17<Samu>in case of a tie, don't terraform (and don't construct the depot)
15:18<@peter1138>==?
15:21*peter1138 grumbles at documentation that doesn't tell you what includes to... include.
15:28<Exec>Hey. For some reason, I can't move the camera with the right mouse. Any idea what gives? v1.7.1.
15:29<@peter1138>Haha
15:29<Exec>It's like "it wants" to move but it can't. Moves a few pixels but gets straight back to the original position
15:29<@peter1138>Windows 10. Enable left-click dragging and use that instead for now.
15:30<Exec>What. :D How could that be?
15:30<Exec>Yeah, left one works. In what way W10 fscks it up?
15:31<@peter1138>Nothing really, the latest update it just exposes a long-time OpenTTD bug.
15:31<@peter1138>-it
15:33<+glx>1709 changed some things and "fixed" a behaviour that used to work
15:35<Exec>IIRC there was some bug with raw mouse input, back with W8.1.1 or W10.0, is it related to that?
15:36<+glx>maybe
15:36<@peter1138>No, we don't use raw input.
15:36<+glx>I read there was a problem with raw input since 1703
15:36<+glx>or without it but fixed by enabling raw input in some games
15:37<@peter1138>Yeah, it's a problem without it. Same as ours.
15:37<@peter1138>Anyway, I'm trying to use it, but stdafx makes it not work. Hmm.
15:38<@peter1138>Probably where we define a target platform.
15:38<@peter1138>The raw input stuff is only in XP+, not 95/2000.
15:38<+glx>btw I like the details provided in FS6629 comments
15:39<@peter1138>Yeah
15:39<Exec>FS as in flyspray?
15:39<+glx>yup
15:39<Exec>oh
15:39<Exec>I'm used to bugzilla :D
15:39<+glx>https://bugs.openttd.org/task/6629
15:40<@peter1138>Exec, anyway, yeah, I was already looking at this issue when you mentioned it.
15:40<@peter1138>Hence setting up the dev env etc./
15:47-!-Alberth [~alberth@00015f9e.user.oftc.net] has left #openttd []
15:48<Exec>One other question: Isn't a dedicated server supposed to run with ipv6 and 4 at the same time?
15:48<@peter1138>Yes.
15:49<Exec>I only see mine with "(IPv6)" in the list but not one without it (I see other servers having two there).
15:51-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC - http://znc.in]
15:51<V453000>frosch123: could you please have a look at https://paste.openttdcoop.org/pe0ftojpc ? I'm clearly doing something wrong, and I have no idea what getbits(extra_callback_info1, 8, 8) is, tt-wiki said it https://newgrf-specs.tt-wiki.net/wiki/NML:Vehicles at Composing vehicles from multiple sprites ... NML now compiles but the vehicle only draws the 0: spriteset_wagon_wheel; .. the 100 or 1 at the second entry has no difference :)
15:52-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
15:52-!-mindlesstux is "ZNC - http://znc.in" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
15:53<@peter1138>glx, frosch123, i attached a patch that works for me on windows.
15:53<@peter1138>i can't enable rawinput support as we target earlier windows.
15:58<Exec>I think my server is not running on ipv4 only ipv6, which config line can I change to listen on both?
15:58<@peter1138>Why do you think that?
15:58<Exec>My friend can't connect. I can. He has only ipv4 connection, I have both.
15:59<Exec>Also, the server browser only shows the "(IPv6)" only
16:00<@peter1138>dbg: [net] [tcp] listening on IPv4 port 0.0.0.0:3979 (IPv4)
16:00<@peter1138>dbg: [net] [tcp] listening on IPv6 port [::]:3979 (IPv6)
16:00<@peter1138>You should see that in the server log.
16:00<frosch123>peter1138: isn't that the same as when setting queued_warp to false?
16:01<Exec>wow
16:01<frosch123>V453000: it should be a "1", otherwise i see nothing wrong
16:01<Exec>I restarted the daemon. It listens on ipv4 too now. Did something break the interface?
16:03<@peter1138>frosch123, hmm, i guess i'm basically ignoring the queued_warp thing. not sure how to handle that.
16:04<frosch123>iirc the queued_warp is set differently for different video drivers
16:04<frosch123>sdl on linux behaved different to win32
16:04<frosch123>on some platforms the setcursorpos applied immediately, on some it did not affect already queued mouse events
16:05<frosch123>on w10 it now does neither
16:05<frosch123>it does neither take effect immediately, nor does it queue a specific event
16:05<@peter1138>I think it does matter.
16:06<@peter1138>Hmm, I dunno. All I can say then is this *appears* to work for me, on Windows.
16:06<@peter1138>Maybe accidentally :-)
16:08-!-sla_ro|master [~sla.ro@78.96.209.89] has quit []
16:08<@peter1138>frosch123, I see what you mean now. That parameter is meant to account for this.
16:08<@peter1138>But if it's different depending on version... Hmm.
16:08<V453000>what should be 1, the 100?
16:08<frosch123>https://www.tt-forums.net/viewtopic.php?f=31&p=1193550#p1193311 <- it's that
16:08<V453000>yeah that makes sense but neither works
16:09<frosch123>but the problem with that approach is that it reverts the "fix" that prevents ottd to scroll to the other end of the map when lagging
16:09<@peter1138>Deleted it.
16:11<@peter1138>I wonder if the "fix" needed with this new behavour in the November update.
16:11<@peter1138>+is
16:12<@peter1138>I should be able to make the game lag. Large map + debug build... :D
16:12<+glx>hmm load an ottdcoop save
16:13<Exec>peter1138: Large map with maximum cities and industries
16:14<@peter1138>Still building a 2048x2048 map.
16:15<@peter1138>I remember when a full recompile took 12 seconds on this thing ;)
16:20<@peter1138>seems like too many bandaids there :(
16:25<@peter1138>frosch123, so can we set "false" when using the November update, and true before that? Somehow? :S
16:25<frosch123>when i looked at the logs from november update, both true and false would be wrong
16:26<@peter1138>Hmm, false works for me. What would be wrong about it?
16:26<frosch123>it's completely non-obvious at which position in the event series the warp takes place
16:27<frosch123>false assumes that setcursorpos directly affects the next event
16:27<frosch123>if ottd lacks and multiple events are queued, you multiply the move-distance by the amount of queued events
16:28<frosch123>while the external sources from msdn claim that setcursorpos would happen immediately
16:28<frosch123>the logs show that that is neither true before or after the november update
16:54-!-Progman [~progman@p57A2B18B.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
16:58-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has quit [Quit: ZNC - http://znc.in]
17:27-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has left #openttd []
17:48-!-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]
18:00-!-Arveen2 [~Arveen@pD9FD3705.dip0.t-ipconnect.de] has joined #openttd
18:00-!-Arveen2 is "realname" on #openttdcoop #openttd
18:04-!-PressureLine [~PL@122-60-249-27.jetstream.xtra.co.nz] has joined #openttd
18:04-!-PressureLine is "realname" on #openttd
18:05-!-Arveen [~Arveen@p5DE76A88.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
18:29-!-Flygon [~Flygon@202-161-31-200.dyn.iinet.net.au] has joined #openttd
18:29-!-Flygon is "Flygon" on #openttd
18:32-!-Chrill [~Chrill@c-e05a71d5.010-137-73746f44.cust.bredbandsbolaget.se] has joined #openttd
18:32-!-Chrill is "Christopher" on #openttd #tycoon
18:57-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has quit [Quit: Leaving]
18:58<Wolf01>'night
18:58-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
19:05-!-Chrill [~Chrill@c-e05a71d5.010-137-73746f44.cust.bredbandsbolaget.se] has quit []
19:13-!-Gustavo6046 [~Gustavo60@177.204.144.144.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 480 seconds]
19:39-!-Gustavo6046 [~Gustavo60@177.204.144.144.dynamic.adsl.gvt.net.br] has joined #openttd
19:39-!-Gustavo6046 is "Gustavotsky the soviet leader for 2018" on #openttd #ohnx @#gusbot #doom64ex
19:51-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Quit: Page closed]
20:09-!-ZexaronS [~zexpc@cpe-194-152-22-45.static.triera.net] has quit [Remote host closed the connection]
20:14-!-ZexaronS [~zexpc@cpe-194-152-22-45.static.triera.net] has joined #openttd
20:14-!-ZexaronS is "Aaron Zek" on #openttd
20:35-!-Gustavo6046 [~Gustavo60@177.204.144.144.dynamic.adsl.gvt.net.br] has quit [Quit: Rapid Eye Movement time.]
20:45-!-HerzogDeXtEr [~farci@dslb-188-103-249-252.188.103.pools.vodafone-ip.de] has quit [Read error: Connection reset by peer]
21:07-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC - http://znc.in]
21:08-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
21:08-!-mindlesstux is "ZNC - http://znc.in" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
21:09-!-glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
21:10-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
21:14-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
21:14-!-debdog is "Wowbagger" on #openttd
21:34-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
21:39-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
21:39-!-debdog is "Wowbagger" on #openttd
22:02-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
22:02-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
22:07-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
22:07-!-debdog is "Wowbagger" on #openttd
22:26-!-chomwitt [~chomwitt@2a02:587:dc04:7f00:7d43:6b7a:81f7:3ed] has quit [Ping timeout: 480 seconds]
22:32-!-D-HUND [~debdog@ip-37-201-5-138.hsi13.unitymediagroup.de] has joined #openttd
22:32-!-D-HUND is "Wowbagger" on #openttd
22:33-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
23:28-!-cHawk [chawk@24-119-130-119.cpe.cableone.net] has quit [Quit: Leaving]
23:31-!-cHawk [chawk@24-119-130-119.cpe.cableone.net] has joined #openttd
23:31-!-cHawk is "realname" on #openttd #tor-project #tor
---Logclosed Sun Dec 03 00:00:49 2017