Back to Home / #openttd / 2016 / 08 / Prev Day | Next Day
#openttd IRC Logs for 2016-08-31

---Logopened Wed Aug 31 00:00:20 2016
01:01<Lejving>is it possible to make a train switch so every other train picks the road?
01:03<Eddi|zuHause>and what would a train do on the road?
01:05<Lejving>every other train go forward on the rail
01:05<Lejving>I meant
01:09<Eddi|zuHause>are you looking for a "load balancer"?
01:11<Lejving>I don't think so
01:12<Lejving>I have 8 ways in to a station, 4 southwest, 4 northeast... I want the trains to pick alternate route in if one route is already full
01:12<Eddi|zuHause>you might need to tweak some pathfinder penalties for that
01:14<Lejving>if this explains it a lil better
01:16<Eddi|zuHause>Lejving: the pathfinder has penalties for red signals and reserved track, if these penalties are higher than the length of the detour, then the detour is taken
01:16<Lejving>I think I will solve it like this instead, just have trains trace backwards
01:16<Lejving>that means a shorter route
02:39-!-andythenorth [] has joined #openttd
03:01-!-andythenorth [] has quit [Quit: andythenorth]
03:08-!-andythenorth [] has joined #openttd
03:08-!-andythenorth [] has left #openttd []
03:11-!-efess [] has quit [Ping timeout: 480 seconds]
03:20-!-Sova [] has joined #openttd
03:24-!-Flygon_ [] has quit [Read error: Connection reset by peer]
03:39-!-sim-al2 is now known as Guest274
03:39-!-sim-al2 [] has joined #openttd
03:44-!-Guest274 [] has quit [Ping timeout: 480 seconds]
04:02-!-JezK_ [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has quit [Quit: :q!]
04:17-!-Wolf01 [] has joined #openttd
04:36-!-JacobD88 [] has joined #openttd
04:47-!-Flygon [] has joined #openttd
04:57-!-Sova [] has quit [Ping timeout: 480 seconds]
04:57-!-Sova [] has joined #openttd
05:05-!-efess [] has joined #openttd
05:19-!-Stimrol [~Stimrol@] has quit [Quit: ZNC -]
05:21-!-Stimrol [~Stimrol@] has joined #openttd
06:10-!-Sova [] has quit [Ping timeout: 480 seconds]
06:36-!-Sova [] has joined #openttd
06:49-!-gnu_jj [] has joined #openttd
06:57-!-gnu_jj [] has quit [Ping timeout: 480 seconds]
08:19-!-Snail [] has joined #openttd
08:35-!-Hagbard [] has quit [Quit: Changing server]
08:49-!-LadyHawk- [] has joined #openttd
08:55-!-LadyHawk [] has quit [Ping timeout: 480 seconds]
08:55-!-LadyHawk- is now known as LadyHawk
08:57-!-Snail [] has quit [Quit: Snail]
09:07<argoneus>good morning train friends
09:09<Sova>trainz are for nubz, use ships
09:10-!-gnu_jj [] has joined #openttd
09:19-!-gnu_jj [] has quit [Ping timeout: 480 seconds]
09:42<_dp_>train deceleration is weird...
09:43<_dp_>any idea why cur_speed of train stopping on station goes 25 -> 5 -> 7 ... ->25 ?
09:44<_dp_>especially how does that 25 -> 5 drop happen, it's not in UpdateSpeed
09:45<_dp_>train is already at the end of a station at that moment
09:45<V453000>I don't want to know why do you want to know this shit XD
09:46*goodger mutters something about going from 320 km/h to 0 in 3 m of track
09:48-!-supermop [] has joined #openttd
09:53<_dp_>hm, and it stops at 8363, 16360 sub-tile coordinates
09:54<_dp_>I get 16360 part, but 8363...
09:54<_dp_>@calc 8363 / 16
09:54<@DorpsGek>_dp_: 522.6875
10:09<_dp_>apparently train always stops on (11, 8) or (8, 11) sub-coordinate
10:16-!-supermop_ [] has joined #openttd
10:17<_dp_>and single loco stops at (4, 8) and (8, 11), wtf
10:21-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
10:22-!-supermop [] has quit [Ping timeout: 480 seconds]
10:29-!-Gja [] has joined #openttd
10:32-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
10:32-!-mode/#openttd [+o Alberth] by ChanServ
10:40-!-supermop [] has joined #openttd
10:40<_dp_>hm, and train keeps sub-tile progress while staying on station...
10:43<_dp_>seems logical
10:44-!-supermop_ [] has quit [Ping timeout: 480 seconds]
10:58-!-Sova [] has quit [Quit: Leaving]
11:32-!-tokai|noir [] has joined #openttd
11:32-!-mode/#openttd [+v tokai|noir] by ChanServ
11:32-!-andythenorth [~Andy@] has joined #openttd
11:33-!-andythenorth [~Andy@] has left #openttd []
11:39-!-tokai [] has quit [Ping timeout: 480 seconds]
11:44-!-gnu_jj [] has joined #openttd
11:53-!-gnu_jj [] has quit [Ping timeout: 480 seconds]
11:57-!-Gja [] has quit [Quit: Going offline, see ya! (]
12:25<supermop>ok V453000 , i dragged myself kicking and screaming, into using v ray and learning how to use its materials, mapping, and unwraping over the past week
12:29-!-Progman [] has joined #openttd
12:36-!-HerzogDeXtEr [] has joined #openttd
12:37<V453000>fun times
12:37<V453000>it's nice that you have such time to learn things
12:40-!-keoz [] has joined #openttd
12:46-!-Gja [] has joined #openttd
12:47-!-Clockworker [Clockworke@] has quit [Quit: Leaving]
12:47-!-Clockworker [] has joined #openttd
12:47-!-Clockworker [] has quit []
12:49-!-Clockworker_ [znc@] has joined #openttd
12:50-!-Clockworker_ is now known as Clockworker
13:17-!-Wormnest [] has joined #openttd
13:17<@Alberth>it does make a lot of noise though :p
13:26<_dp_>how to translate train progress to sub-tile coordinates? for example (8, 16) with progress 128 / 256, where is it?
13:28<_dp_>no matter what I do I can't get continuous line :(
13:32<@Alberth>128 / 256 is just a fraction, ie 0.5
13:34<@Alberth>continuous line depends on your precision, if you think in 1/256 parts, it's continuous :)
13:34<@Alberth>but yeah not in 7 or 15 digits, only in 2 or so
13:35<@Alberth>still a lot better than the first time I used floating point, where the implementation modified 1.0 to 0.92 :p
13:38<_dp_>well, it's obviously discrete, but dumped values from game and I'm trying to plot a train position with them. So far they don't add up:
13:39<_dp_>see those jumps on reverse and going to diagonal?
13:40-!-keoz [] has quit [Ping timeout: 480 seconds]
13:41<@Alberth>I think you'll find that too if you save every image, the train does not get painted at every pixel
13:41<@Alberth>likely it does jump
13:41<@Alberth>but fast enough to make use believe it doesn't :)
13:42<_dp_>I'm not talking about visuals here
13:42<_dp_>it goes 13 subtiles when going up a tile and 12 when going down, it must be a bug
13:43<@Alberth>sounds like it indeed
13:43-!-alask0ud [~Superdry^@] has joined #openttd
13:43<@Alberth>or at least something worth finding out why
13:45<_dp_>yeah, that's what I'm trying to do)
13:45<_dp_>but it depend on how to interpret progress
13:47-!-frosch123 [] has joined #openttd
13:54-!-andythenorth [] has joined #openttd
14:01<@Alberth>_dp_: If you take a platform of eg 5 tiles long, and a train exactly 5 tiles long, and it leaves the platform, on flat tiles, then progress should be the same in every main compass direction, after taking main direction into account, would be my guess
14:01<@Alberth>or at least on the same main axis it should be
14:02<@Alberth>you should be able to put those numbers next to each other, and compare
14:06-!-mescalito [] has quit [Ping timeout: 480 seconds]
14:26<_dp_>ok, I think I got it right)
14:26<_dp_>x + int(dx == -1) + dx * progress
14:26<_dp_>where dx dy come from current train direction
14:31<_dp_>then, yeah, reverse is one subtile off:
14:42<@Alberth>good hunt!
14:48<supermop>V453000: involved being in the office until past 9 saturday, sunday, monday, and yesterday
14:48<supermop>had presentation to client today
14:53<andythenorth>how does one edit hg history?
14:53<andythenorth>I’ve got files committed that devzone won’t permit
14:53<andythenorth>ah fuck it
14:53<andythenorth>standard hg, just delete the repo :(
14:54<andythenorth>I love using a vcs where my only viable strategy for mistakes is ‘redo the work’ :P
14:56<frosch123>hg qimport
14:59*andythenorth reads docs
15:04-!-mescalito [] has joined #openttd
15:04-!-glx [] has joined #openttd
15:04-!-mode/#openttd [+v glx] by ChanServ
15:04<andythenorth>I have completely borked this repo
15:08<Wolf01>I completely borked the Claas instead, I'm adding motors :P
15:14<Wolf01>Moved the battery box on the front attachment, I have plenty of space to add motors now
15:14<andythenorth>project that starts this badly is jinxed
15:15<andythenorth>I’ll have to find another name
15:15<andythenorth>hg literally lies to me
15:15<andythenorth>“hg st” and “hg add .” are just not accurate
15:17<frosch123>what are you actually doing?
15:17<frosch123>copying fish without history?
15:17<frosch123>or starting from scratch?
15:18<andythenorth>copying the fish .hgignore, and files, but not .hg
15:18<andythenorth>or .hgtags
15:18-!-sla_ro|master [slamaster@] has joined #openttd
15:23-!-gelignite [] has joined #openttd
15:34-!-andythenorth [] has quit [Quit: andythenorth]
15:34<Eddi|zuHause>andy still didn't find the option to disable killing idle connections?
15:35<_dp_>need newgrf with loco that has odd length
15:37-!-andythenorth [] has joined #openttd
15:38<frosch123>_dp_: "debug vehicles" has all lengths
15:38<frosch123>get it from bananas
15:38<Eddi|zuHause>try CETS for added fun
15:45-!-Progman [] has quit [Remote host closed the connection]
15:50<_dp_>frosch123, indeed, ty
15:57-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
16:07-!-Wolf03 [] has joined #openttd
16:07-!-Wolf01 is now known as Guest328
16:07-!-Wolf03 is now known as Wolf01
16:12-!-Guest328 [] has quit [Ping timeout: 480 seconds]
16:16-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
16:16<supermop>so deadline was today
16:18-!-Lejving [] has quit [Ping timeout: 480 seconds]
16:19-!-Lejving [] has joined #openttd
16:19<supermop>and already worked more that 40 hours so far this week
16:20<supermop>so i can just not do anything now, right?
16:20<supermop>maybe i wont show up tomorrwo
16:20<Eddi|zuHause>better communicate that intent with your boss beforehand :p
16:20-!-sla_ro|master [slamaster@] has quit []
16:24-!-Hiddenfunstuff [] has quit [Ping timeout: 480 seconds]
16:30<supermop>Eddi|zuHause: he's in france!
16:30-!-JacobD88 [] has quit [Quit: JacobD88]
16:30<Eddi|zuHause>how is that relevant?
16:32<supermop>might make him less likely to need me in the office
16:44<Eddi|zuHause>presence in the office is rarely about being needed, but about appearing to be busy
16:52-!-sim-al2 [] has joined #openttd
16:54<supermop>neither is boss here to see me being not busy
17:01-!-Macha [~Macha@] has joined #openttd
17:07*andythenorth looks
17:09<andythenorth>train thing
17:26<andythenorth>bed :)
17:26-!-andythenorth [] has left #openttd []
17:27-!-gelignite [] has quit [Quit:]
17:32-!-Gja [] has quit [Quit: Going offline, see ya! (]
17:44-!-Macha [~Macha@] has quit [Quit: Leaving]
17:45-!-Wolf03 [] has joined #openttd
17:45-!-Wolf01 is now known as Guest342
17:45-!-Wolf03 is now known as Wolf01
17:51-!-Guest342 [] has quit [Ping timeout: 480 seconds]
18:01-!-Eddi|zuHause [~johekr@] has quit []
18:03-!-Lejving [] has quit [Ping timeout: 480 seconds]
18:11-!-Lejving [] has joined #openttd
18:12-!-Wormnest [] has quit [Quit: Leaving]
18:35<_dp_>I hate removing one line fixes the bug
18:36<_dp_>Now need to figure out who and why even added it
18:38<_dp_>crap, it's in r1...
18:40<Wolf01>Which bug?
18:43<_dp_>check log, train moves extra subtile
18:44<_dp_>and jumps after reverse
18:46<Wolf01>Oh ok
18:47<Wolf01>Never noticed
18:48<_dp_>yeah, you can't rly notice that in game,
18:49-!-Lejving [] has quit [Ping timeout: 480 seconds]
19:03-!-Lejving [] has joined #openttd
19:31-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
19:56-!-Compu [~Compu@] has quit [Remote host closed the connection]
19:59-!-trendynick [~trendynic@] has joined #openttd
19:59-!-Compu [~Compu@] has joined #openttd
20:05-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
20:14-!-trendynick [~trendynic@] has quit [Remote host closed the connection]
20:20-!-trendynick [~trendynic@] has joined #openttd
21:14-!-JezK_ [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has joined #openttd
21:31<Lejving>any reason not to just do block signal every train track?
21:31<Lejving>it looks ugly I guess :P
21:32<sim-al2>If you have infrastruture maintainence on it gets expensive
21:32<Lejving>I have 14126 millions anyway
21:36-!-Prof_Frink [] has quit [Ping timeout: 481 seconds]
21:40-!-Prof_Frink [] has joined #openttd
21:54-!-gnu_jj [] has joined #openttd
21:55-!-ProfFrink [] has joined #openttd
21:59-!-Prof_Frink [] has quit [Ping timeout: 480 seconds]
21:59-!-ProfFrink is now known as Prof_Frink
22:03-!-gnu_jj [] has quit [Ping timeout: 480 seconds]
22:29-!-Eddi|zuHause [] has joined #openttd
22:50-!-alask0ud [~Superdry^@] has quit [Quit: I couldn't repair your brakes, so I made your horn louder.]
23:01-!-glx [] has quit [Quit: Bye]
23:05-!-LadyHawk [] has quit [Read error: Connection reset by peer]
23:05-!-LadyHawk [] has joined #openttd
23:08-!-Snail [] has joined #openttd
23:15-!-phirephly [~phirephly@] has joined #openttd
23:43-!-Ttech [] has quit [Quit: Este é o fim.]
23:50-!-sla_ro|master [slamaster@] has joined #openttd
23:53-!-Ttech [] has joined #openttd
---Logclosed Thu Sep 01 00:00:22 2016