Log for #openttdcoop.devzone on 16th August 2014:
Times are UTC Toggle Colours
00:17:35  *** yorick has quit IRC
03:33:46  *** LSky` has joined #openttdcoop.devzone
08:02:30  *** gelignite has joined #openttdcoop.devzone
09:41:47  *** frosch123 has joined #openttdcoop.devzone
09:51:34  *** Alberth has joined #openttdcoop.devzone
10:12:26  *** andythenorth has joined #openttdcoop.devzone
10:32:41  <DevZone> Project FISH is ships build #222-push: SUCCESS in 1 min 35 sec:
10:35:12  <Alberth> planetmaker: you noticed I fiddled with 2 issues in ogfx+trains? (not that they are very important, just asking whether you saw that)
10:37:32  <planetmaker> no, I missed that.
10:37:39  * planetmaker goes looking
10:39:12  <DevZone> Project FISH is ships build #223-push: SUCCESS in 1 min 23 sec:
10:39:14  <planetmaker> <-- no clue without testing. But will look into it
10:40:25  <frosch123> i would blame firs :p
10:41:44  <planetmaker> that's my first guess, but I don't know. FIRS is not designed for toyland at least
10:42:59  <planetmaker> thanks for the reminder, Alberth :)
10:43:02  <andythenorth> maybe no cargos are defined?
10:43:59  <andythenorth> yeah
10:44:29  <andythenorth> L69 of
10:44:44  <planetmaker> :)
10:44:47  <andythenorth> no cargos = no vehicles
10:45:02  <planetmaker> yup, that logically follows
10:45:15  <planetmaker> though I didn't expect firs to also undefine passengers and mail :)
10:45:52  <Alberth> wrong project thus :p
10:46:59  <planetmaker> well :)
10:47:11  <planetmaker> If I move it to FIRS, andythenorth will probably close it as "by design"
10:47:22  <planetmaker> though I wonder why FIRS has there a limitation to "no toyland" anyway :)
10:47:42  <planetmaker> not that firs with standard toyland makes much sense, graphically speaking
10:47:58  <Alberth> firs should disable itself in climates it doesn't want to play in
10:48:19  <planetmaker> hm, doesn't it?
10:48:38  <andythenorth> planetmaker: honestly, I don’t really care either way about Toyland
10:48:40  <Alberth> I got loads of nice FIRS buildings :p
10:48:41  <andythenorth> it was a trolling point
10:49:01  <andythenorth> if you can find all the necessary changes (probably 2 or 3 places), enable Toyland support
10:49:39  <planetmaker> right... I could look. My change would to have firs just ignore climate
10:49:47  <planetmaker> I think that's what it does anyway, no?
10:50:04  <planetmaker> hm... no, it doesn't. Well, then temperate = toyland
10:50:30  <planetmaker> <-- did we establish that this is a FIRS no cargo issue?
10:50:42  <andythenorth> not proven, but FIRS code says yes
10:51:11  <andythenorth>
10:51:17  <andythenorth> L70
10:52:06  <andythenorth> add TOYLAND constant
10:53:15  <DevZone> Project OpenGFX+ Trains build #34-push: SUCCESS in 11 min:
10:54:33  <planetmaker> hm... anything else needed, andythenorth ?
10:54:44  <andythenorth> didn’t look :)
10:54:45  <planetmaker> how is the default economy chosen? Just parameter and default is FIRS always?
10:54:50  <andythenorth> yes
10:55:00  <planetmaker> then it *should* be fine. Will test
10:55:13  <planetmaker> and commit, if pass
10:55:29  <andythenorth> 3 minute compile :P
10:55:36  <andythenorth> I never did make partial compiles work
10:56:54  <planetmaker> well, when I started working on openttd et al, openttd took 5-7 minutes. So anything below that ever seemed acceptable to me :P
10:59:09  <Alberth> oh, 5 minutes!  :)
10:59:42  <Alberth> I have been running compile jobs of almost an hour  during the graduation project at university
11:00:57  <planetmaker> well, I didn't do much CS during my studies. So... no really bigger compilations than openttd for me
11:01:23  <planetmaker> when I visited smatz some years ago, I found it impressive that he had always something compiling. Like constantly
11:01:42  <Alberth> oh, I once compiled the Linux kernel at a 1MB machine, was a good HD LED test of about 3 hours :p
11:01:46  <planetmaker> somewhat scripted the config options and then simply configured and compiled from script
11:02:00  <planetmaker> all permutations
11:02:15  <Alberth> :)
11:02:32  <Alberth> yeah the include test script, works very nicely
11:13:25  <planetmaker> hm, you kinda disabled the {VERSION} tag being taken from custom_tags.txt, andythenorth ?
11:13:48  <planetmaker> STR_GRF_NAME                                                                    :FIRS FOO BLAH BLAH
11:14:59  <planetmaker> and just adding CLIMATE_TOYLAND didn't quite suffice to pull the trick for me
11:15:23  <Alberth> :(
11:18:33  <frosch123> planetmaker: let me guess, smatz was running gentoo at that time :)
11:18:46  <planetmaker> might be. But I really don't recall
11:18:56  *** yorick has joined #openttdcoop.devzone
11:19:01  <planetmaker> we spent significant more times in pubs than behind the computer :P
11:19:19  <planetmaker> or in front of. whatever :P
11:19:36  <andythenorth> planetmaker: I think there a few partial-compile commits on the wrong branch, that looks like one of them
11:19:37  <andythenorth> iirc
11:19:55  <andythenorth> shame I couldn’t get the partial compile working
11:20:05  <planetmaker> what commit should I checkout and test?
11:20:23  <andythenorth> default branch should be ok, just might have a few bits of junk
11:20:38  * andythenorth can’t check now, but might have time to look in a bit
11:21:19  <planetmaker> hm, I might have checked-out the partial-compile branch. will try a bit
11:32:30  <andythenorth> I think partial compiles would work if either:
11:32:33  <andythenorth> - nml string handling was changed (to avoid clunky workarounds to force string insertion)
11:32:52  <andythenorth> - or there was a reliable way to split, like being able to insert a BREAK constant or such
11:33:24  <andythenorth> I had it ~75% working, with solutions that looked workable for the remaining 25%
11:33:39  <andythenorth> but there was no way to avoid horrible splits at the linking stage
11:33:48  <DevZone> Project 2ccts build #227-push: SUCCESS in 1 min 23 sec:
11:34:05  <andythenorth> I think for changes to a single industry, compiles would be ~10-20s instead of 3 mins
11:34:37  <andythenorth> I could try Eddi’s nml fork, but I don’t want to use a fork
11:38:12  <planetmaker> hm... I get nmlc internal errors a lot
11:39:21  <andythenorth> specific to FIRS?
11:39:36  <planetmaker> well, dunno :) They appear when I compile firs :)
11:40:24  <planetmaker> but internal nmlc errors are not your fault. they're usually an nmlc fault. and if it's only not properly complaining about wrong input
11:40:27  <planetmaker>
11:41:26  <andythenorth> that is trying to do partial compile with nfo
12:14:33  <DevZone> Project 2ccts build #228-push: SUCCESS in 1 min 17 sec:
12:41:44  <DevZone> Project 2ccts build #229-push: SUCCESS in 1 min 20 sec:
12:47:35  <DevZone> Project 2ccts build #230-push: SUCCESS in 1 min 19 sec:
13:23:19  <DevZone> Project 2ccts build #231-push: SUCCESS in 1 min 18 sec:
13:58:47  *** andythenorth has quit IRC
15:42:10  *** andythenorth has joined #openttdcoop.devzone
16:01:39  <DevZone> Project FISH is ships build #224-push: SUCCESS in 1 min 25 sec:
16:02:45  <planetmaker> hm... my nml needs some more love
16:02:51  <planetmaker> it also errors with opengfx
16:03:33  <planetmaker> hm... or my changes to it :P
16:04:08  <planetmaker> yeah... my changes :)
16:08:45  <andythenorth> :)
16:10:06  <DevZone> Project FISH is ships build #225-push: SUCCESS in 1 min 23 sec:
16:10:15  <planetmaker> must have been what made me have firs compile fail on me, too
16:15:46  <andythenorth> hrm
16:16:00  <andythenorth> so if it’s near a release, but not ready for 1.0
16:16:05  <andythenorth> 0.1?  0.5?
16:16:09  <andythenorth> 0.9?
16:16:21  <planetmaker> personally I'd start with 0.1 regardless
16:16:28  <andythenorth> my feeling too
16:16:29  <planetmaker> gives me more lee-way to change my mind
16:47:05  *** ODM has joined #openttdcoop.devzone
16:51:00  <DevZone> Project xussrset - Trains from Russia build #390-push: SUCCESS in 3 min 31 sec:
16:52:11  <DevZone> Project Dutch Trainset build #246-push: SUCCESS in 1 min 10 sec:
16:53:42  <DevZone> Project FISH is ships build #226-push: SUCCESS in 1 min 30 sec:
16:58:08  <DevZone> Yippee, build fixed!
16:58:08  <DevZone> Project FIRS Industry Replacement Set build #175-push: FIXED in 4 min 25 sec:
16:59:29  <DevZone> Project Dutch Road Furniture build #27-push: SUCCESS in 1 min 21 sec:
17:00:04  <DevZone> Project OpenGFX+ Trains build #35-push: SUCCESS in 12 min:
17:00:51  <DevZone> Project 2ccts build #232-push: SUCCESS in 1 min 21 sec:
17:53:04  *** yorick has quit IRC
18:11:26  <andythenorth> so the grf name is Squid Ate FISH
18:11:39  <andythenorth> the filename is currently still fish.grf
18:11:49  <andythenorth> I’m just going to leave it as that
18:13:15  <andythenorth> planetmaker: sound ok? ^
18:13:23  <andythenorth> grfid changed since FISH 1
18:14:07  <andythenorth> in all respects this is still FISH 2
18:19:48  <DevZone> Project FISH is ships build #227-push: SUCCESS in 1 min 10 sec:
18:31:11  <andythenorth> oopsie
18:31:17  <andythenorth> this is all one repo
18:31:26  <andythenorth> so the tags for FISH 1 exist
18:31:30  <andythenorth> so 0.1 exists :D
18:31:34  <andythenorth> suggestions?
18:32:03  <DevZone> Project FISH is ships build #228-push: SUCCESS in 1 min 10 sec:
18:33:38  <Alberth> squid_0.1  ?
18:36:49  <planetmaker> sounds ok, andythenorth
18:37:15  <planetmaker> though you might not want to re-use then the same versions...
18:37:19  <planetmaker> not sure :)
18:37:28  <planetmaker> would be bad to overwrite FISH with SQUID
18:40:17  <andythenorth> I could move it to a new repo
18:40:22  <andythenorth> with new filename also
18:40:24  <andythenorth> solving both issues
18:40:53  <planetmaker> new repo is not exactly needed, I think. Not now :)
18:41:03  <planetmaker> maybe rename to squid?
18:42:12  <andythenorth> the repo?  or filename?
18:42:24  <planetmaker> the filename
18:42:45  <planetmaker> but actually it doesn't matter much really, I think
18:54:57  <Alberth> as long as the tar name is not used by fish, I guess
18:57:11  *** andythenorth has quit IRC
18:57:18  <planetmaker> yeah... but in the makefiles I linked tar name and grf name
18:57:21  <planetmaker> and he's gone
19:09:23  *** andythenorth has joined #openttdcoop.devzone
19:11:37  <andythenorth> hrm disconnected
19:11:50  <andythenorth> so that just leaves versions
19:12:05  <andythenorth> I don’t like non-numeric tagged versions
19:16:59  <Alberth> 2.0.1  :)
19:17:07  <andythenorth> maybe
19:17:25  <Alberth> a name prefix would make more sense to me, tbh
19:17:33  <andythenorth> or clone the repo for FISH 1 as legacy, keep the current repo as the project, remove the existing tags
19:17:42  <Alberth> can't you just rename tags?
19:17:46  <planetmaker> what I said before you left: makefile links tar filename and grfname. by default
19:17:49  <Alberth> it's just a file afaik
19:17:51  <planetmaker> in principle that can be unlinked
19:18:10  <planetmaker> nevertheless it's not nice to reuse the same tags. as you overwrite the previous ones
19:18:20  <andythenorth> exactly
19:18:30  <andythenorth> ach, what am I worrying about
19:18:36  <andythenorth> the released version can be a proper 2.0.0
19:18:49  <andythenorth> this one is just squid-RC-1 or whatever
19:18:54  <planetmaker> yeah, if you go with 2.0.0 and onwards for squid, then no issue
19:20:15  <andythenorth> doing that
19:20:59  <DevZone> Project FISH is ships build #229-push: SUCCESS in 1 min 13 sec:
19:22:11  <DevZone> Project FISH is ships build #230-push: SUCCESS in 1 min 12 sec:
19:23:21  <DevZone> Project FISH is ships build #231-releases: SUCCESS in 1 min 10 sec:
19:45:19  *** efess has joined #openttdcoop.devzone
19:45:20  <efess> thx
19:48:12  <planetmaker> efess, if you want to commit, I need your ssh key. You can attach that to that issue, too
19:48:35  <planetmaker> (unless that's already installed on the server)
19:49:11  <planetmaker> and, btw, once one is manager of any project, you can create further new projects all on your own
19:51:06  <planetmaker> hm... and now waiting up to 7 minutes and hoping that my 'create repo cronscript' works correctly :P
19:55:59  <efess> k attached
19:56:19  <efess> nice
19:57:30  <planetmaker> repo is up
19:58:36  <planetmaker> key installed. All yours
20:13:13  <efess> awesome, thanks
20:13:37  <Alberth> creating a repo is much easier than filling one :)
20:13:52  <efess> takes time :D
20:14:11  <Alberth> a lot more than 7 minutes :p
20:14:22  <Alberth> what are you going to make?
20:15:49  <efess> well for quake, I created a server stats aggregator here:
20:15:51  <Webster> Title: Real Time Server Browser (at
20:16:07  <efess> going to make something similar for openttd
20:17:09  <efess> not the server browser part, just stats aggregator. Then we can display fancy company progress graphs, and game history
20:23:33  <DevZone> Project FIRS Industry Replacement Set build #176-push: SUCCESS in 3 min 59 sec:
20:25:01  <planetmaker> efess, even when devzone says 'default license here is gpl', you could add readme changelog and license to the repo, too ;)
20:25:21  <planetmaker> but you're quick to start filling the repo :)
20:25:43  <DevZone> Project opengfx-mars build #140-push: SUCCESS in 2 min 9 sec:
20:25:59  <DevZone> Project Japanese Stations build #71-push: SUCCESS in 16 sec:
20:26:05  <DevZone> Project Townnames - Swiss build #36-push: SUCCESS in 5.4 sec:
20:26:19  <DevZone> Project skye-rail build #78-push: SUCCESS in 14 sec:
20:26:20  <DevZone> Project DevZone script update build #38-push: SUCCESS in 6 min 59 sec:
20:26:26  <planetmaker> and creating your project made me find a bug in my create_repos script, not triggering properly the scan in the rhodecode interface :)
20:28:25  <efess> haha, sorry bout that. Will do about the default files.
20:29:11  <efess> Learning python here in the process..
20:29:19  <planetmaker> no worries, I don't mind much. But nicer for other people who don't know. I have it written in issue#7028 ;)
20:30:48  <planetmaker> but I guess I can close the issue now
20:37:55  <planetmaker> I'll be quite curious as to how this stats project works out, efess :) the ottdphplib is rather limited and looking for a worthy replacement, I think :)
20:39:08  <Taede> one could always write a new log-writer using libottdadmin2 and python, then use a python script to parse those logs into stats
20:43:50  *** Alberth has left #openttdcoop.devzone
20:44:40  <planetmaker> I think that's the goal of ottdstats
20:44:51  <planetmaker> but dunno :)
20:48:22  <efess> right now it will use libottdadmin2 directly, but it will be able to interface in other ways - log files, proxy, etc
20:48:36  *** andythenorth has left #openttdcoop.devzone
20:49:31  <efess> you gave me an idea though, I should really make it script based as opposed to an application
20:49:39  *** ODM has quit IRC
20:51:15  <efess> this is luaducks idea btw, I'm just executing it
20:51:55  <Taede> hm, is he aware soap already generates logs?
20:52:03  <Taede> i think they contain enough to generate stats from
20:52:16  <Taede> and even rotates em when a new game starts
20:52:50  <efess> well how frequently does it dump log information?
20:53:05  <planetmaker> it live dumps them
20:53:14  <Taede> pretty much
20:53:21  <planetmaker> thus I can search logs directly for whoever did what
20:53:25  <Taede> all you need is a script which runs every x minutes to generate stats
20:53:43  <efess> I'm looking for this information
20:53:44  <efess>
20:53:45  <planetmaker> I was quite... insistant on the logs. That's why I wanted soap as replacement for ap+
20:54:19  <planetmaker> and taede was nice enough to listen to my whining :)
20:54:28  <efess> :D
20:55:44  <Taede> right now its mosly only dumping client-actions and game-commands though, no economic info
20:56:54  <Taede> i should be able to add (optional) logging of periodic company stats though
20:57:04  <Taede> as it does get and retain that info
20:58:00  <efess> I think it may be easier for me to poll the admin port directly - then you wouldn't have to configure poll frequency and soap dump frequency. But then again, we can have it both ways anyway.
20:58:52  <efess> there'll be a setting that determines the stats provider
21:24:51  *** Supercheese has joined #openttdcoop.devzone
21:42:40  <efess> can openttd support multiple connections on the admin port?
21:43:54  <Taede> should do
21:46:46  <efess> cool, just making sure. I do see this in source: _network_admins_connected++; so that's good to know
21:52:46  <frosch123> there is a limit in the config file
21:53:56  <frosch123> static const AdminIndex MAX_ADMINS = 16;  <- ah, no config file, just a fixed number
21:54:57  <efess> plenty :)
21:55:58  * Rubidium won't say it's always going to be enough, but for the forseeable future it should be plenty
22:07:53  *** LSky` has quit IRC
22:48:14  *** yorick has joined #openttdcoop.devzone
22:49:09  *** frosch123 has quit IRC

Powered by YARRSTE version: svn-trunk