IRC logs for #openttd on OFTC at 2013-04-03
            
00:07:52 *** ccfreak2k_ has joined #openttd
00:07:52 *** ccfreak2k has quit IRC
00:07:53 *** ccfreak2k_ is now known as ccfreak2k
00:11:21 *** roboboy has quit IRC
00:23:47 *** masch_ has joined #openttd
00:26:31 *** masch has quit IRC
01:24:06 *** GauHelldragon has quit IRC
01:27:51 *** cyph3r has quit IRC
02:17:11 *** MinchinWeb has joined #openttd
02:55:41 *** Biolunar__ has joined #openttd
03:02:51 *** Biolunar_ has quit IRC
03:44:24 *** glx has quit IRC
03:47:39 *** MinchinWeb has quit IRC
04:56:01 *** Eddi|zuHause has quit IRC
04:56:16 *** Eddi|zuHause has joined #openttd
05:26:01 *** Prof_Frink has quit IRC
05:44:29 *** valhallasw has joined #openttd
05:45:47 *** Dewin has quit IRC
05:47:32 *** HellTiger has quit IRC
06:20:25 *** sla_ro|master has joined #openttd
06:26:25 *** valhallasw has quit IRC
06:27:34 *** M1zera has quit IRC
06:29:55 *** Twofish has joined #openttd
06:46:06 *** TWerkhoven has quit IRC
06:46:24 *** Dr_Tan is now known as Nat_aS
06:48:46 *** Polleke has joined #openttd
06:49:43 *** TWerkhoven has joined #openttd
06:53:31 *** Twofish has quit IRC
06:56:23 *** Twofish has joined #openttd
07:02:46 *** TWerkhoven has quit IRC
07:04:45 *** valhallasw has joined #openttd
07:13:11 *** valhallasw has quit IRC
07:15:35 *** Twofish has quit IRC
07:18:32 *** Twofish has joined #openttd
07:27:24 *** TWerkhoven has joined #openttd
07:32:06 *** valhallasw has joined #openttd
07:44:51 *** TWerkhoven has quit IRC
07:48:25 *** TWerkhoven has joined #openttd
08:03:05 *** valhalla1w has joined #openttd
08:04:51 *** valhallasw has quit IRC
08:08:10 *** valhalla1w has quit IRC
08:13:45 *** valhallasw has joined #openttd
08:15:23 *** HerzogDeXtEr has joined #openttd
08:18:49 *** valhallasw has quit IRC
08:24:09 *** valhallasw has joined #openttd
08:37:33 *** Flygon__ has joined #openttd
08:40:30 *** valhallasw has joined #openttd
08:40:53 *** Flygon_ has quit IRC
08:41:30 <peter1139> Desperate NOW™ service
08:44:33 *** DDR has quit IRC
08:52:58 *** valhalla1w has joined #openttd
08:54:51 *** valhallasw has quit IRC
09:26:52 *** oskari89 has joined #openttd
09:48:03 *** Ristovski has joined #openttd
10:09:13 *** Eddi|zuHause has quit IRC
10:13:04 *** Eddi|zuHause has joined #openttd
10:19:42 *** HellTiger has joined #openttd
10:22:01 *** Elukka has joined #openttd
10:24:41 *** Eddi|zuHause has quit IRC
10:36:29 *** Eddi|zuHause has joined #openttd
10:45:57 *** Eddi|zuHause has quit IRC
11:03:50 *** Eddi|zuHause has joined #openttd
11:19:50 *** Eddi|zuHause has quit IRC
11:19:56 *** malin has quit IRC
11:22:37 *** Eddi|zuHause has joined #openttd
11:31:53 *** Eddi|zuHause has quit IRC
11:41:47 *** malin has joined #openttd
11:43:02 *** roboboy has joined #openttd
11:44:21 *** Eddi|zuHause has joined #openttd
11:50:41 *** cyph3r has joined #openttd
11:50:45 *** molv has quit IRC
11:51:25 *** molv has joined #openttd
12:00:27 *** Eddi|zuHause has quit IRC
12:03:07 *** Eddi|zuHause has joined #openttd
12:15:37 *** Eddi|zuHause has joined #openttd
12:16:12 *** glx has joined #openttd
12:16:12 *** ChanServ sets mode: +v glx
12:17:57 *** Eddi|zuHause has quit IRC
12:19:46 *** cyph3r has quit IRC
12:20:57 *** ZxBiohazardZx has joined #openttd
12:23:40 *** Eddi|zuHause has joined #openttd
12:23:54 <V453000> hello! is there any way how to make all odd values evaluate the same way as 1: 3: 5: ? kind of dont want to spam all the way up to 255
12:24:51 <peter1139> (x & 1) == 1
12:25:13 <V453000> http://paste.openttdcoop.org/show/2205/ I mean in NML
12:25:16 <V453000> forgot the paste :>
12:27:25 <V453000> hm yeah NML doesnt approve :s
12:27:33 <Eddi|zuHause> you cannot evaluate for both "last vehicle" and "all odd vehicles" at once
12:28:01 <Eddi|zuHause> for "all odd vehicles" just add "& 1" to the variable you are checking
12:28:14 <Eddi|zuHause> but then all even values will result in "0"
12:28:33 <Eddi|zuHause> so you need to check for "last vehicle" in a separate switch
12:28:42 <V453000> position_in_consist_from_end & 1 ?
12:28:46 <Eddi|zuHause> yes
12:28:50 <V453000> thanks, will try
12:29:08 <peter1139> heh no. just use a bit of logic
12:29:44 <Eddi|zuHause> yes, it's possible. but seeing his current stage of logic, i'd not make it too complicated :p
12:30:19 <V453000> see, Eddi understands my situation
12:31:48 <V453000> I already have 4 switches or how many there, so ... :p
12:32:49 <V453000> cant hurt
12:34:32 <planetmaker> http://paste.openttdcoop.org/show/2206/ somehow like this, V453000
12:35:07 <V453000> it says it doesnt like the gateway :( 502
12:35:20 <planetmaker> delete cookies
12:35:40 <planetmaker> dunno why we have that issue again. Was gone... but seems to be there again :S
12:36:08 <planetmaker> or probably only with replies to pastes... and that is seldom used
12:37:16 <V453000> how the hell is cookies called in czech :DDD sec
12:38:31 <V453000> dunno, opening in other browser :D
12:38:54 <V453000> yeah that is what I am doing pm :) but thanks
12:39:18 <V453000> I have there many other switches added to that, mainly random of colours, and then colours attached to spritesets, and there even was some other thing formerly :D
12:40:46 <V453000> ._. adding 30k lines of code and like 10k more sprites seems to have slowed down my compiling to like 10 minutes :(
12:42:00 *** Polleke_ has joined #openttd
12:46:18 <V453000> works =D except some stupid alignments
12:46:27 <V453000> but that isnt related :)
12:47:10 *** goodger has quit IRC
12:48:03 *** goodger has joined #openttd
12:48:10 <Eddi|zuHause> yes, nmlc has issues with larger code files
12:48:54 <Eddi|zuHause> which is why i have this totally elaborate and unwieldy system of partial compiles set up
12:49:00 <V453000> 60 000 atm :d
12:49:31 *** Polleke has quit IRC
12:50:35 <Eddi|zuHause> i think CETS is a bit more than that
12:50:53 <V453000> well with that many engines .. :)
12:50:59 <Eddi|zuHause> currently i have 146k lines in .gnml files
12:51:09 <V453000> :DD
12:51:11 <Eddi|zuHause> which doesn't include the spritesets
12:51:13 <V453000> most of my stuff is wagons
12:51:45 <V453000> wagons for every cargo, X loading stages, X variations of every cargo, and X generations of the wagon itself ... in the last case 12 colourful variations of the whole :D
12:52:33 <Eddi|zuHause> have you tried doing the colours with recolour maps?
12:52:45 <Eddi|zuHause> instead of separate spritesets for each colour?
12:53:54 <V453000> no ... I always post-edited them after recolouring ... this time I even didnt so a recolour map would probably be a lot smarter solution there
12:54:26 <V453000> it is done now but whenever I will need to edit it I will probably try that option
12:57:05 *** ntoskrnl has joined #openttd
13:02:32 <V453000> https://dl.dropbox.com/u/20419525/Donfingley%20Market%20Transport%2C%202096-09-05.sav try to remove that station tile, guaranteed openttd crash to me
13:02:48 <V453000> should I make a new issue or is it related to some?
13:05:04 *** tokai|noir has joined #openttd
13:05:05 *** ChanServ sets mode: +v tokai|noir
13:05:17 <Eddi|zuHause> there was a fix recently about crashing station tiles
13:05:25 *** Twofish has quit IRC
13:05:36 <planetmaker> the PublicServer was updated after that
13:05:41 <V453000> r25137
13:05:57 <planetmaker> so either it's the savegame being corrupted from before. Or it's something else which triggers the same thing
13:06:41 <V453000> it is weird from my point of view :d other tiles around it are safe to remove, that one isnt
13:06:57 <Eddi|zuHause> was something about stale reservations, i think
13:07:07 <V453000> I guess
13:07:39 <Eddi|zuHause> if so, then forcing a train onto that platform should resolve it
13:08:26 <V453000> :D
13:08:48 <planetmaker> it might be corrupted savegame...
13:08:52 <planetmaker> from before the fix
13:09:02 <planetmaker> http://hg.openttd.org/openttd/trunk.hg/rev/5b47b2c1d4c8
13:09:03 <V453000> hmz
13:09:11 <V453000> it is a station tile without rail, cant even replace it
13:09:20 <planetmaker> can't overbuild w/o crash?
13:09:28 <planetmaker> then you have to leave it or start a new game, I guess
13:10:05 <planetmaker> Or build the correct direction of rail station on it
13:10:10 <Eddi|zuHause> V453000: anyway, sounds like you should make a bug report
13:10:12 <planetmaker> maybe... dunno :-)
13:10:43 <Eddi|zuHause> V453000: remove all station sets, then it should revert to a station with rail :)
13:10:51 *** tokai|mdlx has quit IRC
13:10:57 <Eddi|zuHause> (warning: horrible file corruption ahead :))
13:11:25 <V453000> right
13:11:33 <planetmaker> lol. That's so crazy. But actually might work
13:11:46 <Eddi|zuHause> (In Theory(tm) it should allow re-adding the station sets afterwards, and restore the other stations. but must be the same grf order)
13:12:06 <V453000> what I tried so far was to overbuild in both directions, and re.reserve the station (even though it cannot be accessed)
13:12:08 <V453000> all crashed
13:12:13 <V453000> trying newgrf changes now
13:12:39 <V453000> yeah
13:12:45 <V453000> when I remove ISR it doesnt crash
13:13:27 <V453000> LOL XD
13:13:53 <V453000> tried to remove ISR, then add it again, it crashed upon opening station window, without even clicking the actual tile :D
13:15:55 <V453000> removing the tiel before adding ISR again seems to be safe
13:18:17 <Eddi|zuHause> "Dutch consumer debt amounts to about 250 percent of available income. By comparison, in 2011 even the Spaniards only reached a debt ratio of 125 percent"
13:19:45 <Belugas> hello
13:19:48 <Belugas> hello
13:20:43 <V453000> hel000
13:22:31 *** Eddi|zuHause has quit IRC
13:27:45 <V453000> http://bugs.openttd.org/task/5520 :|
13:37:37 *** Eddi|zuHause has joined #openttd
13:38:58 <Ristovski> whats the package name for nmlc? when compiling opengfx it says it's missing
13:40:26 <Ristovski> got it
13:43:53 <Ristovski> huh? "No rule to make target `ogfx1_base.gfx.dep', needed by `ogfx1_base.grf'. Stop."
13:44:33 <Eddi|zuHause> something missing?
13:44:57 <Eddi|zuHause> i don't remember ever trying to compile opengfx
13:45:10 <Ristovski> what would be missing tho
13:46:34 <Eddi|zuHause> dunno, what compile environments do you usually use?
13:47:42 <Ristovski> what do you mean
13:48:01 <Eddi|zuHause> for when you ever compile anything
13:48:10 <Ristovski> I use gcc
13:48:33 <Ristovski> and im on Debian Wheezy X64
13:50:41 <Eddi|zuHause> i have no idea what you did, it just works here
13:51:15 <Ristovski> nwo it says "nmlc: "sprites/base/base-3701-smoke-explosion.pnml", line 30: alternative_sprites-block requires 2 or 3 parameters, encountered 4"
13:51:35 <Eddi|zuHause> wrong/old nml version?
13:51:44 <Ristovski> I just installed it from the repo
13:51:53 <Eddi|zuHause> that doesn't mean anything
13:52:02 <Ristovski> version 0.2.3
13:52:15 <Eddi|zuHause> it likely needs 0.3.x
13:52:30 <Ristovski> hmm, ok
13:56:39 <Ristovski> works, thanks Eddi|zuHause!
13:56:51 *** ST2 is now known as xT2
13:56:51 *** xT2 is now known as ST2
13:56:54 *** ST2 is now known as xT2
14:04:32 *** Eddi|zuHause has quit IRC
14:23:41 *** michi_cc has quit IRC
14:34:32 *** Polleke_ has quit IRC
14:35:01 <Ristovski> why do I need graphics on a dedicated server? (I did do ./configure --enable-dedicated) and I am running with openttd -D
14:36:51 *** michi_cc has joined #openttd
14:36:51 *** ChanServ sets mode: +v michi_cc
14:49:03 *** Flygon_ has joined #openttd
14:52:41 *** Flygon__ has quit IRC
14:56:40 *** ZxBiohazardZx has left #openttd
15:10:32 <Rubidium> Ristovski: because "graphics" isn't only "images", but it also contains some data for certain stuff such as the landscape generators
15:11:02 <Ristovski> oh, ok
15:12:29 <Sacro> 'On the download page you will also find the complete change log...' <- where?
15:12:40 <Sacro> oh
15:12:43 <Sacro> the [changelog] button
15:14:50 *** molv has quit IRC
15:15:16 *** FLHerne has joined #openttd
15:19:32 *** Prof_Frink has joined #openttd
15:33:01 <V453000> hm what does the & 1 exactly do?
15:33:22 <V453000> e.g. position_in_consist & 1
15:34:28 *** FLHerne_ has joined #openttd
15:35:23 <Sacro> takes the second bit
15:35:45 <Sacro> ie AND 0b00000010
15:35:46 *** FLHerne has quit IRC
15:35:55 <V453000> ._.
15:37:07 *** KouDy has joined #openttd
15:40:02 *** FLHerne_ has quit IRC
15:40:20 *** FLHerne has joined #openttd
15:40:53 <michi_cc> Sacro: In my world 1 is 0b00000001
15:41:19 <V453000> those numbers I understand but they are far off my world so .. :P
15:41:40 *** FLHerne has quit IRC
15:42:15 <TinoDidriksen> & 1 takes the 2nd bit only on Tuesdays.
15:42:36 <michi_cc> & 1 is basically the same as if you'd take the number % 2 (modulo 2), i.e. the remainder of the (integer) division by 2.
15:43:14 <michi_cc> (And now Eddi can hit me because the mathematical modulo isn't at all the same as a remainder :p)
15:44:18 <V453000> thats what I figured
15:44:24 <V453000> luckily Eddi is missing atm :P
15:46:17 <Sacro> michi_cc: pssh
15:46:27 <Sacro> I never specified a base
16:00:21 *** valhalla1w has quit IRC
16:14:22 *** DDR has joined #openttd
16:47:58 *** TrueBrain has quit IRC
16:48:22 <Terkhen> hello
16:51:00 *** frosch123 has joined #openttd
16:57:42 *** TrueBrain has joined #openttd
16:57:45 *** Pol has joined #openttd
17:03:42 <frosch123> moin
17:04:24 *** TheMask96 has quit IRC
17:08:13 *** TheMask96 has joined #openttd
17:09:37 *** molv has joined #openttd
17:10:19 *** Progman has joined #openttd
17:19:15 <Ristovski> I like how ships can pass through each other
17:20:22 *** RavingManiac has joined #openttd
17:24:49 *** Dewin has joined #openttd
17:28:24 *** Mucht has joined #openttd
17:35:57 *** Eddi|zuHause has joined #openttd
17:36:49 *** George has quit IRC
17:44:24 *** Wolf01 has joined #openttd
17:44:34 <Wolf01> hello
17:45:25 <DorpsGek> Commit by translators :: r25139 /trunk/src/lang (4 files in 2 dirs) (2013-04-03 17:45:15 UTC)
17:45:26 <DorpsGek> -Update from WebTranslator v3.0:
17:45:27 <DorpsGek> traditional_chinese - 3 changes by Marcadana
17:45:28 <DorpsGek> faroese - 177 changes by FastNinja
17:45:29 <DorpsGek> galician - 16 changes by Michi
17:45:30 <DorpsGek> macedonian - 4 changes by Ristovski
17:45:41 <Ristovski> hmm
17:46:32 <frosch123> you can highlight yourself once per day :)
17:52:36 *** George has joined #openttd
17:54:18 <Ristovski> frosch123: lol
17:54:21 <Ristovski> indeed
17:55:29 <Ristovski> any idea how big zbase's repo is?
17:57:13 <frosch123> i would guess 500MiB
17:57:22 <frosch123> maybe more
17:58:40 *** pugi has joined #openttd
18:00:26 <frosch123> oh, i am confusing it with ogfx+trains
18:00:44 <frosch123> i have no idea about zbase, never had a checkout
18:08:12 <Terkhen> I would guess it is many times larger than that :P
18:09:35 <frosch123> i am at 160 MiB, and do not have 10 revsions yet
18:09:49 <frosch123> thought maybe the first revisions are bigger
18:12:14 <Ristovski> lol
18:12:24 <Ristovski> frosch123: tho zbase is missing lots of sprites
18:12:31 <Ristovski> and the menu icons are *huge*
18:13:35 <Wolf01> where's Alberth? I want my Alberth! ok, I'll pass to the next character... hello Belugas, how are you?
18:13:35 *** Alberth has joined #openttd
18:13:36 *** ChanServ sets mode: +o Alberth
18:13:38 <Wolf01> lol
18:13:40 <frosch123> r10: 200 MiB, r20: 226 MiB
18:13:47 <frosch123> Wolf01: nice one :)
18:13:49 <Wolf01> hello Alberth
18:13:59 <Ristovski> lol
18:14:12 <Alberth> hi Wolf01
18:15:12 <Alberth> I arrived jit :)
18:15:18 <frosch123> Alberth: Wolf01 asked about you in the same second as yoi joined
18:15:34 <frosch123> [Wednesday 03 April 2013] [20:13:36] <Wolf01> where's Alberth? I want my Alberth! ok, I'll pass to the next character... hello Belugas, how are you?
18:15:35 <frosch123> [Wednesday 03 April 2013] [20:13:36] Join Alberth has joined this channel (~hat3@a82-95-164-127.adsl.xs4all.nl).
18:16:08 <Wolf01> let me catch breath
18:16:10 * Alberth planned that very carefully :D
18:17:51 *** ntoskrnl has quit IRC
18:21:25 <Alberth> Ristovski: my zbase is 2048740 kb, ie 2.0GB according to 'du'
18:21:41 <Alberth> and it's not the latest one :)
18:21:48 <Ristovski> :O
18:22:04 <Ristovski> but... that's the size of a OS
18:22:10 <Ristovski> D:
18:22:16 <frosch123> Ristovski: that's the size of the whole history
18:22:23 <frosch123> do you only want to know the latest revision?
18:22:30 <Ristovski> yes
18:22:46 <Ristovski> and why does it keep the whole history anyways?
18:22:59 <frosch123> because we use version control systems
18:23:05 <frosch123> like every sane person does
18:23:31 <Alberth> http://paste.openttdcoop.org/show/2207/ 900MB without the .hg directory
18:24:07 <frosch123> Ristovski: see, keeping the whole history only requires twice the storage memory
18:24:16 <Ristovski> thats.. akit
18:24:17 <Ristovski> alot*
18:24:19 <frosch123> and you know about every line or pixel who and why it was done
18:24:58 <Ristovski> lol
18:25:12 <__ln__> *a lot
18:25:35 <Alberth> disk space is cheap
18:26:21 <Kjetil> backup is not :P
18:26:40 <Alberth> buy another disc :)
18:26:51 *** Zuu has joined #openttd
18:26:57 <Alberth> o/ Zuu
18:27:06 <Zuu> Hello Alberth
18:27:07 <Ristovski> Alberth: it is, but not if you need to download shit on a 50-250kb/s connection
18:27:18 <Ristovski> and RARELY I get like 2mb/s
18:27:23 <frosch123> Alberth: 5 seconds too late :p
18:27:40 *** Devroush has quit IRC
18:28:14 <Alberth> Ristovski: try a 38k4 modem :p 20MB/hour :)
18:28:24 <Ristovski> lol
18:29:40 <Alberth> but yeah, for collections of 32bpp pixels, your speed is quite useless
18:29:59 <Ristovski> indeed
18:30:02 <Alberth> especially at the scale of zbase :)
18:30:17 <Ristovski> Alberth: I was downloading zbase (package) for like 30 minutes
18:30:27 <Terkhen> Ristovski: you may want to clone an early revision and start updating in small intervals if you don't want to do it all at once
18:30:37 <Ristovski> I might.. later
18:30:46 <Terkhen> :P
18:31:13 <Ristovski> I hate my ISP D:
18:35:18 <Alberth> hmm, your problem may be worse; the build stuff used to be in zbasebuild, which has zbase and opengfx as subrepos
18:35:32 *** ZxBiohazardZx has joined #openttd
18:36:24 *** Devroush has joined #openttd
18:36:33 <Rubidium> Alberth: so he actually needs to clone zbuild ;)
18:36:47 <Ristovski> D:
18:36:56 <Ristovski> aah screw it, I wont clone it
18:37:00 <Ristovski> would have to waste hours
18:37:22 *** lugo has quit IRC
18:44:45 *** andythenorth has joined #openttd
18:48:30 *** Nat_aS has quit IRC
18:48:53 <andythenorth> meh
18:48:55 <andythenorth> nothing
18:48:59 <andythenorth> even in suggestions forum
18:50:04 <Belugas> mmh?
18:50:19 <Belugas> ho... hello Wolf01 :)
18:50:46 <Alberth> hi andy, sir B
18:50:48 * Belugas thinks andythenorth suffers from white page syndrom ;)
18:50:54 <Wolf01> hello Belugas :)
18:50:55 <Belugas> hello sir A :)
18:57:22 <Zuu> frosch123: I can reproduce FS#5519 (town_cmd assert) with seed 9. However it is probably connected to my town density settings among others. The assert in question is triggered when a generated town have zero population but OpenTTD still fails to delete it. I'm currently trying to figure out why it fails to remove the town.
18:58:38 <frosch123> i would try a breakpoint at town_cmd.cpp:2648
18:58:57 <frosch123> conditional whether ret.Failed
18:59:18 <frosch123> then you can check which kind of tile it fails to clear
19:00:46 <Zuu> frosch123: I had one in 2648 and figured out that it fails on tile 639911.
19:01:20 *** lugo has joined #openttd
19:01:29 <Zuu> Now I blame myself for not inserting a compiled condition into the code instead of using a slow conditional break point which slows down the loop a lot. :-)
19:02:28 <frosch123> you could take the time to fetch some coffee :p
19:03:36 <frosch123> that tile is water for me
19:04:20 <andythenorth> Belugas: you mean fear of the white page?
19:05:26 <Zuu> frosch123: Here it's a MP_TUNNELBRIDGE
19:05:35 <Belugas> indeed, andythenorth, indeed :)
19:06:17 *** chester_ has joined #openttd
19:06:20 <andythenorth> see a blank page, fill it
19:06:23 <andythenorth> fear over :P
19:07:05 <Alberth> kids are very good at that :)
19:09:59 <frosch123> Zuu: ok, i try to make a scenario which enforces a bridge :)
19:13:12 <frosch123> http://devs.openttd.org/~frosch/forcebridge.png <- now i only need to make it fail building houses :)
19:15:39 <frosch123> still does not crash for me
19:16:44 <frosch123> yay, reproduced
19:16:53 <frosch123> it's important to disable extra_dynamite
19:17:13 <frosch123> so, problem is likely in tunnelbridge_cmd.cpp:721
19:22:37 <Zuu> If it is of any help, here is the tile data of the tile in my test case: http://paste.openttdcoop.org/show/2208/
19:24:24 *** CornishPasty has quit IRC
19:29:21 <frosch123> hmm, so when are towns allowed to remove their own bridges :)
19:29:25 *** Pol has quit IRC
19:30:08 *** CornishPasty has joined #openttd
19:30:34 <Zuu> Owner of the bridge is MAX_COMPANIES (16) while it check for owner OWNER_TOWN (15)
19:31:28 <frosch123> so, OWNER_NONE
19:33:31 <Zuu> hmm, sorry. Owner of bridge is MAX_COMPANIES. And it is 0x0F which is 15.
19:33:48 <Zuu> Both MAX_COMPANIES and OWNER_TOWN is 0x0F
19:34:01 <Zuu> I don't know where I got 16
19:34:37 <Zuu> ah... _current_company is 16.
19:35:39 <Zuu> So at line 717, road_owner change from 16 to 15.
19:37:47 <frosch123> (rt == ROADTYPE_ROAD && !Company::IsValidID(_current_company))) return CommandCost(); <- so, that silly check implicitly allows OWNER_NONE to remove roads :s
19:40:48 <Zuu> Did you trace it down to that check?
19:41:30 <Zuu> I see that the if-statement on line 721 evaluates to true and that CheckTileOwnership(tile) then returns false.
19:42:45 <Zuu> My extra_dynamite is set to false.
19:44:02 <frosch123> http://devs.openttd.org/~frosch/diffs/fs5519.diff <- actually two issues
19:44:17 <frosch123> the town_cmd thing is the real problem, OWNER_NONE vs OWNER_TOWN
19:45:28 <frosch123> the tunnelbridge_cmd should fix that towns could potentially remove bridges with tram from other companies
19:46:46 *** KritiK has joined #openttd
19:49:11 <Zuu> So the first fix will execute DeleteTown as OWNER_TOWN instead of OWNER_NONE? Are you sure that doesn't add any new bugs?
19:49:28 *** ZxBiohazardZx has left #openttd
19:49:38 <frosch123> nope :p
19:49:43 <frosch123> but it is the correct thing to do
19:49:48 <frosch123> the stuff is build as OWNER_TOWN
19:49:54 <frosch123> so it should also be removed as OWNER_TOWN
19:50:20 <frosch123> GrowTown() also switches to OWNER_TOWN
19:51:38 <V453000> town == enemy
19:56:13 <Zuu> frosch123: I don't follow how your second fix works to stop OWNER_TOWN from destroying tram bridges owned by companies. However it may still be a correct fix as I'm a bit tired now. :-)
19:56:47 <frosch123> the "return CheckTileOwnership(tile);" is supposed to always fail, just to give the right error messag ehwne extra_dynamite is disabled
19:57:00 <frosch123> but it would succeed for _current_company = OWNER_TOWN
19:57:17 <frosch123> and thus it would not do the ret = CheckOwnership(tram_owner, tile); below
19:57:38 <Zuu> Ah ok
19:59:56 <andythenorth> hmm
19:59:59 <andythenorth> FIRS 2?
20:00:06 <andythenorth> GOPD
20:00:10 <frosch123> andythenorth: is there a forum thread? :p
20:00:16 *** chester_ has quit IRC
20:00:21 <andythenorth> all good sets start with a forum thread
20:00:40 <Eddi|zuHause> then CETS cannot be good
20:00:47 <frosch123> no, i mean, is there a forum thread guessing what would make up firs 2.0 ?
20:00:52 <V453000> me is insulted as well
20:00:54 <V453000> there you have it
20:01:13 <frosch123> you have a release thread at least
20:01:41 *** RavingManiac has quit IRC
20:02:26 <andythenorth> FIRS 2.0 thread
20:02:28 <andythenorth> hmm
20:02:36 <Zuu> I can confirm that your fix to town_cmd.cpp fixes my test case.
20:02:42 <andythenorth> don't 2.0 threads mostly guess at what *wont'* be in the next version?
20:03:04 <andythenorth> how about 'guess what's in BANDIT'
20:03:05 <andythenorth> :P
20:03:17 <andythenorth> vote now if you want a new truck set
20:03:28 * andythenorth is mostly serious about BANDIT
20:03:28 <Eddi|zuHause> "FIRS 2.0 should implement cargo destinations, taking over industries and a tetris minigame"
20:03:36 <andythenorth> Eddi|zuHause: I'll get right on that
20:03:57 <andythenorth> I did ask frosch123 for clickable industry tiles
20:04:18 <andythenorth> tetris is possible if an industry can handle user clicks
20:05:50 <V453000> if there isnt unicorn tile then dont even bother
20:06:24 <Eddi|zuHause> or even better: a warehouse with a sokoban minigame ;)
20:06:56 <Zuu> andythenorth: When GS was new, someone made a mini-game script published at forums. It placed a tree in a square area. When you demolished it, it would place a new random tree in this area.
20:07:29 <andythenorth> tetris is included here: http://tmrc.mit.edu/history/
20:07:49 <frosch123> tree-tic-tac-toe :)
20:08:02 <Zuu> http://www.tt-forums.net/viewtopic.php?f=65&t=58184 <-- Whack-a-Tree
20:09:27 <frosch123> http://www.tt-forums.net/viewtopic.php?f=29&t=47238 <- well, if we take the initial post only, we are about there :p
20:09:48 <frosch123> it says: c++, goals, scripted scenarios, interactive tutorial
20:11:19 <andythenorth> yes
20:11:25 <andythenorth> I mentioned that a few weeks ago :P
20:11:30 <andythenorth> technically, 1.3.0 is 2.0
20:12:03 <Zuu> Isn't it 1.2 which is 2.0?
20:12:12 <andythenorth> maybe 1.3 is 2.1
20:12:27 <frosch123> well, i like the year thingie better :p
20:12:29 <andythenorth> if it was up to me, I'd announce in forums that we made a mistake
20:12:40 <andythenorth> and say that surprisingly, 2.0 is now doen
20:12:43 <andythenorth> done *
20:12:53 <Rubidium> frosch123: but 1.3 are the 13 in 2013 ;)
20:13:08 <frosch123> yes, that's what i mean :)
20:13:09 <Zuu> frosch123: So next release will be 2.4 to accomondate for that?
20:13:20 <Zuu> Or 2.3.1 :-)
20:13:22 <andythenorth> why not count in hex?
20:13:45 <frosch123> andythenorth: you had the chance with firs, and failed :p
20:13:55 <andythenorth> FIRS is fail
20:13:59 <andythenorth> I should delete it
20:14:01 <frosch123> Rubidium: now we only need to make releases quarterly
20:14:13 <Eddi|zuHause> frosch123: that means in 2020 we need to release 2.0
20:14:14 <andythenorth> so nobody wants a truck set
20:14:16 <andythenorth> meh
20:14:24 * andythenorth will play flash games then
20:14:35 <andythenorth> Alberth: what was that thing we were working on?
20:14:37 <frosch123> andythenorth: code bananas 2.0 :p
20:14:43 <andythenorth> oh oh oh
20:14:46 <andythenorth> banananaanas
20:14:56 <andythenorth> I thought it was seriously insanely hard?
20:14:59 <Zuu> or review http://devs.openttd.org/~zuu/musa.patch :-)
20:15:07 <Alberth> just bottle it? :)
20:15:29 <andythenorth> bottle is dubious?
20:16:11 <Zuu> andythenorth: The up side with musa is that it is free from Django :-)
20:16:23 <andythenorth> hmm
20:16:25 <andythenorth> django
20:16:28 <frosch123> unchained from django? :p
20:16:43 <andythenorth> :P
20:16:50 <Zuu> :-)
20:17:02 <V453000> im afraid the WETRail has opened a gateway to a whole new dimension of WTF, and the gate seems to be impossible to close
20:17:16 <V453000> expect the worst :D
20:17:16 <andythenorth> V453000: I was worried that migh happen
20:17:20 <frosch123> V453000: you need canals which blend in with them
20:17:32 <andythenorth> you need ekranoplancats
20:17:32 <frosch123> to green stuff on the coop server next to the ships looks weird
20:17:34 <V453000> with who? :D
20:17:46 <andythenorth> you need actual catamarrans
20:18:03 <V453000> you mean when used on water with canals
20:18:21 <frosch123> yes
20:18:35 <V453000> myeah, I just wouldnt use them that way
20:18:42 <V453000> the canal will be there anyway
20:18:48 <V453000> even if I use full water tile
20:19:14 <andythenorth> hmm
20:19:20 <andythenorth> diagonal rivers?
20:19:24 <andythenorth> I would draw them
20:19:41 <frosch123> V453000: anyway, if i understood wetrail correctly, it has no curve penalty, right?
20:19:46 <V453000> until rivers are re-buildable they are like unusable anyway
20:19:58 <V453000> it has normal rail penalty
20:20:01 <andythenorth> V453000: +0.8
20:20:13 <frosch123> hmm, ok, maybe it does not matter with the low speeds
20:20:30 <frosch123> ecranoplanes could have higher curve penalties
20:20:31 <V453000> exactly
20:20:34 <andythenorth> shall we ditch the water transport?
20:20:37 <V453000> 88kmh is the shortest curve
20:20:39 <V453000> not counting 90deg
20:20:40 <andythenorth> in favour of v's solution?
20:20:53 <andythenorth> what could go wrong?
20:20:55 <V453000> I wouldnt do that
20:21:11 <frosch123> andythenorth: you mean, replace cargos with railtypes? :p
20:21:16 <V453000> this what I did should be just something extra tbh
20:21:23 <V453000> :DD
20:22:10 <andythenorth> because...?
20:22:10 * andythenorth likes bold steps :P
20:22:10 <andythenorth> ah, a FIRS translation update :)
20:22:10 * andythenorth has something useful to do
20:22:34 <andythenorth> frosch123: everything is cargos is railtypes
20:22:35 <V453000> :DDD
20:22:58 <andythenorth> V453000: did you do it because you could? Or because water transport is lame?
20:23:13 * Alberth puts andy on the right track
20:23:19 <V453000> both
20:23:30 <V453000> and I am specifically famous for hating on ships on our servers
20:23:43 <andythenorth> I hate ships
20:23:45 <V453000> so ... just got the idea of doing it and followed it
20:23:47 *** Eddi|zuHause has quit IRC
20:24:03 <V453000> you hate ships because they have 103708 pixels and you drew them :)
20:24:11 <Zuu> V453000: So now you are going to provide a substitute for ships on the #openttdcoop servers?
20:24:16 <DorpsGek> Commit by frosch :: r25140 trunk/src/town_cmd.cpp (2013-04-03 20:24:10 UTC)
20:24:17 <DorpsGek> -Fix [FS#5519]: Towns are build as OWNER_TOWN, so they also need to be removed as OWNER_TOWN.
20:24:27 <andythenorth> and because they go in stupid non-diagonal routes
20:24:35 <andythenorth> and get trivially stuck
20:24:35 <V453000> I wouldnt say that Zuu, in fact I am not even sure if I will continue drawing ships
20:25:12 <DorpsGek> Commit by frosch :: r25141 trunk/src/tunnelbridge_cmd.cpp (2013-04-03 20:25:06 UTC)
20:25:13 <DorpsGek> -Fix: When extra dynamite was disabled, towns would be allowed to clear bridges with trams.
20:25:18 <V453000> hint: water transporter does not necessarily have to be a boat
20:25:18 <Zuu> V453000: Will not your water rails trains look like ships?
20:25:34 <Zuu> Ok
20:25:36 <V453000> some of them will
20:25:44 <andythenorth> do some giant ducks
20:25:46 <V453000> some of them will be off the chain of wtf
20:25:47 <andythenorth> like chuckie egg
20:26:06 <Zuu> A flum ride trunk?
20:26:14 <andythenorth> http://www.mobygames.com/images/shots/l/470617-chuckie-egg-bbc-micro-screenshot-level-9-is-a-repeat-of-the.gif
20:26:45 <V453000> you guessed one of them zuu :)
20:26:53 <frosch123> [22:24] <Zuu> V453000: So now you are going to provide a substitute for ships on the #openttdcoop servers? <- check the save in fs#5518
20:27:06 <Zuu> V453000: Or even better tug boat with loggs floating behind?
20:27:24 <V453000> second one except there will probably not be tug boat but something else instead
20:27:27 <Zuu> And when it's emtpy a rope is floating behind?
20:27:27 <V453000> or maybe even tug boat
20:27:28 <V453000> who knows
20:27:42 <V453000> there are options :)
20:27:46 <Zuu> :-)
20:28:01 <V453000> atm I am drawing a water turtle convoy
20:28:06 <V453000> your argument is invalid
20:28:14 <frosch123> i see, V will turn toyland into rollercoaster land
20:28:20 <frosch123> including water rides
20:28:30 <Terkhen> good night
20:28:42 <frosch123> night terkhen
20:29:18 <V453000> LOL
20:29:22 <V453000> almost there frosch123
20:29:35 <V453000> I didnt yet say that the tugboat subsitutes for a unicorn goldfish
20:31:51 <andythenorth> oops
20:31:55 * andythenorth plays chuckie egg
20:33:20 <Zuu> Interesting @ save in fs@5518
20:34:38 <V453000> thats the start :)
20:37:31 <frosch123> Zuu: actually i mean 5520
20:37:35 <frosch123> but maybe its the same
20:37:38 <frosch123> both coop
20:38:11 <V453000> same game in fact
20:39:17 <Zuu> A passenger station with WETRails make me think of flum rides :-)
20:39:32 *** KouDy has quit IRC
20:39:47 * andythenorth not very good at chuckie egg :(
20:41:05 <frosch123> hmm, maybe V is a vegarian, and wants to spoil us with the cute livestocks in nuts :p
20:43:54 <V453000> :D
20:46:12 <andythenorth> imagine if V does a truck set :P
20:46:37 <frosch123> the monorail in nuts is essentially a truck set
20:46:51 <frosch123> at least those i saw on monday nocargoal game
20:48:05 <frosch123> V453000: did you consider magic carpets for transport?
20:48:32 *** Alberth has left #openttd
20:49:03 <V453000> not quite
20:49:06 <V453000> too realistic
20:50:18 <frosch123> i am just trying to trick you into aircraft :p
20:54:35 <Ristovski> lol
20:55:42 <andythenorth> so what do I do with strings like STR_GRF_URL?
20:55:46 <andythenorth> which are in english.lng
20:55:52 <andythenorth> and also every translation :(
20:55:55 *** tycoondemon has quit IRC
20:55:55 <andythenorth> pointlessly :P
20:55:57 <frosch123> you can translate them to localised urls
20:56:01 <V453000> https://dl.dropbox.com/u/20419525/TURLORZ.png
20:56:05 <V453000> turtle convoy anyone?
20:56:06 <V453000> wip
20:56:14 <Ristovski> lol
20:56:30 <Ristovski> V453000: add magic carpets, as frosch123 suggested
20:56:46 <andythenorth> frosch123: ho ho, localise all the docs :P
20:56:50 <andythenorth> perhaps not :)
20:56:52 *** tycoondemon has joined #openttd
20:57:16 <frosch123> andythenorth: i thought they are auto-generated? :p
20:57:20 <andythenorth> yup
20:57:27 <frosch123> just feed another language :p
20:57:32 <andythenorth> it's not a stupid suggestion
20:58:09 <frosch123> just one which involves work with questionable effect :)
20:58:17 <andythenorth> yup
21:08:47 *** Ristovski has quit IRC
21:11:23 <frosch123> night
21:11:26 *** frosch123 has quit IRC
21:38:57 *** sla_ro|master has quit IRC
21:46:14 *** pugi has quit IRC
21:46:33 <Wolf01> 'night
21:46:51 *** Wolf01 has quit IRC
21:50:21 *** andythenorth has quit IRC
21:56:25 *** Progman has quit IRC
21:57:14 *** valhallasw has joined #openttd
21:57:19 *** HerzogDeXtEr has quit IRC
22:33:13 *** Devroush has quit IRC
22:35:15 *** HellTiger has quit IRC
22:43:29 *** jonty-comp has quit IRC
22:43:49 *** jonty-comp has joined #openttd
22:59:51 <Zuu> Hmm, maybe I/someone should write some python code that detects which libraries a script or library imports and then verify the dependencies it sets upon upload.
23:00:20 *** tycoondemon2 has joined #openttd
23:00:36 <Zuu> A such check would then not be able to handle conditional imports which squirrel can do, but I doubt that any AI/GS uses an if-statement to decide which library to import.
23:03:51 *** tycoondemon has quit IRC
23:16:07 *** Eddi|zuHause has joined #openttd
23:24:11 *** valhallasw has quit IRC
23:29:11 *** ccfreak2k has quit IRC
23:33:09 *** ccfreak2k has joined #openttd
23:53:41 *** Elukka has quit IRC
23:57:27 *** KritiK has quit IRC