IRC logs for #openttd on OFTC at 2013-04-07
            
00:05:48 *** trandism has quit IRC
00:22:03 *** Zuu has quit IRC
00:33:48 *** Progman has quit IRC
00:48:39 *** KritiK has quit IRC
01:22:45 *** HerzogDeXtEr1 has joined #openttd
01:28:59 *** HerzogDeXtEr has quit IRC
01:36:23 *** HellTiger has quit IRC
01:41:03 *** eQualizer has quit IRC
01:52:49 *** roboboy has joined #openttd
01:55:03 *** pugi has quit IRC
02:24:51 *** glx has quit IRC
02:29:13 *** HerzogDeXtEr1 has quit IRC
02:33:10 *** Flygon__ is now known as Flygon
02:38:59 *** trandism has joined #openttd
02:49:06 *** trandism has quit IRC
03:05:31 *** Supercheese has joined #openttd
04:25:27 *** Snail has quit IRC
04:40:23 *** trandism has joined #openttd
04:44:45 *** DDR_ has joined #openttd
04:49:56 *** DDR has quit IRC
04:50:11 *** DDR_ is now known as DDR
04:56:01 *** Eddi|zuHause has quit IRC
04:56:16 *** Eddi|zuHause has joined #openttd
05:05:56 *** DDR has quit IRC
05:29:09 *** tokai|mdlx has joined #openttd
05:35:06 *** tokai|noir has quit IRC
05:40:50 *** RavingManiac has joined #openttd
06:04:28 *** KouDy has joined #openttd
06:21:52 *** RavingManiac has quit IRC
06:49:31 *** RavingManiac has joined #openttd
07:11:57 <Terkhen> good morning
07:28:23 *** |Jeroen| has joined #openttd
07:28:32 *** HerzogDeXtEr has joined #openttd
07:28:41 *** |Jeroen| has quit IRC
07:32:31 *** HerzogDeXtEr has quit IRC
07:33:29 *** |Jeroen| has joined #openttd
07:35:10 *** sla_ro|master has joined #openttd
07:35:18 *** Alberth has joined #openttd
07:35:18 *** ChanServ sets mode: +o Alberth
07:36:25 <Alberth> moin
07:38:36 <V453000> elo
07:41:30 *** andythenorth has joined #openttd
07:48:05 *** Mucht has joined #openttd
07:55:55 *** Eddi|zuHause has quit IRC
07:57:31 <Flygon> I feel I have learned a curse with CargoDist
07:57:40 <Flygon> Lack of forward compatibilty with certain saves D:
08:03:12 *** roboboy has quit IRC
08:08:30 *** Flygon_ has joined #openttd
08:14:44 <Supercheese> good night
08:14:51 *** Supercheese has quit IRC
08:15:21 *** Flygon has quit IRC
08:27:08 *** Progman has joined #openttd
08:27:32 *** |Jeroen| has quit IRC
08:38:45 <Alberth> I'd say you've come to appreciate the compability provided by standard openttd :)
08:39:30 *** valhallasw has joined #openttd
08:42:08 *** Meechmunchie has joined #openttd
08:43:05 *** Meechmunchie has left #openttd
08:43:48 <V453000> :)
08:47:02 *** tycoondemon2 has joined #openttd
08:48:37 *** Zuu has joined #openttd
08:53:36 *** Devroush has joined #openttd
08:53:51 *** tycoondemon has quit IRC
08:55:47 *** Wolf01 has joined #openttd
08:55:52 <Wolf01> hello :D
09:07:47 <Alberth> hi
09:09:43 *** |Jeroen| has joined #openttd
09:14:30 *** pugi has joined #openttd
09:32:08 *** |Jeroen| has quit IRC
09:48:41 *** molv has quit IRC
09:50:42 *** frosch123 has joined #openttd
10:08:12 *** valhallasw has quit IRC
10:10:48 *** Elukka has joined #openttd
10:15:37 <frosch123> "/* There is always one platform that doesn't support basic commands... */" <- yay, ottd comments :)
10:16:43 <DorpsGek> Commit by zuu :: r25158 extra/musa/type.py (2013-04-07 10:16:37 UTC)
10:16:44 <DorpsGek> [musa] -Fix (25145): Remove useless code
10:18:39 <DorpsGek> Commit by zuu :: r25159 extra/musa/scriptid.py (2013-04-07 10:18:33 UTC)
10:18:40 <DorpsGek> [musa] -Fix (25145): Was to restrictive when detecting short name of script
10:20:12 *** Ristovski has joined #openttd
10:29:55 <DorpsGek> Commit by zuu :: r25160 extra/musa/misc.py (2013-04-07 10:29:49 UTC)
10:29:56 <DorpsGek> [musa] -Fix: Undefined variable in validation of dependencies using short name
10:30:15 *** andythenorth has quit IRC
10:44:31 *** tycoondemon2 has quit IRC
10:49:01 *** RavingManiac has quit IRC
10:49:17 *** RavingManiac has joined #openttd
10:51:29 *** tycoondemon has joined #openttd
10:55:34 *** oskari89 has joined #openttd
11:03:33 *** oskari892 has joined #openttd
11:09:28 <DorpsGek> Commit by zuu :: r25161 extra/musa/musa.py (2013-04-07 11:09:22 UTC)
11:09:29 <DorpsGek> [musa] -Fix: Remove unnecessary check
11:09:43 *** oskari89 has quit IRC
11:20:29 <DorpsGek> Commit by zuu :: r25162 /extra/musa (4 files) (2013-04-07 11:20:23 UTC)
11:20:30 <DorpsGek> [musa] -Feature: New command (depgen.py) for extracting content type, uniqueid and md5sum from content tar files and print a dependency string for using in your musa .ini files
12:04:23 <DorpsGek> Commit by zuu :: r25163 /extra/musa (14 files) (2013-04-07 12:04:18 UTC)
12:04:24 <DorpsGek> [musa] -Fix: Set eol-style properties of all musa files
12:16:14 *** RavingManiac has quit IRC
12:19:03 *** glx has joined #openttd
12:19:04 *** ChanServ sets mode: +v glx
12:43:00 *** KritiK has joined #openttd
12:47:06 *** RavingManiac has joined #openttd
12:54:12 *** Zuu has quit IRC
12:55:37 *** Flygon_ has quit IRC
12:55:52 *** Flygon_ has joined #openttd
13:26:39 *** Ristovski has quit IRC
13:27:22 *** RavingManiac has quit IRC
13:27:37 *** RavingManiac has joined #openttd
13:28:37 *** andythenorth has joined #openttd
13:30:18 *** Ristovski has joined #openttd
13:33:02 *** Ristovski has quit IRC
13:33:59 *** andythenorth has quit IRC
13:37:17 *** Ristovski has joined #openttd
13:44:28 *** andythenorth has joined #openttd
13:57:30 *** Ristovski has quit IRC
13:59:18 *** Ristovski has joined #openttd
14:04:54 *** Flygon__ has joined #openttd
14:11:52 *** Flygon_ has quit IRC
14:30:09 *** molv has joined #openttd
14:31:21 *** tycoondemon2 has joined #openttd
14:36:09 *** tycoondemon has quit IRC
14:47:29 *** RavingManiac has quit IRC
14:50:18 *** HerzogDeXtEr has joined #openttd
14:56:19 *** Ristovski has quit IRC
14:57:21 *** Ristovski has joined #openttd
14:59:48 *** Biolunar has joined #openttd
15:10:43 *** Snail has joined #openttd
15:13:30 *** Zuu has joined #openttd
15:23:24 *** chester_ has joined #openttd
15:26:11 <V453000> helloooo ... is it somehow possible to contol the visual effect based on the position in consist of the vehicle? I cant seem to be able to put a switch instead of the VISUAL_EFFECT_DEFAULT :s visual_effect_and_powered: visual_effect_and_powered(VISUAL_EFFECT_DEFAULT, 0, DISABLE_WAGON_POWER);
15:26:22 *** Flygon__ is now known as Flygon
15:35:31 <frosch123> it is possible
15:59:35 *** DDR has joined #openttd
16:03:00 *** Eddi|zuHause has joined #openttd
16:05:19 <V453000> frosch123: any clues how? :s
16:11:34 *** HellTiger has joined #openttd
16:27:40 <Snail> in m4nfo that'd be easy
16:37:45 *** andythenorth has joined #openttd
16:37:48 <Rubidium> in C it'd be even easier
16:53:00 *** RavingManiac has joined #openttd
16:54:36 *** HerzogDeXtEr has quit IRC
17:01:02 *** Snail has quit IRC
17:03:49 *** andythenorth has quit IRC
17:05:55 *** andythenorth has joined #openttd
17:08:02 *** namad7 has quit IRC
17:20:53 *** andythenorth has quit IRC
17:32:22 *** pugi has quit IRC
17:45:21 <DorpsGek> Commit by translators :: r25164 /trunk/src/lang (serbian.txt unfinished/faroese.txt) (2013-04-07 17:45:14 UTC)
17:45:22 <DorpsGek> -Update from WebTranslator v3.0:
17:45:23 <DorpsGek> faroese - 276 changes by FastNinja
17:45:24 <DorpsGek> serbian - 28 changes by ivan_mile
17:48:21 *** andythenorth has joined #openttd
17:57:14 *** andythenorth has quit IRC
18:01:31 *** Snail has joined #openttd
18:03:33 *** ZxBiohazardZx has joined #openttd
18:04:32 <Snail> question... how is nfo var 00 (= date) handled before 1920? does it have negative values?
18:06:34 <Rubidium> it's just 0
18:06:59 <Rubidium> likewise the max is capped as well (probably at 2090)
18:07:23 *** andythenorth has joined #openttd
18:07:24 <Rubidium> you're better off using 23 or 24
18:07:38 <Snail> I see
18:08:00 <Snail> how about the date of the last maintenance if that occurs before 1920?
18:08:09 <Rubidium> likewise
18:08:43 <Rubidium> unless you use the "long date"
18:08:53 <Rubidium> then it's the date since 1-1-1 (or so)
18:09:12 <Snail> hmmm... this sounds useful
18:09:31 <Snail> any particular steps I need to do to use the "long date" in nfo?
18:11:49 *** HerzogDeXtEr has joined #openttd
18:11:55 *** Ristovski has quit IRC
18:12:15 <Rubidium> probably not much, it's roughly the same as the short dates with another epoch and larger range (dword instead of word)
18:13:17 <Rubidium> the only caveat is that only openttd supports long dates in stable releases
18:13:38 <Rubidium> but doesn't m4nfo just do long dates right?
18:14:09 <Snail> m4nfo seems to do dates starting from 1920
18:14:23 <Snail> but I'm not 100% sure
18:14:39 *** Ristovski has joined #openttd
18:15:08 *** RavingManiac has quit IRC
18:31:54 *** Alberth has left #openttd
18:34:55 <DorpsGek> Commit by zuu :: r25165 extra/musa/type.py (2013-04-07 18:34:50 UTC)
18:34:56 <DorpsGek> [musa] -Fix(25145): Server want to validate before the tar has been uploaded
18:35:41 *** oskari89 has joined #openttd
18:41:50 *** oskari892 has quit IRC
18:44:24 *** cyph3r has joined #openttd
18:45:44 *** ZxBiohazardZx has left #openttd
19:00:12 *** Supercheese has joined #openttd
19:14:08 *** pugi has joined #openttd
19:24:14 *** Mucht has quit IRC
19:30:16 <Snail> would introducing maximum ranges for locomotives (a bit like for planes) be possible at all?
19:30:49 <Snail> so for example, in the early years, a small tank locomotive would be able to only do shorter trips between two stations than a large tender loco
19:39:11 <andythenorth> think you can fake that in newgrf
19:39:19 <andythenorth> probably, using a nasty thing on cb 36
19:40:21 <planetmaker> Not sure. You can't access the order distance there. Nor how long you travelled since the last station
19:40:42 <planetmaker> And the distance on rails can be MUCH longer than the station distance as determined by the distance as the bird flies
19:41:18 *** valhallasw has joined #openttd
19:41:26 <andythenorth> just give a range in days travel?
19:41:38 <andythenorth> reset on visiting a depot
19:42:06 <planetmaker> yes. visiting a depot. Time since service is available
19:42:14 <planetmaker> But not stations
19:45:20 <andythenorth> frosch123: V453000 now with random image http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/get_started.html
19:45:38 <V453000> ayyy
19:46:00 <V453000> does the image change over time?
19:46:10 <V453000> would be nice if it did like every 4 seconds
19:46:47 <Snail> planetmaker: you mean time since service or time of last service?
19:47:08 <Snail> I think it's the latter (i.e. it gives you the absolute date of the last service)
19:51:09 <planetmaker> both can be obtained
19:51:21 *** cyph3r has quit IRC
19:55:41 <frosch123> iirc the date of last service is only a short date
19:55:53 <frosch123> so time since service fails outside 1920-2050
19:56:02 <frosch123> or whatever the upper limit might e
19:56:53 <Snail> frosch123: so there is no "long date" corresponding var to the date of last service?
19:57:25 <frosch123> check the wiki if you want to know for sure :)
19:57:37 <andythenorth> V453000: I could carousel it, but some people find them *very* annoying :)
19:57:56 <frosch123> random image on load is fine
19:58:01 <frosch123> it's not nuts after all
19:58:26 <frosch123> and visitors might not immediately notice that it is different every time they visit
19:59:53 *** valhallasw has quit IRC
20:00:25 <frosch123> Snail: oh, apparently someone added it to ottd 1.2
20:00:42 <frosch123> i guess cets needed it then or so :p
20:00:48 <Snail> really?
20:00:58 <Snail> hehe, I'd need it too. Where did you see that?
20:01:27 <frosch123> http://newgrf-specs.tt-wiki.net/wiki/VariationalAction2/Vehicles <- in the specs? where else?
20:01:37 <frosch123> i only talk nfo
20:03:44 <Snail> oh, var 4B
20:03:54 <frosch123> hmm, or should i say, i talk grf?
20:04:01 <frosch123> i guess there is no big difference
20:04:10 <Snail> I was searching "maintenance", not "service", this is why I couldn't find it :)
20:04:14 <Supercheese> NML is grf-speak
20:07:35 <Snail> anyway for my initial idea (range for locos) the pathfinder should ideally be queried when the player inputs the orders, and should prevent orders for which the traveled distance is > X tiles
20:07:41 <Snail> would this be possible?
20:09:17 <Terkhen> good night
20:13:31 <frosch123> Snail: noone knows where a train is really going to
20:13:48 <Snail> not even the pathfinder?
20:14:03 <frosch123> take a look at self regulating networks on coop, for an extreme case
20:14:10 <frosch123> there is not a single target for a train
20:14:24 <planetmaker> the orders can be changed anytime
20:14:26 <frosch123> it decides again on every junction
20:14:32 <planetmaker> thus you don't know where it goes after it left a station
20:14:40 <Snail> ah I see
20:14:53 <frosch123> trains do not even need orders
20:15:31 <Snail> and there is no such variable that tells you the tiles traveled since the last station, right?
20:16:16 <frosch123> unlikely, there was never a use in that
20:16:32 <frosch123> you might get the cargo age, but that is kept when transfering cargo
20:17:24 <Eddi|zuHause> <frosch123> i guess cets needed it then or so :p <-- i don't think i requested that one, it was "just there", i think
20:20:44 <Eddi|zuHause> nml uses this variable since Oct 2011, so this is loooong before
20:21:13 <planetmaker> Eddi|zuHause, might be that I wanted it... :-)
20:21:46 *** Zuu has quit IRC
20:22:10 *** Zuu has joined #openttd
20:24:14 <V453000> andythenorth: fair enough :)
20:28:19 <Snail> does last maintenance also apply to wagons?
20:32:47 *** trandism has quit IRC
20:32:59 *** trandism has joined #openttd
20:35:18 *** valhallasw has joined #openttd
20:35:27 <frosch123> just check the front vehicle?
20:38:50 <Snail> right, that's what I guess I'll have to do
20:41:09 <planetmaker> it can't even ever make a difference ;-)
20:43:08 <Eddi|zuHause> service date is only valid for the front vehicle
20:43:49 <Eddi|zuHause> (i.e. always check the related object)
20:45:13 <Eddi|zuHause> in CETS i add a random time (up to 3 years) to the service date, to change liveries over time. but this "feature" is mostly untested
20:45:47 <Snail> Eddi: so to go from "old" livery schemes to "new" ones?
20:46:02 <Eddi|zuHause> yes, repainting after depot visit
20:46:49 *** Ristovski has quit IRC
20:47:15 <Snail> I was thinking about doing something similar too... I'm a bit undecided
20:47:30 <Snail> yours is a good way to reach realism (i.e. old liveries disappear after a certain time)
20:47:44 <Snail> but if we keep old vehicles in their old liveries, we have more in-game variety :p
20:48:10 <Snail> so I still don't know which way to go for my set
20:48:30 <Eddi|zuHause> the idea was to provide a parameter "change immediately"/"change after servicing"/"keep old livery forever"
20:48:51 <planetmaker> :-)
20:49:42 <Snail> nice :)
20:50:16 <Snail> "change immediately" sounds a bit unrealistic doesn't it? :p
20:50:23 <Eddi|zuHause> yes.
20:50:48 <Snail> like having workers hanging out of a moving loco and repainting it as it travels :D
20:51:18 *** Progman has quit IRC
20:51:23 <Eddi|zuHause> but you need something for people that don't do servicing
20:51:35 <Snail> heh, I see
20:52:07 <planetmaker> quite common for people who play w/o breakdowns, tbh
20:52:43 <Eddi|zuHause> the default should be "change after servicing"
20:53:09 <planetmaker> ^^
20:54:01 <Eddi|zuHause> but if anyone wants to test the feature, the ET 87 might be a good candidate, just buy a bunch of those in 1920-ish and let them drive around for 30-50 years on fast foward, see when they change colours
20:54:19 <Snail> I see... the thing of using a parameter is not bad idea
20:54:53 <Snail> so you put the "new" livery if the last servicing date is after a certain (absolute) date + a random number
20:55:13 <Eddi|zuHause> yes, something like this
20:55:56 *** Superuser has joined #openttd
20:57:58 <__ln__> http://thejh.net/misc/website-terminal-copy-paste
20:58:22 <Superuser> __ln__: /r/linux much
20:58:26 <Superuser> ?
20:58:56 <__ln__> i don't know what you're talking aboot
21:00:22 <Eddi|zuHause> Snail: this is the relevant code bit (without parameter, but should be easy to extend) http://paste.openttdcoop.org/show/2217/
21:01:34 <Eddi|zuHause> so this vehicle has 4 liveries, one before 1924, one from 1924 to 1929, one from 1929 to 1940, and one from 1940 onwards
21:02:02 <Snail> NML-ese :p
21:02:05 <Snail> but I get the idea
21:02:34 <Eddi|zuHause> apparently there was (or still is) no nml-ese name for var 0xFA :)
21:02:56 <Eddi|zuHause> which are supposedly the random bits
21:02:57 <Snail> :)
21:03:02 <Superuser> __ln__: /r/linux
21:03:12 <Superuser> it was posted there just now, hehe
21:04:42 <Eddi|zuHause> "<!-- Oh noes, you found it! -->"
21:09:57 <Superuser> curl -L http://bit.ly/10hA8iC | bash
21:10:05 <Superuser> would highly recommend y'all paste this into your term
21:11:22 <michi_cc> Eddi|zuHause: I'd guess NML has a name for var 5F though, which is the documented way for random bits.
21:11:51 <Superuser> for anyone too pussy to do it : https://github.com/keroserene/rickrollrc/ it's the terminal rickroll, plays video and sound as well
21:12:06 <Eddi|zuHause> michi_cc: i'm not entirely sure why i chose this
21:14:12 <Eddi|zuHause> Superuser: why does that need so much code?
21:14:54 <Superuser> heh, it's a shell script
21:14:57 <Superuser> what do you expect
21:15:35 <michi_cc> Hmm, is that var somewhere accessed through var 61 maybe? 5F was initially not possible this way and only added later.
21:15:36 <Eddi|zuHause> really interesting way of checking whether a file exists :p
21:16:12 <Superuser> curl -L http://bit.ly/10hA8iC | bash" >> ~/.bashrc //type this into the terminal of the person you hate
21:16:30 <Eddi|zuHause> michi_cc: as far as i can see, it accesses the parent vehicle only, no var61 magic
21:16:55 <Eddi|zuHause> maybe that was intended but never used, so it might have factored into this
21:18:16 <Eddi|zuHause> "switch = Switch" which idiot wrote this code? :p
21:19:56 <frosch123> night
21:19:58 *** frosch123 has quit IRC
21:21:08 <Eddi|zuHause> i don't find var 5F in the wiki
21:22:12 <michi_cc> It's a generic var: http://newgrf-specs.tt-wiki.net/wiki/VariationalAction2#Variable
21:23:01 <Eddi|zuHause> and it's a particularly verbose description :/
21:23:10 <michi_cc> NML should simply be random_bits
21:24:00 <michi_cc> It all doesn't really matter though, as at least for trains in OTTD, var FA will do it as well.
21:24:30 <Eddi|zuHause> yeah, i'll just leave it
21:30:57 *** KouDy has quit IRC
21:33:15 <Eddi|zuHause> hm, and somehow Xorg is hogging the CPU while openttd is running in fast forward, leaving almost nothing for openttd :/
21:35:53 <andythenorth> bye
21:35:54 *** andythenorth has quit IRC
21:35:56 <Eddi|zuHause> almost like there's no 2D acceleration
21:40:47 *** segfault|on has joined #openttd
21:47:47 <Wolf01> 'night
21:47:53 *** Wolf01 has quit IRC
22:03:36 *** chester_ has quit IRC
22:14:27 *** sla_ro|master has quit IRC
22:17:54 <Eddi|zuHause> https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-ash4/480740_511762112204103_1233142241_n.jpg
22:21:27 *** Superuser has quit IRC
22:36:35 <Snail> Eddi: that pic reminds me of this --> http://fc01.deviantart.net/fs70/i/2012/022/e/3/poyo__by_chiichanny-d4n9fqr.png
22:39:04 <Eddi|zuHause> never seen that before
22:39:14 *** Devroush has quit IRC
22:45:02 <Snail> new japanese anime :p
22:47:44 *** valhallasw has quit IRC
22:51:49 *** MNIM has joined #openttd
22:58:40 *** Celestar_ has joined #openttd
23:02:23 *** oskari89 has quit IRC
23:05:41 *** Celestar has quit IRC
23:09:19 *** KritiK has quit IRC
23:11:25 *** pugi has quit IRC
23:17:01 *** Elukka has quit IRC
23:20:34 *** roboboy has joined #openttd
23:20:46 *** Zuu has quit IRC