IRC logs for #openttd on OFTC at 2017-11-04
            
00:04:18 *** Guest8231 is now known as Prof_Frink
00:04:50 *** Prof_Frink is now known as Guest8232
00:22:15 <Wolf01> 'night
00:22:17 *** Wolf01 has quit IRC
00:27:09 *** mescalito has quit IRC
00:44:53 <PressureLine> RVs
00:45:01 <PressureLine> Original or Realistic accel model?
00:54:48 <Samu> i use realistic on them
00:56:36 <Samu> were you talking to me PressureLine ?
01:02:06 *** Stimrol has quit IRC
01:02:37 <PressureLine> to anyone listening
01:05:18 *** Guest8232 is now known as Prof_Frink
01:05:50 *** Prof_Frink is now known as Guest8235
01:17:28 <Samu> bartje did something
01:19:46 *** Thedarkb has quit IRC
01:21:25 <PressureLine> ¿que?
01:21:29 <Eddi|zuHause> realistic
01:22:14 <Samu> a
01:22:22 <Samu> i mean https://www.tt-forums.net/viewtopic.php?f=33&t=77093
01:22:42 <Samu> gonna take a look at his code
01:23:02 <Samu> i notice ppl heavily comment their stuff
01:27:17 <Samu> I did it way simpler, probably why I complain about shortcomings
01:28:12 *** synchris has quit IRC
01:45:39 *** Thedarkb has joined #openttd
01:48:00 <PressureLine> need to decide what cargo to do next
01:49:56 *** tycoondemon has quit IRC
01:55:09 *** Progman has quit IRC
01:56:06 <PressureLine> also
01:56:11 <PressureLine> Farms are suct a pain
01:56:29 <PressureLine> rather than just producing 1x set of goods at a good rate
01:56:48 <PressureLine> produce 2x, at an uneven, rubbish rate
02:03:16 *** Gustavo6046 has quit IRC
02:05:37 *** tycoondemon has joined #openttd
02:06:19 *** Guest8235 is now known as Prof_Frink
02:06:52 *** Prof_Frink is now known as Guest8238
02:16:09 *** tycoondemon has quit IRC
02:18:47 *** tycoondemon has joined #openttd
02:20:27 *** Gustavo6046 has joined #openttd
02:45:47 *** Samu has quit IRC
03:02:32 *** Gustavo6046 has quit IRC
03:07:19 *** Guest8238 is now known as Prof_Frink
03:07:51 *** Prof_Frink is now known as Guest8240
03:40:58 *** FLHerne has quit IRC
04:01:48 *** ToffeeYogurtPots has quit IRC
04:02:18 *** ToffeeYogurtPots has joined #openttd
04:05:54 *** HerzogDeXtEr has quit IRC
04:06:15 *** cHawk has quit IRC
04:06:15 *** ATMunn has quit IRC
04:06:15 *** fkinglag has quit IRC
04:06:15 *** nauticalnexus has quit IRC
04:06:15 *** innocenat has quit IRC
04:06:15 *** Speedy has quit IRC
04:06:15 *** Sylf has quit IRC
04:06:26 *** Sylf has joined #openttd
04:06:33 *** innocenat has joined #openttd
04:06:35 *** fkinglag has joined #openttd
04:07:08 *** cHawk has joined #openttd
04:07:10 *** Speedy` has joined #openttd
04:07:12 *** Speedy` is now known as Speedy
04:07:20 *** ATMunn has joined #openttd
04:07:55 *** ATMunn is now known as Guest8258
04:08:19 *** Guest8240 is now known as Prof_Frink
04:08:55 *** Prof_Frink is now known as Guest8259
04:08:59 <PressureLine> would be nice if those stupid transmitters could use foundations
04:10:51 *** nauticalnexus has joined #openttd
04:16:59 <supermop_home> that's the point
04:17:18 <supermop_home> transmitters are just an obstavle
04:17:27 <supermop_home> obstacle
04:17:46 <PressureLine> ofc
04:18:21 <PressureLine> but even on industries i can drop a corner of a tile under the industry
04:19:24 <supermop_home> yeah, I guess the point of the transmitter is to limit terraforming as much as possible
04:19:51 <PressureLine> true enough
04:19:53 <PressureLine> also
04:19:54 <PressureLine> https://i.imgur.com/G2O492b.png
04:20:13 <PressureLine> probably not as efficient as it could be, but seems to be doing the job
04:20:21 <supermop_home> looks decent
04:21:10 <supermop_home> the most efficient will always have to involve an aesthetic compromise
04:21:24 <supermop_home> eg a loops or 'roro' station
04:21:44 <PressureLine> yeah
04:21:57 <supermop_home> i'd forgotten what original arctic looked like
04:22:01 <PressureLine> going for 'realistic-ish'
04:22:26 <supermop_home> for 'realistic' path signal station throats are best
04:23:33 <PressureLine> yep. but traffic jams
04:24:10 <PressureLine> or more "incoming trains blocking outgoing trains (and v.v) on a regular basis"
04:25:02 <supermop_home> I generally try to timetable a clockwork schedule even for freight
04:25:21 <PressureLine> way too advanced for me :D
04:25:29 <supermop_home> so nothing is trying to arrive at the same time something is leaving
04:25:54 <supermop_home> I spend 90% of the time I play in pause trying to work out schedules
04:25:56 <PressureLine> https://i.imgur.com/vkYS5tR.png
04:25:58 <PressureLine> hmmm
04:26:07 <PressureLine> to use or not to use
04:26:40 <PressureLine> given that all the trains on this line are 55kph trains :/
04:28:23 *** TheHawk has joined #openttd
04:29:43 *** TheHawk has quit IRC
04:30:03 <supermop_home> the other 10% I am checking the messed up sprite offsets in my grf
04:30:22 <supermop_home> and I just spilled mescal all over my computer
04:30:29 <PressureLine> mescal?
04:30:35 <supermop_home> mezcal
04:30:41 <PressureLine> ...
04:31:02 <PressureLine> im usually pretty good with stuff from the states
04:31:13 <supermop_home> its from mexico!
04:31:18 <PressureLine> but *woosh* as that reference flies over my head
04:31:27 <supermop_home> which does also have states to be fair
04:31:43 <PressureLine> im not even in the same hemisphere :D
04:32:04 <supermop_home> <?xml version="1.0" encoding="utf-8" standalone="yes"?>
04:32:04 <supermop_home> <Archive name="Root">
04:32:04 <supermop_home> <!--Grasshopper archive-->
04:32:04 <supermop_home> <!--Grasshopper and GH_IO.dll are copyrighted by Robert McNeel & Associates-->
04:32:04 <supermop_home> <!--Archive generated by GH_IO.dll file utility library {0.2.0002}-->
04:32:04 *** supermop_home has quit IRC
04:32:25 *** supermop_home has joined #openttd
04:32:33 <PressureLine> lol?
04:32:33 <supermop_home> wtf
04:32:40 <PressureLine> * supermop_home has quit (Excess Flood)
04:32:41 <supermop_home> what happened
04:32:59 <supermop_home> https://en.wikipedia.org/wiki/Mezcal
04:33:11 *** cHawk has quit IRC
04:33:51 <PressureLine> "Despite the similar name, mezcal does not contain mescaline or other psychedelic substances."
04:34:02 <supermop_home> unfortunately
04:34:09 <supermop_home> but it is sublime
04:34:09 <PressureLine> the only thing I could think of was mescaline
04:34:25 <PressureLine> and was like "he seems pretty coherent for someone on mescaline"
04:34:29 <supermop_home> it does come from a succulent plant
04:34:43 <supermop_home> so it has that in common with mescaline
04:35:13 <PressureLine> "While mescaline-containing cacti of the genus Echinopsis are technically controlled substances under the Controlled Substances Act, they are commonly sold publicly as ornamental plants."
04:36:50 <PressureLine> hmm
04:37:20 <PressureLine> maybe i should just ignore the FD20 until it can do 80kph (in 1936)
04:37:26 <supermop_home> well smells pretty good in here now
04:37:32 <supermop_home> whats fd20?
04:37:49 <PressureLine> https://i.imgur.com/vkYS5tR.png
04:38:09 <supermop_home> ussr set?
04:38:12 <PressureLine> yep
04:38:18 <supermop_home> never used it
04:38:35 <PressureLine> but yeah. its faster than all the current freight locos
04:38:44 <PressureLine> which will cause snarlups
04:38:46 <supermop_home> have used polish set sometimes
04:39:05 <supermop_home> but its a little too rivet-countery to be fun for my taste
04:39:05 <PressureLine> ussr set w/ SBB set wagons
04:39:37 <PressureLine> (because there's *^*^ing gaps in the wagon lineup)
04:40:04 <supermop_home> you can set the train to run slower in the timetable
04:40:09 <supermop_home> its a pain tho
04:42:18 *** Pressure_Line has joined #openttd
04:43:03 <Pressure_Line> >_<
04:45:41 <Pressure_Line> [16:41:15] <PressureLine> would be nice if it was an option for 'regular' order
04:45:47 <Pressure_Line> (speed limits)
04:48:31 *** PressureLine has quit IRC
04:51:47 *** Pressure_Line is now known as PressureLine
04:51:53 <PressureLine> *sigh*
04:52:18 <supermop_home> mezcal time
04:54:59 <PressureLine> also
04:55:11 <PressureLine> NRT
04:55:18 <supermop_home> yes
04:55:27 <supermop_home> please use mop RV
04:56:04 <PressureLine> b b but i'll have to start a new game
05:04:02 *** glx has quit IRC
05:04:06 *** Agiri[m] has joined #openttd
05:09:20 *** Guest8259 is now known as Prof_Frink
05:09:55 *** Prof_Frink is now known as Guest8266
05:18:52 *** Pressure_Line has joined #openttd
05:25:01 *** PressureLine has quit IRC
05:46:36 *** cHawk has joined #openttd
06:10:21 *** Guest8266 is now known as Prof_Frink
06:10:55 *** Prof_Frink is now known as Guest8270
06:31:36 *** Cubey has quit IRC
06:37:53 *** murr4y has quit IRC
07:11:21 *** Guest8270 is now known as Prof_Frink
07:11:58 *** Prof_Frink is now known as Guest8277
07:15:28 *** sla_ro|master has joined #openttd
07:40:34 *** mindlesstux has quit IRC
07:41:12 *** mindlesstux has joined #openttd
07:56:19 *** tokai has joined #openttd
07:56:19 *** ChanServ sets mode: +v tokai
08:03:02 *** tokai|noir has quit IRC
08:12:21 *** Guest8277 is now known as Prof_Frink
08:12:58 *** Prof_Frink is now known as Guest8279
08:20:36 *** mindlesstux has quit IRC
08:21:19 *** mindlesstux has joined #openttd
09:03:25 *** andythenorth has joined #openttd
09:06:19 <andythenorth> o/
09:07:30 <Pressure_Line> \o
09:07:41 <Pressure_Line> playing moar with Road Hog
09:08:00 <Pressure_Line> having the length of the vehicles listed somewhere would be useful
09:08:50 <andythenorth> ? o_O
09:09:17 <Pressure_Line> or is it
09:09:22 *** Progman has joined #openttd
09:09:25 <Pressure_Line> and im just blind/stupid
09:09:51 * andythenorth interested
09:10:00 <andythenorth> how would it help you?
09:10:23 <Pressure_Line> stations
09:10:46 <andythenorth> articulated vs. non-articulated?
09:10:50 <andythenorth> or actual lengths?
09:11:00 <Pressure_Line> actual lengths (like for trains
09:11:38 <andythenorth> trams are easy, they're all 16/8 except mail tram
09:11:51 <andythenorth> single tile length
09:11:58 <andythenorth> trucks vary more
09:12:32 <Pressure_Line> ahh
09:13:08 <Pressure_Line> i thought that some of 1st gen trams (Scrooby Top etc) were 1.1 for some reason
09:13:11 <Pressure_Line> or 0.9
09:13:22 *** Guest8279 is now known as Prof_Frink
09:13:42 <andythenorth> there was a bug where one tram was missing a wagon, so wrong length
09:13:55 <andythenorth> rest are 16/8, makes for easy station use
09:13:58 *** Prof_Frink is now known as Guest8282
09:13:59 <Pressure_Line> nice
09:14:04 <Pressure_Line> nvm then ^_^
09:14:25 <Pressure_Line> id probably be more interested in such a thing if I was a regular HEQS user
09:14:36 <andythenorth> HEQS is a mess :)
09:15:49 *** Supercheese has joined #openttd
09:16:08 <Pressure_Line> :D
09:33:43 <Pressure_Line> I wonder how good V's 32bpp->8bpp converter is
09:36:57 <alluke> i guess theres only one way to find out
09:37:40 <alluke> why can't i login into web translator?
09:37:55 <Pressure_Line> because reasons
09:38:59 <Pressure_Line> did there used to be a bug w/ articulated vehicles and realistic acceleration?
09:43:27 *** Wolf01 has joined #openttd
09:43:35 <Wolf01> Moin
09:48:22 <andythenorth> lo
09:52:55 <Pressure_Line> o/
10:03:46 *** synchris has joined #openttd
10:14:22 *** Guest8282 is now known as Prof_Frink
10:14:58 *** Prof_Frink is now known as Guest8286
10:24:49 *** Supercheese has quit IRC
10:25:23 *** Supercheese has joined #openttd
10:57:24 *** Supercheese has quit IRC
10:59:13 <alluke> COFFEEEEEFEFEFEFEFEFEFEEEEEE
10:59:27 *** tycoondemon has quit IRC
11:01:43 <andythenorth> ok Steeltown is boring
11:01:43 *** Pressure_Line has quit IRC
11:02:10 *** Pressure_Line has joined #openttd
11:03:04 <Pressure_Line> coffee is great
11:03:13 <alluke> why boring
11:03:25 <alluke> havent tested it yet
11:15:22 *** Guest8286 is now known as Prof_Frink
11:15:58 *** Prof_Frink is now known as Guest8290
11:22:57 <andythenorth> is it worth switching to Windows?
11:23:45 <Eddi|zuHause> for what purpose?
11:24:15 <Wolf01> If for the glory of Satan, yes
11:24:45 <andythenorth> Spintires is Windows only
11:25:00 <andythenorth> and also Macs don't work right any more
11:27:25 <alluke> spintires is fun, ive played it on friends pc
11:27:43 <alluke> how mas dont work right
11:28:19 <Eddi|zuHause> there are plenty of games available for linux nowadays
11:28:32 <alluke> steam is great
11:28:40 <alluke> i have ets2 and fs15
11:30:02 <Eddi|zuHause> i barely ever started wine in the past 2 years
11:30:18 <alluke> wine is pain in the ass to get work properly
11:30:27 <Eddi|zuHause> yes
11:30:47 <Eddi|zuHause> i've used it for ~10 years
11:32:57 <alluke> i tried to make gta sa run on it but cannot find the config to make graphics work properly
11:33:19 <alluke> the shaders and such need to be tweaked
11:33:48 <Eddi|zuHause> part of the reason why wine has declined so much for me is lack of DX11 support
11:34:27 *** andythenorth has quit IRC
11:35:02 <alluke> do you have nya idea how the config works
11:35:10 <alluke> in cider its just a text file
11:36:11 *** andythenorth has joined #openttd
11:37:21 *** ToffeeYogurtPots has quit IRC
11:37:39 *** ToffeeYogurtPots has joined #openttd
11:46:07 * andythenorth wrecks FIRS more
11:46:18 <andythenorth> delete Steeltown? o_O
12:04:54 *** murr4y has joined #openttd
12:10:25 <Pressure_Line> andythenorth> Spintires is Windows only
12:10:29 <Pressure_Line> spintires is great
12:10:41 <Pressure_Line> too bad Pavel is such a colossal tool
12:10:51 *** Pressure_Line is now known as PressureLine
12:11:30 <PressureLine> grrr
12:11:36 <PressureLine> want run looooong trains
12:11:53 <PressureLine> all industries on map are rubbish
12:16:23 *** Guest8290 is now known as Prof_Frink
12:16:58 *** Prof_Frink is now known as Guest8295
12:17:06 <PressureLine> http://www.oovee.co.uk/forum/topic/10589-rel-realmod/
12:17:09 * PressureLine gasps
12:30:39 *** HerzogDeXtEr has joined #openttd
12:32:27 <andythenorth> OpenTTD is pretty unreasonable about crashing`
12:32:42 <andythenorth> why crash when I delete a grf that's in use?
12:42:01 <Eddi|zuHause> yeah. totally unreasonable
12:42:43 *** orudge` has quit IRC
12:42:55 *** orudge` has joined #openttd
12:42:56 *** ChanServ sets mode: +o orudge`
12:44:14 <andythenorth> seems like it wants something stupid, like loading sprites from disk
12:44:24 <andythenorth> totally unreasonable
12:44:45 <alluke> is there any way to completely remove AI from game
12:44:51 <alluke> so they dont reload
12:52:36 *** FLHerne has joined #openttd
12:52:36 *** PressureLine has quit IRC
12:53:09 *** PressureLine has joined #openttd
12:56:38 *** Pressure_Line has joined #openttd
12:56:38 *** PressureLine has quit IRC
12:59:31 *** Pressure_Line has quit IRC
13:06:31 <alluke> @andythenorth when will chips get snow-awareness? the same ground tiles firs uses atm
13:06:39 <andythenorth> never
13:07:26 <alluke> why
13:07:43 <alluke> i love chips but thats the only annoying feature atm
13:07:58 <andythenorth> what is the point of a station set with snow?
13:08:28 <alluke> blend into th escenery
13:08:42 <andythenorth> but then all cargo sprites look same: snow
13:08:48 <andythenorth> and all ground types look same: snow
13:08:56 <andythenorth> defeats the point, no?
13:09:13 <alluke> yes but only during winter
13:09:20 <alluke> i wouldnt snow the cargo sprites tho
13:09:36 <andythenorth> someone could fork it
13:09:52 <alluke> there could be some tire tracks etc to separate them a bit from ground tiles
13:10:37 *** synchris has quit IRC
13:11:49 *** synchris has joined #openttd
13:12:58 <andythenorth> http://dev.openttdcoop.org/projects/chips/repository
13:13:05 <alluke> does bulk terminal have any restrictions on how much water it needs around
13:14:54 *** mindlesstux has quit IRC
13:15:25 *** mindlesstux has joined #openttd
13:16:55 <andythenorth> some
13:17:14 <andythenorth> failing to build?
13:17:23 *** Guest8295 is now known as Prof_Frink
13:17:58 *** Prof_Frink is now known as Guest8297
13:18:52 <alluke> i guess the lake is just too small
13:19:09 <alluke> which firs psd file contains snow sprites? cant find
13:19:34 *** debdog has quit IRC
13:19:42 <andythenorth> depends on the industry
13:20:05 <andythenorth> snow spritesheets in here http://dev.openttdcoop.org/projects/firs/repository/show/src/graphics/industries
13:20:13 <andythenorth> some are also in psds, some aren't
13:20:21 <alluke> thx
13:20:43 <andythenorth> CHIPS lacks a coder btw
13:20:48 <andythenorth> I have NFI how the code works
13:21:00 <andythenorth> so your on your own for adding snow
13:22:45 *** debdog has joined #openttd
13:32:18 <alluke> @andythenorth https://www.dropbox.com/s/n6uuqwuv6hdczak/groundtiles.psd?dl=1
13:36:15 <andythenorth> yes that's the ground tile
13:36:19 *** Breckett has joined #openttd
13:44:07 *** frosch123 has joined #openttd
13:47:14 *** Breckett has quit IRC
13:52:24 <alluke> yep
13:52:43 <alluke> when someone wants to code the snow awareness there are ready sprites
13:53:23 <andythenorth> might be a while waiting :)
13:53:31 <alluke> yeah
13:53:36 <andythenorth> you could recode CHIPS
13:53:47 <alluke> who coded the previous versions?
13:54:06 <andythenorth> yexo
13:54:11 *** orudge` has quit IRC
13:54:21 <alluke> and he has vanished?
13:54:25 *** orudge` has joined #openttd
13:54:25 *** ChanServ sets mode: +o orudge`
13:54:32 <andythenorth> he's on linkedin
13:54:35 <andythenorth> but he's busy
13:54:45 <alluke> right
13:57:07 <andythenorth> quak
14:04:00 <frosch123> moiu
14:18:23 *** Guest8297 is now known as Prof_Frink
14:18:58 *** Prof_Frink is now known as Guest8302
14:21:38 *** FLHerne has quit IRC
14:29:43 <andythenorth> maybe I should put explosives back into Steeltown :P
14:38:51 <Arveen> talking about Steeltown - is it safe to upgrade the version within a running game of FIRS3 ?
14:40:26 <andythenorth> nope
14:40:29 <andythenorth> very not
14:40:32 <andythenorth> :)
14:40:48 <Arveen> Ok
14:41:37 <Arveen> got a Steeltown game running atm in which I spend like 20 hrs so far
14:41:58 <alluke> sucks that save games seem to have some kind of sprite cache that gets breached
14:42:08 <alluke> orevents new firses from working properly
14:42:14 <alluke> if upgraded too many times
14:42:49 <andythenorth> what breaks?
14:47:31 *** Gustavo6046 has joined #openttd
14:48:44 <alluke> all graphics are default coal mine
14:50:31 <andythenorth> all?
14:50:41 <alluke> yes
14:51:24 <alluke> if i upgrade to firs for first time it works fine, after second or third upgrade the graphics get fucked
14:52:18 *** dpk has quit IRC
14:52:27 <andythenorth> sounds quite special
15:07:44 *** dpk has joined #openttd
15:17:29 *** Flygon has quit IRC
15:19:14 *** val_ has joined #openttd
15:19:23 *** Guest8302 is now known as Prof_Frink
15:19:59 *** Prof_Frink is now known as Guest8306
15:20:49 <val_> I tried using notes on wiki openttd but it don't work, support it ?
15:22:42 <val_> i've used: <ref>text</ref> and <references/>
15:43:17 *** Thedarkb has quit IRC
15:49:27 *** mindlesstux has quit IRC
15:50:00 *** mindlesstux has joined #openttd
15:57:53 *** Samu has joined #openttd
15:57:55 *** debdog has quit IRC
15:58:01 <Samu> hi
16:02:53 *** debdog has joined #openttd
16:17:08 <val_> hi
16:17:14 *** orudge` has quit IRC
16:17:15 *** orudge` has joined #openttd
16:17:15 *** ChanServ sets mode: +o orudge`
16:20:24 *** Guest8306 is now known as Prof_Frink
16:20:59 *** Prof_Frink is now known as Guest8310
16:25:46 *** debdog has quit IRC
16:29:01 *** debdog has joined #openttd
16:55:55 *** Cubey has joined #openttd
17:04:27 <Samu> woah
17:04:52 <Samu> cargo packets
17:05:01 <Samu> even cargoes have their own identity
17:05:17 <Samu> this game is really precise
17:05:38 *** Thedarkb has joined #openttd
17:05:48 <Samu> now I understand that variety I was getting
17:09:41 <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
17:10:10 <Samu> now I see why the closest industry would always get higher amounts of wood
17:12:32 <val_> wiki openttd support references, notes ?
17:15:33 <frosch123> https://wiki.openttd.org/Special:Version <- the extensions are listed there
17:15:57 <LordAro> ouch, mediawiki 1.19
17:16:27 <frosch123> https://newgrf-specs.tt-wiki.net/wiki/Special:Version <- grfspecs have the "cite" extension and it is used often
17:16:34 *** debdog has quit IRC
17:16:48 <LordAro> ah, orudge actually keeps his stuff up to date :p
17:18:14 <Samu> I'm gonna call this "cargo packet fragmentation"
17:18:36 *** andythenorth has quit IRC
17:21:19 *** andythenorth has joined #openttd
17:21:24 *** Guest8310 is now known as Prof_Frink
17:21:58 *** Prof_Frink is now known as Guest8314
17:22:00 *** debdog has joined #openttd
17:27:48 <Samu> - packets { size=2 } std::list<CargoPacket *,std::allocator<CargoPacket *> >
17:28:35 <LordAro> frosch123: "This [cite] extension comes with MediaWiki 1.21 and above...."
17:28:42 <LordAro> not exactly by choice :p
17:28:50 <LordAro> just that ottd wiki is so old...
17:31:59 <andythenorth> right
17:32:04 <andythenorth> if you only use trains
17:32:10 <andythenorth> Steeltown is the worst thing ever
17:36:42 *** Alberth has joined #openttd
17:36:42 *** ChanServ sets mode: +o Alberth
17:37:58 <Alberth> hi hi
17:39:58 <val_> ok, thanks frosh
17:43:46 *** andythenorth has quit IRC
17:46:38 <frosch123> LordAro: i think we had to install it separately for newgrf wiki, no idea how long ago that was
17:47:54 <frosch123> LordAro: 1.21 is from 2013, newgrfwiki is from 2011
17:48:18 <LordAro> so someone actually updated it? :o
17:52:48 <Samu> Industry *ind = st->industries_near[RandomRange(st->industries_near.Length())];
17:52:54 <Samu> what's the worst that could happen? :p
17:56:39 <Alberth> computational melt-down?
17:58:05 <Alberth> total earth destruction sounds pretty bad too
17:58:22 <Alberth> not sure if it is significant for us
18:01:00 *** Arveen2 has joined #openttd
18:03:35 <Samu> so instead of delivering cargo to the nearest industries first, and iterating towards the farthest industries, I'm trying to deliver cargo randomly
18:04:31 <Samu> let's see how biased RandomRange is
18:05:40 <Samu> woah, not so biased after all
18:05:47 *** Arveen has quit IRC
18:07:07 <Samu> https://imgur.com/UcC28ly
18:07:17 *** Thedarkb has quit IRC
18:07:17 <Samu> not bad, i expected worse
18:09:25 <Alberth> discrete uniform distribution is quite nicely flat indeed :)
18:09:55 *** Thedarkb has joined #openttd
18:10:37 <Samu> hmm, there is a problem, i don't count 240 total :(
18:10:44 <Samu> only 217, something is wrong :(
18:11:02 <Alberth> industry rating?
18:11:11 <Samu> no, they have no ratings
18:11:31 <Samu> something's wrong with the iterator
18:11:48 <Samu> for (uint i = 0; i < st->industries_near.Length() && num_pieces != 0; i++) { Industry *ind = st->industries_near[RandomRange(st->industries_near.Length())];
18:12:40 <Samu> there are 11 industries
18:13:05 <Samu> randomrange(11) does make it pick a number from 0-10? or 0-11?
18:14:33 <Alberth> no idea, the docs should make that clear
18:16:05 <Alberth> why do you stop after "Length" iterations?
18:17:15 <Samu> maybe that's it?
18:18:36 <Alberth> I am not even sure why you iterate at all, tbh, you split the delivered cargo in small pieces?
18:19:11 <Samu> yes, 1 by 1, with a do, while
18:19:41 <Alberth> nice if you need to deliver 3000 cargo
18:20:48 <Samu> it does per wagon
18:21:01 <Samu> 5 at a time, maximum, if the cargo packet isn't fragmented
18:21:11 <Samu> then it's 4 +1 or 3 + 2, etc
18:21:57 <Samu> @calc 240 / 5
18:21:57 <DorpsGek> Samu: 48
18:22:12 *** Guest8314 is now known as Prof_Frink
18:22:48 *** Prof_Frink is now known as Guest8318
18:22:58 *** mindlesstux has quit IRC
18:23:00 *** Prof_Frink has joined #openttd
18:23:31 <Samu> i got 11 industries in this case and a random number of pieces going from 1 to 5
18:23:31 *** mindlesstux has joined #openttd
18:28:35 <Samu> hmm, the iterator only iterates 0, 1, 2, 3, 4, then it runs out of pieces
18:28:58 <Samu> never got random being = 11
18:29:39 <Samu> so that's fine, then why the sum of all pieces delivered by the train isn't 240 ?
18:32:20 *** mindlesstux has quit IRC
18:32:50 *** mindlesstux has joined #openttd
18:33:13 <Alberth> delivering a large amount to only a few industries will likely trigger your Length limitation
18:34:22 <Alberth> print how much you deliver to what
18:35:14 <Samu> the train brings 240
18:35:38 <Samu> i was expecting the sum of all goods produced to be 240
18:36:21 <Samu> now I got 224, something is being lost :(
18:37:57 <Alberth> @calc 224/240.0
18:37:57 <DorpsGek> Alberth: 0.933333333333
18:38:40 <Alberth> bit high for station rating, isn't it?
18:39:03 <Samu> station rating doesn't matter here :(
18:39:18 <Samu> it's the industry taking delivered cargo
18:39:53 <Samu> the station accepts, and there 11 industries near the station
18:39:55 <Alberth> "goods" is produced cargo, not delivered cargo
18:40:43 <Samu> the sum of all "production last month" should be 240
18:40:54 <Alberth> no
18:40:57 <Samu> no? :(
18:41:19 <Alberth> accepted cargo amount and delivered cargo amounts are not equal
18:41:36 <Alberth> the station rating fraction is between them
18:41:53 <Alberth> try unpatched openttd with 1 industry
18:42:16 <Samu> it delivers 240
18:42:19 <Samu> nothing is lost
18:43:17 <Samu> yep, 240, just tested
18:43:20 <Samu> on 1.7.1
18:43:27 <Samu> 1 industry got it all
18:44:12 <Samu> https://imgur.com/a/Nr0lk 1.7.1
18:44:51 *** val_ has quit IRC
18:45:56 *** Gustavo6046 has quit IRC
18:46:39 <Samu> let me try more asserts
18:47:21 <Alberth> hmm, how weird
18:47:49 <Alberth> did you try to deliver to the same industry more than once?
18:48:20 <Samu> yes, it can do that, can't it?
18:48:28 <Samu> random is random
18:48:39 <Alberth> yep
18:49:29 <Samu> ind->incoming_cargo_waiting[cargo_index] += amount;
18:51:11 <Alberth> that line looks fine
18:51:21 <Samu> gonna try my old method, isntead of a random iterator
18:51:54 <Alberth> did you sum how much cargo you tried to deliver for a second or later time to the same industry?
18:54:00 <Samu> not sure I understand the question
18:55:03 <Samu> @calc 43+49+53+47+48
18:55:03 <DorpsGek> Samu: 240
18:55:14 <Samu> my old way is doing correct
18:55:30 <Samu> i wonder if it can be delivered twice to the same industry
18:56:12 <Samu> gonna try ind = 0
18:56:23 <Samu> Industry *ind = st->industries_near[0];
18:56:32 *** Gustavo6046 has joined #openttd
18:56:33 *** Thedarkb has quit IRC
18:57:59 <Samu> 240 to one industry, it worked... very odd
18:59:37 <Wolf01> https://www.packtpub.com/packt/offers/free-learning seems interesting
18:59:41 <Samu> i dont understand why it fails if it's random
19:00:46 <Samu> can r be negative?
19:00:50 <Samu> random
19:01:08 <Wolf01> Is industries_near randomized each time?
19:02:09 *** glx has joined #openttd
19:02:09 *** ChanServ sets mode: +v glx
19:04:36 <Samu> if the length can be at times less than 11? I don't think that can happen
19:04:50 <Alberth> remove an industry :p
19:05:30 <Samu> i didn't remove any, they're all there yet
19:05:44 <Samu> so, it should always be 11 nearby industries
19:07:46 <Samu> gonna try another assert
19:07:48 <Samu> brb
19:08:49 <Samu> assert(st->industries_near.Length() == 11);
19:08:55 <Samu> keks
19:10:19 <Samu> nop, it ain't this
19:10:36 *** Thedarkb has joined #openttd
19:10:38 <Samu> gonna demolish one, see if it crashes
19:11:04 <Samu> yep, crashed openttd right away
19:11:44 <Samu> assert(r < st->industries_near.Length() && r >= 0);
19:11:53 <Samu> also tried that, never crashed because of it
19:12:03 <Samu> RandomRange is doing fine
19:12:47 <Samu> unless an industry temporarily refuses cargo? but how can that happen?
19:16:30 <Alberth> pnly newgrf industries can do that, eg ECS
19:16:41 <Alberth> *only
19:17:19 <Alberth> not sure if you can deliver cargo to the same industry multiple times
19:17:34 <Alberth> (for newgrf industries)
19:17:58 <Samu> i tried it just a moment ago, delivered piece by piece
19:18:06 <Samu> 240 were delivered to the same industry
19:18:43 <Alberth> ok, so double deliveries are not a problem apparently
19:22:57 *** Thedarkb has quit IRC
19:35:12 *** Thedarkb has joined #openttd
19:36:38 <Samu> i->produced_cargo_waiting[0] = min(i->produced_cargo_waiting[0] + (cargo_waiting * indspec->input_cargo_multiplier[cargo_index][0] / 256), 0xFFFF);
19:36:44 <Samu> could be a rounding error from this?
19:37:07 <Samu> hmm nah, strange if it was
19:45:55 <Samu> this_month_production, how is this being updated?
19:46:00 <Samu> must investigate
19:49:19 <alluke> installed yellow headlights to my car
19:51:19 <Wolf01> Why you do that?
19:57:10 *** gelignite has joined #openttd
19:59:48 <alluke> because its old and french
19:59:55 <alluke> retro look
20:00:27 <Samu> RecomputeProductionMultipliers - i wonder if this has an impact on cargo
20:01:31 *** Wormnest has joined #openttd
20:01:34 <Samu> i deliver 240 wood, but the industry could perhaps produce half of it?
20:01:39 <Samu> 120 goods?
20:01:45 <Samu> could something like that happen?
20:02:47 *** sla_ro|master has quit IRC
20:02:58 <Samu> half of 1 is 0
20:03:10 *** sla_ro|master has joined #openttd
20:03:20 <Samu> maybe the missing cargo originates from this? how can i tell?
20:18:53 <Wolf01> http://sbiii.com/bwdhggpx/x4hopper.jpg Ahahah
20:20:12 *** alluke has quit IRC
20:20:34 <Wolf01> Aahahahahha lol a 0-2-0 http://sbiii.com/bwdhggpx/ggburdik.jpg
20:23:21 *** orudge` has quit IRC
20:23:37 *** orudge` has joined #openttd
20:23:37 *** ChanServ sets mode: +o orudge`
20:33:20 *** FLHerne has joined #openttd
20:38:54 *** oskari89 has joined #openttd
20:46:48 *** ToffeeYogurtPots has quit IRC
20:49:07 *** ToffeeYogurtPots has joined #openttd
20:50:33 *** Stimrol has joined #openttd
20:54:14 *** andythenorth has joined #openttd
20:55:43 *** Extrems has quit IRC
20:56:15 *** Extrems has joined #openttd
21:02:39 <andythenorth> o/
21:07:34 <NGC3982> \o
21:07:45 <NGC3982> zup
21:09:31 *** Supercheese has joined #openttd
21:18:21 *** PressureLine has joined #openttd
21:23:19 *** alluke has joined #openttd
21:33:02 *** andythenorth has quit IRC
21:33:49 *** Alberth has left #openttd
21:37:12 *** sla_ro|master has quit IRC
21:37:42 <Samu> bah, alberth is gone
21:37:42 *** PressureLine has quit IRC
21:37:57 *** PressureLine has joined #openttd
21:40:13 <Samu> anyways, I just manually calculated every sum each industry was receiving
21:40:34 <Samu> i got 240, therefore it's a display problem
21:41:22 <Samu> the problem isn't originating where I made changes, but further down the code
21:41:27 <Samu> past it
21:43:55 <Samu> i'm suspicious of production last month not being updated correctly?
21:44:02 <Samu> or not in time?
21:45:42 *** Thedarkb has quit IRC
22:03:46 *** AcMafee has joined #openttd
22:04:02 *** Thedarkb has joined #openttd
22:04:05 <AcMafee> Hello
22:07:01 *** AcMafee has left #openttd
22:35:18 <Samu> this is really strange, i just got 254 now
22:35:45 <Samu> got 241 before this last delivery
22:43:27 *** andythenorth has joined #openttd
22:53:19 *** andythenorth has quit IRC
23:13:54 *** oskari89 has quit IRC
23:30:42 *** Thedarkb has quit IRC
23:32:56 *** synchris has quit IRC
23:54:31 *** Supercheese has quit IRC
23:55:06 *** Supercheese has joined #openttd
23:55:37 *** gelignite has quit IRC