IRC logs for #openttd on OFTC at 2012-01-12
            
00:02:36 *** mkv` has quit IRC
00:07:27 *** Markavian` has joined #openttd
00:12:21 *** Markavian has quit IRC
00:19:38 *** Markavian has joined #openttd
00:20:20 *** Devroush has quit IRC
00:26:13 *** Markavian` has quit IRC
00:26:54 *** KritiK has quit IRC
00:28:34 *** Markavian` has joined #openttd
00:34:54 *** Markavian has quit IRC
00:37:03 *** mahmoud has quit IRC
00:51:07 *** Markavian has joined #openttd
00:52:39 *** mkv` has joined #openttd
00:53:45 *** snorre_ has joined #openttd
00:55:34 *** snorre has quit IRC
00:57:23 *** Markavian` has quit IRC
00:59:11 *** Markavian has quit IRC
01:00:34 *** mkv` has quit IRC
01:08:32 *** snorre has joined #openttd
01:10:18 *** snorre_ has quit IRC
01:53:51 *** supermop_ has joined #openttd
01:59:28 *** collinp has joined #openttd
02:00:51 *** snorre_ has joined #openttd
02:02:38 *** snorre has quit IRC
02:18:38 *** HerzogDeXtEr has joined #openttd
02:30:50 <brendan10211> wow
02:30:53 <brendan10211> no one talks anymore
02:33:39 *** brendan10211 has quit IRC
02:58:25 <MagisterQuis> I talk :(
03:21:40 *** TomyLobo has quit IRC
03:22:16 *** Pixa has quit IRC
03:23:34 <welshdragon> how many OpenTTD squares in a mile?
03:29:53 *** George has joined #openttd
03:35:54 <Eddi|zuHause> somewhere between 0.01 and 100
03:45:51 *** kkb110_ has quit IRC
03:47:25 *** glx has quit IRC
03:55:37 *** kkb110_ has joined #openttd
04:26:07 *** Snail_ has joined #openttd
04:29:06 *** Snail_ has quit IRC
04:36:59 *** HerzogDeXtEr has quit IRC
05:11:39 *** supermop_ has left #openttd
05:30:52 *** Elukka has joined #openttd
05:56:02 *** Eddi|zuHause has quit IRC
05:56:18 *** Eddi|zuHause has joined #openttd
06:09:03 *** KouDy has joined #openttd
06:15:37 *** fjb|tab is now known as Guest23795
06:15:38 *** fjb|tab has joined #openttd
06:28:29 *** collinp has quit IRC
06:28:47 <SpComb> Rubidium: http://www.debian.org/security/2012/dsa-2386
06:30:07 <Rubidium> SpComb: that's a sad story
06:31:02 <Rubidium> that fix has spent 4 months in Debian security :(
06:36:38 *** DayDreamer has joined #openttd
06:39:02 *** DayDreamer has left #openttd
06:41:44 *** Prof_Frink has quit IRC
06:42:36 *** DDR has quit IRC
06:43:21 *** PashaKrRussia has joined #openttd
06:43:45 <PashaKrRussia> Hello!
06:44:31 <PashaKrRussia> I'm need help!
06:44:59 <planetmaker> moin
06:46:07 <PashaKrRussia> I can not start server
06:46:25 <PashaKrRussia> Openttd
06:46:31 *** JVassie has joined #openttd
06:47:50 <PashaKrRussia> On Windows XP SP3
06:48:07 <planetmaker> and what is the problem in doing so?
06:48:24 *** DDR has joined #openttd
06:48:39 <planetmaker> I assume it's not 'missing computer'
06:48:56 <PashaKrRussia> Right please allow port 3979 udp and tcp
06:49:21 <planetmaker> yes. check your pc's firewall and your router's / modem's firewall
06:49:34 <planetmaker> and allow in- and outgoing traffic for 3979 AND 3978
06:49:38 <planetmaker> for udp and tcp
06:49:40 <planetmaker> @ports
06:49:40 <DorpsGek> planetmaker: OpenTTD uses TCP and UDP port 3979 for server <-> client communication, UDP port 3978 for masterserver (advertise) communication (outbound), and TCP port 3978 for content service, a.k.a. BaNaNaS (outbound)
06:50:11 <planetmaker> how to do that with your OS and hardware - consult the manual of that.
06:50:44 <planetmaker> (no, I've no clue about windows nor can I guess your router's interface and possibilities to interact with it)
06:51:38 <planetmaker> you can check success with http://servers.openttd.org
06:51:40 <PashaKrRussia> Thanks!
06:51:47 <planetmaker> it should show up there relatively quickly
06:51:54 <planetmaker> if it succeeded to advertise the server
07:00:10 <PashaKrRussia> I long trying to open these ports in FireWall, but no result. router's and modem's i not have. Maybe my provider has router.
07:01:51 <Yexo> your pc is directly connected to the internet?
07:02:17 <PashaKrRussia> Yes
07:03:42 <PashaKrRussia> I'm trying to make it through different computers.
07:04:09 <Yexo> you have multiple computers all connected to the internet?
07:06:28 <PashaKrRussia> I think this can be done on Windows
07:07:03 <PashaKrRussia> computers my frands
07:07:21 <PashaKrRussia> And my computer
07:08:00 <PashaKrRussia> they have to Windows
07:10:10 <Yexo> PashaKrRussia: in case your computer is off, can your friends still go online?
07:10:21 *** MJP has joined #openttd
07:10:25 <PashaKrRussia> There are those who are on Windows trying start server OpenTTD
07:11:36 <planetmaker> are all those computers in the same flat?
07:11:37 <PashaKrRussia> Yes
07:11:55 <PashaKrRussia> No
07:12:55 <PashaKrRussia> We are far from each other
07:17:17 <PashaKrRussia> BaNaNaS (outbound) - what is it
07:17:18 <planetmaker> did you also select to host a network game through the internet (and not LAN)? And what does in your openttd.cfg look like the entry "server_advertise"
07:17:37 <planetmaker> server_advertise = true is required for the server to show up publicly
07:18:00 <planetmaker> bananas is the online content
07:18:31 <planetmaker> http://bananas.openttd.org/en/ ;-)
07:19:27 <PashaKrRussia> Thanks
07:20:20 <PashaKrRussia> "server_advertise = true" my cfg file
07:20:43 *** JVassie has quit IRC
07:25:10 <planetmaker> lan_internet = 1 ?
07:25:20 <PashaKrRussia> no
07:25:23 <PashaKrRussia> 0
07:25:31 <planetmaker> then you only create a LAN game
07:25:45 *** KouDy has quit IRC
07:30:16 *** TGYoshi has joined #openttd
07:33:12 *** PashaKrRussia has quit IRC
07:33:14 *** Markavian has joined #openttd
07:34:21 *** PavelKrRussia has joined #openttd
07:49:19 *** PashaKrRussia has joined #openttd
07:51:01 <PashaKrRussia> To what ip the master is connected
07:51:13 <PashaKrRussia> ?
07:51:42 *** valhallasw has quit IRC
07:52:09 *** PavelKrRussia has quit IRC
07:54:14 <PashaKrRussia> http://www.openttd.org/en/servers what ip adress
07:54:23 <PashaKrRussia> ?
07:54:29 <Eddi|zuHause> possibly this one:
07:54:30 <Eddi|zuHause> Name: serrvers.openttd.org
07:54:32 <Eddi|zuHause> Address: 67.215.65.132
07:54:43 <Eddi|zuHause> err
07:54:43 <PashaKrRussia> Thanks
07:54:45 <Eddi|zuHause> typo
07:54:58 <Eddi|zuHause> Name: web.openttd.org
07:54:59 <Eddi|zuHause> Address: 178.33.34.239
07:55:10 <planetmaker> ehm... the IP of the masterserver is usually irrelevant, if your DNS works
07:55:18 <planetmaker> and should never rely on it having a particular IP
08:11:40 *** TWerkhoven[l] has joined #openttd
08:13:42 *** sla_ro|master has joined #openttd
08:22:51 *** Progman has joined #openttd
08:28:13 *** PashaKrRussia has quit IRC
08:44:33 *** MJP has quit IRC
09:17:17 <dihedral> o/
09:24:53 *** brendan10211 has joined #openttd
09:40:05 *** pjpe has quit IRC
09:48:35 *** Devroush has joined #openttd
10:01:46 *** Neon has joined #openttd
10:29:44 *** TWerkhoven[l] has quit IRC
10:52:07 *** DDR has quit IRC
10:53:57 *** brendan10211 has quit IRC
11:10:13 *** APTX has quit IRC
11:18:28 *** pecisk has joined #openttd
11:19:28 <pecisk> fonts hinting looks really bad with 1.2.0 and nighty on Fedora. Tried to force paths to fonts. Fonts changed, hinting still bad. Any ideas how to fix this?
11:25:21 <Sacro> use Arch
11:26:22 <pecisk> nice constructive answer :)
11:27:29 <Ammler> and probably wrong
11:28:55 <planetmaker> what do you mean with "fonts hinting"?
11:29:03 <planetmaker> If a particular font looks bad, choose another
11:31:53 <peter1138> we don't do anything with hinting settings
11:31:55 <peter1138> we're just a game ;p
11:38:39 *** Snail_ has joined #openttd
11:41:16 *** KouDy has joined #openttd
11:41:23 <peter1138> i just had a single quality street sweet with three wrappers around it :p
11:46:13 *** Snail_ has quit IRC
11:47:24 <MNIM> quality, right. quality wrapping!
11:49:52 *** andythenorth has joined #openttd
11:54:10 *** tokai|mdlx has joined #openttd
11:59:25 *** Brianetta has joined #openttd
12:00:14 *** tokai|noir has quit IRC
12:01:18 *** Pixa has joined #openttd
12:02:20 *** andythenorth has quit IRC
12:13:12 <pecisk> planetmaker, I tried three different fonts, same problem. They look like missing parts of them. http://picpaste.com/fonts-JWoVsqlN.png
12:24:46 <peter1138> ugh
12:24:58 <peter1138> use a 32bpp bliter and enable antialiasing :p
12:25:12 <peter1138> *blitter
12:44:05 *** andythenorth has joined #openttd
12:55:47 *** KouDy has quit IRC
13:02:19 *** lollercaust has joined #openttd
13:08:48 *** Elu has joined #openttd
13:09:14 <pecisk> peter1138, antialiasing didn't help either
13:09:48 *** Elukka has quit IRC
13:13:47 *** Snail_ has joined #openttd
13:13:56 *** TomyLobo has joined #openttd
13:15:31 <pecisk> peter1138, sorry, it worked. Thanks for the tip.
13:15:34 *** glx has joined #openttd
13:15:34 *** ChanServ sets mode: +v glx
13:15:58 *** fjb|tab has quit IRC
13:23:57 *** kkmic has joined #openttd
13:24:14 *** kkmic has left #openttd
13:26:43 <peter1138> :)
13:38:24 *** andythenorth has quit IRC
13:47:29 *** APTX has joined #openttd
13:48:52 *** Snail_ has quit IRC
13:58:11 *** andythenorth has joined #openttd
14:21:24 *** Jogio has joined #openttd
14:22:08 <Jogio> hi together
14:22:26 <__ln__> @seen together
14:22:26 <DorpsGek> __ln__: I have not seen together.
14:24:38 <Jogio> hi ln and DorpsGek
14:24:43 <Jogio> :-)
14:28:30 <DorpsGek> Thanks. How are you?
14:31:52 <Belugas> hello
14:32:04 <DorpsGek> Thanks. Hallo Belugas ;-)
14:33:20 <Belugas> hello DorpsGek :) how's life in your silicium box?
14:35:16 <Jogio> DorpsGek don't want to talk about such private things I think...
14:37:00 <DorpsGek> Actually, I have to say that I feel quite at home in my silicon box
14:37:29 <DorpsGek> And yes, today I have my talkative day ;-)
14:38:59 <Jogio> have you ever went to vacation DorpsGek?
14:55:00 *** lugo has quit IRC
15:01:59 *** lugo has joined #openttd
15:31:00 <DorpsGek> Vacations? wattsdat?
15:32:18 <pecisk> now that openttd has two extra zooms in trunk can I use 32bit graphics sprites or they are still unsupported for these extra zooms?
15:32:24 *** snack2 has joined #openttd
15:33:38 *** Devroush|3 has joined #openttd
15:35:33 *** Devroush has quit IRC
15:44:17 *** Jogio has quit IRC
15:45:11 *** pecisk has quit IRC
15:51:48 *** andythenorth has quit IRC
16:03:35 *** KouDy has joined #openttd
16:06:06 *** fjb|tab has joined #openttd
16:07:41 *** DayDreamer has joined #openttd
16:10:54 *** DayDreamer has quit IRC
16:15:48 *** andythenorth has joined #openttd
16:19:38 *** LordAro has joined #openttd
16:20:10 <LordAro> "seems like only girls play this game..." rofl :)
16:20:54 <planetmaker> welcome to the girls club
16:23:52 <LordAro> yay!
16:24:42 <Eddi|zuHause> to the topic of manliness: http://www.youtube.com/watch?v=YSHyvt8ALV8 (german) :)
16:25:52 <MNIM> is there even a single girl in this channel?
16:26:11 <Sacro> There has been in the past
16:26:22 <Sacro> more than one in fact
16:26:28 <Sacro> !seen LadyHawk
16:26:30 <Elu> who said that, LordAro?
16:26:33 <Sacro> @seen LadyHawk
16:26:33 <DorpsGek> Sacro: LadyHawk was last seen in #openttd 19 weeks, 3 days, 22 hours, 5 minutes, and 39 seconds ago: <LadyHawk> thanks again Eddi|zuHause, i'm gonna go now :)
16:26:37 <Elu> sounds a bit bizarre and rather unlikely :D
16:26:39 *** Elu is now known as Elukka
16:26:46 <Sacro> @seen Bjarni
16:26:46 <DorpsGek> Sacro: Bjarni was last seen in #openttd 13 weeks, 6 days, 16 hours, 7 minutes, and 40 seconds ago: <Bjarni> heh
16:26:52 *** Adambean has joined #openttd
16:32:08 <LordAro> Elu: http://www.tt-forums.net/viewtopic.php?f=32&t=58169
16:32:18 <LordAro> * ^Elukka
16:33:30 <Elukka> that's pretty dumb
16:35:35 <LordAro> indeed
16:35:53 <__ln__> still quote of the month
16:48:12 <Sacro> hmmm, what was that other epic forum quote
16:48:45 <TrueBrain> lol, epic topic :D
16:58:01 *** frosch123 has joined #openttd
17:00:13 *** Elukka has quit IRC
17:00:39 *** Elukka has joined #openttd
17:04:45 *** TWerkhoven has joined #openttd
17:08:05 *** HerzogDeXtEr has joined #openttd
17:17:41 *** pjpe has joined #openttd
17:24:34 *** pugi has joined #openttd
17:29:15 *** Brianetta has quit IRC
17:39:35 *** andythenorth has quit IRC
17:40:11 *** |Jeroen| has joined #openttd
17:44:22 <CIA-1> OpenTTD: yexo * r23788 /trunk/src/newgrf.cpp: -Fix: failure to load newgrf files that use action 0 general prop 15 with a missing language file
17:46:44 <CIA-1> OpenTTD: frosch * r23789 /trunk/src/newgrf.cpp: -Fix: [NewGRF] While we can only show one error per NewGRF, fatal errors should always disable the GRF. Also give those errors precedence over other information.
17:52:27 *** lollercaust has quit IRC
17:56:38 *** mahmoud has joined #openttd
18:04:31 *** pjpe has quit IRC
18:09:11 *** pugi has quit IRC
18:11:24 *** FLHerne has joined #openttd
18:14:14 *** MJP has joined #openttd
18:16:45 *** Alberth has joined #openttd
18:16:45 *** ChanServ sets mode: +o Alberth
18:20:15 *** Chris_Booth has joined #openttd
18:24:20 <Terkhen> hello
18:26:15 *** Chris_Booth has quit IRC
18:26:21 <Alberth> hello
18:29:38 <LordAro> hai Alberth && Terkhen
18:40:08 *** MagisterQuis1 has joined #openttd
18:45:49 <CIA-1> OpenTTD: translators * r23790 /trunk/src/lang/ (4 files):
18:45:49 <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
18:45:49 <CIA-1> OpenTTD: belarusian - 7 changes by Wowanxm
18:45:49 <CIA-1> OpenTTD: simplified_chinese - 62 changes by Gavin
18:45:49 <CIA-1> OpenTTD: italian - 2 changes by Snail_
18:45:50 <CIA-1> OpenTTD: latvian - 3 changes by
18:45:50 <CIA-1> OpenTTD: serbian - 8 changes by etran
18:47:21 *** MagisterQuis has quit IRC
18:55:04 *** |Jeroen| has quit IRC
18:59:01 <frosch123> does "Błąd" mean bug in polish?
18:59:34 <frosch123> someone sent a screenshot of an crashed ai and that text to my ottd mail :p
19:00:36 <Eddi|zuHause> google says "error"
19:00:44 <Eddi|zuHause> http://translate.google.de/#pl|en|Błąd
19:02:37 <frosch123> http://www.tt-forums.net/viewtopic.php?p=990563#p990563 <- appropiate? :)
19:03:42 <Eddi|zuHause> zomg jpeg!
19:06:28 *** HerzogDeXtEr1 has joined #openttd
19:08:47 *** Chris_Booth has joined #openttd
19:09:59 *** Chris_Booth has quit IRC
19:11:05 *** JVassie has joined #openttd
19:11:53 <CIA-1> OpenTTD: yexo * r23791 /trunk/src/ (gfx.cpp gfx_func.h newgrf_gui.cpp):
19:11:53 <CIA-1> OpenTTD: -Fix [FS#4960]: resize text panel for parameter description if it doesn't fit in 4 lines.
19:11:53 <CIA-1> OpenTTD: If you resize the window so it's smaller than default the text might still not fit
19:12:10 <Eddi|zuHause> \o/
19:12:18 *** Devroush|3 has quit IRC
19:13:08 *** HerzogDeXtEr has quit IRC
19:14:42 *** Devroush has joined #openttd
19:17:37 *** pjpe has joined #openttd
19:19:40 *** jenn[ak] has joined #openttd
19:19:42 <jenn[ak]> bored? Come watch me on webcam @ http://bit.ly/zYE0pZ
19:19:42 *** jenn[ak] has left #openttd
19:19:51 *** Wolf01 has joined #openttd
19:20:16 <Alberth> efenink Wolf01
19:20:35 <Wolf01> oddink
19:23:01 <CIA-1> OpenTTD: yexo * r23792 /trunk/src/build_vehicle_gui.cpp: -Feature [FS#4958]: move 'refitable to' text above custom newgrf text in build vehicle gui
19:34:10 *** KritiK has joined #openttd
19:40:23 <LordAro> re: r23791: http://bugs.openttd.org/task/4173 ;)
19:41:37 <frosch123> night
19:41:40 *** frosch123 has quit IRC
19:45:49 *** Biolunar has joined #openttd
19:49:49 <Eddi|zuHause> LordAro: what's so difficult to understand in "If you resize the window so it's smaller than default the text might still not fit"
19:50:45 <LordAro> my point is i reported that long ago
19:51:00 <LordAro> and it's just been fixed-ish
19:51:01 <Eddi|zuHause> ah...
19:52:35 <Eddi|zuHause> hm... but my bug is actually not fixed... it still does not display the lower lines...
19:54:36 *** valhallasw has joined #openttd
19:55:27 *** andythenorth has joined #openttd
19:55:30 <Yexo> Eddi|zuHause: do you have a test grf?
19:55:41 <Eddi|zuHause> Yexo: current CETS
19:56:10 <Eddi|zuHause> e.g. the parameter for 1870-1920 should read: "ÞTrains from 1870 to 1920\0D \UE08EGermany:\UE098\0D \UE08EPrussia:\UE098 P.St.B (Prussian state railways)\0D \UE08EBavaria:\UE098 K.Bay.Sts.B. (Royal Bavarian state railways)\0D \UE08ESaxony:\UE098 K.Sächs.Sts.E.B. (Royal Saxon state railways)\0D \UE08EAustria:\UE098 K.k.St.B. (Royal and imperial Austrian state railways)\0D \UE08ESwitzerland:\UE098 SBB (Swiss federal
19:56:11 <Eddi|zuHause> railways)" 00
19:56:18 <Eddi|zuHause> the lower two are cut off
19:56:18 * andythenorth finds an odd mode in his irc client: 'novel'
19:56:28 <andythenorth> puts things into prose style
19:56:35 <andythenorth> 'said andythenorth'
19:56:57 <Eddi|zuHause> maybe it's my evil use of newlines :)
19:57:50 <Eddi|zuHause> Yexo: http://bundles.openttdcoop.org/cets/push/LATEST/
19:59:31 <andythenorth> also...hello
20:02:00 <Eddi|zuHause> Yexo: it now has more room, and i believe it does display one more line, but there's some empty space left at the bottom, where the next lines should be
20:02:08 <Yexo> yes
20:02:11 <Yexo> I think I've found the bug
20:02:30 <Yexo> is "Switzerland" the alst line?
20:02:39 <Eddi|zuHause> yes
20:02:41 <Yexo> ok :)
20:03:21 <Eddi|zuHause> potentially there will be more lines :)
20:03:37 <CIA-1> OpenTTD: yexo * r23793 /trunk/src/newgrf_gui.cpp: -Fix (r23791): height computation was missing a few pixels so the last line was still missing
20:03:41 * andythenorth wonders what we broke with FIRS :|
20:03:44 <Yexo> more lines should work fine
20:06:44 <andythenorth> so the FIRS recent bug reports (read past end of pseudo sprite) were an OTTD issue?
20:07:05 <Yexo> yes
20:07:17 <andythenorth> k
20:07:24 * andythenorth had been worrying about that
20:07:49 <Yexo> the non-reproducibility worried me
20:08:16 <andythenorth> there were two similar reports...starts to look like a pattern :P
20:08:24 *** pjpe has quit IRC
20:12:22 <andythenorth> ho
20:12:27 <andythenorth> the vehicle window text moved too
20:12:31 <andythenorth> that's improved
20:17:19 <andythenorth> sometimes I wonder if loading speed etc should also be shown for vehicles
20:17:23 <andythenorth> but it could be 'meh'
20:17:43 <Yexo> you can do that via cb23 if you want
20:18:13 <Eddi|zuHause> you quickly run out of parameters for cb23
20:19:19 <Eddi|zuHause> and cb23 text should be displayed in the prototype offer
20:19:57 <Yexo> not sure if cb23 text is suitable for that or if a new cb (or special value in var 10 during cb23) should be added
20:20:50 <Eddi|zuHause> i'm fine either way
20:21:42 <andythenorth> Is it even useful to display?
20:22:26 <Eddi|zuHause> andythenorth: you sure want to know the railtype or passenger/freight usage before deciding whether you need that engine
20:22:58 <andythenorth> makes sense
20:23:32 *** _mj has joined #openttd
20:29:31 <_mj> hi, I have a strange occurrence with the CommandCost constructor: http://pastebin.com/Yg48n27c
20:30:21 <_mj> it doesn't seem to initialize the object correctly, but only the object that I will later use, not arbitrarily created instances, I hope it is explained well enough in the pastebin
20:30:52 <Yexo> depending on your flags to configure, the objects you don't use later on are maybe not even compiled at all
20:31:27 <Yexo> when did you get output of gdb regarding loc_cost?
20:31:33 <Yexo> directly after the constructor or later in the code?
20:31:49 <_mj> yes, for all three of them
20:32:03 <_mj> so loc_cost wasn't used at that point
20:32:13 <Yexo> but it was after the constructor line?
20:32:20 <_mj> yes
20:32:26 <Yexo> I wouldn't know what caused something like this
20:32:34 <Yexo> but in general it doesn't happen, or OpenTTD would be really broken
20:33:26 <_mj> I even changed the name of the var, suspecting some global name interfering or something, before loc_cost was just called 'cost'
20:33:32 <_mj> but it didn't help
20:34:46 <_mj> I also tried: CommandCost *cc = new CommandCost(EXPENSES_NEW_VEHICLES); CommandCost loc_cost = *cc; (if that makes any sense :)) but it didn't change anything either
20:35:13 <_mj> the object at *cc was initialized correctly, but loc_cost wasn't
20:35:14 <Yexo> either your code is wrong or your gdb usage is wrong
20:35:23 <Yexo> if code like this didn't work, openttd would be broken
20:37:03 <_mj> hm, gdb usage in this case was "p loc_cost", worked pretty well up until this point
20:37:29 <Yexo> what did you pass to configure?
20:37:37 <Yexo> you could try again with --enable-debug=3
20:38:51 <_mj> I have set it this way already, but I didn't give any other configure options IIRC
20:40:08 <_mj> I could pastebin the whole function, but the gdb lines come all right after the object initialization, don't know if there is something else of interest
20:41:30 <Yexo> try a simple DEBUG(misc, 0, "Cost: %lld", loc_cost.GetCost());
20:42:29 <_mj> do I need to include something for this ?
20:43:13 <Eddi|zuHause> possibly debug.h
20:45:14 *** ptr_ has joined #openttd
20:45:20 <_mj> "error: cannot pass objects of non-trivially-copyable type ‘class Money’ through ‘...’"
20:45:53 <Eddi|zuHause> cast to int
20:46:10 <Eddi|zuHause> or something
20:46:25 <_mj> yep, that did it
20:47:01 <Eddi|zuHause> technically Money is an overflow-guarded int64
20:47:22 <_mj> yes, I knew this once :/
20:47:31 <_mj> halted my project for a couple of month
20:47:46 <_mj> the debug function says: "dbg: [misc] Cost: -4611732352534577152
20:47:46 <_mj> "
20:48:02 <Yexo> if you cast to int you should also change the %lld to %d
20:48:04 <_mj> gdb says: p loc_cost
20:48:04 <_mj> $30 = {expense_type = EXPENSES_CONSTRUCTION, cost = {m_value = 34359738368}, message = 8576, success = false, textref_stack_size = 1, static textref_stack = {0 <repeats 16 times>}}
20:48:26 <Yexo> can you post a complete diff somewhere?
20:48:44 <_mj> of everything I have done ?
20:49:17 <Yexo> if you wouldn't mind, yes. That would be the easiest way to reproduce your problem
20:50:51 <_mj> sure, I hope you don't get any versioning problems though, I am running r22639M at the moment
20:51:24 <Yexo> don't see how that would be a problem, at least not if you post a complete diff
20:53:20 <Alberth> only 1000+ revisions behind :)
20:54:02 <Eddi|zuHause> that sounds chillpp-ish :)
20:54:50 <_mj> http://cip.uni-trier.de/~schmidt/temp.diff
20:55:08 <_mj> I told you I halted this project for a couple of months :)
20:57:50 <Yexo> _mj: no loc_cost in your diff
20:58:12 <_mj> whut, wait a second
20:58:24 <_mj> maybe I forgot to svn add some files
20:58:56 *** ptr_ has quit IRC
20:59:38 *** Elukka has quit IRC
21:00:06 <_mj> http://cip.uni-trier.de/~schmidt/temp2.diff << now contains it
21:00:16 *** ptr_ has joined #openttd
21:00:16 <_mj> (new file)
21:01:53 <Yexo> you shouldn't svn add *~ files
21:02:59 <Yexo> _mj: I don't mind testing something, but this doesn't even compile
21:05:02 <_mj> I see, the source.list is missing
21:05:32 <Yexo> source.list is changed
21:05:34 <Terkhen> check your diff over a clean repository first
21:05:40 *** ptr_ has quit IRC
21:06:20 <Yexo> _mj: http://devs.openttd.org/~yexo/errors.txt (part of error output)
21:08:43 <__ln__> 23:00 < j-b> WTF 23:01 < j-b> the guy to whom I said $2M for videolan.org called back 23:01 < j-b> WTF
21:09:49 <_mj> Yexo: which compiler are you using ?
21:10:30 <_mj> Terkhen: yes, the repo is clean aside from my own changes, but it is an older version of the game
21:10:45 <Yexo> g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
21:11:09 <_mj> hm 4.5.3 here (gentoo)
21:11:13 *** TWerkhoven[l] has joined #openttd
21:13:11 <_mj> some google results say that it is this way since gcc 4.6 for some people, maybe if you use the -fpermissive compiler option ?
21:15:30 <Terkhen> _mj: what I meant is, try to patch your diff against a different, clean repository to make sure that it works before uploading it
21:15:37 <_mj> http://cip.uni-trier.de/~schmidt/temp3.diff << in this diff I changed the line of code, should resolve this error
21:20:53 *** ptr__ has joined #openttd
21:23:04 <Yexo> _mj: still getting errors
21:23:10 <Yexo> might give it another try tomorrow
21:23:11 <Yexo> good night
21:23:26 <_mj> thanks for helping, good night then
21:25:59 *** ptr_ has joined #openttd
21:26:01 *** ptr__ has quit IRC
21:35:16 *** Alberth has left #openttd
21:43:56 <andythenorth> so how do I provide cargo-specific graphics with nml?
21:44:02 <andythenorth> switch on cargo_type_in_veh?
21:47:40 <Hirundo> as part of the graphics block
21:49:14 <andythenorth> it doesn't need a cb?
21:49:27 <Hirundo> it's a separate cb basically
21:49:41 <andythenorth> so I do need a switch chain
21:49:42 <Hirundo> just add PASS: pax_gfx; to the graphics block
21:49:42 <andythenorth> ?
21:49:46 <andythenorth> oh
21:49:48 <Hirundo> assuming PASS is defined in the cargotable
21:49:50 <andythenorth> how simple
21:50:08 <Hirundo> I'm quite surprised, that I couldn't find a good example between 22:47 and 22:49
21:50:24 <andythenorth> it's not mentioned here ;) http://newgrf-specs.tt-wiki.net/wiki/NML:Graphics
21:51:27 <andythenorth> in my case, I will need a switch...for other reasons :)
21:51:27 <Hirundo> Indeed, and the NML tutorial contains no (AFAIK) reference either
21:53:57 *** Neon has quit IRC
21:54:22 *** _mj has quit IRC
21:56:51 *** mib_kjnr7n has joined #openttd
21:59:06 *** ptr__ has joined #openttd
21:59:06 *** ptr_ has quit IRC
21:59:20 <mib_kjnr7n> 17:48:12 < Sacro> hmmm, what was that other epic forum quote
21:59:34 <mib_kjnr7n> http://www.tt-forums.net/viewtopic.php?f=32&t=58058
21:59:38 <Eddi|zuHause> nml automatically does replicate the callbacks for each cargo type given in graphics?
21:59:42 *** pjpe has joined #openttd
22:00:08 <Eddi|zuHause> afair that's what kept people from splitting in the action 3 in nfo
22:00:49 <mib_kjnr7n> Yes it's me .... bugs bunny
22:01:02 <mib_kjnr7n> good night all
22:01:49 *** pugi has joined #openttd
22:01:57 *** mib_kjnr7n has left #openttd
22:03:13 <Hirundo> Eddi|zuHause: Yes, NML automagically does the right thing (tm)
22:04:06 <Eddi|zuHause> well, it wouldn't work in CETS anyway, because i need var61 for fancy effects
22:07:04 <Terkhen> wow, what a post
22:09:57 <peter1138> ?
22:10:22 <Terkhen> [22:59:34] <mib_kjnr7n> http://www.tt-forums.net/viewtopic.php?f=32&t=58058 <--- that one
22:10:24 *** andythenorth has quit IRC
22:10:40 *** andythenorth has joined #openttd
22:10:43 <andythenorth> :o
22:11:00 <andythenorth> nml automagically replicates the switches?
22:11:25 * andythenorth was about to template a whole set of switches per cargo :P
22:11:45 * andythenorth thinks he has misunderstoof
22:13:33 *** TGYoshi_ has joined #openttd
22:13:53 <__ln__> what a fantastic idea, but how would segregation actually be visually expressed within the game?
22:17:20 <andythenorth> how can nml replicate the callbacks for each cargo type?
22:17:59 <andythenorth> nvm
22:18:04 <Hirundo> andythenorth: copy-pasta
22:18:09 <andythenorth> :)
22:18:23 <Hirundo> basically the switch(current_callback) is duplicated per cargo type
22:18:38 <Hirundo> I added some info to the wiki here and there
22:19:05 <andythenorth> k
22:19:08 <andythenorth> cool
22:19:38 <andythenorth> for my case, I think I need lots of switches :)
22:20:13 <Hirundo> or in your case, a lot of #defines and less switches ?
22:20:13 *** TGYoshi has quit IRC
22:20:18 * andythenorth ponders whether to split for cargos in graphics block with lots of defines
22:20:30 <andythenorth> or whether to have one switch chain, and split on cargo type
22:20:37 <andythenorth> in final switch
22:20:56 <Hirundo> that might make more sense in your case, if your graphics selection is really complicated
22:21:14 <andythenorth> graphics selection is quite simple, actually classes might be enough in most cases
22:21:33 <andythenorth> but I have to hide / show graphics according to subtype + position in consist
22:24:56 <Terkhen> good night
22:27:28 *** KouDy has quit IRC
22:29:34 *** andythenorth has quit IRC
22:35:34 *** Adambean has quit IRC
22:41:23 *** Prof_Frink has joined #openttd
22:41:52 *** fjb|tab has quit IRC
22:42:28 *** TGYoshi_ has quit IRC
22:42:47 *** FLHerne has left #openttd
22:43:43 <Wolf01> 'night
22:43:49 *** Wolf01 has quit IRC
23:00:35 *** snack2 has quit IRC
23:01:29 *** ptr__ has quit IRC
23:01:57 *** ptr_ has joined #openttd
23:11:46 *** ptr_ has quit IRC
23:16:34 *** Brianetta has joined #openttd
23:22:52 *** Progman has quit IRC
23:23:53 *** MJP has quit IRC
23:25:58 *** sla_ro|master has quit IRC
23:27:22 *** Devroush has quit IRC
23:28:57 *** LordAro has quit IRC
23:31:54 *** pugi has quit IRC
23:43:34 *** DDR has joined #openttd
23:53:49 *** DDR_ has joined #openttd
23:54:39 *** DDR has quit IRC
23:54:47 *** DDR_ is now known as DDR
23:54:48 *** KritiK has quit IRC