Log for #openttd on 28th March 2009:
Times are UTC Toggle Colours
00:03:21  *** Cybertinus [] has quit [Remote host closed the connection]
00:11:44  *** murr4y [murray@2001:470:1f0a:1be::42] has joined #openttd
00:15:07  *** OwenS [] has quit [Remote host closed the connection]
00:35:35  *** Ridayah [] has quit [Ping timeout: 480 seconds]
00:38:21  *** frosch123 [] has quit [Remote host closed the connection]
00:41:50  *** Gekz [] has quit [Quit: Lost terminal]
00:52:56  *** hachque [] has joined #openttd
00:53:06  <hachque> i can't get openttd to work properly on linux
00:53:09  <hachque> i've tried to compile it
00:53:17  *** fonsinchen [] has joined #openttd
00:53:22  <hachque> but when i run it it says it's missing
00:53:40  <Yexo> you need from your original ttd cdrom
00:53:44  <wision_> maybe you are missing then?
00:53:54  <Yexo> although an empty file will work too (but you won't have sound)
00:53:58  <SmatZ> hachque: radme.txt
00:54:02  <SmatZ> *readme
00:55:07  <hachque> there's no readme with the source package ;)
00:55:17  <hachque> anyway
00:55:19  <hachque> problem solved
00:56:05  <Rubidium> really? which source package did you take then?
00:56:09  <SmatZ> hachque: sure there is readme.txt!
00:56:11  <hachque> beta
00:56:28  <hachque> where is the compiled source looking for the data files?
00:56:39  <Rubidium> read the readme
00:56:51  <Rubidium> and "beta" isn't a source package
00:57:13  <hachque> it is if you download the source version
00:57:29  <SmatZ> hachque: sources for beta2 and RC2 both have readme.txt
00:57:31  <hachque> wait
00:57:32  <hachque> nvm
00:57:33  <hachque> it's there
00:57:39  <hachque> i generally look for README
00:57:45  <hachque> since that's what linux packages generally call them
01:09:52  *** goodger [] has quit [Ping timeout: 480 seconds]
01:10:18  *** goodger [] has joined #openttd
01:14:12  *** lolman [~john@static-87-102-80-68.karoo.KCOM.COM] has quit [Ping timeout: 480 seconds]
01:21:53  *** Ridayah [] has joined #openttd
01:25:05  *** lolman [~john@static-87-102-80-68.karoo.KCOM.COM] has joined #openttd
01:34:03  *** KritiK [] has quit [Quit: Leaving]
01:37:43  *** tkjacobsen_ [] has quit [Remote host closed the connection]
02:08:42  *** fonsinchen [] has quit [Quit: Leaving.]
02:11:54  <CIA-1> OpenTTD: yexo * r15866 /trunk/src/settings_gui.cpp: -Codechange: New widgets for the difficulty window.
02:12:15  *** Frans [] has quit [Quit: *Adios Amigos*]
02:24:39  <gass> Ammler, there?
02:25:16  <Yexo> he said +- 1 hour ago he'd go to bed
02:41:04  <Yexo> Belugas: I hope helps, but I fear not
02:41:27  <Yexo> I had a little pm session with him yesterday, and his conclusion was that he wasn't able to update patches
02:41:42  <Yexo> now if only he concluded that in that case he isn't able to make a patchpack either...
02:42:01  <gass> humm ... auto substitute trains does not work ...
02:42:04  <gass> on 0.6.3
02:42:18  <Yexo> "doesn't work" is not an error message
02:43:26  <Yexo> in other words, specify what you tried, what the result was and why that was different from what you expected
02:46:22  <CIA-1> OpenTTD: yexo * r15867 /trunk/src/ (window.cpp window_gui.h):
02:46:22  <CIA-1> OpenTTD: -Codechange: remove the assumption that the first widgets are the close box/title bar.
02:46:22  <CIA-1> OpenTTD: Most work already done by r15756.
02:48:00  *** lobster [~michielbi@] has quit [Ping timeout: 480 seconds]
02:54:51  <CIA-1> OpenTTD: yexo * r15868 /trunk/src/settings_gui.cpp: -Codechange: remove the close box from the widget array instead of doing it in the constructor of the difficulty window. This makes it work again in rtl languages.
02:58:29  <gass> Yexo, i selected the substitute trains in the train list
02:58:34  <gass> listing all trains
03:00:53  <Yexo> you mean "replace trains"?
03:06:21  *** NukeBuster [~wouter@] has left #openttd []
03:06:46  *** hachque [] has quit [Remote host closed the connection]
03:18:44  *** KenjiE20 [~KenjiE20@] has quit [Quit:  HydraIRC -> <- *I* use it, so it must be good!]
03:42:37  *** valhallasw [] has joined #openttd
03:48:04  *** stuffcorpse [~rick@] has quit [Quit: leaving]
03:48:24  *** stuffcorpse [~rick@] has joined #openttd
03:49:45  *** valhalla1w [] has quit [Ping timeout: 480 seconds]
04:14:15  <CIA-1> OpenTTD: glx * r15869 /trunk/src/company_gui.cpp: -Codechange: New widgets for select manager face and select livery windows
04:26:55  <CIA-1> OpenTTD: yexo * r15870 /trunk/src/autoreplace_gui.cpp: -Codechange: New widgets for the autoreplace window.
04:58:48  *** gass [] has quit [Remote host closed the connection]
05:00:26  *** ecke [~ecke@] has quit [Quit: ecke]
05:02:39  *** Singaporekid [] has joined #openttd
05:06:32  *** glx [] has quit [Quit: bye]
05:39:08  *** Roujin [] has joined #openttd
05:39:16  <Roujin> greetings
05:54:43  *** Gekz [] has joined #openttd
06:01:42  <Roujin> seems everyone's still sleeping, huh? :P
06:04:27  *** Alberth [] has joined #openttd
06:24:46  <welshdragon> technically not Roujin, i am watching the Formula !
06:25:08  <Roujin> that's not far from sleeping
06:25:17  <Roujin> :P
06:26:19  <welshdragon> :P
06:29:16  <Roujin> I woke up really early today because I still have +8 hours jet lag from japan ^^
06:35:07  <welshdragon> ouch
06:35:45  <welshdragon> well, i might get a few hour's sleep, it being 06:35 AM
06:37:33  *** Gekz [] has quit [Quit: Lost terminal]
07:13:56  *** energetic [] has joined #openttd
07:14:01  <energetic> hi all
07:14:41  <energetic> Im getting a PRJ0019 from msvc -> a toolreturned an error code from "generating origveh language file
07:15:05  <energetic> I guess that is the tool of openttd to generate the lang files is angry at me?
07:15:17  <energetic> question is: how to debug?
07:15:52  *** Metalcore [] has joined #openttd
07:16:12  <Forked> morning
07:16:27  <Forked> I see today will be the big "but can we have an update please?" day :)
07:16:38  <Yexo> morning all
07:16:46  * Yexo didn't have enough sleep yet
07:16:49  <Yexo> time for coffee :)
07:17:11  <Yexo> energetic: origveh.lng was recently removed and replaced by a newgrf
07:18:29  <energetic> Yexo: so how do I fix this? weird thing is, (i think i) I didnt change any source, and suddenly this one appears
07:18:47  <Yexo> energetic: which revision do you use?
07:18:51  <Yexo> did you update this morning?
07:18:54  <energetic> an old one
07:19:20  <Yexo> old one != a number
07:19:45  <energetic> sec
07:20:20  <energetic> hmm, i think i colluded versions here, and that is the problem
07:24:19  <energetic> I cant find it
07:24:40  * energetic fights with tortoisesvn
07:25:48  <Metalcore> I'm trying to do apply patches for the first time, and I can apply and compile fine, but when I try to run the bin, I get a "no available language packs" error.
07:25:54  <Metalcore> is there something I'm forgetting to do?
07:28:05  *** Gekz [] has joined #openttd
07:30:17  <energetic> How can I see the rev on where i checkout with in SVN (tortoise)
07:31:26  <Roujin> Metalcore: seems it didn't compile the language files for some reason. what tool are you using to compile?
07:33:13  <Metalcore> ./configure; make
07:33:20  <energetic> found it: rev 15712
07:34:24  <Roujin> did the make process of the languages work properly?
07:34:27  <energetic> Ill check out 15712, and patch that one. that should compile.
07:35:57  <Metalcore> hmm. could it have to do with applying a patch to a newer version of trunk that it's supposed to be for?
07:38:07  <Roujin> hm maybe you had some old lang files lying around that can't be used now... maybe try make clean  and then try again?
07:39:16  <Roujin> the output of make should say that it's compiling the language files (before compiling the main source code), and maybe an error happened somewhere in there?
07:39:33  <Metalcore> i'll try re-checking out and making clean again
07:41:40  <energetic> --> I fixed it doing that :)
07:42:13  <energetic> still not sure why it caused this error though. Might have to do something with versioning (newer files somehow added/updated)
07:43:39  <energetic> for a new setting ranging from 0 to 10, I presumably use the byte struct?
07:45:50  <Metalcore> ok, with a clean r15870, everything works well
07:46:04  <Roujin> energetic: uint8?
07:46:22  *** MrFrans [] has joined #openttd
07:46:46  <Metalcore> after applying the patch, i'm compiling.
07:46:54  <Metalcore> no errors after the compiling language step, it seems
07:47:28  <energetic> Roujin: why?
07:50:23  <Roujin> uhm, I thought that was consistently used for settings (or uint16, 32 if bigger numbers are required) - but looking in the appropriate source files, byte seems to be used as well for some stuff
07:50:23  <Metalcore> yup
07:50:28  <Metalcore> got the error again
07:50:51  <Yexo> Metalcore: after compiling, from where are you trying to run the binary?
07:50:52  <Roujin> Metalcore: upon executing openttd.exe, right?
07:50:58  <Metalcore> yeah
07:51:13  <Yexo> did you move openttd.exe to another directory?
07:51:14  <Metalcore> Yexo: trunk/bin/openttd
07:51:17  <Metalcore> no
07:51:26  *** maristo [] has joined #openttd
07:51:31  <Roujin> does trunk/bin/lang/*.lng exist?
07:51:36  <Metalcore> technically, i'm not running openttd.exe at all :P
07:51:36  <Metalcore> yes
07:51:37  <Yexo> can you check the timestamp of the files in trunk/bin/lang/
07:52:42  <Metalcore> they're all about 3 minutes old. (2009-3-28 3:49)
07:53:11  <Yexo> so they were recompiled
07:53:13  <Metalcore> the binary, in comparison has a 3:47 timestamp
07:54:10  <Yexo> that's strange, since the binary is compiled AFTER the language files
07:55:17  <Metalcore> oh sorry, the binar yis 3:49 as well
07:55:20  <Metalcore> binary is*
07:56:20  <Yexo> using windows/linux/mac?
07:56:53  <Metalcore> linux
07:57:15  <Yexo> can you try changing to trunk/bin and then executing ./openttd ?
07:57:26  <Yexo> should do the same, but you never know
07:58:49  *** roboboy [] has joined #openttd
08:00:43  <Metalcore> that's where i've been running it from
08:00:50  <Metalcore> i meant trunk/bin/openttd was the file
08:01:00  <Metalcore> not trunk/bin/openttd/openttd
08:01:20  <Metalcore> Error: No available language packs (invalid versions?)
08:01:22  <Metalcore> yup
08:07:48  *** Progman [] has joined #openttd
08:11:10  *** roboboy [] has quit [Remote host closed the connection]
08:12:03  *** roboboy [3aad2910@] has joined #openttd
08:12:49  <Yexo> Metalcore: can you update to r15865 (if you're not already done that), compile again and tell me the output of "md5sum bin/lang/english.lng"?
08:12:59  *** goodger [] has quit [Ping timeout: 480 seconds]
08:14:25  *** goodger [] has joined #openttd
08:16:20  <energetic> my compliments to whomever wrote the settings system: its really nice!
08:20:49  <el_en> *it's
08:22:30  *** Brianetta [] has joined #openttd
08:22:35  *** jonty-comp [] has joined #openttd
08:23:09  <Metalcore> Yexo: i have 15870. and I can compile and run clean trunk fine, it's after patching it that I have a problem. might it be the patch's problem and not mine?
08:23:52  <Yexo> ah, that's possible
08:23:58  <Yexo> I didn't get that right the first time
08:24:02  <Yexo> what patch are you trying to use?
08:24:43  <Metalcore>
08:24:48  <Yexo> and if (after patching) you remove bin/lang/, then compile again, are the language files regenerated?
08:24:52  <Metalcore> the 'another daylength' patch
08:25:02  <Metalcore> let me try that
08:26:50  <Yexo> that patch doesn't anything strange with the english.txt
08:26:55  <Yexo> so I doubt it's that patch
08:26:56  <Metalcore> hmm
08:27:22  <Metalcore> would it matter that that patch is for 15804 and I'm applying it to 15870?
08:27:50  <Yexo> could be, but I doubt that
08:28:17  <Yexo> as most changes in trunk between 15804/15870 are changes towards the new widget system
08:28:19  <Metalcore> and yes, the .lngs are regenerated, but still giving the error
08:29:50  *** OwenS [] has joined #openttd
08:35:22  <Yexo> Metalcore: can you try compiling with, when running with that patch it should print a lot of lines "Trying language file <somefile.lng>"
08:36:17  <Metalcore> do you want me to apply that on top of this current patch?
08:36:35  <Yexo> please use, and yes, on top of your current patch
08:36:56  <Yexo> the server caches a bit too much,so even though I had to rename the new version
08:39:22  <Metalcore> hmm
08:40:11  <Metalcore> it printed out "trying language file" twice for each file
08:40:21  <Metalcore> with the first time saying 'it's unique'
08:40:33  *** TinoM [] has joined #openttd
08:40:37  <Metalcore> and then it ran, but crashed when clicking on the advanced setting button
08:40:59  <Yexo> do you have language files in ~/.openttd/lang ?
08:41:04  <Yexo> or some other shared location?
08:41:15  *** TinoDidriksen [] has joined #openttd
08:41:54  <Yexo> I think it find the language files for another version first (but those are invalid for the version you just compiled), then when it finds the correct language files the names are not unique, so they are skipped
08:43:08  <Metalcore> hmm
08:43:17  <Metalcore> i have some in ~/openttd/lang
08:43:24  <Metalcore> let me try moving those
08:52:46  <Metalcore> hmm
08:52:49  <Metalcore> i don't know
08:53:31  <Yexo> that didn't work either?
08:53:45  <energetic> I  just read an artile about wireless trams
08:54:04  <Metalcore> like....buses on rails?
08:54:10  <energetic> no
08:54:51  <energetic> like having cables under the ground, gaining current when the tram is above it. Then coils get the energy from the cables.
08:55:35  <energetic> energy then goes into a buffer (battery), storing braking power also.
08:55:49  *** pavel1269 [] has joined #openttd
08:56:10  <energetic> Dutch city of Groningen is very interested in using this technique for their new tramlines
08:56:29  <energetic> company syas it can be used for trains and metro also
08:57:35  <energetic> company also says next year to be able to deliver those trams
08:57:50  * energetic sees an update in GRF coming ;P
08:59:11  * Yexo wonders what kind of newgrf energetic expects
08:59:29  <Yexo> those new trams can run on normal road I assume? In that case nothing special would be visible
08:59:43  <Yexo> at least I can't think of anything obvious
09:00:03  <energetic> yes. they do need the wires below the surface though.
09:00:22  <Yexo> 'below the surface' isn't visible in openttd anyway :p
09:00:48  * energetic expects electric train/tram GRFs without the visible lines above them. Diesel sets for electric.
09:01:19  <energetic> trains/trams without pantograph
09:01:25  <Metalcore> hmm
09:01:44  <Metalcore> Yexo: is there any way to make the debug patch you made to show the path of the file as well?
09:02:25  <Yexo> Metalcore: sure, give me a moment
09:02:40  <energetic> and: not to forget: lower running costs
09:03:02  <energetic> (wireless means no wear on electrical lines)
09:04:17  <energetic> -->
09:05:49  <Yexo> Metalcore:
09:06:01  *** Brianetta [] has quit [Quit: TschÌß]
09:06:02  <Yexo> it does print every language twice here too, twice the same path
09:06:05  <Yexo> that's not problem
09:06:30  <Metalcore> hmm
09:08:05  <Metalcore> yep
09:08:17  <Metalcore> all the .lng files it lists are the ones in bin/lang
09:09:44  <Yexo> so it does find the correct files, but considers those invalid
09:11:20  *** Cybertinus [] has joined #openttd
09:14:32  <Metalcore> well, now, it doesn't give the error anymore, but it crashes on the advanced settings menu
09:14:39  <Metalcore> as in, it finds them valid now, i guess?
09:14:52  <Metalcore> openttd: /home/evan/ottdsrc/trunk/src/settings_gui.cpp:757: void SettingEntry::Init(byte, bool): Assertion `this->d.entry.setting != __null' failed.
09:14:55  <Metalcore> Aborted
09:14:56  <Metalcore> that's the error
09:14:56  <Yexo> if the game starts it has found at least one correct language file
09:15:01  <Metalcore> yes
09:15:07  <Yexo> now that is probably the cause of an incorrect patch
09:15:09  <Metalcore> it's not giving that error anymore
09:15:23  <Metalcore> let me trying to take off your patch and see if it still starts
09:15:39  <Metalcore> that was a poorly formed sentence.
09:19:53  <Rubidium> that last assertion means that the settings are messed up
09:24:36  *** roboboy [3aad2910@] has quit [Remote host closed the connection]
09:25:34  *** roboboy [] has joined #openttd
09:28:28  <Metalcore> Rubidium: and that would be a problem with the patch itself, which i should report to its author?
09:29:21  <Yexo> yes, you should
09:32:55  <Metalcore> should I need to remove the lang files in bin/lang before recompiling? because it doesn't seem to be overwriting them
09:33:40  *** roboboy [] has quit [Quit: ajax IRC Client]
09:35:41  <Yexo> it should overwrite them, but removing then doesn't hurt
09:36:06  <Yexo> and at least msvc doesn't recompile other languages files if just english.txt changes
09:37:45  <Rubidium> that's because MSVC is broken-ish
09:38:17  <Rubidium> can't tell what the dependencies of a file really are
09:40:58  <Yexo> Metalcore: I was about to say someone else reported that problem already, untill I noticed that was you (using a different nick here is confusing)
09:42:14  *** MrFrans [] has quit [Quit: *Adios Amigos*]
10:07:47  <CIA-1> OpenTTD: alberth * r15871 /trunk/src/dock_gui.cpp: -Fix: Repositioning and resizing the coverage highlight buttons of the build-dock window
10:15:04  *** |Japa| [~Japa@] has joined #openttd
10:16:23  *** tkjacobsen [] has joined #openttd
10:22:06  *** Vikthor [] has joined #openttd
10:27:08  *** lolman [~john@static-87-102-80-68.karoo.KCOM.COM] has quit [Remote host closed the connection]
10:38:08  *** |Japa| [~Japa@] has quit [Quit:  HydraIRC -> <- Now with extra fish!]
10:40:54  <el_en> how quickly will the mailboxes be modified to match the new king?
10:46:32  *** |Jeroen| [] has joined #openttd
10:53:58  <energetic> Floats cannot be used, can they?
10:55:38  <Alberth> not if you want a multi-player-safe patch
10:56:31  <energetic> I am wondering: how to code a large calculation using integer division (this part aint hard) while keeping the code readable (this is the hard part)
10:56:47  <energetic> using intermediate variables?
10:58:23  <Yexo> or make the code slightly non-readable but explaing it very well in comments
10:59:22  <Roujin> split the code up in smaller parts = functions to make it more structured?
10:59:34  *** lolman [~lolman@static-87-102-80-68.karoo.KCOM.COM] has joined #openttd
11:00:05  <energetic> maybe the context can help here: it is in the function MoveGoodsToStation in the station_cmd.cpp file
11:00:57  <energetic> so, no floats. the old code suggests (heavy?) optimization, implying my patch needs that too
11:04:19  <energetic> another question: is referring to outside information OK in code?
11:04:42  <energetic> i.e.: "For detailed information, see <url>"
11:05:06  *** yorick [] has joined #openttd
11:07:37  *** Singaporekid [] has quit [Quit: Leaving]
11:08:31  <Roujin> I think I've seen such before in openttd code...
11:09:34  <Alberth> energetic: make an integer approximation of the calculation may also be an option
11:10:18  <Alberth> ie we may not need the precise value, just something close enough
11:10:24  <Yexo> Roujin: yes, in tgp.cpp
11:10:36  <Yexo> energetic: is that really needed?
11:10:47  <yorick> tgp.cpp does not need any network sync
11:10:47  <Yexo> outside urls tend to give an error after a while
11:11:12  <Yexo> yorick: network sync has nothing to do with a "See <url>" comment
11:11:51  <yorick> oh, that's what he ment :p
11:12:15  <energetic> no, not needed. It adds to the understanding though.
11:12:28  <energetic> I worked out the complete calcualtion in detail.
11:13:05  <energetic> which is necesary to understand the algo. But: I think the ottd wiki is a good place for it
11:13:51  <CIA-1> OpenTTD: yexo * r15872 /trunk/src/ (widget.cpp widget_type.h): -Codechange: add paddings for widgets, this makes writing new widget arrays less cumbersome.
11:15:39  <energetic> alberth: the integer approximation approach I indeed applied.
11:17:13  <CIA-1> OpenTTD: alberth * r15873 /trunk/src/dock_gui.cpp: -Codechange: Changing two comments to Doxygen comment.
11:17:49  <CIA-1> OpenTTD: yexo * r15874 /trunk/src/settings_gui.cpp: -Codechange: New widgets for the game options window.
11:18:30  <Yexo> energetic: depending on how complex the complete calculation is, it may be better to just add it to the source as a (large) comment
11:19:45  *** roboboy [] has joined #openttd
11:20:46  <energetic> (not very complex, but the integer division makes it very unreadable).
11:45:03  *** Prof_Frink [] has quit [Remote host closed the connection]
11:48:23  <petern_> hm
11:48:48  <petern_> get a segfault on start
11:48:54  <petern_> (in nwidget code)
11:50:03  *** maristo [] has quit [Remote host closed the connection]
11:51:54  *** Polygon [] has joined #openttd
11:56:00  <Yexo> petern_: it works fine here
11:58:22  <petern_> must be makedepend missing stuff
11:58:25  <petern_> works after a make clean
11:58:30  *** frosch123 [] has joined #openttd
12:04:50  <CIA-1> OpenTTD: yexo * r15875 /trunk/ (5 files in 2 dirs): -Add: AIBridge::GetBridgeID() so AIs can get the type of bridge that are already build.
12:17:55  <petern_> hmm, the "Check Online Content" button on the load scenario/heightmap windows is... off a bit
12:28:24  *** KingJ [] has quit [Read error: Connection reset by peer]
12:28:47  <petern_> hmm, not even makedepend, something else was wrong :/
12:29:00  <petern_> wasn't recompiling things after blatant source file changes
12:32:15  *** th1ngwath [] has quit [Quit: It's all over.]
12:33:30  <Rubidium> makedepend has a limit for source files
12:33:36  <Rubidium> probably you've hit it
12:36:14  *** Polygon [] has quit [Quit: Verlassend]
12:37:05  *** thingwath [] has joined #openttd
12:39:34  *** KingJ [] has joined #openttd
12:40:57  <petern_> lol
12:41:08  <petern_> just set normal font size to ... something large
12:41:09  <CIA-1> OpenTTD: alberth * r15876 /trunk/src/dock_gui.cpp: -Codechange: Nested widgets for build-dock station and dock toolbar windows.
12:41:12  <petern_> the quit message was...
12:41:19  <petern_> "Are you..." "No" "Yes"
12:42:51  *** KenjiE20 [~KenjiE20@] has joined #openttd
12:43:09  <Alberth> all texts in windows are truncated to widget boundaries
12:43:23  *** thingwath [] has quit [Read error: No route to host]
12:43:33  <petern_> woosh
12:46:51  *** KenjiE20 [~KenjiE20@] has quit []
12:47:41  <CIA-1> OpenTTD: peter1138 * r15877 /trunk/src/ (company_gui.cpp widgets/dropdown.cpp widgets/dropdown_type.h): -Codechange: Let drop down lists know about font height.
12:49:30  *** KenjiE20 [~KenjiE20@] has joined #openttd
12:49:50  <petern_> (unless it uses small or large fonts, which isn't handled anyway. heh)
12:51:00  *** thingwath [] has joined #openttd
12:53:22  *** |Japa| [~Japa@] has joined #openttd
12:56:07  *** michi_cc [] has quit [Ping timeout: 480 seconds]
12:59:56  *** helb [~helb@] has quit [Ping timeout: 480 seconds]
13:04:48  *** helb [~helb@] has joined #openttd
13:09:05  *** Wolf01 [] has joined #openttd
13:09:14  <Wolf01> hello
13:14:56  *** helb [~helb@] has quit [Ping timeout: 480 seconds]
13:15:07  *** glx [] has joined #openttd
13:15:10  *** mode/#openttd [+v glx] by ChanServ
13:15:36  *** michi_cc [] has joined #openttd
13:15:39  *** mode/#openttd [+v michi_cc] by ChanServ
13:17:59  *** Prof_Frink [] has joined #openttd
13:19:54  <|Japa|> hello wolfy
13:26:20  <SmatZ> petern_: same problem here... yesterday I got segfaults,today I got ... make clean && make fixed that
13:28:26  *** helb [~helb@] has joined #openttd
13:35:19  <CIA-1> OpenTTD: alberth * r15878 /trunk/src/engine_gui.cpp: -Codechange: New widgets for the engine preview window.
13:36:44  <Roujin> the new dropdown looks a bit different from the old one, doesn't it
13:36:56  *** Rexxars [~rexxars@] has quit [Ping timeout: 480 seconds]
13:39:27  <petern_> new?
13:40:56  <SmatZ> dropdowns were unified
13:41:38  <petern_> oh... ages ago, heh
13:41:58  <SmatZ> :)
13:44:28  <Roujin> define ages
13:44:46  <SmatZ> four days or so
13:45:19  <Roujin> I was in japan for three weeks and didn't run any new version of openttd in that time...
13:45:47  <SmatZ> how could you?
13:45:48  <petern_> ah
13:45:49  <Roujin> have to admit that I went online and checked the commit logs from time to time though :P...
13:46:01  <petern_> i don't think anything visible has changed in 3 weeks...
13:46:01  <SmatZ> I hope you enjoyed your stay - even without OTTD ;)
13:46:07  <Rubidium> Roujin: what kind of bloody excuse it that?
13:47:39  <petern_> hmm, pikka's scrabble board :D
13:52:32  *** Polygon [] has joined #openttd
14:08:04  *** helb [~helb@] has quit [Ping timeout: 480 seconds]
14:09:45  *** Singaporekid [] has joined #openttd
14:13:09  *** helb [~helb@] has joined #openttd
14:19:42  *** Andel is now known as Doink
14:24:42  <Roujin> planetmaker, where art thou? :/
14:25:42  <Roujin> does he live in some weird time zone? :/
14:28:26  *** |Japa| [~Japa@] has quit [Ping timeout: 480 seconds]
14:34:57  *** NukeBuster [~wouter@] has joined #openttd
14:41:15  *** roboboy [] has quit [Quit: ajax IRC Client]
14:42:15  <glx> Roujin: yes, same as yours ;)
14:44:33  <Roujin> then why doesn't he show up... is he working or studying or something, that lazy cow? ;)
14:45:28  <Rubidium> Roujin: why didn't you show up for 3 weeks?
14:47:08  <Roujin> I, uhh, was studying the japanese railway system, uh,  to learn something in order to improve OpenTTD, SIR!
14:49:11  <Rubidium> right...
14:49:28  <Rubidium> so what have you learned?
14:53:14  <Roujin> hmm.. shinkansen are comfortable?
14:53:43  <Rubidium> ghehe... depends on the weather
14:54:05  <Rubidium> and on the route
14:54:33  <Rubidium> Kobe-Hiroshima had quite a bit of turbulence
14:55:23  <CIA-1> OpenTTD: glx * r15879 /trunk/src/company_gui.cpp: -Codechange: add an invisible widget on advanced company face window to determine where to draw the strings instead refering to other widgets. Required for rtl languages.
14:56:24  <Rubidium> and when it's windy (more than 6-7 Beaufort) they uhm... don't run at all
14:57:12  <Roujin> we (= me and my better half) mostly went between tokyo and shirakawa
14:58:12  <Roujin> ah yes, in the yamanote line in tokyo, there were often messages on the screen that some other lines are delayed or even halted because of wind
14:58:35  <Rubidium> ah, the green "full" line ;)
15:00:46  <Roujin> yeah we tried to use this one or the other line in tokyo owned by JR whenever we could instead of metro, because we had a three-week-ticket for all JR trains
15:01:36  <Rubidium> how often did you go between Tokyo and Shirawaka to make that profitable?
15:03:09  <Roujin> lemme see.. i'd say it's at most five days or so where we did not use a shinkansen to somewhere..
15:03:40  <Rubidium> 5 round trips would make it profitable ;)
15:04:08  <Roujin> well then it was obviously more than profitable ^^
15:04:15  <Rubidium> for the trips I had to made the railpass wasn't cheaper
15:04:56  <Rubidium> and you hadn't had the pleasure of going with the Nozomi ;)
15:05:19  <Roujin> that's true. what is so much better about the nozomi?
15:05:31  <Rubidium> quickel des
15:05:38  <Rubidium> ol fastel des
15:06:04  <Rubidium> going at 300 km/h through a station is fun
15:06:16  <Roujin> heh
15:11:34  <Rubidium> I especially like the announcements in the train ;)
15:12:16  <Roujin> i like the jingles they play before the announcements ^^
15:12:29  <Roujin> or was that what you meant?
15:13:23  <Rubidium> in Japanese they say (at least with JR West) at which stations the train stops and how late
15:14:41  <Rubidium> they say it twice by the way and then a short version in English
15:15:30  <Roujin> late trains? never! :D no, joking, once we had a train that was late too..
15:15:48  <Roujin> but i think it's really rare
15:16:23  <Rubidium> "how late" in this context means "at what time the train arrives at the station"
15:16:40  <Roujin> aah, sorry
15:18:55  *** lolman [~lolman@static-87-102-80-68.karoo.KCOM.COM] has quit [Ping timeout: 480 seconds]
15:19:00  <Roujin> well I guess in JR West the announcements are a bit different than in JR East ^^ at least I can't remember them announcing how late the train stops
15:20:05  <Roujin> only that it will stop "shortly" (mamonaku)
15:20:15  <CIA-1> OpenTTD: glx * r15880 /trunk/src/company_gui.cpp: -Codechange: add an invisible widget on company manager face windows to position company manager face image
15:20:29  <Rubidium> they don't say it in the english version
15:21:08  <glx> Rubidium: it's "desu" ;)
15:21:38  <Rubidium> glx: most pronounce it as 'des'
15:21:44  <glx> true
15:21:50  <Roujin> the english version was always "we will soon make a brief stop at [station]. The next stop after [station] will be [nextstation]. andsomemoreiveforgotten"
15:21:59  <Rubidium> after all, they don't write quickel ol fastel either
15:22:11  *** lolman [~john@static-87-102-80-68.karoo.KCOM.COM] has joined #openttd
15:22:52  <Roujin> where does the myth that japanese have no "r" come from anyway? I'd rather say they have no "l"
15:23:17  <glx> they pronounce "r" like "l" ;)
15:23:31  <Roujin> but it's transcribed as r...
15:23:36  <petern_> ...
15:23:40  <petern_> other way around
15:23:48  <Roujin> ?
15:23:49  <Rubidium> Roujin: it's the sound between r and l
15:24:21  <glx> it's like a russian "r"
15:26:02  <Roujin> well maybe it depends on what's your mother tongue if you see it as a l or r. I stick with the transcription and see it as an r, even if the sound is inbetween l and r...
15:26:39  <Roujin> imo, it's not that far from an english r
15:27:01  <Roujin> at least worlds closer than from a german r ^^
15:32:26  *** KritiK [] has joined #openttd
15:36:03  <Roujin> so what did you do in kobe and hiroshima? also holidays?
15:39:13  *** NukeBuster [~wouter@] has left #openttd []
15:39:31  <Rubidium> study trip + vacation
15:39:50  <Rubidium> but I've covered more than just Hiroshima and the Osaka region
15:40:17  <petern_> hmm
15:41:47  <petern_> does TruncateString() not handle strings with newlines?
15:42:20  <petern_> the cost of refit text gets cropped in the wrong place
15:42:29  <Rubidium> it should, though it only truncates in width
15:42:59  <Rubidium> if you intend to use multiple lines somewhere you should use DrawStringMultiLine
15:43:38  <Roujin> well, we stayed mostly in shirakawa, which was fine for day trips to tokyo, and other places in touhoku (north east of honshu), but osaka, kyoto and the likes were too far away for day trips :(
15:45:00  *** maristo [] has joined #openttd
15:45:19  * Rubidium has been in Hiroshima, Himeji, Osaka, Kyoto, Nagoya, Tokyo, Nikko, Hokkaido, Hakata/Fukuoka, Nara and Nagasaki
15:45:47  <Roujin> so for the last four nights we decided to book hotels in the kantou region (3 in kyoto, last in nagoya because of the plane going from there)
15:45:54  <Roujin> that's an impressive list
15:46:08  *** NukeBuster [~NukeBuste@] has joined #openttd
15:46:59  <Roujin> but then again you had less time for each of them, I reckon
15:47:18  <Rubidium> was there for 6 weeks
15:47:34  <petern_> heh
15:47:35  <petern_> well
15:47:41  <petern_> the addition of the max width broke it :D
15:48:03  * petern_ adjusts
15:49:27  <petern_> hm
15:49:43  <Roujin> so you had approximately 3-4 days for each of the places you mentioned
15:50:46  *** fonsinchen [] has joined #openttd
15:50:51  <Rubidium> true, but most things are not that interesting that you can want to stay there for long
15:51:02  <Rubidium> and this way you see much more of the country
15:51:05  <Roujin> mmh
15:51:31  <Roujin> the 3 days we were in kyoto were too short for me though..
15:51:35  <Rubidium> freezing and snow in Hokkaido, 25-30 degrees C in Nagasaki
15:51:40  <Rubidium> the different styles of food
15:52:06  *** Sacro [~ben@static-87-102-39-137.karoo.KCOM.COM] has joined #openttd
15:52:24  <Rubidium> going to an outdoor onsen in the snow ;)
15:52:41  <Roujin> oh that's nice. haven't done that this time
15:53:10  <Rubidium> so you're a frequent flyer ;)
15:53:30  <Roujin> well, where we were was no snow anyway, but onsen in general..
15:53:55  <Roujin> no, it was my first time in japan, but there may well be a second time ;)
15:54:26  <Rubidium> what airline did you take?
15:55:02  <Roujin> lufthansa, they had a nice offer for early booking
15:55:19  <Roujin> the flight was cheaper than the JR pass :D :D
15:55:33  <fonsinchen> openttd: /home/alve/projekte/openttd/src/settings_gui.cpp:714: void SettingEntry::Init(byte, bool): Assertion `this->d.entry.setting != __null' failed.
15:55:40  <fonsinchen> I seem to recall what that was
15:55:44  <Rubidium> fonsinchen: go fix your patches
15:55:52  <Rubidium> Roujin: really? That's dead cheap
15:55:58  <fonsinchen> yes, I'm at it
15:55:58  *** Swallow [] has joined #openttd
15:56:10  <fonsinchen> but does anyone know that assert?
15:56:16  <Rubidium> yes
15:56:17  <fonsinchen> It has something to do with a setting
15:56:30  <Rubidium> it's when someone adds a setting to the gui but doesn't add it to the settings table
15:56:41  <fonsinchen> table/settings.h ?
15:56:48  <fonsinchen> IT's in there ...
15:57:15  <Rubidium> it's not
15:57:27  <fonsinchen> SDT_CONDVAR(GameSettings, economy.mcf_accuracy,                 SLE_UINT8, MCF_SV, SL_MAX_VERSION, 0, NG, 4,    1,     255, 1, STR_CONFIG_SETTING_MCF_ACCURACY,           NULL),
15:57:28  <Rubidium> as that's EXACTLY what this assertion is for
15:57:33  <fonsinchen> hmmm
15:57:35  <fonsinchen> strange
15:59:13  <Roujin> maybe a typo in the name?
15:59:39  <fonsinchen> no
15:59:46  <fonsinchen> eclipse finds all the references
15:59:55  <fonsinchen> probably no typo
16:05:04  <fonsinchen> p _settings in gdb:
16:05:09  <fonsinchen> ... {desc = {name = 0x75ae27 "economy.mcf_accuracy", def = 0x4, ...
16:05:14  <fonsinchen> so it IS there
16:07:07  <Swallow> is it spelt exactly the same in settings_gui.cpp?
16:07:21  <fonsinchen> I double checked
16:08:25  <fonsinchen> oh, the savegame version needs to be updated.
16:08:37  <fonsinchen> You may call me stupid
16:12:54  <Rubidium> show us the diff
16:19:16  <CIA-1> OpenTTD: yexo * r15881 /trunk/src/ai/api/ai_bridge.cpp: -Fix (r15875): add an explicit cast so some compilers stop complaining.
16:22:17  <fonsinchen> no need. It doesn't make much sense trying to access a config setting which will only be available in "future" saveload versions
16:22:36  <fonsinchen> I updated the saveload version and now everything is OK
16:28:41  *** lobster [~michielbi@] has joined #openttd
16:35:44  <CIA-1> OpenTTD: alberth * r15882 /trunk/src/genworld_gui.cpp: -Codechange: New widgets for generation progress window.
16:42:35  *** Alberth [] has left #openttd []
17:02:25  *** Biolunar [] has joined #openttd
17:03:03  *** nicfer [~Administr@] has joined #openttd
17:05:40  *** const86 [] has quit [Quit: I'll be back]
17:07:10  <petern_> i need a scripting language
17:09:32  *** lolman_ [~john@static-87-102-80-68.karoo.KCOM.COM] has joined #openttd
17:10:06  <Progman> php
17:10:09  <petern_> no
17:10:17  <petern_> okay, more specific
17:10:29  <petern_> i need an embeddable scripting language, to embed in c++
17:10:42  <yorick> python
17:10:58  <Progman> lua
17:11:39  <FauxFaux> lua
17:11:42  <yorick> python
17:11:47  <Roujin> lol, just found pikkas scrabble board, funny ^^
17:11:57  <FauxFaux> If only 'cos it's the only thing that has non-poo bindings to any language ever.
17:12:02  <petern_> Roujin, it's a good idea... get the technicalities working first...
17:12:21  <petern_> i've started with lua but not done much
17:12:22  <yorick> or try yorick
17:12:28  <petern_> so at least i'm in the right direction
17:12:31  <yorick>
17:12:37  <glx> squirrel ;)
17:13:00  <frosch123> nail
17:13:11  <FauxFaux> Heh yorick.
17:13:15  <petern_> :o
17:14:31  <petern_> i need to create some kind of gui interface to it as well :/
17:14:38  <yorick> then python
17:14:43  <petern_> no
17:14:47  <yorick> lua
17:14:56  <petern_> i suspect i've bitten off more than i can chew :o
17:16:41  *** lolman [~john@static-87-102-80-68.karoo.KCOM.COM] has quit [Ping timeout: 480 seconds]
17:17:33  *** lolman_ is now known as lolman
17:18:53  *** Dred_furst [] has joined #openttd
17:33:33  * petern_ boggles
17:39:15  <CIA-1> OpenTTD: peter1138 * r15883 /trunk/src/signs_gui.cpp: -Codechange: Make a widget enum for the sign list and use widget offsets instead of direct locations.
17:52:07  *** HerzogDeXtEr [~Flex@] has joined #openttd
17:59:00  *** HerzogDeXtEr1 [~Flex@] has quit [Ping timeout: 480 seconds]
18:00:32  *** Singaporekid [] has quit [Quit: orudge is taking a shower]
18:15:33  <Roujin> Rubidium: about our discussion about Japan earlier: my gf just came in and said that she's calculated the amount of money we've saved by using the three-week JR passes instead of paying for all the trains we used normally (only Shinkansen, not local lines like the Yamanote). It amounts to about 124.000 Yen for each of us.
18:17:51  <ameno> 120 000 Japanese yen = 920.162382 Euros
18:20:06  <petern_> not to be sniffed at
18:21:28  * Sacro sniffs
18:23:19  *** ecke [~ecke@] has joined #openttd
18:23:41  <lolman> Sacro: got a cold there? ;)
18:25:12  *** Nite_Owl [] has joined #openttd
18:25:31  <Nite_Owl> Hello all
18:25:50  <Sacro> lolman: yeah
18:30:15  <lolman> Damn
18:30:23  <Sacro> nah
18:30:25  <Sacro> just sniffles
18:30:29  <lolman> Hehe
18:30:30  <Sacro> also, whatcha doing for noms?
18:30:41  <lolman> Already got somethin', just need to warm it up
18:30:53  <Rubidium> Roujin: it depends very much on your travel plans ;)
18:37:34  *** Swallow [] has quit [Quit: ChatZilla 0.9.84 [Firefox 3.0.7/2009021910]]
18:38:49  *** Vikthor [] has quit [Quit: Leaving.]
18:43:06  *** [com]buster [] has joined #openttd
18:46:59  <Roujin> [quote from fs#2620]Belugas: It's not in trunk yet, since after some discussions, we agreed on a bigger better wider feature, based on this idea.[/quote] <--- anyone of the mentioned "we" care to tell me what was agreed on there?
18:47:51  <Yexo> "we" doesn't include me, but the point was to also make statistics for stations
18:47:55  <Yexo> so in a bit more general way
18:48:34  <Roujin> ahh
18:49:03  <Roujin> but isn't this somehow two different shoes?
18:49:43  <Roujin> since waypoints are waypoints and stations are, well, stations..
18:49:50  <Rubidium> why?
18:50:03  <nicfer> one question, I've loaded a savegame from a multiplayer game
18:50:08  <Rubidium> because trains are trains and road vehicles are road vehicles they can't share the same base?
18:50:11  <petern_> cheat menu
18:50:23  <Yexo> hehe @ petern_
18:50:43  <nicfer> is there a way to assign the other companies to an AI player?
18:51:09  <Yexo> no
18:51:15  <nicfer> oh
18:51:19  <Yexo> at least not without patching openttd
18:51:22  <nicfer> and is possible to delete them?
18:51:33  <Yexo> did you try reset_company in the console?
18:51:51  <nicfer> it tells me that it is only for network games
18:52:20  *** artart78 [] has quit [Ping timeout: 480 seconds]
18:52:38  *** Doink is now known as Andel
18:52:46  <welshdragon> we do need a way to delete companies from single player games
18:53:29  <Yexo> nicfer: you can try starting a local server, deleting those companies, save the game and load again in singleplayer
18:54:52  <welshdragon> but what if you didn't realise and started playing as single player?
18:55:32  <Yexo> welshdragon: then you can still save the game, load it in a server, delete those unwanted companies and load again in singleplayer
18:56:12  <welshdragon> Yexo: i don't think you understand.....
18:56:29  <welshdragon> 2 was your company when you were in multiplayer.....
18:57:09  <welshdragon> load the save as single player and are immediately in company 1 without realising.
18:57:10  <Yexo> so? If you really don't notice you're playing as a different company you have other problems
18:57:43  <welshdragon> Yexo: it's not that apparent for some of us (look at my avatar)
18:58:11  <petern_> there are no avatars on irc
18:58:20  *** artart78 [] has joined #openttd
18:58:21  <Yexo> in that case you can still enable buying shares and buy the other company
18:58:26  <Yexo> and cheat some money if you can't
18:59:02  *** MrFrans [] has joined #openttd
18:59:03  <welshdragon> hmm
18:59:11  * welshdragon points Yexo to
19:00:03  <petern_> it's a meaningless icon
19:00:06  <Yexo> welshdragon: I know
19:00:20  <Yexo> I read your thread in the off-topic (was it there?) section
19:00:25  <welshdragon> petern_: it's not meaningless at all
19:00:33  <welshdragon> how dare you
19:00:43  <welshdragon> Yexo: yes, it was
19:09:09  <CIA-1> OpenTTD: glx * r15884 /trunk/src/industry_gui.cpp: -Codechange: New widgets for the industry windows
19:12:34  *** [com]buster [] has quit [Quit: Operator, give me an exit]
19:12:43  <petern_> yumyumyum
19:12:53  <petern_> cheesey mash w/ leeks & mushroom
19:23:58  *** lewymati [] has joined #openttd
19:37:19  *** Singaporekid [] has joined #openttd
20:03:12  *** goodger [] has quit [Ping timeout: 480 seconds]
20:04:57  *** goodger [] has joined #openttd
20:04:57  *** goodger [] has quit []
20:05:56  *** goodger_ [] has joined #openttd
20:07:00  *** Singaporekid [] has quit [Quit: AAAH CART IS NOT MOVING ]
20:08:24  *** goodger_ is now known as goodger
20:19:39  *** Nite_Owl [] has quit [Quit: Read You Soon]
20:21:01  *** sigmund [] has joined #openttd
20:21:30  *** Roujin [] has quit [Quit: ChatZilla 0.9.84 [Firefox 3.0.7/2009021910]]
20:22:46  *** NukeBuster [~NukeBuste@] has quit [Quit:]
20:22:46  *** sigmund_ [] has quit [Ping timeout: 480 seconds]
20:23:48  <nicfer> when I load the MP savegame I start as a new company
20:23:58  <nicfer> if the others had been deleted
20:24:28  <nicfer> I changed player to my main company but the other company is still there
20:24:47  <nicfer> and I can't buy it because it's too new
20:28:38  *** Klanticus [~quassel@] has joined #openttd
20:29:13  <Yexo> use the cheat to switch companies and make it go bankrupt (just stop all vehicles and spend all money (deleting water is easy))
20:34:01  *** NukeBuster [~wouter@] has joined #openttd
20:35:21  <nicfer> lmao, the name of the president of the company I started is called 'C. W. McIntosh'
20:36:00  <goodger> ...and?
20:44:55  <fonsinchen> new version of cargo distribution, with your comments about threading and code style addressed:
20:45:17  <fonsinchen> and of course some things are still missing, so you may also ignore this
20:58:05  *** Yexo_ [] has joined #openttd
20:58:09  *** Yexo is now known as Guest584
20:58:09  *** Yexo_ is now known as Yexo
20:58:18  *** Guest584 [] has quit [Remote host closed the connection]
20:59:58  *** dnogDS [] has joined #openttd
21:01:56  <petern_> btw
21:02:09  <petern_> is there a reason we didn't use static window members?
21:02:47  *** NightKhaos [] has joined #openttd
21:04:10  <petern_> other than it doesn't work :o
21:04:27  *** dnogDS [] has quit [Quit: ClIRC - IRC client for Nintendo DS]
21:05:13  <petern_> oh, yes it does
21:05:21  *** const86 [] has joined #openttd
21:05:43  *** |Jeroen| [] has quit [Quit: oO]
21:12:28  *** NukeBuster [~wouter@] has left #openttd []
21:12:48  <petern_>
21:12:49  <petern_> ^ like that
21:15:35  <Yexo> I don't think that was ever considered as an option, but imo it looks fine
21:17:43  *** Mark [] has quit [Read error: Connection reset by peer]
21:26:17  *** lewymati [] has quit []
21:27:39  <fonsinchen> I have fixed the java style diagonal levelling patch, see FS#730
21:27:49  *** fonsinchen [] has quit [Quit: Leaving.]
21:29:16  <taisteluorava> huh, have played whole day openTTD in public server
21:29:44  <taisteluorava> have made so nice and working railway
21:38:03  <taisteluorava> i m playing in Maarten 2 server if some1 wanna check me out ^^
21:39:39  *** maristo [] has quit [Quit: УхПжу я Пт вас (xchat 2.4.5 ОлО старше)]
21:41:45  *** Klanticus [~quassel@] has quit [Remote host closed the connection]
21:41:47  *** pavel1269 [] has quit [Quit: - Pohodlné vykecávání. Odkudkoliv.]
21:49:37  *** SHRIKEE [] has joined #openttd
21:58:38  *** nicfer [~Administr@] has left #openttd []
22:02:34  *** mikl [~mikl@] has joined #openttd
22:09:46  *** tkjacobsen [] has quit [Remote host closed the connection]
22:17:57  *** Cybertinus [] has quit [Remote host closed the connection]
22:18:12  *** Cybertinus [] has joined #openttd
22:29:49  *** Mark [] has joined #openttd
22:32:47  *** NightKhaos [] has quit [Quit: Leaving...]
22:46:49  *** Biolunar [] has quit [Quit: gn8]
23:04:52  *** NightKhaos [] has joined #openttd
23:06:22  <Wolf01> 'night
23:06:30  *** Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
23:07:18  *** yorick [] has quit [Quit: Poef!]
23:38:40  *** SHRIKEE [] has quit [Ping timeout: 480 seconds]
23:41:51  *** Mark [] has quit [Quit:  HydraIRC -> <- Would you like to know more?]
23:50:35  *** Cybertinus [] has quit [Remote host closed the connection]

Powered by YARRSTE version: svn-trunk