Back to Home / #openttd / 2012 / 09 / Prev Day | Next Day
#openttd IRC Logs for 2012-09-14

---Logopened Fri Sep 14 00:00:53 2012
00:33-!-M1zera [] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
00:56-!-Eddi|zuHause [] has quit []
00:56-!-Eddi|zuHause [] has joined #openttd
01:04-!-KouDy [~KouDy@] has joined #openttd
01:22-!-Prof_Frink [~proffrink@] has quit [Ping timeout: 480 seconds]
01:38-!-DDR [] has quit [Ping timeout: 480 seconds]
01:59-!-DDR [] has joined #openttd
02:19-!-KouDy [~KouDy@] has quit [Quit: Leaving.]
02:29-!-Pixa [~pixa@] has joined #openttd
02:32-!-KingPixaIII [~pixa@] has joined #openttd
02:34-!-LordPixaII [] has quit [Ping timeout: 480 seconds]
02:36-!-argoneus [] has joined #openttd
02:38-!-Pixa [~pixa@] has quit [Ping timeout: 480 seconds]
02:40-!-Pixa [~pixa@] has joined #openttd
02:42-!-KingPixaIII [~pixa@] has quit [Ping timeout: 480 seconds]
02:45-!-LordPixaII [] has joined #openttd
02:49-!-KingPixaIII [~pixa@] has joined #openttd
02:50-!-Pixa [~pixa@] has quit [Ping timeout: 480 seconds]
02:54-!-LordPixaII [] has quit [Ping timeout: 480 seconds]
02:58-!-roadt_ [~roadt@] has joined #openttd
02:59-!-valhallasw [] has joined #openttd
03:01-!-roadt [~roadt@] has quit [Read error: Operation timed out]
03:07-!-fjb [~frank@] has joined #openttd
03:10-!-argoneus [] has quit [Ping timeout: 480 seconds]
03:26<pschulz01>Greetings.. other than looking at the code (which I suspect I will need to do) is there any documentation on the savefile format?
03:27<Supercheese>Well, the wiki page is sparse:
03:28<pschulz01>Supercheese: Yup!
03:28<Supercheese>that may be of more interest
03:28<Supercheese>still sparse
03:29-!-fjb [~frank@] has quit [Ping timeout: 480 seconds]
03:29<Supercheese>ignore the action=edit
03:29<Supercheese>dunno why that got into the link
03:29<pschulz01>Supercheese: :-) I'm now looking for the Doxyen doco.
03:31-!-valhallasw [] has quit [Ping timeout: 480 seconds]
03:32<planetmaker>pschulz01, if your intention is to make a savegame editor or so: savegame chunks change without notice
03:33<planetmaker>you currently will have to implement well over 100 versions
03:33<pschulz01>planetmaker: No.. I would like to run AI's and then query the savegame for data.
03:33<Supercheese>The fellow seeking to implement OTTD in a browser has some stuff
03:34-!-perk11 [~perk11@] has joined #openttd
03:34<Supercheese>Dunno what to make of it
03:34<Supercheese>old info
03:34<pschulz01>Supercheese: Ahha.. that might well be what I'm after.
03:34<Supercheese>btw, I just Googled for "ottd save game" to find that :P
03:35<pschulz01>Supercheese: .. but I can look at the code
03:36<planetmaker>pschulz01, you cannot rely on the presence of any savegame really
03:37<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
03:37<pschulz01>planetmaker: I'll be using a specific version of openttd
03:38<pschulz01>planetmaker: Ok. I will look at th NoAI API.
03:38<pschulz01>planetmaker: That mae be useful for dumping data for a 'game in progress'
03:39<pschulz01>can AI
03:39<pschulz01>can AI's be spectators?
03: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
03:39<planetmaker>A savegame may be well outdated already
03:39<planetmaker>AIs are not spectators
03:40<planetmaker>AIs are players and they're meant to be that
03:40<pschulz01>planetmaker: ok.
03:40<planetmaker>And "dumping data" is not really useful as well - as a savegame qua definition is "all the data you can want"
03:41<planetmaker>what is actually your real intention?
03:41<planetmaker>"dumping data" is nothing you do without reason
03:41<planetmaker>it's at best a means to achieve another goal
03:42<pschulz01>planetmaker: I want to use OpenTTD to generate traffic network data that I can use in another program.
03:42<pschulz01>planetmaker: *blink*
03:45-!-pschulz01 [~paul@] has left #openttd []
03:46-!-DDR_ [] has joined #openttd
03:47-!-Goldie [] has joined #openttd
03:48-!-Goldie [] has quit []
03:49-!-sla_ro|master [slaco@] has joined #openttd
03:51-!-DDR [] has quit [Ping timeout: 480 seconds]
03:52-!-DDR_ is now known as DDR
03:53-!-valhallasw [] has joined #openttd
03:54<planetmaker>ah well, no patience :-)
04:10-!-Nat_aS [] has quit [Remote host closed the connection]
04:10-!-Nat_aS [] has joined #openttd
04:13<Supercheese>good night
04:13-!-pugi [] has joined #openttd
04:13<Supercheese>valete omnes
04:14-!-Supercheese [~Password4@] has quit [Quit: ChatZilla [Firefox 15.0.1/20120905151427]]
04:19<Terkhen>good morning
04:34-!-APTX [APTX@2001:470:1f0b:1a9d:240:63ff:fefb:5994] has quit [Quit: No Ping reply in 180 seconds.]
04:34-!-APTX [APTX@2001:470:1f0b:1a9d:240:63ff:fefb:5994] has joined #openttd
04:42-!-HerzogDeXtEr [~Flex@] has joined #openttd
04:48-!-HerzogDeXtEr1 [] has quit [Ping timeout: 480 seconds]
04:50-!-JIos [] has joined #openttd
04:50-!-Devroush [] has joined #openttd
05:06-!-KenjiE20 [] has quit [Remote host closed the connection]
05:06-!-KenjiE20 [] has joined #openttd
05:21-!-DDR [] has quit [Quit: for the love of god this is not safe for work]
05:35-!-KouDy [~KouDy@] has joined #openttd
05:47-!-CornishPasty [] has quit [Remote host closed the connection]
06:05-!-BenTrein [] has joined #openttd
06:08-!-CornishPasty [uid158@2a01:4f8:121:3e4:6667:6667:6667:9e] has joined #openttd
06:31-!-newbie [] has joined #openttd
06:33-!-newbie is now known as Der_Herr
06:33<Der_Herr>where do i have to upload/post a patch concerning heightmap loading via console?
06:35<planetmaker>supposedly I'd go first for our development (sub)forum at
06:35<planetmaker>if you believe that it's finished, you could go and suggest it at our issue tracker at
06:36<planetmaker>mind the coding style then :-)
06:36<Der_Herr>it refers to a feature wish in your bug tracking system
06:36<Der_Herr>thats why i ask
06:37<planetmaker>if you write a patch concerning a ticket... it might be prudent to reply with the patch in that thread there indeed
06:38<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
06:38<planetmaker>(which is ok)
06:39<Der_Herr>so it would be best if i post it as answer to the ticket and open a new forum thread?
06:45<planetmaker>that's what I'd do, yes
06:47-!-fjb [] has joined #openttd
06:59<planetmaker>hi fjb
07:00-!-KenjiE20 [] has quit [Read error: Connection reset by peer]
07:01-!-KenjiE20 [] has joined #openttd
07:13-!-perk11 [~perk11@] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
07:45-!-JIos [] has quit [Remote host closed the connection]
07:52-!-KouDy [~KouDy@] has quit [Quit: Leaving.]
08:00<Der_Herr>I posted: and
08:04-!-Snail [] has joined #openttd
08:05-!-BenTrein [] has quit [Remote host closed the connection]
08:05-!-KouDy [~KouDy@] has joined #openttd
08:05-!-KouDy [~KouDy@] has quit []
08:14-!-roboboy [] has joined #openttd
08:21-!-Frankr [] has joined #openttd
08:29-!-Snail [] has quit [Quit: Snail]
08:33-!-XeryusTC [] has quit [Quit: So long, and thanks for all the fish]
08:33-!-XeryusTC_ is now known as XeryusTC
09:06-!-argoneus [] has joined #openttd
09:11-!-Bad_Brett [] has joined #openttd
09:15-!-Elukka [] has joined #openttd
09:31-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
09:36-!-Bad_Brett [] has quit []
09:37-!-TheMask96 [] has joined #openttd
09:50-!-Frankr [] has quit [Ping timeout: 480 seconds]
09:50-!-KopjeKoffie [] has quit [Quit: Leaving.]
10:06-!-Prof_Frink [~proffrink@] has joined #openttd
10:22-!-Rhamphoryncus [] has quit [Quit: Rhamphoryncus]
10:24-!-BenTrein [] has joined #openttd
10:30-!-M1zera [] has joined #openttd
10:39-!-keoz [] has joined #openttd
10:43-!-cyph3r [] has joined #openttd
10:43-!-roboboy [] has quit [Ping timeout: 480 seconds]
10:51-!-Moluma [] has joined #openttd
10:52-!-Moluma [] has quit []
10:58-!-M1zera [] has quit [Read error: Connection reset by peer]
11:32-!-KouDy [~KouDy@] has joined #openttd
11:33-!-valhallasw [] has quit [Ping timeout: 480 seconds]
11:38-!-KouDy1 [~KouDy@] has joined #openttd
11:46-!-keoz [] has quit [Quit: keoz]
11:49-!-KouDy [~KouDy@] has quit [Quit: Leaving.]
11:55-!-valhallasw [] has joined #openttd
11:57-!-CIA-1 [] has joined #openttd
12:04<@Belugas>arg... got to delete a song... not enough space on phone card :(
12:07<Eddi|zuHause>get a bigger card!
12:10-!-keoz [] has joined #openttd
12:21-!-CIA-1 [] has quit [Ping timeout: 480 seconds]
12:21<planetmaker>ver nice comment, peter1138 :-)
12:28-!-frosch123 [] has joined #openttd
12:33-!-valhallasw [] has quit [Ping timeout: 480 seconds]
12:35-!-FLHerne [] has joined #openttd
12:40-!-Alberth [~hat3@2001:980:272e:1:21a:92ff:fe55:fc8d] has joined #openttd
12:40-!-mode/#openttd [+o Alberth] by ChanServ
12:47<planetmaker>hi Alberth
12:47<@Alberth>hi, I already wondered where everyone is :)
12:49-!-KouDy [~KouDy@] has joined #openttd
12:49<planetmaker>blown away by the winds, if I look out of my window
12:51<@Alberth>oh, it's not windy here, just very dark
12:54-!-KouDy1 [~KouDy@] has quit [Ping timeout: 480 seconds]
13:02<fjb>Moin Alberth
13:02*fjb is still here.
13:03<@Alberth>so I see :) moin fjb
13:10-!-roadt_ [~roadt@] has quit [Ping timeout: 480 seconds]
13:12-!-Hyronymus [] has joined #openttd
13:25-!-frosch123 [] has quit [Remote host closed the connection]
13:29-!-KritiK [] has joined #openttd
13:35-!-Wolf01 [] has joined #openttd
13:37-!-valhallasw [] has joined #openttd
13:45-!-cyph3r [] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
13:52-!-Knogle [] has joined #openttd
13:55-!-Progman [] has joined #openttd
14:20-!-Markavian [] has joined #openttd
14:40-!-DDR [] has joined #openttd
14:52-!-kais58_ [] has joined #openttd
14:52-!-BenTrein [] has quit [Quit: Leaving]
14:54-!-kais58__ [] has quit [Ping timeout: 480 seconds]
14:55-!-glx [glx@2a01:e35:2f59:c7c0:11da:43ef:b97:6899] has joined #openttd
14:55-!-mode/#openttd [+v glx] by ChanServ
15:02-!-Olino [] has joined #openttd
15:02-!-Olino [] has quit []
15:09-!-Frankr [] has joined #openttd
15:11-!-keoz [] has quit [Quit: keoz]
15:16-!-M1zera [] has joined #openttd
15:17-!-Snail [~snail@] has joined #openttd
15:20-!-Pixa [] has joined #openttd
15:22-!-KingPixaIII [~pixa@] has quit [Remote host closed the connection]
15:36-!-Muxy [] has quit [Read error: Connection reset by peer]
15:36-!-Alberth [~hat3@2001:980:272e:1:21a:92ff:fe55:fc8d] has left #openttd []
15:38-!-Muxy [~Muxy@] has joined #openttd
15:43-!-Progman [] has quit [Remote host closed the connection]
15:49-!-Muxy [~Muxy@] has quit [Remote host closed the connection]
15:54-!-flaa [~flaa@] has joined #openttd
15:55-!-CIA-1 [] has joined #openttd
15:58-!-Muxy [~Muxy@] has joined #openttd
15:59<Der_Herr>approx when can i expect some response to my posted patch?
16:08<Yexo>Der_Herr: whenever someone has time to review it
16:09<Yexo>some comments: please check your comments for correctness / english: "Get heightmap file informations. It Only considers given paths."
16:09<Yexo>GetFiosHeightmapItem <- I don't think that function belongs in console_cmds.cpp but rather in fios.cpp or something similar
16:10<Yexo>+DEF_CONSOLE_CMD(ConNewHeightmapGame) <- comments above that are // style, not /** style like required
16:10<Yexo>IConsoleHelp("Start a new gameusing a heightmap <- missing space
16:10<Yexo>two lines further down the lines in the if-block are not indented properly
16:11<Yexo>+ //StartNewHeightMapGameWithoutGUI((argc == 2) ? <- don't add commented-out code
16:11<Yexo>+ IConsoleCmdRegister("newheightmapgame", ConNewHeightmapGame); <- only tabs at the beginning of the line, use spaces in all other places
16:13<Yexo>how does this function behave when you're in the scenario editor?
16:26<Snail>Speaking of proposals... How about some response to adding a different way of counting in randomaction2 type84? :)
16:27<Yexo>I'm not sure if that's the best way
16:27<Yexo>ask frosch tomorrow, he had some ideas about it I think
16:28<Snail>An alternative would be to implement var5F through var61
16:30<Snail>I'd be happy with either solution
16:30-!-flaa [~flaa@] has quit [Quit: leaving]
16:43-!-roboboy [] has joined #openttd
17:33<Terkhen>good night
17:41<Der_Herr>fixed the patch, the command behaves fine in the scenario editor
17:42<Yexo>define "behaves fine"
17:42<Yexo>does it load the heightmap in the scenario editor or does it start a new game?
17:42<Der_Herr>it loads the heightmap
17:42<Yexo>in the editor or not?
17:42<Der_Herr>in the editor
17:43<Yexo>that's not what I'd expect "newheightmapgame" to do
17:43<Yexo>I think "load_heightmap" would be a better name
17:45<Yexo>also it doesn't look like any error is printed when it fails to load the specified heightmap (file found, but invalid)
17:45<Yexo>or is that already hidden elsewhere in the code?
17:46<Der_Herr>i kept the GetFiosHeightmapItem in the console_comds.cpp because it is derived from a similar function (GetFiosItem) in the same file
17:47<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)
17:50<Der_Herr>if the file exists but is not valid, an error message is shown from somewhere else
17:50<Der_Herr>probably the real heightmap loading
17:50<Der_Herr>i tested it with an empty bitmap file
17:51<Yexo>ok, good :)
17:51<Yexo>it's getting too late now and I haven't tested it yet
17:51<Yexo>will look at it again later
17:52<Yexo>good night all
17:52<Der_Herr>thats fine thank you
17:56-!-sla_ro|master [slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
18:17-!-Progman [] has joined #openttd
18:22-!-pjpe [] has joined #openttd
18:23-!-pjpe [] has left #openttd []
18:27-!-Snail [~snail@] has quit [Quit: Colloquy for iPhone -]
18:32-!-KritiK [] has quit [Quit: Leaving]
18:43-!-roboboy [] has quit [Ping timeout: 480 seconds]
18:58-!-Kylie [] has joined #openttd
18:58<Kylie>wow fast typer i am lol
18:58<planetmaker>yes, congratulations
18:59<Kylie>but seriously
18:59<Kylie>sup all
19:00-!-KouDy [~KouDy@] has quit [Quit: Leaving.]
19:21<Kylie>so um
19:22-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
19:23<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.
19:23<Kylie>what to do?
19:24-!-Der_Herr [] has quit [Read error: Connection reset by peer]
19:25<Kylie>i would require 5 more trains
19:31-!-Supercheese [~Password4@] has joined #openttd
19:40-!-Devroush [] has quit []
19:40-!-planetmaker [~planetmak@] has quit [Remote host closed the connection]
19:41-!-Osai^2 [~Osai@] has quit [Ping timeout: 480 seconds]
19:41-!-^Spike^ [~Spike@] has quit [Remote host closed the connection]
19:41-!-SmatZ- [~smatz@] has quit [Ping timeout: 480 seconds]
19:42-!-Yexo [~Yexo@] has quit [Ping timeout: 480 seconds]
19:43-!-Hirundo [~Hirundo@] has quit [Ping timeout: 480 seconds]
19:43-!-V453000 [] has quit [Ping timeout: 480 seconds]
19:43-!-avdg [~avdg@] has quit [Ping timeout: 480 seconds]
19:44-!-tneo- [~tneo@] has quit [Ping timeout: 480 seconds]
19:44-!-Terkhen [~Terkhen@] has quit [Ping timeout: 480 seconds]
19:44-!-XeryusTC [] has quit [Ping timeout: 480 seconds]
19:47-!-Beardie [] has joined #openttd
19:51-!-Progman [] has quit [Ping timeout: 480 seconds]
20:00-!-roadt_ [~roadt@] has joined #openttd
20:14-!-keoz [] has joined #openttd
20:17<Supercheese>What foolishness is this, Visual C++ Express wants me to register to continue using
20:18<Supercheese>yeah right, like THAT's gonna happen
20:27-!-ccfreak2k [] has quit [Remote host closed the connection]
20:35-!-fjb is now known as Guest7117
20:35-!-fjb [] has joined #openttd
20:39-!-FLHerne [] has left #openttd []
20:42-!-Guest7117 [] has quit [Ping timeout: 480 seconds]
20:45-!-FLHerne [] has joined #openttd
20:46-!-ccfreak2k [] has joined #openttd
20:48-!-FLHerne [] has left #openttd []
20:49-!-valhallasw [] has quit [Ping timeout: 480 seconds]
20:51-!-keoz [] has quit [Quit: keoz]
20:53-!-fjb [] has quit [Ping timeout: 480 seconds]
20:59-!-DDR_ [] has joined #openttd
21:00-!-fjb [] has joined #openttd
21:01<Kylie>this ai is being problematic
21:01<Kylie>it made a coal to power plant trip with trucks
21:02<Kylie>the peak capacity was such that it would require almost 70 trucks to even satisfy it
21:02<Kylie>plus lots more with the relative distance
21:02<Kylie>(what, 10 more? i'm not sure)
21:04-!-DDR [] has quit [Ping timeout: 480 seconds]
21:05-!-DDR_ is now known as DDR
21:05<Kylie>60 tiles at a max speed of 112 km/h
21:06<Eddi|zuHause>the equation <num vehicles>*<vehicle capacity>*<roundtrip time (ticks)> = <production per cycle>/256 must be satisfied
21:07<Eddi|zuHause>err, one of the * must be a /
21:07<Kylie>I doubt this AI is doing that really
21:08<Kylie>how do i calculate the <prod per cycle>
21:08<Eddi|zuHause>an industry does 8 or 9 cycles per month
21:09<Eddi|zuHause>for default industries, the lowest is 4 per cycle, so minimum of 32/36 production
21:10<Kylie>that sounds like a small number
21:10<Eddi|zuHause>it is
21:12<Eddi|zuHause>the highest is 255 per cycle for primary industries
21:12<Eddi|zuHause>which is 2000something
21:12<Eddi|zuHause>per month
21:15<Eddi|zuHause>anyway, 2 (roundtrip) times 60 tiles times 16 steps per tile times 256 substeps divided by 112 speed
21:16<Eddi|zuHause>@ 2*60*16*256/112
21:16<Eddi|zuHause>@calc 2*60*16*256/112
21:16<@DorpsGek>Eddi|zuHause: 4388.57142857
21:16<Kylie>oh fuck
21:16<Eddi|zuHause>@calc 2*60*16/112
21:16<@DorpsGek>Eddi|zuHause: 17.1428571429
21:17<Eddi|zuHause>means the vehicle capacity must be 17 times the production per cycle
21:17<Kylie>oh my god
21:17-!-fjb [] has quit [Ping timeout: 480 seconds]
21:19-!-Beardie [] has quit [Quit: ChatZilla [Firefox 15.0.1/20120905151427]]
21:19<Eddi|zuHause>so if the mine produces 128/144 per month, that makes 16 per cycle
21:19<Eddi|zuHause>if your vehicle carries 20t
21:19<Eddi|zuHause>then you need
21:19<Eddi|zuHause>@calc 16*17/20
21:19<@DorpsGek>Eddi|zuHause: 13.6
21:20<Eddi|zuHause>14 trucks
21:20<Kylie>this ai needs to use trains
21:20<Eddi|zuHause>plus a bit for loading time
21:20<Eddi|zuHause>and acceleration
21:20<Eddi|zuHause>which we did not consider in the round trip calculation
21:22<Kylie>thx for the math
21:24-!-glx [glx@2a01:e35:2f59:c7c0:11da:43ef:b97:6899] has quit [Quit: bye]
21:28*Kylie earns > mil income / year
21:28*Kylie earns > 20 mil income / year
21:30<Eddi|zuHause>20 thousand is not a large number
21:34-!-Nat_aS [] has quit [Quit: Konversation terminated!]
21:34-!-Nat_aS [] has joined #openttd
21:35-!-Frankr [] has quit [Quit: ChatZilla [Firefox 15.0.1/20120905151427]]
22:06-!-tokai|mdlx [] has joined #openttd
22:07-!-Snail [] has joined #openttd
22:08-!-LordPixaII [~pixa@] has joined #openttd
22:09-!-tokai|noir [] has quit [Read error: Operation timed out]
22:13-!-Pixa [] has quit [Ping timeout: 480 seconds]
22:13-!-Pixa [~pixa@] has joined #openttd
22:15-!-roadt_ [~roadt@] has quit [Ping timeout: 480 seconds]
22:17-!-LordPixaII [~pixa@] has quit [Ping timeout: 480 seconds]
22:25-!-argoneus [] has quit [Ping timeout: 480 seconds]
22:25-!-DDR_ [] has joined #openttd
22:30-!-DDR [] has quit [Ping timeout: 480 seconds]
22:30-!-DDR_ is now known as DDR
22:59-!-pugi_ [] has joined #openttd
23:05-!-pugi [] has quit [Ping timeout: 480 seconds]
23:05-!-pugi_ is now known as pugi
23:23-!-Elukka [] has quit []
23:31-!-Snail [] has quit [Quit: Snail]
23:36-!-pugi [] has quit []
---Logclosed Sat Sep 15 00:00:35 2012