Times are UTC Toggle Colours
00:04:53 *** yorick [~yorick@ip51cd0513.speed.planet.nl] has quit [Remote host closed the connection] 00:07:48 *** Hazzard [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has joined #openttd 00:12:57 *** Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds] 00:34:38 *** wakou [~stephen@host86-179-101-1.range86-179.btcentralplus.com] has quit [Ping timeout: 480 seconds] 00:34:45 *** luaduck is now known as luaduck_zzz 00:41:56 *** Flygon_ [~Flygon@147.18.214.218.sta.commander.net.au] has joined #openttd 00:43:58 *** Flygon__ [~Flygon@147.18.214.218.sta.commander.net.au] has joined #openttd 00:48:22 *** Flygon [~Flygon@147.18.214.218.sta.commander.net.au] has quit [Ping timeout: 480 seconds] 00:50:22 *** Flygon_ [~Flygon@147.18.214.218.sta.commander.net.au] has quit [Ping timeout: 480 seconds] 00:52:50 *** Flygon__ [~Flygon@147.18.214.218.sta.commander.net.au] has quit [Ping timeout: 480 seconds] 00:55:02 *** MJP [~mjp@hq.z77.fr] has quit [Ping timeout: 480 seconds] 01:04:17 *** namad7 [~aaaaa@pool-74-111-111-176.pitbpa.fios.verizon.net] has joined #openttd 01:54:02 *** bdavenport [~davenport@aeolus.mindlesstux.com] has quit [Ping timeout: 480 seconds] 02:40:16 *** solar7 [~polaris@0001f2e7.user.oftc.net] has joined #openttd 02:44:03 *** solar7 [~polaris@0001f2e7.user.oftc.net] has quit [Quit: WeeChat 0.4.3] 02:46:24 *** Flygon [~Flygon@147.18.214.218.sta.commander.net.au] has joined #openttd 02:49:29 *** glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye] 03:08:32 *** bdavenport [~davenport@aeolus.mindlesstux.com] has joined #openttd 03:42:45 *** kero [~keikoz@pha75-1-81-57-54-15.fbx.proxad.net] has quit [Quit: kero] 04:07:22 *** pthagnar [~pthagnar@cpc7-pres17-2-0-cust28.18-3.cable.virginm.net] has quit [Quit: Leaving] 04:31:29 *** KWKdesign [~KWKdesign@pool-108-52-130-213.phlapa.fios.verizon.net] has quit [Read error: Operation timed out] 04:31:32 *** KWKdesign [~KWKdesign@pool-108-52-130-213.phlapa.fios.verizon.net] has joined #openttd 04:56:02 *** Eddi|zuHause [~johekr@p57BD4ED3.dip0.t-ipconnect.de] has quit [] 04:56:16 *** Eddi|zuHause [~johekr@p57BD5114.dip0.t-ipconnect.de] has joined #openttd 05:28:37 *** zeknurn [~sup@hd9483b0c.seveveb.dyn.perspektivbredband.net] has quit [Read error: Connection reset by peer] 05:32:22 *** zeknurn [~sup@hd9483b0c.seveveb.dyn.perspektivbredband.net] has joined #openttd 06:10:42 *** MTsPony [~marctraid@008-086-128-083.dynamic.caiway.nl] has quit [Ping timeout: 480 seconds] 06:28:17 *** Jinassi1 [~Jinassi@internet-188-198-38-188.narocnik.mobitel.si] has quit [Ping timeout: 480 seconds] 06:29:10 *** sla_ro|master [slamaster@89.137.74.191] has joined #openttd 06:34:38 *** LSky` [~LSky@5ED4B2EA.cm-7-5c.dynamic.ziggo.nl] has joined #openttd 06:48:02 *** LSky` [~LSky@5ED4B2EA.cm-7-5c.dynamic.ziggo.nl] has quit [] 06:51:20 *** Hazzard [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 06:52:23 *** Yotson [~Yotson@2001:980:6ac8:1:5cc2:a2cf:6986:73aa] has joined #openttd 07:02:10 *** wakou [~stephen@host86-179-101-1.range86-179.btcentralplus.com] has joined #openttd 07:21:22 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd 07:43:00 *** tokai|mdlx [~tokai@port-92-195-40-251.dynamic.qsc.de] has joined #openttd 07:45:23 *** Yotson [~Yotson@2001:980:6ac8:1:5cc2:a2cf:6986:73aa] has quit [Ping timeout: 480 seconds] 07:49:17 *** tokai|noir [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds] 07:49:24 *** Pikka [~Octomom@d110-32-40-180.rdl801.qld.optusnet.com.au] has joined #openttd 07:53:45 *** LSky` [LSky@5ED4B2EA.cm-7-5c.dynamic.ziggo.nl] has joined #openttd 08:31:46 *** Vex [Vex@b.clients.kiwiirc.com] has joined #openttd 08:32:10 *** MJP [~mjp@hq.z77.fr] has joined #openttd 08:43:04 *** MJP [~mjp@hq.z77.fr] has quit [Quit: That's all folks!] 08:59:07 *** Brumi [~quassel@78-131-41-191.pool.digikabel.hu] has joined #openttd 09:25:52 *** HerzogDeXtEr [~flex@88.130.188.101] has joined #openttd 09:30:22 *** Vex [Vex@b.clients.kiwiirc.com] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 09:56:27 *** Yotson [~Yotson@2001:980:6ac8:1:5cc2:a2cf:6986:73aa] has joined #openttd 09:59:45 *** Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd 10:05:28 *** shirish [~quassel@0001358e.user.oftc.net] has quit [Ping timeout: 480 seconds] 10:30:28 *** zeknurn` [~sup@hd9483b0c.seveveb.dyn.perspektivbredband.net] has joined #openttd 10:35:33 *** zeknurn [~sup@hd9483b0c.seveveb.dyn.perspektivbredband.net] has quit [Ping timeout: 480 seconds] 10:35:33 *** zeknurn` is now known as zeknurn 10:57:13 *** LadyHawk [~LadyHawk@5751e87a.skybroadband.com] has quit [Quit: A truly wise man realises he knows nothing at all] 11:00:57 *** LadyHawk [~LadyHawk@5751e87a.skybroadband.com] has joined #openttd 11:12:00 *** Jinassi [~Jinassi@0001ec72.user.oftc.net] has joined #openttd 11:27:02 *** keoz [~keikoz@pha75-1-81-57-54-15.fbx.proxad.net] has joined #openttd 11:32:18 *** Supercheese is now known as Guest4282 11:32:20 *** Supercheese [~Superchee@76.178.136.186] has joined #openttd 11:37:09 *** yorick [~yorick@ip51cd0513.speed.planet.nl] has joined #openttd 11:38:32 *** Guest4282 [~Superchee@76.178.136.186] has quit [Ping timeout: 480 seconds] 11:49:27 *** KWKdesign [~KWKdesign@pool-108-52-130-213.phlapa.fios.verizon.net] has quit [Read error: Connection reset by peer] 11:49:48 *** KWKdesign [~KWKdesign@pool-108-52-130-213.phlapa.fios.verizon.net] has joined #openttd 11:53:57 *** b_jonas [~x@russell2.math.bme.hu] has quit [Read error: Connection reset by peer] 11:54:25 *** pthagnar [~pthagnar@cpc7-pres17-2-0-cust28.18-3.cable.virginm.net] has joined #openttd 11:58:10 *** KWKdesign [~KWKdesign@pool-108-52-130-213.phlapa.fios.verizon.net] has quit [Ping timeout: 480 seconds] 11:58:37 *** KWKdesign [~KWKdesign@pool-108-52-130-213.phlapa.fios.verizon.net] has joined #openttd 11:59:18 *** b_jonas [~x@russell2.math.bme.hu] has joined #openttd 12:05:49 *** shirish [~quassel@117.195.113.135] has joined #openttd 12:46:07 *** luaduck_zzz is now known as luaduck 12:47:27 <luaduck> anyone know if it's possible to dump company data eg. profit, value etc at the end of each round? 12:47:36 <luaduck> had a feature request that we have leaderboards 12:49:49 <keoz> Question about hg: how do I update to new trunk revisions a precedent trunk source which I modified without losing my changes ? 13:04:21 <keoz> mmh looks "hg pull" is just enough :) 13:07:15 <planetmaker> luaduck, use admin port 13:08:12 <luaduck> what's the command on admin to dump that data 13:08:19 <luaduck> b/c lazy and I just want to mod soap 13:08:27 *** Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd 13:08:30 *** mode/#openttd [+o Alberth] by ChanServ 13:08:48 <planetmaker> you will need to teach soap to get those info 13:09:16 <Alberth> o/ 13:09:37 <planetmaker> \o 13:09:54 <luaduck> yeah I'm aware of that 13:10:04 <luaduck> just wondered what I need to send to adminport to get it to dump that data 13:10:28 <luaduck> oh, ADMIN_UPDATE_COMPANY_STATS 13:10:30 <planetmaker> a packet to request that info 13:10:33 <planetmaker> probably that 13:11:20 <luaduck> I wonder if there's a handler in libottdadmin2 for that 13:11:36 <planetmaker> pretty sure is 13:13:35 <luaduck> probably easiest to write some kind of handler for this instead of trying to integrate it into soap 13:13:53 <luaduck> will need to dump it just before the map reloads 13:14:07 <planetmaker> might be easier, yes 13:14:21 <luaduck> what'd be the easiest way to time it 13:14:27 <luaduck> just do it like a year before the end date? 13:15:17 <planetmaker> Well, or at the end date. Whenever you decide that it should end. You could also use that to determine the end 13:15:34 <planetmaker> soap doesn't do that, that admin port could decide to pause at end date, get data and restart 13:15:41 <planetmaker> just make sure to make the project public :) You probably are not the only one who can make use of it. 13:15:53 <luaduck> my python skills are awful 13:16:04 <luaduck> if I FOSS it everyone will point and laugh 13:16:55 <planetmaker> nor anyone can learn from it. Nor make use it. And everyone has to re-invent the wheel 13:17:04 <planetmaker> nor anyone can improve it 13:17:10 <luaduck> tru 13:17:18 <planetmaker> openttd would not be there with *that* attitude 13:17:48 <luaduck> anyway if I do it on the end date isn't there a chance the game itself will just restart on its own 13:17:53 <luaduck> and I won't be able to get data out in time 13:18:07 <luaduck> plus I'll have to keep polling for the current date which seems wasteful 13:18:11 <planetmaker> why would openttd restart on its own? 13:18:31 <luaduck> restart_game_year 13:18:47 <planetmaker> oh, there is such var? I never knew :) 13:19:05 <luaduck> https://wiki.openttd.org/Restart_game_year 13:19:14 <luaduck> basically it just issues newgame 13:21:10 *** tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd 13:21:13 *** mode/#openttd [+v tokai|noir] by ChanServ 13:21:14 <luaduck> https://github.com/OpenTTD/OpenTTD/blob/7807fb82eacbc33f8418fd1fca2ce60c1a699f83/src/network/network_server.cpp#L1577 13:24:15 *** tokai|mdlx [~tokai@port-92-195-40-251.dynamic.qsc.de] has quit [Read error: Operation timed out] 13:29:20 <peter1138> If you're using the admin port you can use that to restart the game instead, can't you? 13:31:39 <planetmaker> that's what I suggested :) 13:32:40 <planetmaker> it would even easily allow time-variable end condition. Like having reached a population of XX in your town, transported XX cargo of type Y or at least 500 trains in game... 13:54:59 *** MTsPony_zzz [~marctraid@008-086-128-083.dynamic.caiway.nl] has joined #openttd 13:54:59 *** MTsPony_zzz is now known as MTsPony 13:59:12 *** HerzogDeXtEr [~flex@88.130.188.101] has quit [Quit: Leaving.] 14:05:17 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds] 14:44:56 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd 14:51:57 *** Pereba [~UserNick@179.181.231.175] has joined #openttd 14:59:47 *** MTsPony [~marctraid@008-086-128-083.dynamic.caiway.nl] has quit [Ping timeout: 480 seconds] 15:00:06 *** MTsPony [~marctraid@008-086-128-083.dynamic.caiway.nl] has joined #openttd 15:15:04 *** keoz [~keikoz@pha75-1-81-57-54-15.fbx.proxad.net] has quit [Quit: keoz] 15:17:08 *** TheMask96 [martijn@sloth.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds] 15:18:55 *** TheMask96 [martijn@lust.vhost.ne2000.nl] has joined #openttd 15:25:40 *** DDR [~kvirc@S010600254bbe4e1c.vc.shawcable.net] has quit [Read error: Connection reset by peer] 15:32:58 *** Hazzard [~2668e0ee@188.cimarosa.openttdcoop.org] has joined #openttd 15:45:11 *** Jinassi [~Jinassi@0001ec72.user.oftc.net] has quit [] 15:53:21 *** Jinassi [~Jinassi@0001ec72.user.oftc.net] has joined #openttd 15:59:06 *** SpBot_ [spbot@skrblz.fixme.fi] has joined #openttd 15:59:46 *** Netsplit charon.oftc.net <-> magnet.oftc.net quits: +michi_cc, DabuYu, jpierre03, Yexo, dihedral, jjavaholic, @planetmaker, ToBeFree, NGC3982, @Alberth, (+37 more, use /NETSPLIT to show all of them) 15:59:48 *** Netsplit over, joins: Pereba, sla_ro|master, pipeep, ToBeFree, guru3, Cybertinus, Ailure, jjavaholic, Kurimus, murr4y (+14 more) 15:59:48 *** DorpsGek` is now known as DorpsGek 16:02:26 *** dxtr [e6f66100@2001:470:28:93:250:43ff:fe64:a0a] has joined #openttd 16:02:49 *** V453000 [~V453000@188.cimarosa.openttdcoop.org] has joined #openttd 16:02:49 *** fonsinchen [~fonsinche@188.cimarosa.openttdcoop.org] has joined #openttd 16:02:55 *** mode/#openttd [+v peter1138] by ChanServ 16:02:58 *** mode/#openttd [+o SmatZ] by ChanServ 16:03:19 *** planetmaker [~planetmak@188.cimarosa.openttdcoop.org] has joined #openttd 16:03:37 *** keoz [~keikoz@pha75-1-81-57-54-15.fbx.proxad.net] has joined #openttd 16:03:45 *** mode/#openttd [+o planetmaker] by ChanServ 16:06:08 *** Hazzard [~2668e0ee@188.cimarosa.openttdcoop.org] has joined #openttd 16:06:08 *** Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd 16:06:08 *** LadyHawk [~LadyHawk@5751e87a.skybroadband.com] has joined #openttd 16:06:08 *** Yotson [~Yotson@2001:980:6ac8:1:5cc2:a2cf:6986:73aa] has joined #openttd 16:06:08 *** LSky` [LSky@5ED4B2EA.cm-7-5c.dynamic.ziggo.nl] has joined #openttd 16:06:08 *** wakou [~stephen@host86-179-101-1.range86-179.btcentralplus.com] has joined #openttd 16:06:08 *** APTX [~APTX@aptx.org] has joined #openttd 16:06:08 *** jrambo [~jrambo@93-87-175-81.dynamic.isp.telekom.rs] has joined #openttd 16:06:08 *** strohi [~smoofi@cpe-10feedc22125.ip-pool.rftonline.net] has joined #openttd 16:06:08 *** Stimrol [~Stimrol@46-239-219-51.tal.is] has joined #openttd 16:06:08 *** jpierre03 [~jpierre03@5275675.test.dnsbl.oftc.net] has joined #openttd 16:06:08 *** Taede [~Taede@cpc4-linl9-2-0-cust588.18-2.cable.virginm.net] has joined #openttd 16:06:08 *** TinoDidriksen [~TinoDidri@alpha.visl.sdu.dk] has joined #openttd 16:06:08 *** DabuYu [DabuYu@128.250.79.238] has joined #openttd 16:06:08 *** NGC3982 [~kruger@h215n4-vj-d3.ias.bredband.telia.com] has joined #openttd 16:06:08 *** michi_cc [michi@00012723.user.oftc.net] has joined #openttd 16:06:08 *** ServerMode/#openttd [+ov Alberth michi_cc] by solenoid.oftc.net 16:07:14 *** mode/#openttd [+v Alberth] by ChanServ 16:18:30 *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has joined #openttd 16:26:08 *** Jinassi [~Jinassi@0001ec72.user.oftc.net] has quit [Ping timeout: 480 seconds] 16:27:34 *** Pensacola [~quassel@h220216.upc-h.chello.nl] has joined #openttd 16:30:56 <planetmaker> hi hi 16:33:43 *** Pikka [~Octomom@d110-32-40-180.rdl801.qld.optusnet.com.au] has quit [Read error: Connection reset by peer] 16:36:51 *** HerzogDeXtEr [~flex@88.130.188.101] has joined #openttd 16:47:12 *** moffi [~moffi@dsdf-4db505c1.pool.mediaWays.net] has joined #openttd 16:51:22 *** solar7 [~polaris@0001f2e7.user.oftc.net] has joined #openttd 16:52:33 *** sla_ro|master [slamaster@89.137.74.191] has quit [] 16:53:54 *** solar7 [~polaris@0001f2e7.user.oftc.net] has left #openttd [WeeChat 0.4.3] 16:55:44 *** sla_ro|master [slamaster@89.137.74.191] has joined #openttd 16:58:04 *** Pereba [~UserNick@179.181.231.175] has quit [Read error: Connection reset by peer] 16:59:29 *** Progman [~progman@p57A1BE1C.dip0.t-ipconnect.de] has joined #openttd 16:59:44 *** Pereba [~UserNick@179.181.231.175] has joined #openttd 17:14:38 *** frosch123 [~frosch@frnk-5f7462b7.pool.mediaWays.net] has joined #openttd 17:15:54 *** moffi [~moffi@dsdf-4db505c1.pool.mediaWays.net] has quit [Quit: Nettalk6 - www.ntalk.de] 17:21:45 <DorpsGek> Commit by rubidium :: r26708 /trunk (Makefile.grf.in media/extra_grf/assemble_nfo.awk) (2014-07-30 17:21:42 UTC) 17:21:46 <DorpsGek> -Codechange: replace C preprocessor with all kinds of options to prevent adding certain things to the result and the sed script to remove everything that shouldn't be in the resulting nfo file but came out of the C preprocessor by a small-ish awk program. This means no more breaking if a C preprocessor decides to add more data to the processed file (like GCC's inclusion of stdc-predef.h when not passing (1 more message) 17:30:41 *** jjavaholic [~jjavaholi@grahamg63.plus.com] has quit [Quit: Ex-Chat] 17:31:04 *** jjavaholic [~jjavaholi@grahamg63.plus.com] has joined #openttd 17:44:26 *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has quit [] 17:45:53 *** jjavaholic [~jjavaholi@grahamg63.plus.com] has quit [Ping timeout: 480 seconds] 17:48:00 *** jjavaholic [~jjavaholi@grahamg63.plus.com] has joined #openttd 17:56:09 *** Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd 17:57:00 <Wolf01> hello o/ 18:02:32 <Alberth> o/ 18:38:10 *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has joined #openttd 18:43:02 <Alberth> \o 18:43:31 <planetmaker> o/ 18:46:32 *** glx [~glx@000128ec.user.oftc.net] has joined #openttd 18:46:35 *** mode/#openttd [+v glx] by ChanServ 18:53:27 <andythenorth> o/ 18:54:01 <Eddi|zuHause> andythenorth: could you walk me through your compiling process? because i have the feeling you missed a step and are now trying to fix things at the wrong level 18:54:20 <andythenorth> here or in a paste? 18:54:32 <andythenorth> and the one that works, or the one that doesn't? 18:54:59 <Eddi|zuHause> i have a firs checkout 18:55:11 <andythenorth> thereâs a brnach 18:55:13 <andythenorth> branch :) 18:55:32 <andythenorth> partial_compiles 18:55:48 <andythenorth> I hope youâre correct because the solution is getting too string-laden 18:55:58 <andythenorth> whereas with Iron Horse, it was ~trivial 18:57:15 <andythenorth> Eddi|zuHause: got the branch? 18:58:19 *** shirish [~quassel@0001358e.user.oftc.net] has quit [Quit: No Ping reply in 180 seconds.] 18:59:41 *** shirish [~quassel@117.195.113.135] has joined #openttd 19:00:06 <Eddi|zuHause> yes 19:00:46 <andythenorth> so at the top level 19:01:01 <andythenorth> python + templates -> pnml -> nml -> nfo -> grf 19:01:13 <andythenorth> the âproblemâ lies in the nml -> nfo step 19:01:51 <andythenorth> nmlc doesnât appear to write (most) industry and cargo strings unless a grf header is present 19:02:01 <andythenorth> unlike for trains, where it writes a nice action 4 near the action 0 19:02:14 <Eddi|zuHause> why is there are generated_pnml and a generated/pnml? 19:02:52 <andythenorth> generated_pnml might be legacy crap 19:02:57 <andythenorth> I havenât pushed for a while 19:03:06 <andythenorth> I donât have many atomic commits, didnât push much non-working code 19:03:47 <andythenorth> what does hg st say about it? 19:04:28 <Eddi|zuHause> loads of "? generated_pnml/blah.pnml" 19:04:53 <Eddi|zuHause> ok, let's ignore that. 19:05:10 <Eddi|zuHause> let's look at the generated/nml files 19:05:16 <andythenorth> that is the only interesting thing 19:05:51 <Eddi|zuHause> there's a header.nml and loads of industry_name.nml? 19:05:56 <andythenorth> yes 19:06:10 <andythenorth> I donât remember where I last committed, but all the cargos should now be in header.pnml 19:06:16 <andythenorth> which solves the cargo strings issue 19:07:19 <Eddi|zuHause> yes, there are some cargos in there 19:07:40 <Eddi|zuHause> i'm not seeing any dummy callback that references the industry strings, though 19:08:25 <andythenorth> http://dev.openttdcoop.org/projects/firs/repository/entry/src/templates/header.pypnml 19:08:30 <andythenorth> L102 - 123 19:08:34 <andythenorth> that version wonât work though 19:08:43 <andythenorth> it produces industries with 2 action 3s 19:09:02 <andythenorth> the dummy callback route doesnât work at all without a grf header 19:09:11 <andythenorth> and even then it writes the strings in the wrong order 19:10:13 * andythenorth wishes for commits of older non-working code 19:10:35 <andythenorth> I can recreate it if you want 19:10:40 <andythenorth> Iâd like to solve this 19:10:56 *** Brumi [~quassel@78-131-41-191.pool.digikabel.hu] has quit [] 19:11:23 <Eddi|zuHause> is that what produces this bit? http://paste.openttdcoop.org/show/3560/ 19:12:37 <Eddi|zuHause> because that looks like it shouldn't be in the header... 19:13:06 <andythenorth> yes 19:13:20 <Eddi|zuHause> and if that is meant to be filtered out, then it shouldn't be before the cargo stuff 19:13:29 <andythenorth> currently Iâm not filtering 19:13:39 <andythenorth> on the basis that filtering isnât very reliable 19:14:45 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Quit: Leaving] 19:14:47 <andythenorth> the version of the repo you can see is a version that is simply never going to wrok 19:14:48 <andythenorth> work * 19:15:05 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd 19:15:40 <Eddi|zuHause> the way i see it, you have too much stuff in there that is meant to do actual work, and not "dummy callback"-like 19:16:02 <Eddi|zuHause> it's too different from what i have in CETS, anyway 19:16:31 <Eddi|zuHause> the point of the dummy callback is that it shouldn't do anything at all. ever. so it doesn't matter if it's repeated in every file 19:16:53 <andythenorth> yeah I know 19:16:56 <andythenorth> I get that 19:16:58 <andythenorth> it just doesnât work 19:17:10 <andythenorth> give me 20 mins, Iâll put it back, we can read nml src and figure out what itâs doing 19:18:26 *** Pensacola [~quassel@h220216.upc-h.chello.nl] has quit [Remote host closed the connection] 19:19:27 <andythenorth> ah r3953 has some dummy stuff in 19:19:51 <Eddi|zuHause> so i go back to that? 19:20:13 <Eddi|zuHause> can you give me the hash? my revisions might not match 19:20:20 <andythenorth> http://dev.openttdcoop.org/projects/firs/repository/revisions/f536eceb0fd8 19:20:25 <andythenorth> might not be a working compile 19:20:29 <andythenorth> or might have other wrong stuff in 19:20:46 <andythenorth> a simple test is to paste the dummy nml into an industry and try compiling to nfo 19:20:52 <andythenorth> bypass all the linking and crap 19:21:20 <Eddi|zuHause> that is r3963 here 19:21:39 <Eddi|zuHause> so we have an offset of 10 19:23:54 <andythenorth> render the dummy with the render_nml_nfo script 19:24:01 <andythenorth> bail when the nfo stuff kicks in 19:24:05 <andythenorth> paste the result into an industry 19:24:25 <andythenorth> watch it astoundingly write out no strings 19:24:39 <andythenorth> add a grf header, it will write strings 19:24:40 <andythenorth> iirc 19:24:43 <andythenorth> was a few days ago 19:25:34 <Eddi|zuHause> so, i ran make, and it did stuff 19:26:33 <Eddi|zuHause> what's the command i should run? 19:26:55 *** Progman_ [~progman@p57A19827.dip0.t-ipconnect.de] has joined #openttd 19:27:05 <Eddi|zuHause> oh, it's in src. not in scripts... 19:29:53 *** Progman [~progman@p57A1BE1C.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds] 19:30:04 *** Progman_ is now known as Progman 19:30:06 <andythenorth> this dummy is wrong 19:30:10 <Eddi|zuHause> so i have a dummy.pnml 19:31:52 <andythenorth> itâs not what youâre looking for 19:32:11 <andythenorth> 3952 looks closer 19:32:18 <andythenorth> or whatever your rev is 19:32:19 <andythenorth> one back 19:34:00 <Eddi|zuHause> that one gives loads of nforenum errors 19:34:54 <andythenorth> Eddi|zuHause: paste this onto the top of any industry .nml http://paste.openttdcoop.org/show/3561/ 19:35:34 <andythenorth> then try compiling with nmlc 19:36:39 <andythenorth> or use this one 19:36:56 <andythenorth> http://paste.openttdcoop.org/show/3562/ 19:37:04 <Eddi|zuHause> that seems to already be in the nml files 19:37:12 <andythenorth> ugh bad paste 19:38:09 <andythenorth> pastebin sulks about many lines 19:38:10 <andythenorth> http://paste.openttdcoop.org/raw/3563/ 19:38:24 <andythenorth> resulting nfo 19:38:33 <andythenorth> http://paste.openttdcoop.org/show/3564/ 19:39:00 <andythenorth> and you might well think, âwhere are the action 4s?â o_O 19:40:14 <Eddi|zuHause> that doesn't even load 19:40:28 <andythenorth> the paste? 19:40:40 <Eddi|zuHause> yes 19:40:53 <andythenorth> ffs 19:41:00 <andythenorth> the raw version? http://paste.openttdcoop.org/raw/3564/ 19:42:05 <Eddi|zuHause> but anyway, it doesn't actually matter if there are action4's in the industry file. if you put the dummy also in the header file, and it generates the action4 there, it should be fine? 19:42:52 <Eddi|zuHause> what's necessary is that the IDs are the same 19:43:23 *** keoz [~keikoz@pha75-1-81-57-54-15.fbx.proxad.net] has quit [Ping timeout: 480 seconds] 19:45:52 <andythenorth> couple of minutes, Iâll clean up the compile 19:46:03 <andythenorth> also food :P 19:46:06 <andythenorth> and fish that have TB 19:48:57 *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has joined #openttd 19:49:27 *** Progman [~progman@p57A19827.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 19:51:53 <andythenorth> also our shower flooded and the lights are out 19:51:57 <andythenorth> #firstworldproblems 20:06:02 <andythenorth> Eddi|zuHause: header.nfo http://pastebin.com/raw.php?i=qSSHE102 20:06:10 <andythenorth> and aluminium_plant.nfo 20:06:36 <andythenorth> http://pastebin.com/raw.php?i=AELYtWR4 20:06:56 <andythenorth> string id for STR_EXTRA_ALUMINUM_PLANT agrees in both 20:07:04 *** Hazzard_ [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has joined #openttd 20:07:22 <Eddi|zuHause> so are there action4 in the header? 20:07:26 <andythenorth> yes 20:07:34 <andythenorth> search for Aluminium or such 20:07:45 <andythenorth> canât remember what *doesnât* work with this 20:07:48 <andythenorth> there was something 20:08:00 <Eddi|zuHause> ok, so after combining, this should work 20:08:57 <Eddi|zuHause> does the text "Aluminium plant" appear in that version of the grf? 20:09:45 <andythenorth> no 20:09:49 <andythenorth> the industry name is borked 20:09:52 <andythenorth> oh that was it 20:09:57 <andythenorth> all names are DC00 iirc 20:10:13 <andythenorth> which caused me to try and write out multiple action 0 blocks 20:10:24 <andythenorth> which is my commit 3953 20:10:27 <andythenorth> which worked fine 20:10:32 <andythenorth> but then I tried to extend that to cbs 20:10:40 <andythenorth> which is multiple action 3 and no no no 20:11:44 <Eddi|zuHause> where is the industry name set in the nfo? 20:11:48 <andythenorth> yeah prop 1F 20:11:53 <andythenorth> resolves to DC00 20:12:14 <andythenorth> L7983 in aluminium plant nfo 20:12:54 <andythenorth> should resolve to DC21 afaict 20:12:55 <andythenorth> STR_IND_ALUMINIUM_PLANT 20:13:04 <andythenorth> hmm not DC21 20:13:30 <Eddi|zuHause> so that's where to look why does it resolve in the callback, but not in the props? 20:13:49 <andythenorth> it shouldnât resolve to a DC00 at all 20:14:02 <andythenorth> these are D000 texts 20:14:13 <andythenorth> the issue is that weâre dumping it into a cb I think 20:14:29 <andythenorth> action 0 props want a different text range? 20:15:02 <andythenorth> Iâm 99% certain that 3953 solves this specific industry name issue 20:16:26 <Eddi|zuHause> so, let's ignore names. which other texts don't show up? 20:17:02 <Eddi|zuHause> you probably need to repeat constructed strings like "string(STR_XXX, param1, param2)" in the dummy callback 20:17:50 <andythenorth> Iâm compiling to test 20:19:32 <DorpsGek> Commit by planetmaker :: r26709 /trunk (6 files in 4 dirs) (2014-07-30 20:19:29 UTC) 20:19:33 <DorpsGek> -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2) 20:19:38 <andythenorth> ok so in 3953, names work, but no extra text shown at all 20:19:49 <andythenorth> my late-night conclusion was that the industry cb prop was set wrong 20:19:52 <andythenorth> but I didnât check 20:19:55 <planetmaker> oh bugger 20:19:58 <andythenorth> I just tried adding the cbs 20:20:07 * andythenorth reads a BIG nfo file 20:20:55 <Eddi|zuHause> you should not add the cbs, only the strings used in the cbs 20:20:55 <planetmaker> ah, well. Wanted to commit that, too 20:21:55 <Eddi|zuHause> planetmaker: so you now need to make an empty commit, so there's a commit message for what you commited before? 20:22:35 <Eddi|zuHause> andythenorth: also you probably can remove loads of stuff from the dummy callback 20:22:40 <andythenorth> yes 20:22:44 <andythenorth> the cargo stuff isnât needed 20:22:45 <andythenorth> nor tiles 20:22:50 <Eddi|zuHause> like all the parameters 20:23:00 <andythenorth> sulks without the parameters iirc 20:23:12 <andythenorth> theyâre referenced by action 6 or such 20:23:43 <Eddi|zuHause> no, i meant the STR_PARAM_blah 20:25:01 <andythenorth> I just write everything in the lang file 20:25:03 <andythenorth> automated 20:25:07 <andythenorth> I shouldnât? 20:25:11 <Eddi|zuHause> no 20:25:17 <andythenorth> hmm 20:25:20 <Eddi|zuHause> neither is it needed, nor is it enough 20:25:29 <andythenorth> substrs? 20:25:41 <Eddi|zuHause> you need to look for all places where you use "string(...)" in callbacks 20:25:51 <Eddi|zuHause> and place these exactly like this in the dummy 20:26:00 <andythenorth> thatâs quite onerous 20:26:02 <Eddi|zuHause> it doesn't matter what's in the lang file 20:28:11 <Eddi|zuHause> because nmlc evaluates "string(STR_blah, param1, param2)" into a different ID than "string(STR_blah)" by itself 20:28:27 <Eddi|zuHause> and i suspect that is why your callback texts don't show up 20:29:17 <andythenorth> yup that makes sense 20:29:23 <andythenorth> but I donât like the manual maintenance route 20:29:44 <andythenorth> if Iâm going to write those out, I might as well stickthe industry in the header wrapped in action 6 or such 20:29:56 <andythenorth> at least then itâs maintainable, for same result 20:30:11 <andythenorth> although that might yet fail, for reasons I didnât forsee 20:30:23 <Eddi|zuHause> what would be the point of that? 20:30:41 <Eddi|zuHause> so you're effectively compiling every industry twice? 20:31:05 <andythenorth> yes 20:31:17 <andythenorth> but to do it for only the text cbs is fast 20:31:22 <andythenorth> relative to all the spritelayouts etc 20:31:35 <andythenorth> itâs about 3s, I timed it 20:32:06 <andythenorth> these post-apocalyptic images are more fun than usual http://imgur.com/a/LpXEe 20:44:05 <Eddi|zuHause> andythenorth: but you still need to repeat this in every industry file 20:44:52 <andythenorth> yes 20:44:57 <andythenorth> seems clunky tbh 20:45:03 <andythenorth> I think it will work, but ugly solution 20:47:39 <andythenorth> but is it uglier than maintaining strings by hand? 20:50:58 <andythenorth> I wonder if I could dump all the strings out into some deps file 20:51:12 <andythenorth> maybe 20:54:31 * andythenorth -> bed 20:54:34 <andythenorth> in the dark 20:54:37 <andythenorth> bye :) 20:54:40 *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has quit [Quit: andythenorth] 20:55:50 *** Yotson [~Yotson@2001:980:6ac8:1:5cc2:a2cf:6986:73aa] has quit [Quit: .] 21:04:56 *** MTsPony [~marctraid@008-086-128-083.dynamic.caiway.nl] has quit [] 21:07:22 *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd 21:12:05 *** sla_ro|master [slamaster@89.137.74.191] has quit [] 21:14:23 *** Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd [] 21:15:37 *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has quit [] 21:24:50 <frosch123> night 21:24:54 *** frosch123 [~frosch@frnk-5f7462b7.pool.mediaWays.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn] 21:27:06 *** LSky` [LSky@5ED4B2EA.cm-7-5c.dynamic.ziggo.nl] has quit [] 21:28:06 *** Hazzard_ [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has quit [Ping timeout: 480 seconds] 21:29:53 *** Pereba [~UserNick@179.181.231.175] has quit [Quit: AdiIRC is updating to v1.9.4 Beta Build (2014/07/30) 64 Bit] 21:30:32 *** Pereba [~UserNick@179.181.231.175] has joined #openttd 21:31:38 *** shirish [~quassel@0001358e.user.oftc.net] has quit [Ping timeout: 480 seconds] 21:33:25 *** Hazzard_ [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has joined #openttd 21:33:46 <Wolf01> 'night 21:33:56 *** Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.] 21:37:02 *** Hazzard__ [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has joined #openttd 21:43:11 *** Hazzard_ [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has quit [Ping timeout: 480 seconds] 21:55:46 *** Pereba [~UserNick@179.181.231.175] has quit [Quit: AdiIRC - Free irc client @ www.adiirc.com] 21:57:14 *** MTsPony [~marctraid@008-086-128-083.dynamic.caiway.nl] has joined #openttd 22:36:57 *** Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds] 23:28:39 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Quit: Leaving] 23:33:44 *** Stimrol [~Stimrol@46-239-219-51.tal.is] has quit [Ping timeout: 480 seconds] 23:35:20 *** Stimrol [~Stimrol@vpnx132.nemendur.hi.is] has joined #openttd 23:42:01 *** Hazzard [~2668e0ee@188.cimarosa.openttdcoop.org] has quit [Quit: Page closed] 23:52:43 *** keoz [~keikoz@pha75-1-81-57-54-15.fbx.proxad.net] has joined #openttd 23:55:32 *** yorick [~yorick@ip51cd0513.speed.planet.nl] has quit [Remote host closed the connection]