Config
Log for #openttdcoop.devzone on 18th November 2010:
Times are UTC Toggle Colours
00:16:24  <Lakie> Testing it on linux gives a segment fault, heh
00:16:51  <Lakie> "grfcodec -d -o png openttd_very_long_name_which_might_break.grf ./"
00:28:33  *** thgergo has quit IRC
01:10:31  *** KenjiE20 has quit IRC
03:04:38  *** Lakie has quit IRC
05:01:07  <Brot6> Unable to connect to http://dev.openttdcoop.org/sys/: execution expired
07:06:54  <welshdragon> DJNekkid, you around?
07:13:47  <welshdragon> DJNekkid, just wondering how your GRFmaker would work
07:55:58  <Brot6> GRFCodec - Revision 799:cb7e8f8c96d8: Fix: reading beyond the bounds of a buffer (Rubidium) @ http://dev.openttdcoop.org/projects/grfcodec/repository/revisions/cb7e8f8c96d8
08:42:28  *** Yexo has quit IRC
08:50:28  <Brot6> 2cc train set - Feature #1861 (New): South African class 6E (EmperorJake) @ http://dev.openttdcoop.org/issues/1861
09:23:10  <Brot6> WebOTTD - Revision 37:7a9eb0dfbfd8: Change: move queries away from register.php and do some fixes (avdg) @ http://dev.openttdcoop.org/projects/webottd/repository/revisions/7a9eb0dfbfd8
09:36:28  * Rubidium wonders whether the 2cc guys would like it if I were to subtly break their NewGRF by committing Hirundo's patches
09:36:39  <seberoth> hi
09:36:55  <Rubidium> oi
09:37:41  <Rubidium> although one could reckon that the NewGRF itself is broken already, just that the current behaviour doesn't show it
09:43:55  <Rubidium> oh, it's only used in some test template that isn't actually used
10:07:59  <planetmaker> hm... how or where does Hirundo break it?
10:08:23  <planetmaker> you mean the visual effects?
10:21:25  <Rubidium> the first patch, if an old NewGRF sets e.g. 3x or 2x (where x != 8) OpenTTD's behaviour changes
10:22:47  <Rubidium> though as far as I can see dbsetxlw, nars2w and 2cctrainset are okay
10:35:47  * Terkhen likes the codechange patches in that queue
10:43:06  <planetmaker> so do I :-)
10:54:33  <Brot6> WebOTTD - Revision 38:d5605ecec24b: Change/Fix: move queries away from start.php and config.php a... (avdg) @ http://dev.openttdcoop.org/projects/webottd/repository/revisions/d5605ecec24b
10:55:59  <Brot6> WebOTTD - Bug #1852 (Closed): Centralise sql connections (avdg) @ http://dev.openttdcoop.org/issues/1852
10:55:59  <Brot6> WebOTTD - Bug #1852 (Closed): Centralise sql connections (avdg) @ http://dev.openttdcoop.org/issues/1852#change-4737
10:56:19  <avdg> hmm, double?
10:57:09  <Rubidium> it always does that
11:01:28  <Ammler> not always :-)
11:01:36  <Ammler> it is also not the same
11:02:07  <Ammler> one is the main issue, the other is a note
11:03:10  <Ammler> it happens only, if you opened the main issue not later as 10 "activity"
12:08:55  * avdg wonders how easy it would be must zf be included in webOTTD
12:09:37  <Ammler> zf?
12:09:49  <avdg> zend frameworks
12:10:01  <avdg> www.zendframework.com
12:10:24  * Ammler wonders, why you continued on webottd, if you like to change everything
12:11:09  <avdg> I've just centralized the db code
12:11:29  <avdg> just a start, but I don't know yet where to end
12:11:42  <Ammler> whatever, it looked like you rewrote the whole thing :-)
12:11:53  <avdg> mixing html, logic and a lot of stuff isn't good for extending
12:12:44  <avdg> the only hate I have with frameworks is portability
12:12:56  <avdg> it should be included in every installation, or its useless
12:29:40  * avdg wonders how close he can get to http://wiki.openttdcoop.org/Webbased_configurator
12:30:42  <Brot6> OpenGFX - Bug #1351: Road tunnel mis-alignment (2006TTD) @ http://dev.openttdcoop.org/issues/1351#change-4738
12:34:23  <seberoth> re
12:36:08  *** KenjiE20 has joined #openttdcoop.devzone
13:00:14  <Brot6> 2cc train set - Feature #1851: G2000-3 BB (trainboy2004) @ http://dev.openttdcoop.org/issues/1851#change-4739
13:03:09  *** welshdragon has quit IRC
13:03:58  * Rubidium wonders whether welshdragon is migrating BROS to yet another forum each time he disconnected
13:06:55  *** welshdragon has joined #openttdcoop.devzone
13:07:45  *** welshdragon has quit IRC
13:23:51  <Ammler> hehe
14:31:15  * planetmaker wonders why Hirundo leaves the newgrf wiki so tremendously out-dated...
14:34:53  * avdg wonders why he is doing nothing while there is so much todo
14:40:12  <planetmaker> Ammler: did you actually ever test OpenGFX tip?
14:40:20  <planetmaker> it must be broken for days...
14:41:32  <Ammler> as I am author of tip, you can assume that :-)
14:41:49  <planetmaker> opengfx tip crashes my openttd
14:41:53  <Terkhen> :O
14:42:18  <Ammler> he, and you think, that is caused by my commit?
14:42:28  <planetmaker> yes. as tip-1 works :-)
14:42:36  <Ammler> :-(
14:43:13  <Ammler> you see, what my commit does?
14:43:21  <Ammler> not that much :-P
14:43:25  <planetmaker> yes, it adds the counter sprite
14:44:44  <Ammler> well, rather fix your removing
14:45:25  <Ammler> I might indeed not have tested it with openttd
14:45:29  <Ammler> but I did with ttdp
14:47:28  <Terkhen> r554 runs fine for me
14:48:33  <Ammler> yeah, it is also active on my openttd, so yes, I tested it :-)
14:49:06  <planetmaker> wtf... now it works, too...?
14:49:12  <Ammler> :-)
14:49:19  <planetmaker> beats me
14:53:21  <Ammler> openttd.org down again?
14:53:53  <Rubidium> no, just the server
14:56:32  <Brot6> OpenGFX - Bug #1494 (Rejected): Mirror does use other bundle name (Ammler) @ http://dev.openttdcoop.org/issues/1494#change-4740
14:59:52  <Brot6> OpenGFX - Bug #823: Houses: sprites too wide, Bounding boxes overlapping (Ammler) @ http://dev.openttdcoop.org/issues/823#change-4741
15:01:35  <Ammler> planetmaker: why did you move #668 to 1.0?
15:01:36  <Brot6> Ammler: planetmaker: #668 is http://dev.openttdcoop.org/issues/show/668 "OpenGFX - Bug #668: bubble generator building stage - #openttdcoop Development Zone"
15:02:39  <planetmaker> I don't consider it really urgent
15:03:00  <Ammler> but isn't that ready to code?
15:03:34  <planetmaker> it needs mostly to take the (original) graphics and re-assemble them in a fitting way
15:03:42  <planetmaker> that is: most is graphical and / or cutting work
15:04:07  <planetmaker> all I got from Zephyris when asking was: here are the original graphics, do it yourself
15:05:09  <Ammler> so those 4 sprites wouldn't fix it...
15:05:52  <planetmaker> I think it means to re-work the bubble generator completely and re-arange the bubble tubes so that they're not on the sprite border
15:06:05  <planetmaker> so it's not an easy-peasy task ;-)
15:06:28  <planetmaker> and I was too lazy to actually start with that
15:06:29  <Ammler> ok :-)
15:06:49  <Ammler> you should have written that :-P
15:07:00  <planetmaker> maybe I'm wrong :-)
15:11:32  <Brot6> OpenGFX - Feature #1470: use custom_tags.txt on both types (nml and nfo) (Ammler) @ http://dev.openttdcoop.org/issues/1470#change-4743
15:19:15  <Brot6> OpenGFX - Feature #1369 (Rejected): UTF-8 fonts (Ammler) @ http://dev.openttdcoop.org/issues/1369#change-4745
15:19:21  <Ammler> #942 looks done
15:19:22  <Brot6> Ammler: #942 is http://dev.openttdcoop.org/issues/show/942 "OpenGFX - Feature #942: Profit icons are too similar to "moving" icon - #openttdcoop Development Zone"
15:20:01  <planetmaker> yes
15:21:28  <planetmaker> There is a reason we added support for truetype fonts! But yes, automatic font detection fails if you use Cyrillic in English. <-- actually that's not really true here ;-)
15:21:50  <planetmaker> but quite common, I guess
15:29:49  <Brot6> GRFCodec - Revision 800:527b37341144: Change: Callback 10 works for road vehicles and ships as well. (Rubidium) @ http://dev.openttdcoop.org/projects/grfcodec/repository/revisions/527b37341144
15:29:49  <Brot6> GRFCodec - Revision 801:ad520e8eb371: Add: support for road vehicle property 21 and ship property... (Rubidium) @ http://dev.openttdcoop.org/projects/grfcodec/repository/revisions/ad520e8eb371
15:35:33  *** Lakie has joined #openttdcoop.devzone
15:43:13  <Brot6> WebOTTD - Revision 39:225a1cc374c6: Fix: remove a broken line of code (avdg) @ http://dev.openttdcoop.org/projects/webottd/repository/revisions/225a1cc374c6
15:54:07  <Brot6> OpenGFX - Feature #942 (Closed): Profit icons are too similar to "moving" icon (Ammler) @ http://dev.openttdcoop.org/issues/942#change-4746
15:54:38  <Rubidium> Lakie: is the issue now fixed (with a self-compiled grfcodec)?
15:55:49  <Lakie> I'll test it in a minute
15:59:21  <Ammler> nothing done, but 3 tickets closed :-)
15:59:29  <Lakie> Heh
15:59:42  * planetmaker only closed one
15:59:51  <Brot6> OpenGFX - Support #665 (Closed): exporting archive (Ammler) @ http://dev.openttdcoop.org/issues/665#change-4747
15:59:51  <Brot6> OpenGFX - Revision 555:0e9c90001899: Fix #1351: Road tunnel entries were mis-aligned with respect... (planetmaker) @ http://dev.openttdcoop.org/projects/opengfx/repository/revisions/0e9c90001899
15:59:51  <Brot6> OpenGFX - Bug #1351 (Closed): Road tunnel mis-alignment (planetmaker) @ http://dev.openttdcoop.org/issues/1351#change-4748
16:00:14  <Ammler> but you had work included, ineffective ;-)
16:01:01  <Ammler> did I already mention that I hate apache?
16:01:03  <planetmaker> :-P
16:01:18  * planetmaker hugs Ammler and hands a cookie.
16:01:23  <planetmaker> But yes, I think you did
16:01:34  <Ammler> why did I find nginx?
16:01:57  <planetmaker> probably you talked to the openttd guys. Strange people anyway ;-)
16:03:36  <Lakie> Still get a segment fault, Rubidium
16:11:04  <Rubidium> Lakie: what does valgrind / gdb say?
16:11:08  <Lakie> Probably means more to you, "Program received signal SIGSEGV, Segmentation fault.", "0xb7d6caa1 in free () from /lib/libc.so.6"
16:11:25  <Rubidium> I need gdb's backtrace
16:12:53  *** ODM has joined #openttdcoop.devzone
16:13:09  <Lakie> I'm afraid you''d have to tell me how to do that. :x
16:13:30  <planetmaker> gdb grfcodec blubber.grf
16:13:43  <planetmaker> and then bt after it crashed
16:13:43  <Rubidium> Lakie: you're using r801, right?
16:14:34  <Lakie> Yeah
16:18:41  <Lakie> http://pastebin.com/LbdZiAe3
16:18:45  <Lakie> I think
16:24:50  <Rubidium> pff...
16:26:10  <Rubidium> grfcodec is filled with strcpys and the likes without proper boundaries checks
16:27:15  <Rubidium> sadly enough it's not something that's easily fixed
16:27:27  <Rubidium> means a massive review of loads of code
16:28:11  <Lakie> Eek
16:28:33  <Lakie> I guess Josef never thought people would use large filenames?
16:29:06  <avdg> hmm... is the problem of *.openttd.org reported yet?
16:29:15  <Terkhen> yes
16:29:19  <Rubidium> avdg: no
16:29:36  <Rubidium> avdg: the effects yes, but we don't know what the problem is yet
16:29:44  <avdg> ah, ok
16:29:51  <Brot6> GRFCodec - Bug #1862 (New): Littered with unsafe string ops (Rubidium) @ http://dev.openttdcoop.org/issues/1862
16:31:08  <DJNekkid> arrr maties!
16:35:12  <DJNekkid> btw, does anyone remember why this channel was formed? :)
16:35:41  <planetmaker> uhm... ?
16:36:14  <Ammler> @topic get 1
16:36:14  <Webster> Ammler: Talk about things hosted and developed on http://dev.openttdcoop.org
16:36:41  <Ammler> DJNekkid: 2cc train set was the first project?
16:36:52  <Ammler> or IS2
16:37:50  <DJNekkid> it was the 2cc-chat channel, and then the WAS-guys needed somewhere to chat, so we made a devzone channel instead :D
16:38:01  <DJNekkid> so basicly Ammler was correct :D
16:38:32  <planetmaker> yup :-)
16:38:42  <planetmaker> the baby grew since then :-)
16:39:04  <DJNekkid> indeed, and now the major parts of the ottd devs are here aswell :D
16:39:06  <Ammler> the WAS guys was long after
16:39:23  <Ammler> at that time we migrated opengfx already
16:39:47  <DJNekkid> it might have been ogfx and not WAS...
16:40:48  <planetmaker> yup, probably
16:40:49  <Ammler> yep, is2 has project id 1
16:41:51  <Ammler> the first newgrf is swisstowns :-P
16:42:17  <Ammler> 2nd is 2cc
16:46:30  <DJNekkid> bros is getting _kind of_ close :D
16:46:51  <planetmaker> heeh :-9
16:47:31  <DJNekkid> probably at close to 20k lines of code already
16:48:14  <DJNekkid> well, 10 atleast
16:50:14  <Lakie> I'm going to assume by strcpy's and such without constraints you mean something like strcpy_s where it has a maximum size?
16:50:32  <Lakie> Althoughthat function could be specific to VS'.
16:55:26  <planetmaker> hm. should we install a backup master server on the devzone?
16:56:34  <DJNekkid> so, what is you guys' favorite x-mas beer?
16:57:09  <V453000> xmas beer ... hmm
16:57:11  <planetmaker> I prefer Feuerzangebowle ;-)
16:57:22  <planetmaker> +n
16:57:25  <DJNekkid> wanna send me a can? :)
16:57:41  <planetmaker> you cannot put it into cans :-)
16:57:49  <DJNekkid> bottle then :)
16:57:54  <planetmaker> Nor that :-P
16:57:55  <Ammler> [17:55] <planetmaker> hm. should we install a backup master server on the devzone? <-- Rubi can have a vps and we don't care :-P
16:57:59  <planetmaker> You need to prepare it fresh
16:57:59  <DJNekkid> or is it draught only?
16:58:54  <Ammler> the problem of the current mirror solution is that it needs a 100% up master server
16:59:04  <planetmaker> You need wine, some spices and oranges, and rum. A sugar can and a pot where you put in the bowle from wine, spices, oranges.
16:59:21  <planetmaker> then you put the sugar hat over the pot, soak it thoroughly with rum and ignite it
16:59:31  <planetmaker> of course you have to heat the whole thing
16:59:34  <DJNekkid> sounds like a german variant of "gløgg"
16:59:50  <DJNekkid> and i would not call that beer :P
17:00:03  * planetmaker neither ;-)
17:00:14  <planetmaker> That's why I said 'I prefer... ' ;-)
17:00:29  <DJNekkid> i thought that might have been a beer-brand
17:01:34  <DJNekkid> but when i look at it now, it does look something like "bird signing bowl"
17:01:55  <DJNekkid> or "bird song in a bowl"
17:02:00  <DJNekkid> or something like that
17:02:22  <DJNekkid> my german is VERY VERY limited tho, almost as limited as my french ...
17:02:36  <planetmaker> Feuer = fire. Zange = pliers, bowle = bowle
17:03:02  <DJNekkid> ich neichen spreche deutche is basicly what i know, along with bra¨utworst
17:03:30  <planetmaker> yes. 'ich' was spellt correctly :-P
17:03:38  <planetmaker> and 'spreche' ;-)
17:03:45  *** thgergo has joined #openttdcoop.devzone
17:04:07  <DJNekkid> i only know how to pronoucne is, with an extreme norwegian accent :D
17:05:13  <avdg> lets study "ich bin snappy" :p
17:05:20  <planetmaker> "Ich spreche kein deutsch" und "Bratwurst" ;-)
17:06:13  <avdg> http://www.youtube.com/watch?v=Oe3FG4EOgyU <- :p
17:06:14  <Webster> Title: YouTube - Schnappi Das Kleine Krokodil (at www.youtube.com)
17:06:59  <avdg> hmm *reads Universal Music group :x*
17:10:29  *** frosch123 has joined #openttdcoop.devzone
17:13:43  <Brot6> grfcodec: update from r795 to r801 done - http://bundles.openttdcoop.org/grfcodec/nightlies/r801
17:14:48  <DJNekkid> my french one is better ...
17:15:06  <DJNekkid> je ne parle pas francoise, tu parle anglais? :D
17:16:28  <Brot6> 2cc train set - Feature #1706: Alstom AGV (Voyager1) @ http://dev.openttdcoop.org/issues/1706#change-4749
17:20:38  <Brot6> 2cctrainset: compile of r672 still failed (#1858) - http://bundles.openttdcoop.org/2cctrainset/nightlies/ERROR/r672
17:22:28  <Brot6> firs: update from r1522 to r1524 done (3 errors) - http://bundles.openttdcoop.org/firs/nightlies/r1524
17:23:43  <Brot6> heqs: update from r506 to r508 done - http://bundles.openttdcoop.org/heqs/nightlies/r508
17:26:27  <Brot6> OpenGFX - Bug #810: sprite of airport hangar (planetmaker) @ http://dev.openttdcoop.org/issues/810#change-4750
17:27:14  <Brot6> opengfx: update from r554 to r555 done - http://bundles.openttdcoop.org/opengfx/nightlies/r555
17:28:27  <Brot6> 2cc train set - Feature #1706: Alstom AGV (DJNekkid) @ http://dev.openttdcoop.org/issues/1706#change-4751
17:29:27  <Brot6> 2cc train set - Revision 673:1303addaf8e8: Fix: Close #1858 ? (DJNekkid) @ http://dev.openttdcoop.org/projects/2cctrainset/repository/revisions/1303addaf8e8
17:29:27  <Brot6> 2cc train set - Bug #1858 (Closed): DevZone compile failed (DJNekkid) @ http://dev.openttdcoop.org/issues/1858#change-4752
17:29:38  <Brot6> worldairlinersset: update from r668 to r669 done - http://bundles.openttdcoop.org/worldairlinersset/nightlies/r669
17:29:39  <Brot6> Following repos didn't need a nightlies update: 32bpp-extra (r39), ai-admiralai (r75), airportsplus (r69), basecosts (r22), belarusiantowns (r7), comic-houses (r71), fish (r415), frenchtowns (r4), grfcodec (r801), indonesiantowns (r38), manindu (r5), metrotrackset (r56), newgrf_makefile (r232), nml (r1035), nutracks (r117), ogfx-trains (r90), ogfx-trees (r41), openmsx (r97), opensfx (r97), smts (r19), snowlinemod (r45), swedishrails
17:29:39  <Brot6> (r188), swisstowns (r21), transrapidtrackset (r15), ttdviewer (r26), ttrs (r23)
17:30:33  <Ammler> the compiler could create automatically a ticket, if djn commits something
17:30:41  <Ammler> liek "have you added the file?"
17:30:48  <Brot6> 2cctrainset: update from r662 to r673 done (8 errors) - http://bundles.openttdcoop.org/2cctrainset/nightlies/r673
17:31:07  <Ammler> oh
17:31:24  <Ammler> you were fast this time :-D
17:33:04  <Ammler> and didn't you say "I will do next time" yesterday?
17:33:24  <DJNekkid> check the logs :P
17:33:48  <Ammler> the logs for?
17:34:13  <DJNekkid> what i saied yesterday
17:35:46  <Ammler> must be something like "don't care" then ;-)
17:38:50  <DJNekkid> sounds probably about right :P
17:39:44  <Brot6> Following repos rebuilds successful without any difference to earlier nightlies builds: 32bpp-extra (Diffsize: 1), basecosts, comic-houses (2 errors) (Diffsize: 14), fish (4 errors), metrotrackset (Diffsize: 1), nutracks (2 errors), ogfx-trees, smts, snowlinemod, transrapidtrackset (Diffsize: 12), ttrs (7 errors)
18:12:34  *** thgergo has quit IRC
18:12:49  <Brot6> 2cc train set - Feature #1851: G2000-3 BB (trainboy2004) @ http://dev.openttdcoop.org/issues/1851#change-4753
18:12:49  <Brot6> 2cc train set - Feature #1851: G2000-3 BB (trainboy2004) @ http://dev.openttdcoop.org/issues/1851#change-4754
18:34:10  *** thgergo has joined #openttdcoop.devzone
18:35:22  *** thgergo has quit IRC
18:37:08  *** thgergo has joined #openttdcoop.devzone
18:57:40  *** frosch123 has quit IRC
19:05:30  *** andythenorth has joined #openttdcoop.devzone
19:14:38  <Brot6> 32bpp-ez-patches: update from r21226 to r21243 done - http://bundles.openttdcoop.org/32bpp-ez-patches/testing/r21243
19:25:43  <Brot6> clientpatches: update from r21226 to r21243 done - http://bundles.openttdcoop.org/clientpatches/testing/r21243
19:26:52  <Hirundo> train property 22 is currently called 'visual_effect_and_powered' in NML, what should I use for RVs/ships?
19:27:57  <Brot6> serverpatches: compile of r21244 still failed (#1855) - http://bundles.openttdcoop.org/serverpatches/testing/ERROR/r21244
19:28:14  <Rubidium> prop20 and prop1b :)
19:28:30  <Rubidium> for added confusion ofcourse :)
19:31:19  <planetmaker> visual_effect?
19:36:31  <Hirundo> visual_effect also for trains? the wagon power part is useless in action0 anyway
19:37:30  <planetmaker> well. For trains it makes a difference and the power part should stay mentioned
19:37:47  <planetmaker> Is there a need to call it the same for different vehicles, even if it does different things?
19:38:47  <Hirundo> 7/8th of it is the same, only 1 bit is different
19:39:18  <planetmaker> :-)
19:39:25  <planetmaker> which makes the difference
19:40:37  <Hirundo> hmm.... NML implementation of CB 36 contains a significant amount of non-working code
19:40:57  <Hirundo> implementations for CBs that don't exist, that is
19:57:57  <Brot6> NewGRF Meta Language - Revision 1036:b55f779b562f: Fix: Mismatch between CB36 properties existing... (Hirundo) @ http://dev.openttdcoop.org/projects/nml/repository/revisions/b55f779b562f
20:00:37  <Brot6> GRF Tools - Feature #1864 (New): long option --version (Ammler) @ http://dev.openttdcoop.org/issues/1864
20:02:00  <Ammler> ups, wron project ^
20:02:31  <Brot6> GRFCodec - Feature #1864 (New): long option --version (Ammler) @ http://dev.openttdcoop.org/issues/1864
20:06:01  <Rubidium> boring...
20:06:05  <Rubidium> why is it even needed?
20:10:22  <Lakie> um, I don't think grfcodec supports any long arugments
20:10:54  <Lakie> So why would it be needed since it only provides short optins anyway?
20:23:54  <Ammler> Rubidium: why was -v needed, but I see, not that easy it seems :-)
20:24:43  <Rubidium> so you can detect the version of grfcodec/nforenum by means of a script
20:25:50  <Ammler> maybe it was because of nml
20:26:11  <Ammler> nmlc does have --version but not -v :-)
20:40:53  <DJNekkid> does anyone of you know if i can combine two texts into one?
20:41:16  <planetmaker> cat a b > c ?
20:41:24  <DJNekkid> ehm, in nfo :)
20:41:39  <Ammler> "Hello" "World"
20:41:45  <planetmaker> ^
20:41:59  <DJNekkid> andythenorth <poke>
20:42:01  <planetmaker> I'd add a space somewhere, though ;-)
20:42:05  <Ammler> or STR_HELLO STR_WORLD
20:42:10  <andythenorth> DJNekkid: hi
20:42:12  <DJNekkid> i've heard of text stacks ...
20:42:19  <DJNekkid> i think this might be your field :D
20:43:04  <DJNekkid> lets say i have two action4's: F0 is "Hello\n", F1 is "World!"
20:43:19  <DJNekkid> can i somehow combine them into "Hello\nWorld" ?
20:43:51  <Lakie> Using the text stack references
20:44:15  <Lakie> Although I'm guessing more likely you'll have to have them static for most texts
20:44:34  <Rubidium> 81 00 F0 81 00 F0 (however, this can't be used in nfo as that may not contain internal 00s)
20:45:02  <Rubidium> so assuming they're actually DCF0 / DCF1 (or something similar)
20:45:11  <Rubidium> 81 F0 DC 81 F1 DC
20:45:29  <Rubidium> (if I understand the stringcodes spec properly)
20:45:47  <DJNekkid> i usually work in D0<xx>
20:46:02  <Rubidium> fine as well, as long as <xx> isn't 00
20:46:21  <DJNekkid> well, i guess it doesnt help me
20:46:57  <andythenorth> DJNekkid: I only know how to do it for industry where registers are available
20:46:59  <Lakie> Heh, if you are trying to dynamically 'combine' strings I doubt it'll work
20:47:02  <andythenorth> not sure in other contexts
20:47:04  <Rubidium> or you must put stuff in the textstack and use 80 80, but I've got absolutely no clue how to put stuff on the text stack (and where that's actually allowed)
20:47:12  <andythenorth> you can dynamically combine substrings
20:47:24  <DJNekkid> Lakie: that is basicly what i want
20:47:34  <andythenorth> DJNekkid: it's often easier to just use CPP
20:47:54  <DJNekkid> one train to have 4 different things available in the purchase list
20:47:58  <Lakie> Well, andythenorth, very few places actually take input from the grf to put in the text stack
20:48:06  <Lakie> From memory.
20:48:13  <planetmaker> DJNekkid: but you can combine that at compile time, can't you?
20:48:19  <DJNekkid> and each of them have 4-6 different things
20:48:21  <andythenorth> I would guess it's mostly industries that can use it
20:48:23  <planetmaker> not needed to do it dynamically, or?
20:48:24  <DJNekkid> planetmaker: thats basicly what im asking
20:48:42  <planetmaker> I'm asking you what is needed, though ;-)
20:48:45  <Lakie> I believe it is, andythenorth.
20:49:17  <DJNekkid> planetmaker: aprox 15 different texts, or 450 different texts :)
20:49:26  <Lakie> Heh
20:49:36  <Lakie> Combine them in code using those defines and such?
20:49:39  <DJNekkid> maybe up to 20, but still
20:50:21  <Lakie> Don't livery names already append to the end of vehicle names?
20:50:26  <DJNekkid> but afaik dont i have 450 text slots to choose from?, isnt 256 max?
20:50:27  <andythenorth> DJNekkid: yeah, checking cb specs, it appears to be mostly (perhaps entirely) industries that can use text stack
20:50:41  <andythenorth> you need to push references into the stack via registers, which you don't get
20:50:52  <andythenorth> there are string codes you might be able to use
20:50:57  <Lakie> I think its only industries and even then only a handful of places...?
20:51:01  <DJNekkid> i blame the (O)TTD(P) devs :P
20:51:06  <Lakie> Hhe
20:51:08  <Lakie> Heh*
20:51:12  <DJNekkid> :P :P
20:51:24  <Lakie> I blame bad grf design?
20:51:25  <Lakie> ;)
20:51:27  <DJNekkid> then my simple awnser to Jon is "no, you can have that"
20:51:37  <DJNekkid> well, all in all we can blame 8bit :)
20:52:21  <Lakie> For what D4 limits?
20:52:21  <DJNekkid> who wants to write VarAction4? :)
20:52:31  <DJNekkid> D4 ?
20:52:37  <Lakie> You should get 0x3FF for D4/D0 texts
20:52:54  <DJNekkid> i.e. 1024 text slots?
20:53:12  <DJNekkid> D000 -> D4FF ?
20:53:14  <Lakie> I think so
20:53:17  <Lakie> No
20:53:23  <DJNekkid> D3FF i mean
20:53:25  <Lakie> D000 to D3FF
20:53:59  <Lakie> And then you use D400 to D7FF to access them for some reason...
20:54:00  <DJNekkid> ^^
20:54:10  <DJNekkid> i do?
20:54:26  <DJNekkid> or ...
20:54:27  <Lakie> yeah
20:54:36  <DJNekkid> i usually use <xx> 80 :P
20:54:38  *** roelmb has joined #openttdcoop.devzone
20:54:40  <Lakie> I don't think it matters in most plaes
20:54:48  <Lakie> Thats for callback returns
20:54:51  <DJNekkid> where xx is D0<xx>
20:54:58  <roelmb> guys need some help with wygwin :(
20:54:58  <Lakie> And its 0x8000 | <return>
20:55:01  <DJNekkid> basicly the only place i use it
20:55:10  <DJNekkid> callback 23 iirc
20:55:21  <Lakie> And internally its 0xd400 + <return>
20:55:45  <DJNekkid> yes, callback23
20:55:50  <Lakie> Doesn't matter for most things, including objects as it's adjusted internally.
20:55:55  <DJNekkid> yup
20:55:59  <roelmb> I have and patch :command not found error :S what can I do to let cygwin patch the trunk?
20:56:14  <planetmaker> install patch.exe
20:56:40  <roelmb> it worked before so I don't get it why it stoped working
20:57:43  <planetmaker> probably you didn't set correctly your paths
20:58:06  <roelmb> i did hmmm where did I installed cygwin again lets see
20:59:28  <roelmb> and how do I need to install patch.exe?
20:59:49  <planetmaker> ask the cygwin install guide. I don't know
20:59:52  <roelmb> :P
21:00:48  <Rubidium> there are very few (if at all) people with cygwin experience in here or working on/playing with OpenTTD in general
21:01:39  <Ammler> since mingw works again, I would use that :-)
21:01:52  <planetmaker> ;-)
21:02:42  <planetmaker> Rubidium: sorry, you win no cookie. Fred was not involved there at all ;-)
21:02:55  <DJNekkid> Lakie: just to be clear ... if i define D100-D1FF i assume that callback 23 needs to return <xx> 81 ?
21:03:13  <Terkhen> :D
21:03:23  <Ammler> roelmb: doesn't the wiki tell you?
21:03:33  <Ammler> (wiki.openttd.org)
21:03:53  <planetmaker> I think cygwin is past the 'supported' state. But not sure
21:04:20  <Ammler> didn't it make a comeback?
21:04:28  <planetmaker> maybe :-)
21:04:35  <Ammler> or was that just for DevZone?
21:05:04  <planetmaker> I never installed cygwin... mingw was easier
21:05:05  <roelmb> :P
21:05:10  <Terkhen> IIRC someone suggested cygwin when I was having problems with mingw
21:05:16  <planetmaker> he :-)
21:05:17  <roelmb> I have both so tell me which is best :D
21:05:26  <planetmaker> the one which does the job
21:05:32  <Ammler> best is using native linux :-P
21:05:38  <roelmb> I'm reinstalling cygwin maybe that fixes the problem :P
21:05:42  <planetmaker> if both do it: the one with the least effort
21:05:47  * Terkhen uses a virtual machine for compiling newgrfs
21:05:57  <Terkhen> it was easier in the end
21:06:03  <roelmb> haha me too only don't have time for that today :D
21:06:04  <Ammler> oh :-o
21:06:22  <roelmb> i have like 4 virtual machines xD all diffrent versions
21:06:57  <Ammler> roelmb: if it is a matter of time, use teh precompiled nightlies
21:07:09  <Ammler> or do you need to test some custom things?
21:07:25  <roelmb> need to test CDIS on the newest trunk
21:07:47  <Rubidium> planetmaker: I know it's not Fred, but we have to keep Fred alive :)
21:07:48  <planetmaker> mdep            1m54.484s   0m30.164s        0m33.807s <-- compile times for windows (native) / linux VM on windows / OSX (native)
21:07:51  <Ammler> doesn't the megagigaclan provide those?
21:07:57  <planetmaker> hahahaha :-)
21:08:10  <roelmb> yes but I'm from them :D
21:08:25  <roelmb> and I'm trying to get it patched to a newer version
21:08:35  <Terkhen> maybe we should give "Fred" some of the tasks currently asigned to "someone", that way we can blame Fred instead
21:08:47  <roelmb> the version we run now is patched on the 0.7.5 :S
21:08:54  <planetmaker> good idea, Terkhen , Rubidium :-)
21:09:07  <planetmaker> The new phantom of the channel and forums
21:09:26  <planetmaker> roelmb: I'd try to slowly update IS2 to current trunk
21:09:32  <Ammler> good luck to get such old patch working on trunk
21:09:46  <planetmaker> And then merge it into a CD of approx. equal revision
21:10:00  <planetmaker> but yes... it's a horrible task :-)
21:10:22  <roelmb> I'm going to try that my friend :P I only should be able to aplly the patch before testing it :D
21:10:56  <Ammler> start with wiki and tt-forums, it isn't just patching
21:11:04  <planetmaker> roelmb: I'd not try to apply the patch. I'd just clone the IS2 repository :-)
21:11:08  <Lakie> 0x3FF + 0x8000, DJNekkid
21:11:10  <Ammler> you will need some c++ skills ;-)
21:11:19  <roelmb> we have "some" =D
21:11:20  <Lakie> So basiclly \wx8<x>
21:11:47  <Rubidium> roelmb: do you have any clue about OpenTTD's source code and software development in general?
21:12:13  <roelmb> partly :D its to long ago that I patched or changed things
21:13:15  <roelmb> so for the moment rubidium we could say no :(
21:14:06  <Rubidium> in any case your best strategy is updating IS2 to trunk and then applying a recent cargodist patch from fonso onto that
21:14:34  <roelmb> jup I know
21:14:38  <Rubidium> as updating both through 2 years of development is asking for a load of trouble
21:15:12  <Rubidium> although is2 is already 8 months behind
21:15:24  <planetmaker> especially as CD has undergone at least *some* development
21:15:53  <Rubidium> oh, there's an IS2 from r20009
21:15:56  <roelmb> jup but thats the one we could drop if it is not possible to merge IS we drop that one and use the cheat with the oil stations
21:16:16  <roelmb> *oil rigs I mean
21:17:08  <roelmb> as for now i go to bed need to be up early in the morning so cya
21:17:41  <Rubidium> ciao
21:17:46  *** roelmb has quit IRC
21:18:25  <planetmaker> right...
21:18:41  <Terkhen> and good luck! :)
21:18:59  *** frosch123 has joined #openttdcoop.devzone
21:23:57  *** Yexo has joined #openttdcoop.devzone
21:29:33  * Rubidium prospects roelmb will fail with the merging; some massive collisions in the order related code
21:31:03  * Rubidium pokes Hirundo with FS#4242
21:31:14  <planetmaker> that guess might not be far-fetched
21:34:55  <Brot6> FISH - Revision 416:e60d04ca448d: Feature: smoke effect for Log Raft (andythenorth) @ http://dev.openttdcoop.org/projects/fish/repository/revisions/e60d04ca448d
21:40:54  <Rubidium> andythenorth: you know that that makes FISH work only for r21240+?
21:41:00  <Brot6> FISH - Revision 417:f654448aef91: Feature: smoke for small ferry (andythenorth) @ http://dev.openttdcoop.org/projects/fish/repository/revisions/f654448aef91
21:41:54  <andythenorth> Rubidium: ho
21:42:15  <andythenorth> I should learn about what's going into release candidates
21:42:40  <andythenorth> I don't mind if new FISH needs a nightly for a bit
21:43:04  <andythenorth> as long as it's not for ever :)
21:43:05  <Rubidium> you can make it work with older versions if you put some action 7/9 (don't know which)
21:43:34  <andythenorth> planetmaker is the king of action 7
21:43:35  <Rubidium> around the new property (needs an extra action 0 as well)
21:43:45  <andythenorth> I took a vow earlier in life, to never write action 7
21:43:52  <andythenorth> I can't go back on that :P
21:44:09  <Rubidium> otherwise... support for this in stable releases will take quite a few months :)
21:44:16  <Ammler> well, if the newer FISH has the only difference with smoke, then you don't need it
21:44:28  <andythenorth> well FISH can just wait a bit
21:44:43  <andythenorth> old FISH is fine for players who don't have nightlies
21:44:51  <planetmaker> lool @ andythenorth :-)
21:48:32  <Brot6> FISH - Revision 418:289f85d813ce: Feature: smoke for Utility Vessel (andythenorth) @ http://dev.openttdcoop.org/projects/fish/repository/revisions/289f85d813ce
21:48:32  <Brot6> FISH - Revision 419:032dd0d2839e: Feature: smoke for large ferry (andythenorth) @ http://dev.openttdcoop.org/projects/fish/repository/revisions/032dd0d2839e
21:48:32  <Brot6> FISH - Revision 420:2c326a130330: Feature: smoke for medium ferry (andythenorth) @ http://dev.openttdcoop.org/projects/fish/repository/revisions/2c326a130330
21:48:57  <andythenorth> ^ test to see if users of FISH nightly actually report errors due to old OTTD version :P
21:49:37  <planetmaker> andythenorth: then it needs a version check...
21:49:47  <planetmaker> I guess... I could do that
21:50:02  <andythenorth> feel free :D
21:50:04  <andythenorth> most welcome
21:50:21  <Ammler> but the GRF itself is compatible?
21:50:48  <Ammler> and did you already add MINV?
21:51:07  <andythenorth> dunno
21:51:46  <andythenorth> seems there's a version check already
21:51:52  <andythenorth> but no action 14 that I can see
21:52:01  * Ammler still wonders, why that smoke does break old openttd and those not just ignore it
21:52:11  <andythenorth> unknown prop
21:52:19  <andythenorth> causes errors
21:52:32  <Ammler> shouldn't it should ignore
21:52:39  <Ammler> ,*
21:53:11  <Ammler> bad patch Hirundo :-P
21:53:37  <Ammler> does it also break ttdp?
21:53:39  <Rubidium> Ammler: it's unknown to OpenTTD how big the property is
21:53:50  <andythenorth> Ammler: of course it breaks ttdp
21:53:58  <andythenorth> :D
21:55:19  <Ammler> Rubidium: ok, I didn't expect, it was the first time, openttd felt over unknown properity
21:55:27  <Ammler> -i
21:56:29  <Ammler> so it the properties were always known, just ignored in the past?
21:56:34  <Brot6> FISH - Revision 421:733a66dc8134: Feature: smoke for medium freight hovercraft (andythenorth) @ http://dev.openttdcoop.org/projects/fish/repository/revisions/733a66dc8134
21:57:13  <Ammler> I mean in the 0.4/0.5 times
21:58:26  <planetmaker> yes
21:58:37  * andythenorth added smoke for all that work
21:58:39  <planetmaker> specs gave the size. They were just unhandled
21:58:47  <planetmaker> New specs have an unknown size
21:58:56  <andythenorth> some ships don't look so good with smoke in odd places :D
21:59:07  <Terkhen> yes, that's how it was done for the air drag property
21:59:28  <andythenorth> Terkhen: nice looking patch
21:59:37  <andythenorth> I'll test :)
21:59:46  <Terkhen> thanks, currently it has a nasty bug in the selection code
22:00:00  <planetmaker> andythenorth: can I push version check without trouble for you?
22:00:00  <andythenorth> how do I apply the patch queue?  (hg)
22:00:08  <andythenorth> planetmaker: yes
22:00:08  <Terkhen> if you compile up to 040 you don't get the bug, but you don't have visual feedback of what you are selecting
22:00:19  <Terkhen> andythenorth: apply the patches in order, then compile
22:00:23  <andythenorth> k
22:00:51  <Brot6> FISH - Revision 422:28d13d3603c6: -Change: Update minimum OpenTTD version requirements (planetmaker) @ http://dev.openttdcoop.org/projects/fish/repository/revisions/28d13d3603c6
22:01:17  <andythenorth> is it a crashy type bug?
22:01:29  <DJNekkid> make
22:01:32  <DJNekkid> ehm, wrong window
22:01:40  <Terkhen> andythenorth: a crash caused by stupid mistake bug
22:01:47  <Ammler> andythenorth: edit .hgrc [extensions]mq=
22:01:58  <Ammler> then hg help mq should tell you the rest
22:04:03  <Terkhen> andythenorth: I have updated 050, now it shouldn't crash, but the selection will dance around if the window is not big enough for the train
22:04:09  <Ammler> planetmaker: 1.1.0 > 1.1
22:04:20  <planetmaker> hm?
22:04:41  <Ammler> current trunk is 1.1 but < 1.1.0
22:04:50  <planetmaker> yes. That's exactly what I did
22:04:56  <planetmaker> I didn't set the release bit
22:05:06  <Terkhen> heh, in fact it seems to work already :)
22:05:16  <Ammler> well, never mind, I just a bit hurt with rpm versioning :-)
22:05:27  <Ammler> but you set 1.1.0
22:05:27  <planetmaker> what do you mean?
22:05:37  <Ammler> wrote*
22:05:37  <planetmaker> where? what?
22:06:11  <andythenorth> Terkhen: I haven't applied 050, but how shiny :)
22:06:22  <Ammler> in the FISH version
22:06:38  <Terkhen> :)
22:06:59  <Ammler> trunk is version 1.1 but not 1.1.0, that's all I meant
22:07:22  <Terkhen> 050 seems to be working as expected now... it probably fails with RTL languages, but I'm not going to bother with that today
22:07:59  <planetmaker> oh... well. It's only text the user gets displayed
22:08:10  <planetmaker> So for users it's 1.1.0 or r20240
22:08:19  <planetmaker> that text won't change
22:08:26  <Ammler> hmm, true
22:09:58  <planetmaker> andythenorth: fish has no parameters, right?
22:14:27  <Brot6> FISH - Revision 423:bdd0b2f712af: Add: NewGRF version and parameter info (planetmaker) @ http://dev.openttdcoop.org/projects/fish/repository/revisions/bdd0b2f712af
22:14:56  <andythenorth> planetmaker: correct no parameters
22:15:06  <planetmaker> too late anyway :-P
22:17:22  *** frosch123 has quit IRC
22:17:54  <andythenorth> Terkhen: you handled goto depot and refit :)
22:18:23  <andythenorth> now all you need is 'goto depot and refit to [some calculated thing]' :P
22:18:41  <andythenorth> like 'highest paying cargo available at station A that is accepted at station B'
22:18:49  <Terkhen> hmmm... it shouldn't work at all if you are setting orders
22:19:36  <andythenorth> seems I was mistaken :P
22:19:38  <andythenorth> bad testing
22:19:41  <andythenorth> I should sleep
22:20:05  * planetmaker should also :-)
22:20:17  * Terkhen joins the trend too
22:20:22  <Terkhen> good night
22:20:23  <planetmaker> angenehmes Flohbeißen allerseits
22:20:47  <planetmaker> that's not translatable, but means 'good night' :-)
22:20:51  * Ammler should eat
22:21:30  <Ammler> anyway, good night you
22:21:47  <andythenorth> good night
22:21:48  *** andythenorth has left #openttdcoop.devzone
23:13:44  *** ODM has quit IRC
23:50:50  <Brot6> 2cc train set - Feature #1706: Alstom AGV (Voyager1) @ http://dev.openttdcoop.org/issues/1706#change-4759

Powered by YARRSTE version: svn-trunk