IRC logs for #openttd on OFTC at 2012-09-14
⏴ go to previous day
00:15:22 <Bad_Brett> that would be pretty cool
00:17:49 *** KopjeKoffie has joined #openttd
00:19:06 <Bad_Brett> preview of what you could do with eddi's patch. and keep in mind i'm only using 4 animation frames here:
00:26:35 <Bad_Brett> it looked rather ridiculous without the patch
00:27:42 <Bad_Brett> now it's time to try out supercheese subway mod!
00:32:12 <Bad_Brett> hmm... i seem to be encountering an error... for some reason i can't set any waypoints
00:32:31 <Bad_Brett> the game tells me that the subway can't reach the station
00:32:53 <Supercheese> also: you have to use drivethrough stops
00:33:00 <Supercheese> not terminal TTD style stops
00:33:02 <Bad_Brett> i just discovered that
00:33:13 <Supercheese> I mentioned that somewhere in the wall of text thread ;)
00:36:27 <Bad_Brett> since the cargo capacity is so big the roads shouldn't be congested
00:36:52 <Supercheese> if the cargo capacity is too large for you, the parameter changes that to more UKRS-y levels
00:38:25 <Bad_Brett> alright... this may seem like a stupid question, but how do i get a train with 8 wagons?
00:38:42 <Supercheese> send to a depot if not there already
00:38:51 <Supercheese> and use the refit option
00:39:07 <Bad_Brett> oh yeah... that's pretty clever
00:39:30 <Bad_Brett> that's why you wanted the option to "sell" wagons
00:40:15 <Bad_Brett> and it works as well, really cool
00:55:39 <Bad_Brett> it would be cool to build a subway line to the airport... so that you don't need 10 buses everytime a plane lands
01:02:48 <Bad_Brett> sounds exciting... maybe i should actually _play_ the game for once... :D
02:06:37 *** tokai|noir has joined #openttd
02:06:37 *** ChanServ sets mode: +v tokai|noir
03:37:16 *** pschulz01 has joined #openttd
04:56:17 *** Eddi|zuHause has joined #openttd
06:32:43 *** KingPixaIII has joined #openttd
06:36:30 *** argoneus has joined #openttd
06:45:54 *** LordPixaII has joined #openttd
06:49:18 *** KingPixaIII has joined #openttd
06:59:01 *** valhallasw has joined #openttd
07:26:23 <pschulz01> Greetings.. other than looking at the code (which I suspect I will need to do) is there any documentation on the savefile format?
07:28:18 <Supercheese> that may be of more interest
07:29:32 <Supercheese> ignore the action=edit
07:29:36 <Supercheese> dunno why that got into the link
07:29:52 <pschulz01> Supercheese: :-) I'm now looking for the Doxyen doco.
07:32:49 <planetmaker> pschulz01, if your intention is to make a savegame editor or so: savegame chunks change without notice
07:33:09 <planetmaker> you currently will have to implement well over 100 versions
07:33:24 <pschulz01> planetmaker: No.. I would like to run AI's and then query the savegame for data.
07:33:33 <Supercheese> The fellow seeking to implement OTTD in a browser has some stuff
07:34:09 <Supercheese> Dunno what to make of it
07:34:27 <pschulz01> Supercheese: Ahha.. that might well be what I'm after.
07:34:54 <Supercheese> btw, I just Googled for "ottd save game" to find that :P
07:35:05 <pschulz01> Supercheese: .. but I can look at the code
07:36:39 <planetmaker> pschulz01, you cannot rely on the presence of any savegame really
07:37:21 <planetmaker> there is some way via the NoAI API to save some data in the game and load it again - which I strongly suggest to use
07:37:45 <pschulz01> planetmaker: I'll be using a specific version of openttd
07:38:25 <pschulz01> planetmaker: Ok. I will look at th NoAI API.
07:38:55 <pschulz01> planetmaker: That mae be useful for dumping data for a 'game in progress'
07:39:29 <pschulz01> can AI's be spectators?
07:39:39 <planetmaker> pschulz01, if you run an AI you don't need to query any savegame as the game actually is running. Thus use the normal accessors
07:39:47 <planetmaker> A savegame may be well outdated already
07:39:51 <planetmaker> AIs are not spectators
07:40:09 <planetmaker> AIs are players and they're meant to be that
07:40:52 <planetmaker> And "dumping data" is not really useful as well - as a savegame qua definition is "all the data you can want"
07:41:19 <planetmaker> what is actually your real intention?
07:41:27 <planetmaker> "dumping data" is nothing you do without reason
07:41:40 <planetmaker> it's at best a means to achieve another goal
07:42:36 <pschulz01> planetmaker: I want to use OpenTTD to generate traffic network data that I can use in another program.
07:42:57 <pschulz01> planetmaker: *blink*
07:45:28 *** pschulz01 has left #openttd
07:49:00 *** sla_ro|master has joined #openttd
07:53:32 *** valhallasw has joined #openttd
07:54:08 <planetmaker> ah well, no patience :-)
08:42:04 *** HerzogDeXtEr has joined #openttd
08:50:43 *** Devroush has joined #openttd
09:06:34 *** KenjiE20 has joined #openttd
10:05:40 *** BenTrein has joined #openttd
10:08:51 *** CornishPasty has joined #openttd
10:33:05 *** newbie is now known as Der_Herr
10:33:36 <Der_Herr> where do i have to upload/post a patch concerning heightmap loading via console?
10:35:10 <planetmaker> supposedly I'd go first for our development (sub)forum at tt-forums.net
10:35:56 <planetmaker> if you believe that it's finished, you could go and suggest it at our issue tracker at bugs.openttd.org
10:36:27 <planetmaker> mind the coding style then :-)
10:37:30 <planetmaker> if you write a patch concerning a ticket... it might be prudent to reply with the patch in that thread there indeed
10:38:52 <planetmaker> discussing in forums sometimes is still (or additionally) a good idea. More people seem to read forums while the bug tracker often is only noticed by us devs and few other people
10:39:52 <Der_Herr> so it would be best if i post it as answer to the ticket and open a new forum thread?
10:45:08 <planetmaker> that's what I'd do, yes
11:01:16 *** KenjiE20 has joined #openttd
12:14:44 *** roboboy has joined #openttd
12:33:43 *** XeryusTC_ is now known as XeryusTC
13:06:52 *** argoneus has joined #openttd
13:11:03 *** Bad_Brett has joined #openttd
13:37:00 *** TheMask96 has joined #openttd
14:06:52 *** Prof_Frink has joined #openttd
14:24:00 *** BenTrein has joined #openttd
15:55:25 *** valhallasw has joined #openttd
16:04:45 <Belugas> arg... got to delete a song... not enough space on phone card :(
16:07:53 <Eddi|zuHause> get a bigger card!
16:21:28 <planetmaker> ver nice comment, peter1138 :-)
16:28:15 *** frosch123 has joined #openttd
16:35:04 *** FLHerne has joined #openttd
16:40:22 *** Alberth has joined #openttd
16:40:22 *** ChanServ sets mode: +o Alberth
16:47:41 <Alberth> hi, I already wondered where everyone is :)
16:49:59 <planetmaker> blown away by the winds, if I look out of my window
16:51:29 <Alberth> oh, it's not windy here, just very dark
17:12:20 *** Hyronymus has joined #openttd
17:37:43 *** valhallasw has joined #openttd
17:55:08 *** Progman has joined #openttd
18:20:03 *** Markavian has joined #openttd
18:52:15 *** kais58_ has joined #openttd
19:59:57 <Der_Herr> approx when can i expect some response to my posted patch?
20:08:31 <Yexo> Der_Herr: whenever someone has time to review it
20:09:12 <Yexo> some comments: please check your comments for correctness / english: "Get heightmap file informations. It Only considers given paths."
20:09:44 <Yexo> GetFiosHeightmapItem <- I don't think that function belongs in console_cmds.cpp but rather in fios.cpp or something similar
20:10:14 <Yexo> +DEF_CONSOLE_CMD(ConNewHeightmapGame) <- comments above that are // style, not /** style like required
20:10:28 <Yexo> IConsoleHelp("Start a new gameusing a heightmap <- missing space
20:10:51 <Yexo> two lines further down the lines in the if-block are not indented properly
20:11:21 <Yexo> + //StartNewHeightMapGameWithoutGUI((argc == 2) ? <- don't add commented-out code
20:11:40 <Yexo> + IConsoleCmdRegister("newheightmapgame", ConNewHeightmapGame); <- only tabs at the beginning of the line, use spaces in all other places
20:13:36 <Yexo> how does this function behave when you're in the scenario editor?
20:26:05 <Snail> Speaking of proposals... How about some response to adding a different way of counting in randomaction2 type84? :)
20:27:31 <Yexo> I'm not sure if that's the best way
20:27:53 <Yexo> ask frosch tomorrow, he had some ideas about it I think
20:28:13 <Snail> An alternative would be to implement var5F through var61
20:30:09 <Snail> I'd be happy with either solution
20:43:44 *** roboboy has joined #openttd
21:41:46 <Der_Herr> fixed the patch, the command behaves fine in the scenario editor
21:42:28 <Yexo> does it load the heightmap in the scenario editor or does it start a new game?
21:42:35 <Der_Herr> it loads the heightmap
21:43:19 <Yexo> that's not what I'd expect "newheightmapgame" to do
21:43:39 <Yexo> I think "load_heightmap" would be a better name
21:45:10 <Yexo> also it doesn't look like any error is printed when it fails to load the specified heightmap (file found, but invalid)
21:45:19 <Yexo> or is that already hidden elsewhere in the code?
21:46:13 <Der_Herr> i kept the GetFiosHeightmapItem in the console_comds.cpp because it is derived from a similar function (GetFiosItem) in the same file
21:47:16 <Yexo> ok, in that case it's probably fine (or both should be moved, but that'd be outside of the scope of this patch)
21:50:04 <Der_Herr> if the file exists but is not valid, an error message is shown from somewhere else
21:50:12 <Der_Herr> probably the real heightmap loading
21:50:44 <Der_Herr> i tested it with an empty bitmap file
21:51:47 <Yexo> it's getting too late now and I haven't tested it yet
21:51:58 <Yexo> will look at it again later
21:52:12 <Der_Herr> thats fine thank you
22:17:38 *** Progman has joined #openttd
22:58:27 <Kylie> wow fast typer i am lol
22:58:54 <planetmaker> yes, congratulations
23:23:41 <Kylie> so um. this wood factoiry has 2500 tonnes of wood waiting. the two trains only take ouyt 740 tonnes of wood to transport to goods.
23:25:05 <Kylie> i would require 5 more trains
23:31:25 *** Supercheese has joined #openttd
23:47:12 *** Beardie has joined #openttd
continue to next day ⏵