IRC logs for #openttd on OFTC at 2012-01-12
⏴ go to previous day
00:07:27 *** Markavian` has joined #openttd
00:19:38 *** Markavian has joined #openttd
00:28:34 *** Markavian` has joined #openttd
00:51:07 *** Markavian has joined #openttd
00:53:45 *** snorre_ has joined #openttd
01:53:51 *** supermop_ has joined #openttd
01:59:28 *** collinp has joined #openttd
02:00:51 *** snorre_ has joined #openttd
02:18:38 *** HerzogDeXtEr has joined #openttd
02:30:53 <brendan10211> no one talks anymore
03:23:34 <welshdragon> how many OpenTTD squares in a mile?
03:35:54 <Eddi|zuHause> somewhere between 0.01 and 100
03:55:37 *** kkb110_ has joined #openttd
05:11:39 *** supermop_ has left #openttd
05:56:18 *** Eddi|zuHause has joined #openttd
06:15:37 *** fjb|tab is now known as Guest23795
06:15:38 *** fjb|tab has joined #openttd
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:43:21 *** PashaKrRussia has joined #openttd
06:46:07 <PashaKrRussia> I can not start server
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: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: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: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: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: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: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:20:20 <PashaKrRussia> "server_advertise = true" my cfg file
07:25:10 <planetmaker> lan_internet = 1 ?
07:25:31 <planetmaker> then you only create a LAN game
07:30:16 *** TGYoshi has joined #openttd
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: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: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
09:24:53 *** brendan10211 has joined #openttd
09:48:35 *** Devroush 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:26:22 <pecisk> nice constructive answer :)
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:41:23 <peter1138> i just had a single quality street sweet with three wrappers around it :p
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:24:58 <peter1138> use a 32bpp bliter and enable antialiasing :p
12:44:05 *** andythenorth has joined #openttd
13:02:19 *** lollercaust has joined #openttd
13:09:14 <pecisk> peter1138, antialiasing didn't help either
13:13:56 *** TomyLobo has joined #openttd
13:15:31 <pecisk> peter1138, sorry, it worked. Thanks for the tip.
13:58:11 *** andythenorth has joined #openttd
14:22:26 <DorpsGek> __ln__: I have not seen together.
14:28:30 <DorpsGek> Thanks. How are you?
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?
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:33:38 *** Devroush|3 has joined #openttd
16:06:06 *** fjb|tab has joined #openttd
16:07:41 *** DayDreamer has joined #openttd
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:25:52 <MNIM> is there even a single girl in this channel?
16:26:11 <Sacro> There has been in the past
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: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:35:53 <__ln__> still quote of the month
16:48:12 <Sacro> hmmm, what was that other epic forum quote
16:58:01 *** frosch123 has joined #openttd
17:04:45 *** TWerkhoven has joined #openttd
17:08:05 *** HerzogDeXtEr has joined #openttd
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:56:38 *** mahmoud has joined #openttd
18:11:24 *** FLHerne 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: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: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:06:28 *** HerzogDeXtEr1 has joined #openttd
19:08:47 *** Chris_Booth has joined #openttd
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:14:42 *** Devroush has joined #openttd
19:19:40 *** jenn[ak] has joined #openttd
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: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: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: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 :)
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:11 <Yexo> I think I've found the bug
20:02:30 <Yexo> is "Switzerland" the alst line?
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: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:12:27 <andythenorth> the vehicle window text moved too
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: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: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: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:20 <_mj> "error: cannot pass objects of non-trivially-copyable type ‘class Money’ through ‘...’"
20:47:01 <Eddi|zuHause> technically Money is an overflow-guarded int64
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:48:02 <Yexo> if you cast to int you should also change the %lld to %d
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: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:24 <_mj> maybe I forgot to svn add some files
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:34 <Terkhen> check your diff over a clean repository first
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: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:23:04 <Yexo> _mj: still getting errors
21:23:10 <Yexo> might give it another try tomorrow
21:23:26 <_mj> thanks for helping, good night then
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:48 <Hirundo> assuming PASS is defined in the cargotable
21:50:08 <Hirundo> I'm quite surprised, that I couldn't find a good example between 22:47 and 22:49
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:56:51 *** mib_kjnr7n has joined #openttd
21:59:20 <mib_kjnr7n> 17:48:12 < Sacro> hmmm, what was that other epic forum quote
21:59:38 <Eddi|zuHause> nml automatically does replicate the callbacks for each cargo type given in graphics?
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: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:10:40 *** andythenorth has joined #openttd
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:18:04 <Hirundo> andythenorth: copy-pasta
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: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: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: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:41:23 *** Prof_Frink has joined #openttd
23:16:34 *** Brianetta has joined #openttd
continue to next day ⏵