Config
Log for #openttd on 4th February 2013:
Times are UTC Toggle Colours
00:02:05  <Supercheese> Awesome, just as I was building a line from the stockyard to the nearest town, a subsidy was offered precisely for that :D
00:03:22  *** Djohaal_ [~Djohaal@200.146.11.57.dynamic.dialup.gvt.net.br] has quit [Read error: Connection reset by peer]
00:03:34  *** Djohaal_ [~Djohaal@200.146.11.57.dynamic.dialup.gvt.net.br] has joined #openttd
00:04:57  *** Celestar [~vici@mnch-4d04d938.pool.mediaWays.net] has quit [Ping timeout: 480 seconds]
00:08:42  *** Zuu [~Zuu@h-114-141.a98.priv.bahnhof.se] has quit [Ping timeout: 480 seconds]
00:09:45  *** mrdaft_ [~mrdaft@75.114.201.249] has joined #openttd
00:14:44  *** jasperthecat1 [63304048@ircip3.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
00:24:59  *** DabuYu [~jkuckartz@128.250.79.164] has joined #openttd
00:26:23  *** mrdaft_ is now known as mrdaft
00:33:03  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
00:33:54  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
00:42:35  *** mrdaft [~mrdaft@75.114.201.249] has quit [Quit: -]
00:43:13  *** KritiK [~Maxim@0001264a.user.oftc.net] has quit [Quit: Leaving]
00:47:04  *** Supercheese [~Password4@76.178.163.204] has quit [Remote host closed the connection]
00:51:19  *** Supercheese [~Password4@76.178.163.204] has joined #openttd
00:58:42  <Supercheese> Hmm, OTTD seems to hate the updated version of my grf
01:03:59  *** Elukka [Elukka@a91-152-213-89.elisa-laajakaista.fi] has quit []
01:14:38  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
01:14:39  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
01:29:02  *** Markavian [~Markavian@78-105-168-146.zone3.bethere.co.uk] has joined #openttd
01:34:29  *** mkv` [~Markavian@78-105-168-146.zone3.bethere.co.uk] has quit [Ping timeout: 480 seconds]
01:41:26  *** roboboy [~robotboy@0001164c.user.oftc.net] has joined #openttd
01:50:21  *** mrdaft [~mrdaft@75.114.201.249] has joined #openttd
01:55:23  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
01:56:04  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
02:03:28  *** Djohaal_ [~Djohaal@200.146.11.57.dynamic.dialup.gvt.net.br] has quit [Read error: Connection reset by peer]
02:23:59  *** roboboy [~robotboy@0001164c.user.oftc.net] has quit [Ping timeout: 480 seconds]
02:28:28  *** mrdaft [~mrdaft@75.114.201.249] has quit [Quit: -]
02:36:48  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
02:37:27  *** tokai|mdlx [~tokai@port-92-195-78-246.dynamic.qsc.de] has joined #openttd
02:37:39  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
02:41:32  *** tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
03:07:19  *** roadt [~roadt@60.168.91.104] has joined #openttd
03:12:41  *** Biolunar__ [~mahdi@blfd-4db1369d.pool.mediaWays.net] has joined #openttd
03:15:40  *** Nat_aS [~nat@00179a279bbd.click-network.com] has joined #openttd
03:18:23  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
03:19:14  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
03:19:51  *** Biolunar_ [~mahdi@blfd-4d083db5.pool.mediaWays.net] has quit [Ping timeout: 480 seconds]
03:23:02  *** Dr_Tan [~nat@00179a279bbd.click-network.com] has quit [Ping timeout: 480 seconds]
03:59:58  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
04:00:49  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
04:05:13  *** roboboy [~robotboy@0001164c.user.oftc.net] has joined #openttd
04:05:50  *** glx [glx@000128ec.user.oftc.net] has quit [Quit: Bye !]
04:20:21  *** mrdaft [~mrdaft@75.114.201.249] has joined #openttd
04:34:28  *** mrdaft [~mrdaft@75.114.201.249] has quit [Quit: -]
04:41:33  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
04:41:34  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
04:43:18  *** roboboy [~robotboy@0001164c.user.oftc.net] has quit [Ping timeout: 480 seconds]
05:10:01  *** Snail [~jacopocol@cpe-68-175-24-89.nyc.res.rr.com] has quit [Quit: Snail]
05:22:18  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
05:23:11  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
05:27:33  *** kais58|AFK is now known as kais58
05:56:03  *** Eddi|zuHause [~johekr@p57BD5490.dip.t-dialin.net] has quit []
05:56:18  *** Eddi|zuHause [~johekr@p5DC66D50.dip.t-dialin.net] has joined #openttd
06:03:53  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
06:04:44  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
06:27:23  *** Prof_Frink [~proffrink@5e0097ae.bb.sky.com] has quit [Ping timeout: 480 seconds]
06:33:13  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
06:49:02  *** Pensacola [~quassel@phys9212.phys.tue.nl] has joined #openttd
07:15:02  *** Devroush [~dennis@dD5765BAC.access.telenet.be] has joined #openttd
07:27:18  <__ln__> hyvÀÀ huomenta
07:27:34  <Supercheese> @get 5
07:27:34  <DorpsGek> Supercheese: English only
07:27:54  <Supercheese> (of course I violate that rule like mad myself :P )
07:28:20  <__ln__> that rule has never applied to saying good morning
07:28:28  <Supercheese> Indeed
07:28:48  <Supercheese> I was mostly testing the @get function, I don't recall using it before
07:29:09  <Supercheese> though I had observed its use and deduced the syntax
07:29:41  <peter1138> @get laid
07:29:41  <DorpsGek> peter1138: Error: 'laid' is not a valid topic number.
07:29:44  <peter1138> :S
07:29:58  <Supercheese> :D
07:29:59  <__ln__> so the '5' means the fifth "token" in the topic separated by | ?
07:30:09  * Supercheese is laughing so hard
07:30:18  <peter1138> @get 4
07:30:18  <DorpsGek> peter1138: 'Latest' is not a valid version, 'Most recent' neither
07:30:25  <peter1138> yeah i guess
07:30:43  <Supercheese> __ln__: yeah, pretty much
08:10:30  *** Tvel [~Thunderbi@212.36.5.170] has joined #openttd
08:22:49  *** Markavian` [~Markavian@78-105-168-146.zone3.bethere.co.uk] has joined #openttd
08:30:02  *** Markavian [~Markavian@78-105-168-146.zone3.bethere.co.uk] has quit [Ping timeout: 480 seconds]
08:33:08  *** Bad_Brett [~bad@78-69-118-27-no42.tbcn.telia.com] has joined #openttd
08:34:52  *** valhallasw [~valhallas@wirenat-ulcn.strw.leidenuniv.nl] has joined #openttd
08:48:37  *** TrueBrain [~truebrain@ip82-139-82-247.lijbrandt.net] has quit [Quit: reboot]
09:01:27  *** TrueBrain [~truebrain@ip82-139-82-247.lijbrandt.net] has joined #openttd
09:05:04  *** Bonez305 [~kvirc@c-98-203-59-207.hsd1.fl.comcast.net] has joined #openttd
09:05:09  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
09:05:12  <Bonez305> Hello there.
09:05:19  <Supercheese> Greetings
09:05:50  <Bonez305> So did this game come from rail road tycoon or vice versa? :D
09:05:59  <__ln__> no and no.
09:06:14  <Bonez305> which came first, before i google it.
09:06:59  <Bonez305> RRT it is :D.
09:07:43  <Bonez305> Been trying to get a feel for online gaming, yet it seems so fast paced
09:09:00  <Bonez305> I guess no one likes noobs lol
09:09:21  <Supercheese> Friggin a
09:09:45  <Supercheese> I STILL cannot build maglev/pipeline/whatnot on the other diagonal part of a tile as a regular track
09:09:49  <Supercheese> lame
09:14:58  <Bonez305> can any suggest a good server ?
09:15:25  <__ln__> apache
09:15:31  *** bco1981 [53885934@ircip1.mibbit.com] has joined #openttd
09:16:38  <Bonez305> dont see anything named apache in the list.
09:17:05  *** bco1981 [53885934@ircip1.mibbit.com] has quit []
09:17:08  *** bo-31027 [~bco@87.116.34.12] has joined #openttd
09:18:00  <bo-31027> Hi, I've been searching the wiki and forum but could not find what i was looking for.
09:18:41  <bo-31027> Does anyone know, when you make a dedicated server and no people er on it, will the "world" pause or will time go on ?
09:22:32  <Tvel> The "min_active_clients" server command configures this
09:23:02  <Tvel> http://wiki.openttd.org/Console#Server_commands
09:23:02  <Tvel> all here
09:24:01  <bo-31027> thanks, hadn't looked at the commands yet, but that explains my question, thanks alot :)
09:29:43  <Supercheese> good night
09:31:03  *** DDR [~chatzilla@d154-20-132-199.bchsia.telus.net] has quit [Quit: DDR is not Dance Dance Revolution.]
09:44:00  *** roboboy [~robotboy@0001164c.user.oftc.net] has joined #openttd
09:53:07  *** Pikka [~Octomom@d58-106-12-222.rdl801.qld.optusnet.com.au] has joined #openttd
09:55:22  <Pikka> bananamen, is there a way to download old versions of grfs via http?
09:55:38  <Pikka> are old versions shunted into a subdirectory or something?
09:56:22  <Pikka> because just changing the version number of the tar.gz link doesn't work. :)
10:00:02  *** roboboy [~robotboy@0001164c.user.oftc.net] has quit [Ping timeout: 480 seconds]
10:07:13  *** roboboy [~robotboy@0001164c.user.oftc.net] has joined #openttd
10:13:16  *** Elukka [Elukka@a91-152-213-89.elisa-laajakaista.fi] has joined #openttd
10:18:56  *** Supercheese_ [~Password4@76.178.163.204] has joined #openttd
10:19:10  *** Polleke [~quassel@phys9212.phys.tue.nl] has joined #openttd
10:19:54  *** DorpsGek [~dorpsgek@000128f9.user.oftc.net] has quit [Read error: Connection reset by peer]
10:20:11  *** DorpsGek [~dorpsgek@000128f9.user.oftc.net] has joined #openttd
10:20:14  *** mode/#openttd [+o DorpsGek] by ChanServ
10:20:45  *** roboboy [~robotboy@0001164c.user.oftc.net] has quit [Ping timeout: 480 seconds]
10:24:09  *** Supercheese [~Password4@76.178.163.204] has quit [Ping timeout: 480 seconds]
10:25:34  *** Pensacola [~quassel@phys9212.phys.tue.nl] has quit [Ping timeout: 480 seconds]
10:25:38  <Bonez305> was the quickest way to get money, early game ?
10:28:47  <Flygon> Coal
10:37:03  <TinoDidriksen> There are in-game graphs of what gives most money.
10:38:31  *** roboboy [~robotboy@0001164c.user.oftc.net] has joined #openttd
10:38:32  <Flygon> TinoDidriksen: I'm just going by experience
10:38:43  <Flygon> Coal > Power Plant is the most trivial way to print money
10:38:52  <Flygon> Which makes it easy to boost your REAL cash cow
10:38:55  <Flygon> Passenger
10:39:58  <peter1138> remove distance from the equation
10:40:03  <peter1138> no cash cows then
10:43:10  <Flygon> How so?
10:43:58  <Pikka> moo
10:44:09  <peter1138> noo
10:46:44  *** roboboy [~robotboy@0001164c.user.oftc.net] has quit [Ping timeout: 480 seconds]
10:48:52  *** cypher [~Miranda@ip-213-220-193-90.net.upcbroadband.cz] has joined #openttd
10:54:15  <goodger> ooo
10:54:21  *** Pensacola [~quassel@h220216.upc-h.chello.nl] has joined #openttd
10:59:06  <peter1138> poo?
10:59:58  <goodger> I didn't say it
11:00:01  <peter1138> ok
11:00:18  <peter1138> 16384 sqrt() calls
11:00:25  <peter1138> should i halve that?
11:00:31  <peter1138> or not care at all
11:00:54  <goodger> I imagine sqrt() would not be one's top priority in such cases
11:01:38  <Eddi|zuHause> float math! evil!
11:04:33  <Flygon> Real programmers calculate in binary
11:08:09  <planetmaker> Pikka, old versions are afaik not available via http
11:08:36  <planetmaker> there's afaik no link which will give them to you, if you need them manually (and why would you?)
11:09:37  <Bonez305> 3m every couple seconds ? :O
11:09:56  <Pikka> old version of av8 for someone, as a temporary measure for ai crashes, planetmaker
11:10:02  <Pikka> I ain't really bovvered though
11:10:07  *** Maedhros [~maedhros@87.115.25.43] has quit [Quit: leaving]
11:10:35  <Pikka> peter1138, more sqrt calls
11:10:36  <peter1138> AI crashes? how silly!
11:10:46  <peter1138> more sqrt!
11:10:46  <planetmaker> you only get that ingame, if you have an old game and need that particular version (grfID+md5sum) from an old savegame.
11:11:17  <Pikka> not a worry
11:11:49  <Pikka> I told him to check his download directory to see if he has the old version :)  and I also will provide a parameter to sidestep the issue in the next version of av8
11:12:08  <Pikka> (with the sideeffect of allowing players to disable limited ranges, which I'm sure will please many)
11:12:19  <planetmaker> surely, yes
11:12:51  <Pikka> because what's the point in having planes if you can't fly them from one corner of a 2048* map to the other, right?
11:13:05  <planetmaker> Pikka, he might just need enable newgrf_show_old_versions in his cfg
11:13:24  <planetmaker> by default OpenTTD only offers the newest version of all grfs for selection
11:13:44  <planetmaker> which makes sense, if you have many, many, many versions of each
11:13:45  <peter1138> Pikka, why accommodate for a broken AI?
11:13:52  *** roboboy [~robotboy@0001164c.user.oftc.net] has joined #openttd
11:14:34  <Pikka> well, why should the AI accommodate for a "broken" newgrf? :)
11:14:59  <Pikka> eg, the seaplanes that you can't start, which isn't something that an AI could or should predict will happen.
11:15:01  <planetmaker> AIs can query plane flight range. So NewGRFs don#t need to care about AIs there
11:15:40  <Pikka> true, planetmaker.  but they don't, so I may as well offer players a fix if I can.
11:15:50  <Pikka> and like I said, it will make a lot of people happy anyway, so eh.
11:15:56  <peter1138> MEH
11:16:01  <Pikka> MEHHH
11:16:02  <peter1138> a bit bucket of MEH
11:16:02  <Pikka> MOO
11:16:09  <planetmaker> if you offer the switch for every player, AI or not, yes. Then it's a feature :-)
11:16:39  <Pikka> three way parameter, ranges for everyone, no ranges for AI, no ranges for everyone
11:16:40  <planetmaker> (I mean one switch which just disables them... for all players at the same time)
11:16:48  <planetmaker> hm, or that :D
11:16:54  <peter1138> can you disable ranges just for AIs?
11:17:25  <planetmaker> query company_is_AI and then CB36 possibly
11:17:29  <Pikka> yes
11:17:32  <planetmaker> not sure I like it :D
11:17:35  <Pikka> :)
11:17:41  <peter1138> what is "query company_is_AI" ?
11:17:51  <Pikka> well, in theory, company_is_AI shouldn't work any more, should it?  but it does ;)
11:17:55  <planetmaker> the written name for a hex variable I don't care to look up
11:18:02  <Pikka> I use it to give AIs bonus stats in UKRS2
11:18:11  <peter1138> hmm
11:18:22  <peter1138> naughty cheating
11:18:37  <Pikka>  Player info (43)
11:18:38  <Pikka> Format: Ccttmmnn
11:18:47  <Pikka> tt value	Meaning
11:18:48  <Pikka> 0	Player is human player (permanent company)
11:18:48  <Pikka> 1	Player is AI player (not managed)
11:18:48  <Pikka> 2	Not supported by OpenTTD Supported by TTDPatch 2.52.5 Player is a human managing an AI company
11:18:48  <Pikka> 3	Not supported by OpenTTD Supported by TTDPatch 2.52.5 Player is human player's original company, now temporarily AI controlled
11:19:02  <planetmaker> naughty, yes. cheating, yes. But in the interested of players possibly :-P
11:19:29  <Pikka> even with the bonuses most AIs go bankrupt quickly using UKRS2 :)
11:19:58  <Pikka> because they try to drive railways straight up mountains
11:20:18  <Pikka> the poorer AIs run underpowered trains which stall and choke
11:20:33  <Pikka> the "smarter" AIs build nonuple-headed trains that kill them with running costs
11:20:38  <peter1138> http://fuzzle.org/~petern/ottd/fixbug.diff
11:20:39  <peter1138> yes
12:00:56  <planetmaker> Pikka, it's generally the case that AIs so far quite some room for improvement when it comes to supporting trains.
12:01:05  <planetmaker> +offer
12:02:02  <planetmaker> so I'd not consider it a particular problem with any of your train newgrfs :-)
12:03:00  <Bonez305> how much ram does it take to run a server ?
12:04:16  <planetmaker> depends on your map size and NewGRFs. Same amount as it takes a client
12:04:37  <planetmaker> minus graphics... 256MB or 512MB are what my servers run with
12:04:54  <planetmaker> 256MB proved slightly too little in certain circumstances
12:05:41  <Bonez305> 256x512 shouldnt take much eh ?
12:06:03  <planetmaker> that's about the sizes I run typically, too. Up to 512x1024
12:06:06  <planetmaker> at most
12:06:31  <planetmaker> The map itself is not the only memory eater. Vehicles and cargo can eat quite a bit, too :-)
12:07:59  <Bonez305> I have a VPS setup for something else maybe I could throw a 256mb server up :D
12:08:33  <planetmaker> should not be a big issue with that. Just open the proper ports :-)
12:09:52  *** KouDy [~KouDy@188.75.190.58] has quit [Quit: Leaving.]
12:15:25  *** KenjiE20 [kenjie20@2001:470:dc50:b0::21] has quit [Remote host closed the connection]
12:24:09  <__ln__> congratulations UK for finding the missing king.
12:25:22  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
12:26:44  <peter1138> bit late to ask his opinion
12:27:56  <__ln__> surely this is not the same Richard that arrives at the end of Robin Hood movies?
12:29:32  <Pikka> no, it isn't __ln__
12:29:53  <Pikka> assuming you're talking about dicky three in the carpark in leicester
12:30:29  <__ln__> i am
12:31:18  <Pikka> http://en.wikipedia.org/wiki/Richard_III_of_England vs http://en.wikipedia.org/wiki/Richard_I_of_England
12:31:27  *** Supercheese_ [~Password4@76.178.163.204] has quit [Read error: Connection reset by peer]
12:31:56  *** Supercheese [~Password4@76.178.163.204] has joined #openttd
12:34:01  * Pikka has totally been to bosworth field
12:34:12  <Pikka> it looks pretty much like a field
12:35:56  <peter1138> i've been to petersfield
12:36:05  <peter1138> it's not a field
12:36:11  <peter1138> it's also not mine
12:36:19  *** KenjiE20 [kenjie20@2001:470:dc50:b0::21] has joined #openttd
12:36:52  <Pikka> how rare
12:37:23  <peter1138> how square
12:37:57  <Pikka> -4
12:41:28  *** goodger [~ben@host86-129-12-34.range86-129.btcentralplus.com] has quit [Quit: goodger]
12:41:37  *** Snail [~jacopocol@cpe-68-175-24-89.nyc.res.rr.com] has joined #openttd
12:42:30  *** goodger [~ben@host86-129-12-34.range86-129.btcentralplus.com] has joined #openttd
12:42:35  * peter1138 grumbles about PSDs that won't load in Gimp
12:43:10  *** LSky` [~x@5ED5A444.cm-7-6c.dynamic.ziggo.nl] has joined #openttd
12:48:54  *** SpComb [terom@zapotek.paivola.fi] has quit [Ping timeout: 480 seconds]
12:57:44  <Eddi|zuHause> so he ruled only for 2 years, what's all the fuzz about him, then?
13:05:23  *** KouDy [~KouDy@188.75.190.58] has quit [Quit: Leaving.]
13:05:23  *** LSky` [~x@5ED5A444.cm-7-6c.dynamic.ziggo.nl] has quit [Read error: Connection reset by peer]
13:10:11  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
13:12:32  *** Kurimus [~stabbity@dsl-tkubrasgw3-50dd93-34.dhcp.inet.fi] has quit [Ping timeout: 480 seconds]
13:13:36  *** SpComb [terom@zapotek.paivola.fi] has joined #openttd
13:13:44  *** Kurimus [~stabbity@dsl-tkubrasgw3-50dd93-34.dhcp.inet.fi] has joined #openttd
13:18:00  *** oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has joined #openttd
13:26:19  *** RavingManiac [~RavingMan@182.55.106.160] has joined #openttd
13:36:01  *** Snail [~jacopocol@cpe-68-175-24-89.nyc.res.rr.com] has quit [Quit: Snail]
14:09:24  <Eddi|zuHause> "Cookiemonster wants to return the golden Cookie that disappeared from Bahlsen headquarters a few weeks ago."
14:10:29  <V453000> hm, I guess signal sprites cannot change based on orientation of rail?
14:10:39  <V453000> like, // orientation of rail, but different scales
14:10:44  <V453000> uphill, straight, downhill
14:11:05  <V453000> as long as the track is in // orientation, signal X will always be drawn, right?
14:11:19  <Eddi|zuHause> yes
14:11:35  <V453000> no way around that?
14:11:41  <Eddi|zuHause> same "problem" with one way road arrows
14:12:33  <V453000> right
14:14:25  <Eddi|zuHause> well the way "around" that would be to extend the grf specs to allow for providing the additional sprites
14:14:37  <V453000> that would be awesome
14:14:52  <Eddi|zuHause> but $someone has to code that
14:15:57  <V453000> I figured that :)
14:27:26  <V453000> hm
14:27:42  <V453000> I wanted to put signals just like road signs on the tracks themselves
14:28:15  <V453000> but looks like that breaks even worse in diagonals
14:30:36  *** HerzogDeXtEr1 [~Flex@i59F6D9EF.versanet.de] has joined #openttd
14:31:39  *** HerzogDeXtEr2 [~Flex@i59F6D9EF.versanet.de] has joined #openttd
14:32:43  *** goodger [~ben@host86-129-12-34.range86-129.btcentralplus.com] has quit [Quit: goodger]
14:32:57  *** goodger [~ben@host86-129-12-34.range86-129.btcentralplus.com] has joined #openttd
14:37:39  *** HerzogDeXtEr [~Flex@i59F6D9EF.versanet.de] has quit [Ping timeout: 480 seconds]
14:38:01  <peter1138> hi
14:39:22  *** HerzogDeXtEr1 [~Flex@i59F6D9EF.versanet.de] has quit [Ping timeout: 480 seconds]
14:43:01  <Belugas> helo
14:44:04  *** ntoskrnl [~not@a91-153-231-146.elisa-laajakaista.fi] has joined #openttd
14:45:12  <goodger> o/
14:46:21  *** RavingManiac [~RavingMan@182.55.106.160] has quit [Read error: Connection reset by peer]
14:53:58  *** cypher [~Miranda@ip-213-220-193-90.net.upcbroadband.cz] has quit [Read error: Connection reset by peer]
15:07:08  *** cypher [~Miranda@ip-213-220-193-90.net.upcbroadband.cz] has joined #openttd
15:10:43  *** ComLock [~chrisw@cC165BF51.dhcp.as2116.net] has quit [Ping timeout: 480 seconds]
15:23:19  *** Devroush36 [~dennis@dD5765BAC.access.telenet.be] has joined #openttd
15:23:57  *** frosch123 [~frosch@frnk-590f7d15.pool.mediaWays.net] has joined #openttd
15:26:54  *** Devroush [~dennis@dD5765BAC.access.telenet.be] has quit [Ping timeout: 480 seconds]
15:33:08  *** Pensacola [~quassel@h220216.upc-h.chello.nl] has quit [Remote host closed the connection]
15:44:05  *** roboboy [~robotboy@0001164c.user.oftc.net] has quit [Ping timeout: 480 seconds]
16:17:40  *** Mek_ is now known as Mek
16:27:23  *** tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
16:27:26  *** mode/#openttd [+v tokai|noir] by ChanServ
16:33:01  *** tokai|mdlx [~tokai@port-92-195-78-246.dynamic.qsc.de] has quit [Ping timeout: 480 seconds]
17:08:15  *** SpComb [terom@zapotek.paivola.fi] has quit [Ping timeout: 480 seconds]
17:17:46  *** valhallasw [~valhallas@wirenat-ulcn.strw.leidenuniv.nl] has quit [Ping timeout: 480 seconds]
17:25:01  <Terkhen> hello
17:32:55  *** SpComb [terom@zapotek.paivola.fi] has joined #openttd
17:35:47  <oskari89> Could someone edit that diagonal clearing and levelling feature to 100% here: http://wiki.openttd.org/Requested_features
17:36:04  <oskari89> The page says it's protected and editing restricted to users
17:36:26  <frosch123> you just have to login
17:36:33  <frosch123> there is no annonymous editing
17:36:34  *** Zuu [~Zuu@h-114-141.a98.priv.bahnhof.se] has joined #openttd
17:37:36  <frosch123> Supercheese: can you please give me the md5sums of the Seagulls1-5.wav
17:38:00  <frosch123> i fixed grfcodec so it encodes and decodes container 2 soundfiles
17:38:19  <frosch123> but the reencoded grf is bigger than the nml one
17:38:34  <frosch123> so i do not know whether it is still broken, or whether nml is just better
17:41:45  *** Prof_Frink [~proffrink@5e0097ae.bb.sky.com] has joined #openttd
17:43:47  *** roadt [~roadt@60.168.91.104] has quit [Ping timeout: 480 seconds]
17:44:52  *** Progman [~progman@p57A18E83.dip.t-dialin.net] has joined #openttd
17:48:45  <frosch123> Supercheese: i guess just post them at https://dev.openttdcoop.org/issues/4895
17:51:01  <frosch123> night
17:51:04  *** frosch123 [~frosch@frnk-590f7d15.pool.mediaWays.net] has quit [Remote host closed the connection]
17:52:46  *** roadt [~roadt@60.168.86.178] has joined #openttd
18:05:03  *** pjpe [ae5f38bd@ircip2.mibbit.com] has joined #openttd
18:12:39  *** tycoondemon2 [tycoondemo@524B5F54.cm-4-4b.dynamic.ziggo.nl] has joined #openttd
18:13:23  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
18:14:42  *** DabuYu [~jkuckartz@128.250.79.164] has quit [Ping timeout: 480 seconds]
18:14:59  *** DabuYu [DoubleYou@128.250.79.164] has joined #openttd
18:15:27  *** tycoondemon [~ashnohoe@524B5F54.cm-4-4b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
18:15:53  *** pjpe [ae5f38bd@ircip2.mibbit.com] has left #openttd []
18:21:35  *** cypher [~Miranda@ip-213-220-193-90.net.upcbroadband.cz] has quit [Read error: Connection reset by peer]
18:25:13  *** TheMask96 [martijn@polaris.ne2000.nl] has quit [Ping timeout: 480 seconds]
18:29:19  *** TheMask96 [martijn@polaris.ne2000.nl] has joined #openttd
18:33:22  <__ln__> http://www.h-online.com/open/news/item/Google-s-C-library-for-B-tree-containers-1797174.html
18:35:21  <peter1138> quick, rewrite openttd
18:36:35  <__ln__> yeah, that's what i was suggesting
18:36:45  <peter1138> ok
18:36:47  <peter1138> how about not?
18:37:45  <__ln__> let me know when you have completed the rewrite tomorrow.
18:37:50  <__ln__> please
18:42:31  *** LordAro [~LordAro@host81-155-106-122.range81-155.btcentralplus.com] has joined #openttd
18:43:04  *** goodger [~ben@host86-129-12-34.range86-129.btcentralplus.com] has quit [Quit: goodger]
18:44:52  <peter1138> it's done
18:45:11  <DorpsGek> Commit by translators :: r24967 trunk/src/lang/danish.txt (2013-02-04 18:45:07 UTC)
18:45:12  <DorpsGek> -Update from WebTranslator v3.0:
18:45:13  <DorpsGek> danish - 3 changes by Hellwing
18:46:19  <__ln__> good work
18:46:42  <__ln__> i guess you redesigned the map array while you were at it
18:46:54  *** cypher [~Miranda@ip-213-220-193-90.net.upcbroadband.cz] has joined #openttd
18:48:45  *** valhallasw [~valhallas@s55978e11.adsl.online.nl] has joined #openttd
18:59:35  <Supercheese> Hmm, I don't think I've ever actually cared about md5 sums before, I wonder how you go about calculating them...
19:00:15  <__ln__> it's best to use a computer, i think it will be a bit too tedious with a pencil and paper.
19:00:52  <NGC3982> bah, computers.
19:00:54  <NGC3982> It's a fly.
19:01:16  <Supercheese> my calculator could probably do it
19:01:21  <Supercheese> it has a USB port and everything
19:01:36  <Supercheese> TI-89 is a beast
19:02:18  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
19:02:30  <Ammler> do people still use calculators?
19:02:43  <Supercheese> I use mine extensively, for university coursework
19:02:44  <Ammler> I would have thought, they use pc with some math sw
19:02:52  <Belugas> yup, i do, i admit
19:02:53  <Supercheese> they don't let you use PCs on exams ;)
19:03:00  <NGC3982> Ammler: I do. I have trouble finding peace while on a PC.
19:03:09  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
19:03:13  <NGC3982> For some reason, it's hard not to do five things at the time.
19:03:30  <NGC3982> A calculator forces a linear perspective on the task at hand (or at least more than a PC).
19:03:44  <Ammler> hehe, well aren't newest calculators like pcs?
19:03:55  * NGC3982 has not used any new TI
19:03:56  <Supercheese> they don't let you use newest calculators either :P
19:04:00  <NGC3982> TI-89 <3.
19:04:11  <Supercheese> http://en.wikipedia.org/wiki/Ti-89
19:04:13  <Supercheese> 1998
19:04:22  <Ammler> ah, so there exists a kind of whitelist?
19:04:28  <Supercheese> yep
19:04:39  <Supercheese> Well, technically http://en.wikipedia.org/wiki/TI-89_Titanium#TI-89_Titanium
19:05:09  <NGC3982> well, i have seen newer calculators that supports web browsing
19:05:14  <Supercheese> I should port OTTD to the Ti-89
19:05:20  *** cypher [~Miranda@ip-213-220-193-90.net.upcbroadband.cz] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
19:05:24  <Supercheese> they ported Tetris
19:05:27  *** roadt [~roadt@60.168.86.178] has quit [Ping timeout: 480 seconds]
19:05:29  <NGC3982> Thus: Calculator == Wikipedia+Wolfram Alpha
19:05:33  <Supercheese> and several early Legends of Zeldas
19:05:36  <NGC3982> Wich might be a bit much for an exam.
19:05:36  <NGC3982> :D
19:06:47  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has joined #openttd
19:08:03  <Supercheese> Yep, I think this is the first time I've ever intentionally calculated an md5 sum
19:12:29  <Pikka> shh
19:16:20  <oskari89> Eddi: Close adjacent level crossings patch, should that be on trunk?
19:16:25  *** ComLock [~chrisw@cC165BF51.dhcp.as2116.net] has joined #openttd
19:17:44  <Supercheese> I think it's "close level crossings along reserved paths"
19:17:50  <Supercheese> not necessarily "adjacent"
19:18:10  <oskari89> Yes, but you got the idea :P
19:18:24  <Supercheese> They are not at all the same thing
19:19:03  <Supercheese> I would conjecture that the functionality of that patch is not in trunk, but I'm not 100% sure on that
19:21:44  <Zuu> Supercheese: I wrote a drawing program for my TI-86 :-)
19:22:06  <peter1138> manually calculating an md5sum?
19:22:11  <Supercheese> I think TI-Basic was my first venture into computer programming of any kind
19:22:33  <Supercheese> peter1138: http://dev.openttdcoop.org/issues/4895#change-13226
19:23:20  <peter1138> oh you mean running m5sums on it
19:24:13  *** ntoskrnl [~not@a91-153-231-146.elisa-laajakaista.fi] has quit [Ping timeout: 480 seconds]
19:32:26  <oskari89> http://www.tt-forums.net/viewtopic.php?t=37448#p1000723
19:33:00  <oskari89> Has somebody information about that 64 kb -> ? limit lifting on sound effects?`
19:33:40  <Supercheese> There is no more limit
19:34:22  <Supercheese> The devzone issue I linked to earlier deals with .wavs in my grf, some of which are 97 KB
19:34:26  <Zuu> Is a solution to "allow clicking on town names in chat" broken if it fails when a town name is split over a line break in the chat display?
19:37:00  *** Wolf01 [~wolf01@host204-174-dynamic.52-82-r.retail.telecomitalia.it] has joined #openttd
19:37:03  <Wolf01> moin
19:38:21  * Zuu thinks yes and hope he can find a suitable solution
19:38:34  <Ammler> Zuu: define "fails", work like now or scrollto the wrong location?
19:38:46  <Ammler> s/work/not work/
19:38:54  <Zuu> "fails" would be that it will not scroll at all.
19:39:16  <Rubidium> Zuu: check the stuff that make sure the font and color are right?
19:39:24  <Zuu> But I hope that I can get it to work also over line breaks. It only means that I need to work a bit harder :-)
19:40:08  <Zuu> I do the encoding in NetworkAddChatMessage
19:40:25  <andythenorth> Pikka: lo
19:40:35  <Zuu> and for each chat message line I add  a vector with click targets (tile indices)
19:40:37  <Pikka> does it?
19:40:42  <andythenorth> not sure
19:40:46  <Pikka> k
19:40:48  <andythenorth> never seen one in the wild
19:40:52  <peter1138> brup
19:43:53  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
19:44:19  <Pikka> charming
19:44:44  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
19:46:09  <andythenorth> rude
19:50:31  *** pugi [~pugi@host-091-097-001-216.ewe-ip-backbone.de] has joined #openttd
19:51:31  <Eddi|zuHause> <Supercheese> they don't let you use PCs on exams ;) <-- and they do let you use all-purpose-programmable "calculators"? on what grounds do they make a difference?
19:51:52  <Supercheese> I think it's QWERTY keyboards that are the "evil features"
19:52:00  <Supercheese> I dunno how that works, but I'm not complaining
19:53:03  <Eddi|zuHause> <oskari89> Eddi: Close adjacent level crossings patch, should that be on trunk? <-- it needs some setting to not automatically switch it on for old games, as vehicles might crash unexpectedly when they are currently waiting "inside" of a level crossing
19:53:05  *** Eddi|zuHause is now known as Eddi|zuHause2
19:53:08  *** Eddi|zuHause2 is now known as Eddi|zuHause3
19:53:17  *** Eddi|zuHause3 is now known as Eddi|zuHause
19:53:57  <Eddi|zuHause> and that setting should have the possibility of allowing diagonal crossings in mind [only when 'adjacent crossings' are enabled]
20:01:02  <Pikka> what's 160km/h in old money?
20:01:25  <Pikka> 100, obv
20:03:10  <Pikka> ein zusÀtzlicher Zwischenwagen
20:03:23  <Pikka> german is such a melodic language...
20:09:26  <Belugas> that is exactly waht I tough last time i heard some Rammstein...
20:09:36  <Eddi|zuHause> it's weird that so many modern singers think they need to sing in english
20:09:55  *** pjpe [b8af1d68@ircip3.mibbit.com] has joined #openttd
20:10:39  <Eddi|zuHause> although it has got better in the last ~10 years
20:11:56  <Rubidium> you mean Lena and so on?
20:13:13  <Eddi|zuHause> it's still easier to count the exceptions :)
20:14:18  <Rubidium> Schnappy... that's fairly recent and German
20:14:54  *** pjpe [b8af1d68@ircip3.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
20:15:27  <NGC3982> http://www.flickr.com/photos/appemobile/8445881070/in/photostream
20:15:37  <NGC3982> So, this is my OpenTTD server.
20:16:02  <NGC3982> It's a Optiplex PC mounted in a 1921 transistor radio chassie.
20:16:50  <Supercheese> gotta love zip ties :)
20:17:24  <NGC3982> Indeed!
20:17:38  <NGC3982> The goal was to no longer use my HTPC as a torrent/OpenTTD server
20:17:46  <NGC3982> And i hate having visible computers around.
20:18:00  <NGC3982> I'm going to clean up and take some more pictures.
20:18:38  <peter1138> NGC3982,
20:18:45  <peter1138> 1921... transistor radio...
20:18:53  <peter1138> so, er, is it 1921, or transistor?
20:18:56  <Eddi|zuHause> Rubidium: well there was a "german wave" around the 1960's, when they simply made translations to international songs (e.g. the Beatles sang in german), then there was a "new german wave" in the 80's, which includes people like Nena ("99 Luftballons"), and then there was a revival of german language songs around 2000 with two similar-in-style bands "Wir sind Helden" and "Silbermond", who were considered un-sellable by the major music
20:18:57  <Eddi|zuHause> labels, but somehow turned into a success by themselves
20:21:40  <peter1138> NGC3982, or is "1921" a model number?
20:22:22  <Eddi|zuHause> wasn't the transistor invented in the 70's or something?
20:22:27  <NGC3982> peter1138: The radio is from 1921, but has been fitted with transistors.
20:22:29  <peter1138> 1948
20:22:41  <NGC3982> Sometime in the sixties, i think.
20:23:03  <Eddi|zuHause> i guess i'm thinking of the microchip then
20:23:22  <NGC3982> Though, i had an older radio of the same type with refitted tubes
20:23:28  <NGC3982> But not original :(
20:23:30  <peter1138> it wouldn't've been widespread in 1948 of course
20:23:32  <Eddi|zuHause> "integrated circuit"
20:24:05  <__ln__> is rammstein part of a wave?
20:24:18  <Eddi|zuHause> __ln__: not really
20:24:27  <peter1138> NGC3982, what's the name on the tag?
20:24:59  <peter1138> singer
20:25:28  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
20:26:13  <NGC3982> peter1138: What tag.
20:26:19  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
20:26:23  <peter1138> name plate
20:27:09  <NGC3982> peter1138: What name plate?
20:27:12  <peter1138> nah
20:27:16  <peter1138> on the radio
20:27:54  *** DDR [~chatzilla@d154-20-132-199.bchsia.telus.net] has joined #openttd
20:27:55  <NGC3982> I have been unable to find any
20:28:00  <Eddi|zuHause> peter1138: singer is originally a brand name for sewing machines
20:28:04  <peter1138> Eddi|zuHause, quite
20:28:16  <NGC3982> It's just stamped with "MONO 1921 SN, GERMANY"
20:28:20  <Eddi|zuHause> but apparently they made radios as well :)
20:28:38  <peter1138> and the logo on the front?
20:28:42  <Eddi|zuHause> http://sgbanknotes.blogspot.com/2011/03/vintage-singer-radio.html
20:29:09  <NGC3982> Oh, here we are. It's a siemens
20:29:18  <NGC3982> http://www.flickr.com/photos/appemobile/8432033187/in/photostream/lightbox/
20:29:21  <NGC3982> That's the front.
20:29:41  <DorpsGek> Commit by rubidium :: r24968 /trunk/src (4 files in 2 dirs) (2013-02-04 20:29:38 UTC)
20:29:42  <DorpsGek> -Fix [FS#5379]: company window was not updated when shared were enabled/disabled
20:29:49  <peter1138> yeah but your photo is not well focused
20:30:07  <NGC3982> Ill make sure to upload some more pictures when i'm done.
20:30:18  <NGC3982> "LautstÀrke"
20:30:37  <Eddi|zuHause> that means "volume"
20:30:55  <NGC3982> It does? I thought it was "Amplifier".
20:31:28  <NGC3982> ..That might be the same thing.
20:31:38  <Eddi|zuHause> "laut" = loud, noise, "stÀrke" = strength
20:31:39  *** glx [glx@000128ec.user.oftc.net] has joined #openttd
20:31:42  *** mode/#openttd [+v glx] by ChanServ
20:32:01  *** KritiK [~Maxim@0001264a.user.oftc.net] has joined #openttd
20:32:51  <Eddi|zuHause> no idea how the english people found it sensible to say "volume"
20:33:09  <Eddi|zuHause> for something that is not a 3-dimensional size
20:33:42  *** pjpe [b8af1d68@ircip3.mibbit.com] has joined #openttd
20:33:45  <Eddi|zuHause> but it is what you would find on a modern radio at the same button :)
20:34:09  *** pjpe [b8af1d68@ircip3.mibbit.com] has quit []
20:35:17  <Eddi|zuHause> NGC3982: amplifier would be "VerstÀrker" [as in the device that amplifies]
20:35:32  <NGC3982> I see :)
20:35:45  *** HerzogDeXtEr [~Flex@88.130.191.247] has joined #openttd
20:37:37  <__ln__> hmm, 'laut', 'loud' and swedish 'ljud' (sound) are perhaps the same word.
20:38:34  <Eddi|zuHause> that seems plausible :p
20:38:42  <ComLock> Whats the bare minimum to setup a matrix widget (for example, must there be a scrollbar with capacity...)
20:39:00  <peter1138> no
20:39:07  <peter1138> not as far as i know anyway
20:39:10  <Eddi|zuHause> ComLock: no, scrollbars are separate
20:40:10  <Eddi|zuHause> ComLock: an example of a matrix view you can find in the depot window (e.g. for road vehicles)
20:40:34  <NGC3982> __ln__: No, it isn't.
20:40:42  *** Pikka [~Octomom@d58-106-12-222.rdl801.qld.optusnet.com.au] has quit [Quit: Leaving]
20:40:52  <NGC3982> We do not have a explicit word for high volume, more than "high".
20:41:06  <NGC3982> Högt ljud > "High sound"
20:41:11  <NGC3982> Or something.
20:41:12  *** HerzogDeXtEr2 [~Flex@i59F6D9EF.versanet.de] has quit [Ping timeout: 480 seconds]
20:41:44  <peter1138> High loud
20:42:00  <NGC3982> In English: Loud != Sound?
20:42:09  <Eddi|zuHause> NGC3982: "Laut" [noun] can also be reffering to the sounds you can produce with your mouth
20:42:14  <NGC3982> Or are we still talking german.
20:42:23  <NGC3982> I see.
20:42:34  <Eddi|zuHause> NGC3982: also "Gib Laut!" you would say to a dog to command him to bark
20:43:15  <NGC3982> Literal translation: "Give loud!", then?
20:44:06  <ComLock> Cause just adding an empty matrix widget with either minimalsize or resize set gets me an instant floating point exception
20:44:16  <Eddi|zuHause> no, "loud" is an adjective, not a noun
20:44:40  <Supercheese> loudness is the substantive
20:44:46  <ComLock> HÞy Lyd in norwegian
20:44:57  <ComLock> Lav lyd
20:45:21  <Eddi|zuHause> Supercheese: not what is meant here
20:46:28  <Eddi|zuHause> Supercheese: that would be equivalent to "[die] LautstÀrke" [=the volume], not to "[der] Laut" = {=the sound]
20:47:16  <Zuu> Hmm, I got a problem with a std::vector that is member of as struct. There is a pointer to a list of this struct type that get initialized using ReallocT. My guess is that this doesn't initialize the std::vector correctly. Should I look for a std::vector replacement in OpenTTD that works with ReallocT or do I need to replace ReallocT with something else?
20:47:35  <Zuu> s/as struct/a struct/
20:47:35  <Eddi|zuHause> dict.leo.org also offers "phoneme" for "der Laut"
20:48:57  <__ln__> NGC3982: i didn't say they mean precisely the same, just that they are the same word.
20:49:16  <NGC3982> __ln__: And that, i understood.
20:50:08  *** goodger [~ben@host86-129-12-34.range86-129.btcentralplus.com] has joined #openttd
20:50:27  <Eddi|zuHause> ComLock: i guess you need to set number of rows/columns somewhere
20:53:09  <Eddi|zuHause> ComLock: obviously trying to stretch 0 rows over a width of non-zero is an easy way to get division-by-zero :)
20:53:32  <Eddi|zuHause> ComLock: may also mean there are some asserts missing somewhere
20:53:35  <ComLock> I'll start a new window from the bottom to learn this stuff
20:54:02  <ComLock> properly
20:55:21  <NGC3982> I think i have a decent setup on how to run multiple servers in squeeze right now.
20:57:11  <Rubidium> yes, the 0.977 players per server should be spread even more ;)
20:57:48  <NGC3982> Hey! The fun is in making the game.
20:58:10  <Eddi|zuHause> Rubidium: is that statistics even valid? i doubt it counts servers that are clients vs. dedicated servers correctly
20:59:10  <Rubidium> those I classify as players
20:59:14  <NGC3982> Hey, those were actual statistics? :>
21:00:03  <Rubidium> yes
21:00:03  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Read error: Connection reset by peer]
21:00:34  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
21:00:51  <Eddi|zuHause> "Servers registered as on 2013-02-04 21:00:06 UTC. There are 246 clients, 256 IPv4 servers and 0 IPv6 servers."
21:01:02  <NGC3982> Oh.
21:01:43  <Eddi|zuHause> that doesn't make a difference between dedicated and non-dedicated servers. that's why i ask
21:02:34  <Eddi|zuHause> or are those counted as both clients and servers?
21:02:55  <Rubidium> non-dedicated are server and client
21:03:04  <Eddi|zuHause> ok
21:03:14  <Eddi|zuHause> maybe that should be clarified somewhere
21:04:52  <Eddi|zuHause> there's no 0.5.x server anymore
21:05:53  <Zuu> I've added a SmallVector<TileIndex,4> to a struct which get initialized by ReallocT. Apparently the constructor of the SmallVector never get called. What is the propper way to ensure that the constructor is called? Is there a way to initialize the SmallVector manually or should I change the struct so that it contains a pointer to a SmallVector<TileIndex, 4> and loop through the list and create each SmallVector using "new"?
21:06:18  <Rubidium> don't use the realloced struct?
21:07:43  <Rubidium> I wonder whether there's a helper that does "new" though
21:10:35  *** glx [glx@000128ec.user.oftc.net] has quit [Read error: Connection reset by peer]
21:10:35  *** glx [glx@2a01:e35:2f59:c7c0:8883:2a37:e3f5:c170] has joined #openttd
21:10:52  <Zuu> From what I can see the chat list is initalized by this line:
21:10:54  <Zuu> _chatmsg_list        = ReallocT(_chatmsg_list, _settings_client.gui.network_chat_box_height);
21:11:43  <Zuu> And I've added a SmallVector to the struct which is used for the _chatmsg_list type
21:11:57  <Rubidium> the problem with using something like SmallVector in there, is that when it is reduced in size you'll lose memory
21:12:48  <Zuu> Maybe I should just allocate a static array with X items and keep a size counter.
21:14:34  <Rubidium> hmm... the chatmsg list is even worse as it moves stuff around, so it'd leak even harder
21:14:59  <Rubidium> what are you trying to store exactly?
21:15:36  <Rubidium> shouldn't you 'link' the TileIndex directly to the inserted string code (assuming you use that)?
21:15:36  <Zuu> A list of tiles. The target tile to jump to when clicking on the click parameter that I've injected into the chat message.
21:16:16  <Rubidium> i.e. hide it in the string
21:18:31  <andythenorth> any FIRS translations lurking?
21:18:36  <andythenorth> might do another release soon...
21:19:04  <Zuu> Hmm, that could be an idea. For the moment I've used up space for some control codes (don't remember how many at the moment). But of course you could say that the 4 bits after a such control code is reserved for click data.
21:19:17  <Eddi|zuHause> Zuu: push the locations directly to the text stack?
21:20:45  <Rubidium> Zuu: just add one UTF8 character after the control code for the click data
21:21:16  <Rubidium> then you got up-to-32 bits of data. Might need to fudging when the number is 0 though
21:21:35  <peter1138> brain fail. i have an angle, and an x, i need to work work out the y
21:22:14  <Rubidium> you need 1 extra data point (radius)
21:22:15  <andythenorth> opp, adj, or hyp?
21:22:18  <Zuu> Currently the control codes are encoded like this:  Checkout {click1}town name{click1}, where I've built something really cool.
21:22:23  <peter1138> Rubidium, it's not a circle
21:22:35  <Eddi|zuHause> y/x=tan(alpha)
21:22:37  <peter1138> right-angle triangle
21:22:49  <andythenorth> sad old harry innit
21:22:55  <Eddi|zuHause> assuming alpha is adjacent to x
21:23:44  <Eddi|zuHause> so y=x*tan(alpha)
21:23:47  <andythenorth> trawling off alaska
21:23:56  <andythenorth> tan = opp / adj
21:24:28  <andythenorth> what he said
21:24:38  <andythenorth> with some faffing for radians and other crap that computers like to use
21:24:49  <andythenorth> and some faffing for which way y goes
21:24:57  <andythenorth> and where the angle 0' is
21:25:06  <andythenorth> and whether it flips at 180 to -180 like some things
21:25:11  <andythenorth> or has a full 360 like some other things
21:25:14  <andythenorth> Flash was such fun :P
21:25:35  <andythenorth> most Flash games are mostly a lot of atan(theta) in my experience :P
21:25:52  <Eddi|zuHause> atan2 functions are fun :)
21:26:21  <andythenorth> right, FIRS is done
21:26:28  <andythenorth> for some value of 'done' :P
21:26:35  <andythenorth> done for today, for example
21:26:38  <goodger> :D
21:26:43  <Eddi|zuHause> "it will never be changed anymore"
21:26:47  <andythenorth> yeah, right :P
21:26:51  <andythenorth> increasingly though....
21:26:58  <andythenorth> changing some stuff would be a scary amount of work
21:27:01  <Zuu> My point of using the same control code for both begin/end is two. 1) it needs less control codes to be allocated from the reserved UTF8 control characters. 2) More importantly, if ICU decide to swap the order of the control characters, ICU will not interfere with the parsing of the click parameters. Only if ICU decide to swap the location of eg {click1} and {click2}, then that may cause nested issues. If the 4 bytes after the first {click#} is u
21:27:01  <Zuu> sed for data, then how do we ensure that ICU don't fuss with our data?
21:27:04  <Eddi|zuHause> apparently NARS is "done" :p
21:27:08  <andythenorth> NARS is done
21:29:47  <Eddi|zuHause> Zuu: "{CLICK}{LOCATION}some text{CLICK}" or "{CLICK}{WINDOW}some other text{CLICK}" to decide what should happen on click (including parameters etc.)
21:32:25  <Eddi|zuHause> Zuu: i'm not sure whether i entirely understand your issue, though
21:32:41  *** glx_ [glx@2a01:e35:2f59:c7c0:8883:2a37:e3f5:c170] has joined #openttd
21:32:44  *** glx is now known as Guest699
21:32:44  *** glx_ is now known as glx
21:33:28  <Zuu> Eddi|zuHause: That string will be parsed through ICU. There are 255? reserved {click1}, {click2} .. codes in a UTF8 character group that is reserved for control codes. ICU should respect these and not replace those when shaping text. However {LOCATION} above I assume will not be restricted to the realtively limited reseverd scope for control codes and thus use character values that ICU will think is letters.
21:33:49  <Zuu> Thus when ICU tries to make arabic look better, it may accidently damage the location data.
21:34:56  <Eddi|zuHause> Zuu: but the {LOCATION} is only used internally to decide on the action taken, only {CLICK} is relevant in the processing of where it was clicked?
21:35:13  <Zuu> ICU sometimes replace 2 symbols with one and does other interesting things.
21:35:51  <Zuu> Only {click#} is used by DoReallyDrawString to determine which parameter that was clicked.
21:36:00  <Eddi|zuHause> i have the feeling you're not properly separating display and functionality
21:36:56  <Eddi|zuHause> or i have really not understood what you're trying to do
21:38:02  <Terkhen> good night
21:39:14  *** Guest699 [glx@000128ec.user.oftc.net] has quit [Ping timeout: 480 seconds]
21:39:58  <peter1138> hmm
21:40:09  <Zuu> well, my approach have been to make the string system parameter click detection generic enough to allow control codes be inserted not just for parameters from translation strings or for just tiles. My understanding of the ICU-stuff have been that I need to inject control codes into the string that tell when a parameter start/end as even if I detect the character # which is clicked, ICU change string length etc. so that is not the same character #
21:40:09  <Zuu>  as in the string passed to DrawString.
21:41:59  <Zuu> My long term plan is to use this in the StoryBook, but before doing automatic control code insertion in strings passed by GSes etc, I though that making town names in chat messages would be a useful feature that uses part of the infrastructure that is needed for the later goal.
21:44:45  <andythenorth> [would be useful yes]
21:45:04  <Zuu> The idea to let the string carry the tile index of towns in for the chat messages is really good. I like it, however I fear that ICU may alter the data and thus making it too fragile.
21:45:23  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
21:45:49  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
21:46:11  <Eddi|zuHause> Zuu: so you parse the chat string, and insert a {TOWN}?
21:47:33  <Eddi|zuHause> then you want to make this {TOWN} clickable by your infrastructure?
21:48:38  <peter1138> ICU is for input
21:48:42  <peter1138> isn't it?
21:49:24  <Zuu> Eddi|zuHause: I don't insert a {TOWN} into the chat string. I insert a {click#} before/after the town name.
21:49:37  <Zuu> The chat string is a char* buffer
21:52:27  <Zuu> peter1138: DrawString calles HandleBiDiAndArabicShapes which calles ICU to make some arabic stuff look better.
21:56:59  <oskari89> Andythenorth: Could you do some 3000 m3/3000t freight ship to FISH?
21:57:10  <andythenorth> no
21:57:51  <Supercheese> Just add more ships
21:58:01  <Supercheese> same effect; ships have infinite route capacity
21:58:31  <peter1138> unrealistic!!!!!!!!111111111111111
21:58:45  <oskari89> Because even those little small http://www.smu.fi/@Bin/2568350/parkko12.jpg ships have about 2000t capacity
21:59:21  <Supercheese> FISH has added some new ships in nightlies, which version are you using?
21:59:43  <oskari89> That is a push-tugboat though
22:00:16  <Supercheese> Yeah, andy was planning on push-tugboats, but comments like peter1138's a few above kept popping up in the thread
22:00:28  <Supercheese> drama ensued and I dunno what's going to happen now
22:00:30  <oskari89> 0.92
22:00:53  <Supercheese> (not that peter was one of the ones causing the drama in that case, just example)
22:03:04  <Supercheese> [Basically from http://www.tt-forums.net/viewtopic.php?f=26&t=44613&start=460#p955750 to http://www.tt-forums.net/viewtopic.php?f=26&t=44613&start=500#p956266]
22:03:32  <Supercheese> anyway
22:05:42  <Supercheese> It seems the biggest freighter in FISH is 1,408t and the biggest tanker is 1.8 million liters
22:06:09  <Supercheese> and the largest ferry is 2,400 passengers (!)
22:06:53  <andythenorth> PAX get busy
22:06:58  <andythenorth> why do you need a 3,000t freighter?
22:06:59  <Supercheese> verily
22:07:13  <Supercheese> surely 2x 1,400t freighters is more than enough, eh?
22:07:23  <Supercheese> or 3x, or 4x...
22:07:44  <Supercheese> not even old-FIRS with the constant positive-feedback went quite that high :P
22:08:25  <Supercheese> FISH is amazing, I tried to draw ships and failed miserably
22:09:08  <andythenorth> bed
22:09:09  <andythenorth> bye
22:09:10  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has quit [Quit: andythenorth]
22:11:00  <Supercheese> anyway oskari89, you can update to a newer version of FISH here http://bundles.openttdcoop.org/fish/nightlies/
22:11:12  <Supercheese> 0.9.2. is Very Old™
22:14:05  <Eddi|zuHause> surely 640k memory are more than enough, eh?
22:14:33  <Supercheese> the point is that you can keep adding indefinitely
22:14:52  <Supercheese> well, unless your computer starts lagging
22:15:30  <Eddi|zuHause> or unless someone implements loading only one single ship per dock
22:15:43  <Supercheese> that would be nasty
22:15:56  <Supercheese> break my playstyle :P
22:16:29  <Eddi|zuHause> (obviously having multi-stop-docks then would be helpful :p)
22:16:43  * NGC3982 whines a bit on Souncloud.
22:19:01  <NGC3982> https://soundcloud.com/sibirish_musik/appe-longshanks-from-the
22:19:14  <NGC3982> It has become a service that does not pay itself.
22:19:30  <NGC3982> 70-120USD/year for the bigger services is ..way off the charts.
22:19:45  <Supercheese> invalid link
22:20:18  *** ComLock [~chrisw@cC165BF51.dhcp.as2116.net] has quit [Ping timeout: 480 seconds]
22:20:20  <NGC3982> https://soundcloud.com/sibirish_musik/appe-longshanks
22:20:21  <NGC3982> That too?
22:20:35  <Supercheese> "Sorry! We can’t find that. Did you try to access a private sound, but were not logged in? Maybe the resource has been removed. "
22:20:45  <NGC3982> Hm, maybe it's not done yet.
22:20:57  <Supercheese> now it works
22:21:02  <NGC3982> Yey.
22:21:04  <Supercheese> guess there was a lag time
22:21:09  <NGC3982> Yeah, guess so
22:21:13  * NGC3982 uploads moar.
22:21:14  <Eddi|zuHause> it works here, it seems
22:21:15  <Wolf01> night all
22:21:19  *** Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
22:22:30  <Eddi|zuHause> not really my style of music, though
22:25:57  <michi_cc> Zuu: Running the constructor of an already allocated C++ object can be done with placement new (e.g. "new (some_pointer) Class()"), but this won't help you when Realloc is used to resize an array. Basically, if you have non-pod types (mostly everything with a constructor) you must use new/delete and not malloc/free.
22:26:33  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
22:27:24  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
22:29:45  <peter1138> bah, nearly works but jumps on the corners :S
22:30:10  <Zuu> michi_cc: Thanks for your explanation. That is somewhat what I expected. Eg. either initalize with new or don't try to hack your way around it.
22:32:49  <NGC3982> And: https://soundcloud.com/sibirish_musik/atwino-tao-2007
22:32:55  <NGC3982> That will be enough for tonight.
22:37:15  <michi_cc> Zuu: There are array new and delete ("new Class[10]", "delete [] p"), but there's (unfortunately) no direct replacement for realloc. But for your specific problem you could also switch to using either std::vector or SmallVector to store the chat message list (SmallVector would need placement new/delete, e.g. "new (vec->Append()) Class()" and "vec[i]->~Class()").
22:39:23  <Zuu> In this case I've switched to allocating a fixed size array in the vector. There is usually eg. 5 chat lines in the game. Currently I allocate space for 255 parameters for each line which is probably a bit of overkill and could be reduced to eg. 20 without any real limit other than that I need some more checks to not overrrun the limit.
22:43:44  <michi_cc> I'd simply refactor that to use either std::vector or std::list for storage. std::list has the advantage that some core headers already include it so it is already available in most files.
22:44:19  <michi_cc> And if you can iterate instead of doing direct access performance is the same anyway.
22:55:07  *** oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has quit []
22:56:49  * Zuu misses arrow up/down to recall previous chat message in OpenTTD :-)
22:57:46  <Zuu> At least I got a random town "Chathill city" in my game :-)
22:58:45  <Eddi|zuHause> Zuu: duplicate the "history" feature of the console?
22:59:58  <Zuu> I could do that. I wonder if there is a good usage of it other than for testing the chat feature. Maybe I should just record a keyboard macro to write a debug chat message.
23:01:24  <Zuu> Or just use the "say" console command.
23:07:44  *** LordAro [~LordAro@host81-155-106-122.range81-155.btcentralplus.com] has quit [Ping timeout: 480 seconds]
23:08:08  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
23:08:59  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
23:10:50  *** Progman [~progman@p57A18E83.dip.t-dialin.net] has quit [Remote host closed the connection]
23:36:25  <Eddi|zuHause> https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-prn1/529680_326140357506691_1408033971_n.jpg
23:36:37  <Eddi|zuHause> [german]
23:37:26  <__ln__> really, i thought it was lion speak
23:38:51  <__ln__> a good one in any case
23:39:30  *** pjpe [b8af1d68@ircip2.mibbit.com] has joined #openttd
23:39:48  *** pjpe [b8af1d68@ircip2.mibbit.com] has quit []
23:40:44  <Eddi|zuHause> ...except there is no (natural) elevated position near Leipzig where you could have a view over the city :p
23:42:13  <__ln__> ...but there of course are speaking lions
23:44:27  <__ln__> for people who can remember the concept of "landline" and "modem": https://hackadaycom.files.wordpress.com/2013/01/dial-up-handshake-infographic.png
23:45:37  <Eddi|zuHause> a friend of mine had a modem which outputted the connection noise
23:45:48  <Eddi|zuHause> i started with ISDN, though
23:46:25  *** KouDy [~KouDy@188.75.190.58] has quit [Ping timeout: 480 seconds]
23:47:43  <__ln__> whether a modem outputs the noise during initialization / never / always is adjustable with an AT command. sadly i don't remember which one it is.
23:48:15  <Eddi|zuHause> yes, it was configurable somewhere
23:48:56  <__ln__> i've even forgotten what was the AT command for saving current settings
23:49:43  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
23:49:44  *** Devroush36 [~dennis@dD5765BAC.access.telenet.be] has quit []
23:50:29  *** St3f [~Anonymous@53577204.cm-6-8b.dynamic.ziggo.nl] has joined #openttd
23:53:38  <Zuu> As far as a screenshot goes for demonstrating interactions: http://devs.openttd.org/~zuu/goal-gui/click-town-names-in-chat.png   :-)
23:54:10  <Zuu> It works when town names get split over a line break. It works with multiple town names in the same chat message in any order.
23:54:39  <Zuu> Now I think its time to clean it up and get a first patch published (another day)
23:54:46  <__ln__> is there some kind of auto-complete?
23:54:57  <Zuu> trunk auto complete town names already
23:55:06  <Eddi|zuHause> __ln__: yes, you can tab-complete
23:55:42  <Zuu> my current implementation uses memcmp to test town names, but going for a case-insensitive solution is probably a good idea.
23:55:43  <__ln__> i see.. well, i play multiplayer once in three years so i can't know all the new stuff.
23:55:58  <Eddi|zuHause> i guess station names would be tricky, as they are translated [and somewhat overlap with town names]
23:56:18  <Eddi|zuHause> __ln__: i don't play multiplayer either :)
23:57:34  <Zuu> I don't know if its a feature, but with the current implementation, you can still click on a town even if someone ranemed it after you received the chat message. :-)
23:57:44  <Eddi|zuHause> Zuu: maybe it would still make sense to encode the town-id in the string instead of handling plain-text, then the parsing could be done on the sending client
23:57:55  *** Celestar [~vici@mnch-4d04ce27.pool.mediaWays.net] has joined #openttd
23:58:40  <Eddi|zuHause> of course you'd then have to make more validations on receiving the chat string (from the "evil" internet)

Powered by YARRSTE version: svn-trunk