Config
Log for #openttd.dev on 27th December 2012:
Times are UTC Toggle Colours
04:42:25  *** Supercheese has quit IRC
04:49:07  *** Supercheese has joined #openttd.dev
08:39:20  *** Zuu has joined #openttd.dev
08:39:20  *** ChanServ sets mode: +v Zuu
08:40:53  *** andythenorth has joined #openttd.dev
08:40:53  *** ChanServ sets mode: +v andythenorth
09:02:13  *** andythenorth has quit IRC
09:14:33  *** andythenorth has joined #openttd.dev
09:14:33  *** ChanServ sets mode: +v andythenorth
09:28:18  *** frosch123 has joined #openttd.dev
09:28:19  *** ChanServ sets mode: +v frosch123
10:12:24  *** andythenorth has quit IRC
10:12:31  *** andythenorth has joined #openttd.dev
10:12:32  *** ChanServ sets mode: +v andythenorth
10:21:45  <frosch123> bye
10:21:50  <frosch123> see you next year, 2nd or 3rd :)
10:21:57  *** frosch123 has quit IRC
10:49:58  *** Zuu has quit IRC
11:08:47  *** Supercheese has quit IRC
11:34:52  *** andythenorth is now known as Guest2702
11:34:52  *** andythenorth has joined #openttd.dev
11:34:52  *** ChanServ sets mode: +v andythenorth
11:34:53  *** Guest2702 has quit IRC
12:48:47  *** Vinnie_nl has joined #openttd.dev
12:50:02  *** Vinnie_nl has left #openttd.dev
13:29:58  *** Alberth has joined #openttd.dev
13:29:58  *** ChanServ sets mode: +v Alberth
13:34:18  *** DorpsGek` has joined #openttd.dev
13:34:19  *** ChanServ sets mode: +v DorpsGek`
13:34:53  *** orudge` has joined #openttd.dev
13:35:01  *** DorpsGek has quit IRC
13:35:01  *** orudge has quit IRC
13:35:01  *** planetmaker has quit IRC
13:35:01  *** welshdragon has quit IRC
13:35:01  *** Belugas has quit IRC
13:35:08  *** DorpsGek` is now known as DorpsGek
13:37:28  *** planetmaker has joined #openttd.dev
13:37:28  *** welshdragon has joined #openttd.dev
13:37:28  *** Belugas has joined #openttd.dev
13:37:28  *** graviton.oftc.net sets mode: +vv planetmaker Belugas
13:37:36  *** Belugas has quit IRC
13:43:12  *** Belugas has joined #openttd.dev
13:43:12  *** ChanServ sets mode: +v Belugas
13:45:16  *** planetmaker has quit IRC
13:45:16  *** welshdragon has quit IRC
13:47:24  *** planetmaker has joined #openttd.dev
13:47:24  *** ChanServ sets mode: +v planetmaker
13:53:03  *** welshdragon has joined #openttd.dev
13:59:31  *** welshdragon has quit IRC
14:07:05  *** welshdragon has joined #openttd.dev
14:13:36  *** welshdragon has quit IRC
14:15:05  *** welshdragon has joined #openttd.dev
15:05:56  *** welshdragon has quit IRC
15:07:28  *** welshdragon has joined #openttd.dev
15:13:30  *** welshdragon has quit IRC
15:15:58  *** ntoskrnl has joined #openttd.dev
15:18:08  *** welshdragon has joined #openttd.dev
17:08:45  <Terkhen> hi :)
17:09:18  <Terkhen> Alberth: http://devs.openttd.org/~terkhen/patches/index.php?source=100_Add_Tar_save_functions.diff <--- do you remember the purpose of "dir_name" in this patch? it does not seem to be used
17:44:12  <Alberth> Terkhen: Interesting :)
17:45:01  <Alberth> no I don't remember that at all :(
17:47:45  <Terkhen> I checked the code and I did not see it being used at all except for initialization and freeing :P
17:48:15  <Alberth> yeah, I tried that too :)
17:51:21  <Terkhen> thanks, I'll try to use it and see what happens :)
17:51:21  <Terkhen> I have reached a point in which I can try to produce a tar file with a heightmap png :P
17:52:15  <Alberth> My guess it continues to work, and nothing changes :)
17:52:42  <Alberth> I guess I wanted to allow adding a root directory, but I forgot about implementing it along the way
17:53:09  <Terkhen> in our specific case a single folder should be enough
17:53:49  <Alberth> that's why I wrote *root* directory ;)
17:55:02  <Alberth> I don't know what is supposed to happen when you add a directory.
17:55:12  <Alberth> perhaps just the filename is extended?
17:56:41  <Terkhen> I don't know, I barely know how tar files work at all :P
17:57:01  <Terkhen> for now I was aiming at "use the functions and see what happens"
17:59:56  <Alberth> sounds like a good first start :p
18:03:44  <Alberth> I was about to try and fix an old bug in the autoreplace window, but I can just as well look into this :)
18:04:33  <Terkhen> thanks :)
18:04:38  <Terkhen> I'm going to be a bit busy today
18:04:51  <Alberth> it's not 7PM there?
18:05:18  <Alberth> ie there is not that much 'today' left :)
18:05:52  <Terkhen> we have dinner at 10PM and I go to sleep at 12PM :P
18:09:48  *** LordAro has joined #openttd.dev
18:09:49  *** ChanServ sets mode: +v LordAro
18:16:11  <Alberth> hmm, the patch was 2K revisions old :)
18:17:44  <Terkhen> the tar patch? the version I uploaded has been updated to head
18:17:49  <Terkhen> I don't remember any rejects, though
18:45:14  *** andythenorth has quit IRC
18:48:41  <Alberth> new code has few connections :)
19:10:35  <LordAro> michi_cc: DorpsGek lost op again ;)
19:34:00  *** ChanServ sets mode: +o DorpsGek
19:38:03  *** ntoskrnl has quit IRC
19:40:49  <Terkhen> I'm "back" now
19:43:42  <Alberth> hmm, I did have two rejected hunks in fileio.cpp
19:44:43  <Terkhen> maybe there were some rejects there, I'm not sure :)
19:45:00  <Terkhen> if they were, they should be minor things
19:50:43  <Alberth> The generated tarfile seems to have a root directory
19:55:29  <Alberth> ttd_strlcpy(this->header.name, this->dir_name, lengthof(this->header.name));   <-- there it is copied
19:57:09  * Alberth considers the issue fixed :)
20:01:14  <Terkhen> sorry :)
20:01:19  <Terkhen> oh, I missed that, let me see
20:01:26  *** andythenorth has joined #openttd.dev
20:01:26  *** ChanServ sets mode: +v andythenorth
20:01:44  <Terkhen> true, it is used :)
20:02:45  <Alberth> It looks like it will work atm, if you need further fixes, please let me know
20:05:29  <Terkhen> so... the call to ttd_strlcpy should reference dir_name instead of dir_entry?
20:17:18  <Alberth> My version of the patch has no dir_entry
20:17:54  <Alberth> http://devs.openttd.org/~alberth/mktar.patch
20:25:13  <Terkhen> oh, perfect :)
20:25:18  <Terkhen> thank you Alberth
20:26:06  <Alberth> afaik it's the same file I gave you earlier, so it's a mystery where this new code came from
20:29:33  <Alberth> http://paste.openttdcoop.org/show/2005/   perhaps you added that variable?
20:30:43  <Terkhen> if I did, it is a mystery to me why I did it :P
20:31:22  <Terkhen> I don't remember any required changes to how tar files were written to make the patch work with the scenario format
20:32:42  <Alberth> well, nvm then, it's already fixed, it seems :)
20:34:06  <Terkhen> :)
21:07:10  *** FLHerne has joined #openttd.dev
21:10:24  *** FLHerne has quit IRC
21:19:54  *** Alberth has left #openttd.dev
22:07:44  *** andythenorth has quit IRC
22:11:51  *** Supercheese has joined #openttd.dev

Powered by YARRSTE version: svn-trunk