Back to Home / #openttd / 2017 / 11 / Prev Day | Next Day
#openttd IRC Logs for 2017-11-04

---Logopened Sat Nov 04 00:00:08 2017
00:04-!-glx [] has quit [Quit: Bye]
00:04-!-Agiri[m] [~agiriagrs@2001:470:1af1:101::f98] has joined #openttd
00:04-!-Agiri[m] is "" on #openttd
00:09-!-Guest8259 is now known as Prof_Frink
00:09-!-Prof_Frink is now known as Guest8266
00:18-!-Pressure_Line [] has joined #openttd
00:18-!-Pressure_Line is "realname" on #openttd
00:25-!-PressureLine [] has quit [Ping timeout: 480 seconds]
00:46-!-cHawk [] has joined #openttd
00:46-!-cHawk is "realname" on #openttd #tor-project #tor
01:10-!-Guest8266 is now known as Prof_Frink
01:10-!-Prof_Frink is now known as Guest8270
01:31-!-Cubey [] has quit [Ping timeout: 480 seconds]
01:37-!-murr4y [] has quit [Ping timeout: 480 seconds]
02:11-!-Guest8270 is now known as Prof_Frink
02:11-!-Prof_Frink is now known as Guest8277
02:15-!-sla_ro|master [] has joined #openttd
02:15-!-sla_ro|master is "slamaster" on @#sla #openttd #love
02:40-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC -]
02:41-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
02:41-!-mindlesstux is "ZNC -" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
02:56-!-tokai [] has joined #openttd
02:56-!-tokai is "Christian Rosentreter" on #openttd
02:56-!-mode/#openttd [+v tokai] by ChanServ
03:03-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
03:12-!-Guest8277 is now known as Prof_Frink
03:12-!-Prof_Frink is now known as Guest8279
03:20-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC -]
03:21-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
03:21-!-mindlesstux is "ZNC -" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
04:03-!-andythenorth [] has joined #openttd
04:03-!-andythenorth is "andythenorth" on #openttd
04:07<Pressure_Line>playing moar with Road Hog
04:08<Pressure_Line>having the length of the vehicles listed somewhere would be useful
04:08<andythenorth>? o_O
04:09<Pressure_Line>or is it
04:09-!-Progman [] has joined #openttd
04:09-!-Progman is "Peter Henschel" on #openttdcoop #openttd
04:09<Pressure_Line>and im just blind/stupid
04:09*andythenorth interested
04:10<andythenorth>how would it help you?
04:10<andythenorth>articulated vs. non-articulated?
04:10<andythenorth>or actual lengths?
04:11<Pressure_Line>actual lengths (like for trains
04:11<andythenorth>trams are easy, they're all 16/8 except mail tram
04:11<andythenorth>single tile length
04:11<andythenorth>trucks vary more
04:13<Pressure_Line>i thought that some of 1st gen trams (Scrooby Top etc) were 1.1 for some reason
04:13<Pressure_Line>or 0.9
04:13-!-Guest8279 is now known as Prof_Frink
04:13<andythenorth>there was a bug where one tram was missing a wagon, so wrong length
04:13<andythenorth>rest are 16/8, makes for easy station use
04:13-!-Prof_Frink is now known as Guest8282
04:14<Pressure_Line>nvm then ^_^
04:14<Pressure_Line>id probably be more interested in such a thing if I was a regular HEQS user
04:14<andythenorth>HEQS is a mess :)
04:15-!-Supercheese [] has joined #openttd
04:15-!-Supercheese is "Supercheese" on #openttd #openttdcoop.devzone
04:33<Pressure_Line>I wonder how good V's 32bpp->8bpp converter is
04:36<alluke>i guess theres only one way to find out
04:37<alluke>why can't i login into web translator?
04:37<Pressure_Line>because reasons
04:38<Pressure_Line>did there used to be a bug w/ articulated vehicles and realistic acceleration?
04:43-!-Wolf01 [] has joined #openttd
04:43-!-Wolf01 is "Wolf01" on #openttd
05:03-!-synchris [~synchris@] has joined #openttd
05:03-!-synchris is "Synesios Christou" on #openttd
05:14-!-Guest8282 is now known as Prof_Frink
05:14-!-Prof_Frink is now known as Guest8286
05:24-!-Supercheese [] has quit [Read error: Connection reset by peer]
05:25-!-Supercheese [] has joined #openttd
05:25-!-Supercheese is "Supercheese" on #openttd #openttdcoop.devzone
05:57-!-Supercheese [] has quit [Quit: Valete omnes]
05:59-!-tycoondemon [] has quit [Ping timeout: 480 seconds]
06:01<andythenorth>ok Steeltown is boring
06:01-!-Pressure_Line [] has quit [Read error: Connection reset by peer]
06:02-!-Pressure_Line [] has joined #openttd
06:02-!-Pressure_Line is "realname" on #openttd
06:03<Pressure_Line>coffee is great
06:03<alluke>why boring
06:03<alluke>havent tested it yet
06:15-!-Guest8286 is now known as Prof_Frink
06:15-!-Prof_Frink is now known as Guest8290
06:22<andythenorth>is it worth switching to Windows?
06:23<Eddi|zuHause>for what purpose?
06:24<Wolf01>If for the glory of Satan, yes
06:24<andythenorth>Spintires is Windows only
06:25<andythenorth>and also Macs don't work right any more
06:27<alluke>spintires is fun, ive played it on friends pc
06:27<alluke>how mas dont work right
06:28<Eddi|zuHause>there are plenty of games available for linux nowadays
06:28<alluke>steam is great
06:28<alluke>i have ets2 and fs15
06:30<Eddi|zuHause>i barely ever started wine in the past 2 years
06:30<alluke>wine is pain in the ass to get work properly
06:30<Eddi|zuHause>i've used it for ~10 years
06:32<alluke>i tried to make gta sa run on it but cannot find the config to make graphics work properly
06:33<alluke>the shaders and such need to be tweaked
06:33<Eddi|zuHause>part of the reason why wine has declined so much for me is lack of DX11 support
06:34-!-andythenorth [] has quit [Quit: andythenorth]
06:35<alluke>do you have nya idea how the config works
06:35<alluke>in cider its just a text file
06:36-!-andythenorth [] has joined #openttd
06:36-!-andythenorth is "andythenorth" on #openttd
06:37-!-ToffeeYogurtPots [] has quit [Remote host closed the connection]
06:37-!-ToffeeYogurtPots [] has joined #openttd
06:37-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytech #oftc
06:46*andythenorth wrecks FIRS more
06:46<andythenorth>delete Steeltown? o_O
07:04-!-murr4y [] has joined #openttd
07:04-!-murr4y is "AK" on #openttdcoop #openttd #bitlbee #suckless
07:10<Pressure_Line>andythenorth> Spintires is Windows only
07:10<Pressure_Line>spintires is great
07:10<Pressure_Line>too bad Pavel is such a colossal tool
07:10-!-Pressure_Line is now known as PressureLine
07:11<PressureLine>want run looooong trains
07:11<PressureLine>all industries on map are rubbish
07:16-!-Guest8290 is now known as Prof_Frink
07:16-!-Prof_Frink is now known as Guest8295
07:17*PressureLine gasps
07:30-!-HerzogDeXtEr [] has joined #openttd
07:30-!-HerzogDeXtEr is "purple" on #openttd
07:32<andythenorth>OpenTTD is pretty unreasonable about crashing`
07:32<andythenorth>why crash when I delete a grf that's in use?
07:42<Eddi|zuHause>yeah. totally unreasonable
07:42-!-orudge` [] has quit [Ping timeout: 480 seconds]
07:42-!-orudge` [] has joined #openttd
07:42-!-orudge` is "orudge" on #thesinner #openttdcoop.devzone #bukkit #jontylog #tycoonexiles #z.aud #locomotion #transportempire #openttdcoop #openttd #tycoon
07:42-!-mode/#openttd [+o orudge`] by ChanServ
07:44<andythenorth>seems like it wants something stupid, like loading sprites from disk
07:44<andythenorth>totally unreasonable
07:44<alluke>is there any way to completely remove AI from game
07:44<alluke>so they dont reload
07:52-!-FLHerne [] has joined #openttd
07:52-!-FLHerne is "Francis Herne" on #openttd
07:52-!-PressureLine [] has quit [Read error: Connection reset by peer]
07:53-!-PressureLine [] has joined #openttd
07:53-!-PressureLine is "realname" on #openttd
07:56-!-Pressure_Line [] has joined #openttd
07:56-!-Pressure_Line is "realname" on #openttd
07:56-!-PressureLine [] has quit [Read error: Connection reset by peer]
07:59-!-Pressure_Line [] has quit []
08:06<alluke>@andythenorth when will chips get snow-awareness? the same ground tiles firs uses atm
08:07<alluke>i love chips but thats the only annoying feature atm
08:07<andythenorth>what is the point of a station set with snow?
08:08<alluke>blend into th escenery
08:08<andythenorth>but then all cargo sprites look same: snow
08:08<andythenorth>and all ground types look same: snow
08:08<andythenorth>defeats the point, no?
08:09<alluke>yes but only during winter
08:09<alluke>i wouldnt snow the cargo sprites tho
08:09<andythenorth>someone could fork it
08:09<alluke>there could be some tire tracks etc to separate them a bit from ground tiles
08:10-!-synchris [~synchris@] has quit [Read error: Connection reset by peer]
08:11-!-synchris [~synchris@] has joined #openttd
08:11-!-synchris is "Synesios Christou" on #openttd
08:13<alluke>does bulk terminal have any restrictions on how much water it needs around
08:14-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC -]
08:15-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
08:15-!-mindlesstux is "ZNC -" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
08:17<andythenorth>failing to build?
08:17-!-Guest8295 is now known as Prof_Frink
08:17-!-Prof_Frink is now known as Guest8297
08:18<alluke>i guess the lake is just too small
08:19<alluke>which firs psd file contains snow sprites? cant find
08:19-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
08:19<andythenorth>depends on the industry
08:20<andythenorth>snow spritesheets in here
08:20<andythenorth>some are also in psds, some aren't
08:20<andythenorth>CHIPS lacks a coder btw
08:20<andythenorth>I have NFI how the code works
08:21<andythenorth>so your on your own for adding snow
08:22-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
08:22-!-debdog is "Wowbagger" on #openttd
08:36<andythenorth>yes that's the ground tile
08:36-!-Breckett [~DDD@2001:638:102:e1::101b] has joined #openttd
08:36-!-Breckett is "Breckett" on #openttd
08:44-!-frosch123 [] has joined #openttd
08:44-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd
08:47-!-Breckett [~DDD@2001:638:102:e1::101b] has quit [Quit: Verlassend]
08:52<alluke>when someone wants to code the snow awareness there are ready sprites
08:53<andythenorth>might be a while waiting :)
08:53<andythenorth>you could recode CHIPS
08:53<alluke>who coded the previous versions?
08:54-!-orudge` [] has quit [Ping timeout: 480 seconds]
08:54<alluke>and he has vanished?
08:54-!-orudge` [] has joined #openttd
08:54-!-orudge` is "orudge" on #thesinner #openttdcoop.devzone #bukkit #jontylog #tycoonexiles #z.aud #locomotion #transportempire #openttdcoop #openttd #tycoon
08:54-!-mode/#openttd [+o orudge`] by ChanServ
08:54<andythenorth>he's on linkedin
08:54<andythenorth>but he's busy
09:18-!-Guest8297 is now known as Prof_Frink
09:18-!-Prof_Frink is now known as Guest8302
09:21-!-FLHerne [] has quit [Ping timeout: 480 seconds]
09:29<andythenorth>maybe I should put explosives back into Steeltown :P
09:38<Arveen>talking about Steeltown - is it safe to upgrade the version within a running game of FIRS3 ?
09:40<andythenorth>very not
09:41<Arveen>got a Steeltown game running atm in which I spend like 20 hrs so far
09:41<alluke>sucks that save games seem to have some kind of sprite cache that gets breached
09:42<alluke>orevents new firses from working properly
09:42<alluke>if upgraded too many times
09:42<andythenorth>what breaks?
09:47-!-Gustavo6046 [~Gustavo60@] has joined #openttd
09:47-!-Gustavo6046 is "I open with sandwich!" on #openttd #ohnx @#gusbot #doom64ex
09:48<alluke>all graphics are default coal mine
09:51<alluke>if i upgrade to firs for first time it works fine, after second or third upgrade the graphics get fucked
09:52-!-dpk [] has quit [Quit: ZNC -]
09:52<andythenorth>sounds quite special
10:07-!-dpk [] has joined #openttd
10:07-!-dpk is "David Preston Kendal" on #openttdcoop #openttd
10:17-!-Flygon [] has quit [Read error: Connection reset by peer]
10:19-!-val_ [] has joined #openttd
10:19-!-val_ is "OFTC WebIRC Client" on #openttd
10:19-!-Guest8302 is now known as Prof_Frink
10:19-!-Prof_Frink is now known as Guest8306
10:20<val_>I tried using notes on wiki openttd but it don't work, support it ?
10:22<val_>i've used: <ref>text</ref> and <references/>
10:43-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
10:49-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC -]
10:50-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
10:50-!-mindlesstux is "ZNC -" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
10:57-!-Samu [] has joined #openttd
10:57-!-Samu is "OFTC WebIRC Client" on #openttd
10:57-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
11:02-!-debdog [] has joined #openttd
11:02-!-debdog is "Wowbagger" on #openttd
11:17-!-orudge` [] has quit [Read error: Connection reset by peer]
11:17-!-orudge` [] has joined #openttd
11:17-!-orudge` is "orudge" on #thesinner #openttdcoop.devzone #bukkit #jontylog #tycoonexiles #z.aud #locomotion #transportempire #openttdcoop #openttd #tycoon
11:17-!-mode/#openttd [+o orudge`] by ChanServ
11:20-!-Guest8306 is now known as Prof_Frink
11:20-!-Prof_Frink is now known as Guest8310
11:25-!-debdog [] has quit [Quit: No Ping reply in 180 seconds.]
11:29-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
11:29-!-debdog is "Wowbagger" on #openttd
11:55-!-Cubey [] has joined #openttd
11:55-!-Cubey is "Jaybar" on #openttd
12:04<Samu>cargo packets
12:05<Samu>even cargoes have their own identity
12:05<Samu>this game is really precise
12:05-!-Thedarkb [] has joined #openttd
12:05-!-Thedarkb is "realname" on #oolite #openttd
12:05<Samu>now I understand that variety I was getting
12:09<Samu>i was thinking i'd be always working with 5 pieces at a time, then suddenly, I work with 1 piece + 4 pieces, due to this cargo packeting
12:10<Samu>now I see why the closest industry would always get higher amounts of wood
12:12<val_>wiki openttd support references, notes ?
12:15<frosch123> <- the extensions are listed there
12:15<LordAro>ouch, mediawiki 1.19
12:16<frosch123> <- grfspecs have the "cite" extension and it is used often
12:16-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
12:16<LordAro>ah, orudge actually keeps his stuff up to date :p
12:18<Samu>I'm gonna call this "cargo packet fragmentation"
12:18-!-andythenorth [] has quit [Quit: andythenorth]
12:21-!-andythenorth [] has joined #openttd
12:21-!-andythenorth is "andythenorth" on #openttd
12:21-!-Guest8310 is now known as Prof_Frink
12:21-!-Prof_Frink is now known as Guest8314
12:22-!-debdog [] has joined #openttd
12:22-!-debdog is "Wowbagger" on #openttd
12:27<Samu>- packets { size=2 } std::list<CargoPacket *,std::allocator<CargoPacket *> >
12:28<LordAro>frosch123: "This [cite] extension comes with MediaWiki 1.21 and above...."
12:28<LordAro>not exactly by choice :p
12:28<LordAro>just that ottd wiki is so old...
12:32<andythenorth>if you only use trains
12:32<andythenorth>Steeltown is the worst thing ever
12:36-!-Alberth [] has joined #openttd
12:36-!-mode/#openttd [+o Alberth] by ChanServ
12:36-!-Alberth is "purple" on @#openttd
12:37<@Alberth>hi hi
12:39<val_>ok, thanks frosh
12:43-!-andythenorth [] has quit [Quit: andythenorth]
12:46<frosch123>LordAro: i think we had to install it separately for newgrf wiki, no idea how long ago that was
12:47<frosch123>LordAro: 1.21 is from 2013, newgrfwiki is from 2011
12:48<LordAro>so someone actually updated it? :o
12:52<Samu>Industry *ind = st->industries_near[RandomRange(st->industries_near.Length())];
12:52<Samu>what's the worst that could happen? :p
12:56<@Alberth>computational melt-down?
12:58<@Alberth>total earth destruction sounds pretty bad too
12:58<@Alberth>not sure if it is significant for us
13:01-!-Arveen2 [] has joined #openttd
13:01-!-Arveen2 is "realname" on #openttdcoop #openttd
13:03<Samu>so instead of delivering cargo to the nearest industries first, and iterating towards the farthest industries, I'm trying to deliver cargo randomly
13:04<Samu>let's see how biased RandomRange is
13:05<Samu>woah, not so biased after all
13:05-!-Arveen [] has quit [Ping timeout: 480 seconds]
13:07-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
13:07<Samu>not bad, i expected worse
13:09<@Alberth>discrete uniform distribution is quite nicely flat indeed :)
13:09-!-Thedarkb [] has joined #openttd
13:09-!-Thedarkb is "realname" on #oolite #openttd
13:10<Samu>hmm, there is a problem, i don't count 240 total :(
13:10<Samu>only 217, something is wrong :(
13:11<@Alberth>industry rating?
13:11<Samu>no, they have no ratings
13:11<Samu>something's wrong with the iterator
13:11<Samu> for (uint i = 0; i < st->industries_near.Length() && num_pieces != 0; i++) { Industry *ind = st->industries_near[RandomRange(st->industries_near.Length())];
13:12<Samu>there are 11 industries
13:13<Samu>randomrange(11) does make it pick a number from 0-10? or 0-11?
13:14<@Alberth>no idea, the docs should make that clear
13:16<@Alberth>why do you stop after "Length" iterations?
13:17<Samu>maybe that's it?
13:18<@Alberth>I am not even sure why you iterate at all, tbh, you split the delivered cargo in small pieces?
13:19<Samu>yes, 1 by 1, with a do, while
13:19<@Alberth>nice if you need to deliver 3000 cargo
13:20<Samu>it does per wagon
13:21<Samu>5 at a time, maximum, if the cargo packet isn't fragmented
13:21<Samu>then it's 4 +1 or 3 + 2, etc
13:21<Samu>@calc 240 / 5
13:21<@DorpsGek>Samu: 48
13:22-!-Guest8314 is now known as Prof_Frink
13:22-!-Prof_Frink is now known as Guest8318
13:22-!-Guest8318 [] has quit [Killed ( (Nick change collision))]
13:22-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC -]
13:23-!-Prof_Frink [] has joined #openttd
13:23-!-Prof_Frink is "Alan Blanchflower" on #tycoonexiles #openttd #tycoon
13:23<Samu>i got 11 industries in this case and a random number of pieces going from 1 to 5
13:23-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
13:23-!-mindlesstux is "ZNC -" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
13:28<Samu>hmm, the iterator only iterates 0, 1, 2, 3, 4, then it runs out of pieces
13:28<Samu>never got random being = 11
13:29<Samu>so that's fine, then why the sum of all pieces delivered by the train isn't 240 ?
13:32-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC -]
13:32-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
13:32-!-mindlesstux is "ZNC -" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
13:33<@Alberth>delivering a large amount to only a few industries will likely trigger your Length limitation
13:34<@Alberth>print how much you deliver to what
13:35<Samu>the train brings 240
13:35<Samu>i was expecting the sum of all goods produced to be 240
13:36<Samu>now I got 224, something is being lost :(
13:37<@Alberth>@calc 224/240.0
13:37<@DorpsGek>Alberth: 0.933333333333
13:38<@Alberth>bit high for station rating, isn't it?
13:39<Samu>station rating doesn't matter here :(
13:39<Samu>it's the industry taking delivered cargo
13:39<Samu>the station accepts, and there 11 industries near the station
13:39<@Alberth>"goods" is produced cargo, not delivered cargo
13:40<Samu>the sum of all "production last month" should be 240
13:40<Samu>no? :(
13:41<@Alberth>accepted cargo amount and delivered cargo amounts are not equal
13:41<@Alberth>the station rating fraction is between them
13:41<@Alberth>try unpatched openttd with 1 industry
13:42<Samu>it delivers 240
13:42<Samu>nothing is lost
13:43<Samu>yep, 240, just tested
13:43<Samu>on 1.7.1
13:43<Samu>1 industry got it all
13:44<Samu> 1.7.1
13:44-!-val_ [] has quit [Quit: Page closed]
13:45-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
13:46<Samu>let me try more asserts
13:47<@Alberth>hmm, how weird
13:47<@Alberth>did you try to deliver to the same industry more than once?
13:48<Samu>yes, it can do that, can't it?
13:48<Samu>random is random
13:49<Samu>ind->incoming_cargo_waiting[cargo_index] += amount;
13:51<@Alberth>that line looks fine
13:51<Samu>gonna try my old method, isntead of a random iterator
13:51<@Alberth>did you sum how much cargo you tried to deliver for a second or later time to the same industry?
13:54<Samu>not sure I understand the question
13:55<Samu>@calc 43+49+53+47+48
13:55<@DorpsGek>Samu: 240
13:55<Samu>my old way is doing correct
13:55<Samu>i wonder if it can be delivered twice to the same industry
13:56<Samu>gonna try ind = 0
13:56<Samu>Industry *ind = st->industries_near[0];
13:56-!-Gustavo6046 [~Gustavo60@] has joined #openttd
13:56-!-Gustavo6046 is "I open with sandwich!" on #openttd #ohnx @#gusbot #doom64ex
13:56-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
13:57<Samu>240 to one industry, it worked... very odd
13:59<Wolf01> seems interesting
13:59<Samu>i dont understand why it fails if it's random
14:00<Samu>can r be negative?
14:01<Wolf01>Is industries_near randomized each time?
14:02-!-glx [] has joined #openttd
14:02-!-mode/#openttd [+v glx] by ChanServ
14:02-!-glx is "Loïc GUILLOUX" on +#openttd
14:04<Samu>if the length can be at times less than 11? I don't think that can happen
14:04<@Alberth>remove an industry :p
14:05<Samu>i didn't remove any, they're all there yet
14:05<Samu>so, it should always be 11 nearby industries
14:07<Samu>gonna try another assert
14:08<Samu>assert(st->industries_near.Length() == 11);
14:10<Samu>nop, it ain't this
14:10-!-Thedarkb [] has joined #openttd
14:10-!-Thedarkb is "realname" on #oolite #openttd
14:10<Samu>gonna demolish one, see if it crashes
14:11<Samu>yep, crashed openttd right away
14:11<Samu>assert(r < st->industries_near.Length() && r >= 0);
14:11<Samu>also tried that, never crashed because of it
14:12<Samu>RandomRange is doing fine
14:12<Samu>unless an industry temporarily refuses cargo? but how can that happen?
14:16<@Alberth>pnly newgrf industries can do that, eg ECS
14:17<@Alberth>not sure if you can deliver cargo to the same industry multiple times
14:17<@Alberth>(for newgrf industries)
14:17<Samu>i tried it just a moment ago, delivered piece by piece
14:18<Samu>240 were delivered to the same industry
14:18<@Alberth>ok, so double deliveries are not a problem apparently
14:22-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
14:35-!-Thedarkb [] has joined #openttd
14:35-!-Thedarkb is "realname" on #oolite #openttd
14:36<Samu> i->produced_cargo_waiting[0] = min(i->produced_cargo_waiting[0] + (cargo_waiting * indspec->input_cargo_multiplier[cargo_index][0] / 256), 0xFFFF);
14:36<Samu>could be a rounding error from this?
14:37<Samu>hmm nah, strange if it was
14:45<Samu>this_month_production, how is this being updated?
14:46<Samu>must investigate
14:49<alluke>installed yellow headlights to my car
14:51<Wolf01>Why you do that?
14:57-!-gelignite [] has joined #openttd
14:57-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
14:59<alluke>because its old and french
14:59<alluke>retro look
15:00<Samu>RecomputeProductionMultipliers - i wonder if this has an impact on cargo
15:01-!-Wormnest [] has joined #openttd
15:01-!-Wormnest is "Wormnest" on #openttd
15:01<Samu>i deliver 240 wood, but the industry could perhaps produce half of it?
15:01<Samu>120 goods?
15:01<Samu>could something like that happen?
15:02-!-sla_ro|master [] has quit []
15:02<Samu>half of 1 is 0
15:03-!-sla_ro|master [] has joined #openttd
15:03-!-sla_ro|master is "slamaster" on @#sla #openttd #love
15:03<Samu>maybe the missing cargo originates from this? how can i tell?
15:18<Wolf01> Ahahah
15:20-!-alluke [] has quit [Ping timeout: 480 seconds]
15:20<Wolf01>Aahahahahha lol a 0-2-0
15:23-!-orudge` [] has quit [Ping timeout: 480 seconds]
15:23-!-orudge` [] has joined #openttd
15:23-!-orudge` is "orudge" on #thesinner #openttdcoop.devzone #bukkit #jontylog #tycoonexiles #z.aud #locomotion #transportempire #openttdcoop #openttd #tycoon
15:23-!-mode/#openttd [+o orudge`] by ChanServ
15:33-!-FLHerne [] has joined #openttd
15:33-!-FLHerne is "Francis Herne" on #openttd
15:38-!-oskari89 [] has joined #openttd
15:38-!-oskari89 is "Oskari Kvist" on #openttd
15:46-!-ToffeeYogurtPots [] has quit [Remote host closed the connection]
15:49-!-ToffeeYogurtPots [] has joined #openttd
15:49-!-ToffeeYogurtPots is "realname" on #oftc #privacytech #openttd #privacybadger #https-everywhere #i2p #tor-offtopic #tor-onions #tor-project #tor #apparmor #debian-offtopic #debian-hurd
15:50-!-Stimrol [] has joined #openttd
15:50-!-Stimrol is "Stimrol" on #openttd
15:54-!-andythenorth [] has joined #openttd
15:54-!-andythenorth is "andythenorth" on #openttd
15:55-!-Extrems [] has quit [Quit: ZNC -]
15:56-!-Extrems [] has joined #openttd
15:56-!-Extrems is "" on #openttd #gcc
16:09-!-Supercheese [] has joined #openttd
16:09-!-Supercheese is "Supercheese" on #openttd #openttdcoop.devzone
16:18-!-PressureLine [] has joined #openttd
16:18-!-PressureLine is "realname" on #openttd
16:23-!-alluke [] has joined #openttd
16:23-!-alluke is "" on #openttd
16:33-!-andythenorth [] has quit [Quit: andythenorth]
16:33-!-Alberth [] has left #openttd []
16:37-!-sla_ro|master [] has quit []
16:37<Samu>bah, alberth is gone
16:37-!-PressureLine [] has quit [Read error: Connection reset by peer]
16:37-!-PressureLine [] has joined #openttd
16:37-!-PressureLine is "realname" on #openttd
16:40<Samu>anyways, I just manually calculated every sum each industry was receiving
16:40<Samu>i got 240, therefore it's a display problem
16:41<Samu>the problem isn't originating where I made changes, but further down the code
16:41<Samu>past it
16:43<Samu>i'm suspicious of production last month not being updated correctly?
16:44<Samu>or not in time?
16:45-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
17:03-!-AcMafee [~oftc-webi@2601:1c0:6702:fa50::c414] has joined #openttd
17:03-!-AcMafee is "OFTC WebIRC Client" on #openttd
17:04-!-Thedarkb [] has joined #openttd
17:04-!-Thedarkb is "realname" on #oolite #openttd
17:07-!-AcMafee [~oftc-webi@2601:1c0:6702:fa50::c414] has left #openttd []
17:35<Samu>this is really strange, i just got 254 now
17:35<Samu>got 241 before this last delivery
17:43-!-andythenorth [] has joined #openttd
17:43-!-andythenorth is "andythenorth" on #openttd
17:53-!-andythenorth [] has quit [Quit: andythenorth]
18:13-!-oskari89 [] has quit []
18:30-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
18:32-!-synchris [~synchris@] has quit [Remote host closed the connection]
18:54-!-Supercheese [] has quit [Read error: Connection reset by peer]
18:55-!-Supercheese [] has joined #openttd
18:55-!-Supercheese is "Supercheese" on #openttd #openttdcoop.devzone
18:55-!-gelignite [] has quit [Quit: I have always found that mercy bears richer fruits than strict justice.]
19:00<Samu>i finally got this!
19:02<Samu> if (cw > indspec->minimal_cargo && i->produced_cargo[j] != CT_INVALID) {
19:02<Samu>that minimal_cargo
19:03<Samu>cargo waiting must be higher than the minimal_cargo
19:03<Samu>which is 5 for all industries
19:03<Samu>sometimes the cargo waiting was less
19:10-!-Stimrol [] has quit [Quit: ZNC -]
19:13<Samu>Run Tile Loop versus Call Landscape Tick
19:14<Samu>so my implementation isn't bugged, it's just the way it works
19:15<Samu>now I get it
19:20-!-Progman [] has quit [Remote host closed the connection]
19:23-!-Flygon [] has joined #openttd
19:23-!-Flygon is "Flygon" on #openttd
19:26-!-Samu [] has quit [Remote host closed the connection]
19:27-!-Wormnest [] has quit [Quit: Leaving]
19:32-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
20:14-!-debdog [] has quit [Read error: Connection reset by peer]
20:15-!-debdog [] has joined #openttd
20:15-!-debdog is "Wowbagger" on #openttd
20:40-!-orudge` [] has quit [Ping timeout: 480 seconds]
20:40-!-orudge` [] has joined #openttd
20:40-!-orudge` is "orudge" on #thesinner #openttdcoop.devzone #bukkit #jontylog #tycoonexiles #z.aud #locomotion #transportempire #openttdcoop #openttd #tycoon
20:40-!-mode/#openttd [+o orudge`] by ChanServ
21:07-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
21:16-!-Mazur [] has quit [Remote host closed the connection]
21:29-!-orudge` [] has quit [Ping timeout: 480 seconds]
21:29-!-orudge` [] has joined #openttd
21:29-!-orudge` is "orudge" on #thesinner #openttdcoop.devzone #bukkit #jontylog #tycoonexiles #z.aud #locomotion #transportempire #openttdcoop #openttd #tycoon
21:29-!-mode/#openttd [+o orudge`] by ChanServ
21:59-!-Thedarkb [] has joined #openttd
21:59-!-Thedarkb is "realname" on #oolite #openttd
22:07-!-Mazur [] has joined #openttd
22:07-!-Mazur is "Stefan Linnemann" on #openttdcoop #openttdcoop.stable #openttd #oolite
22:27-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
23:24-!-Supercheese [] has quit [Read error: Connection reset by peer]
23:25-!-Supercheese [] has joined #openttd
23:25-!-Supercheese is "Supercheese" on #openttd #openttdcoop.devzone
23:28-!-glx [] has quit [Quit: Bye]
---Logclosed Sun Nov 05 00:00:09 2017