Back to Home / #openttd / 2014 / 07 / Prev Day | Next Day
#openttd IRC Logs for 2014-07-30

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