Log for #openttd on 3rd September 2012:
Times are UTC Toggle Colours
00:00:30  *** KingPixaIII [~pixa@] has quit [Ping timeout: 480 seconds]
00:03:45  *** KingPixaIII [~pixa@] has joined #openttd
00:04:46  *** Pixa [~pixa@] has quit [Ping timeout: 480 seconds]
00:08:51  *** LordPixaII [~pixa@] has quit [Ping timeout: 480 seconds]
00:58:40  *** Wakou [] has quit [Remote host closed the connection]
01:02:49  *** welshdragon [] has quit [Quit: welshdragon]
01:08:02  *** Frankr [] has quit [Quit: ChatZilla [Firefox 15.0/20120824154833]]
01:17:06  *** Zeknurn [] has quit [Read error: Connection reset by peer]
02:06:40  *** FLHerne [] has quit [Remote host closed the connection]
03:26:55  *** glx [glx@2a01:e35:2f59:c7c0:44e3:9d87:74e:447c] has quit [Quit: bye]
04:17:19  *** HerzogDeXtEr [] has joined #openttd
04:23:58  *** HerzogDeXtEr1 [] has quit [Ping timeout: 480 seconds]
04:50:11  *** supermop [] has joined #openttd
04:56:02  *** Eddi|zuHause [] has quit []
04:56:17  *** Eddi|zuHause [] has joined #openttd
05:27:05  *** Zeknurn [] has joined #openttd
05:44:54  *** supermop [] has quit [Quit: supermop]
06:00:38  *** M1zera [] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
06:10:59  *** sla_ro|master [slaco@] has joined #openttd
06:14:27  *** M1zera [] has joined #openttd
06:39:57  *** Markavian [] has joined #openttd
06:46:16  *** Markavian` [] has quit [Ping timeout: 480 seconds]
07:02:31  *** valhallasw [] has joined #openttd
07:13:29  *** M1zera [] has quit [Ping timeout: 480 seconds]
07:16:23  *** roboboy [] has joined #openttd
07:18:35  <Terkhen> good morning
07:27:53  *** roboboy [] has quit [Ping timeout: 480 seconds]
07:34:56  *** Elukka [] has joined #openttd
07:40:51  *** argoneus [] has joined #openttd
07:45:19  *** Devroush [] has joined #openttd
07:50:47  *** APTX [] has joined #openttd
07:52:53  *** dfox [] has quit [Ping timeout: 480 seconds]
07:53:38  *** APTX_ [APTX@2001:470:1f0b:1a9d:240:63ff:fefb:5994] has quit [Ping timeout: 480 seconds]
07:54:53  *** Elukka [] has quit []
08:06:04  *** dfox [~dfox@] has joined #openttd
08:07:05  *** kais58_ [] has joined #openttd
08:08:08  *** TheDude [] has joined #openttd
08:08:23  <TheDude> morning
08:09:00  *** kais58 [] has quit [Ping timeout: 480 seconds]
08:10:35  *** Knogle [] has joined #openttd
08:11:17  <TheDude> alwould anyone know how to add new cargos with town effect to be accessible with GS? (if I define e.g. such newgrf that valuables will have town effect)
08:11:23  <TheDude> hi planetmaker
08:11:50  <Knogle> oh, was just about to ask that :P
08:14:24  *** Elukka [] has joined #openttd
08:15:46  *** welshdragon [] has joined #openttd
08:20:14  <NGC3982> In english: Doublechecking or Double checking?
08:24:04  <planetmaker> TheDude: NewGRFs can define the  town_growth_effect for cargos
08:24:23  <TheDude> yes, property 18
08:24:32  <TheDude> and five possible Town effects
08:24:41  <TheDude> but how does it work with GS?
08:24:52  <planetmaker> and GS can read that, of course
08:25:04  <planetmaker> and grow towns however they want
08:25:05  <TheDude> wil it add e.g. the valuables to town window as mail, food ...
08:25:14  <planetmaker> yes
08:25:21  <planetmaker> or so I think
08:25:42  <TheDude> so, Knogle
08:25:50  <planetmaker> if they're of the water or food type
08:26:13  <planetmaker> not sure about goods. Quite sure that nothing will be shown for pax and mail
08:26:17  <TheDude> well, I made newgrf that makes valuables to have TE as goods
08:27:07  *** Elukka [] has quit []
08:27:07  <TheDude> and when I check it with GS, there is no valuables in town window, but indeed, when I transport valuables to town, it is counted, but to the goods row
08:27:26  <Knogle> but that replaces goods with diamonds, except it's still showing up as "goods" in town gui.
08:27:37  <Knogle> I don't want it to replace something else.
08:28:54  <TheDude> we are wondering, if this is feature, you know
08:29:19  <TheDude> I would expect that if I define TE to some cargo, it will be shown in town window
08:30:45  <planetmaker> I would expect that, too
08:31:10  <planetmaker> For those town effects which mean that the cargo is needed for the town to grow
08:31:17  <planetmaker> I'm currently unsure what TE goods actually does
08:31:25  <planetmaker> I only know water and food :-)
08:32:02  <TheDude> ok
08:32:03  <Knogle> so it's not possible to make food, water, goods AND diamonds needed for a town to grow?
08:32:15  <Knogle> because one of them would be replaced?
08:32:34  <Knogle> or should be, anyway.
08:32:47  <planetmaker> of course it's possible, especially via GS.
08:32:55  <Knogle> as it is now, it shows as "goods" in town gui, but diamonds counts as goods.
08:33:00  <planetmaker> Just monitor cargo deliveries and only grow if you got delievered of what you want
08:33:22  <Knogle> well, the cargo monitor thing is still in trunk :/
08:33:38  <planetmaker> yes...?
08:34:15  <Knogle> I wanted to make it work with 1.2.2 :P
08:35:16  <planetmaker> a nightly server might be surprisingly popular
08:35:21  <TheDude> lol
08:35:34  <Knogle> and with the cargo monitor, it wouldn't show up in the town GUI
08:35:39  <TheDude> yes, for like 10 users who use trunk for normal play :D
08:36:18  <planetmaker> dih had one running for quite some time. It was well populated
08:37:07  <Knogle> I don't see why you'd have to replace of the existing TE's, is it that hard to make a TE for each cargo type?
08:38:03  <planetmaker> in a GS you can at least easily handle each cargo differently... Not sure how well you can read the cargo labels
08:39:24  *** KnogleAFK [] has joined #openttd
08:39:24  *** Knogle [] has quit [Read error: Connection reset by peer]
08:40:02  <KnogleAFK> well, it doesn't work well with SetCargoGoal, when there's only these labels:
08:40:06  *** KnogleAFK is now known as Knogle
08:40:12  <Knogle> or maybe I just don't get it.
08:40:15  <planetmaker> well, you can get the label
08:40:33  <Knogle> All these labels are already in use.
08:40:46  <planetmaker> you know what a cargolabel is?
08:41:02  <Knogle> TE_GOODS, TE_MAIL etc?
08:41:06  <planetmaker> nope
08:41:10  <Knogle> as I said, I might just not get it.
08:41:13  <planetmaker> that's a towneffect
08:41:31  <planetmaker> a cargo property which tells _openttd_ to treat that cargo in some way special
08:41:45  <planetmaker> a cargo label is sort-of the cargo's unique 4-letter name
08:41:50  <Terkhen> with GS, isn't it possible to ignore town effects and do whatever you want woth each cargo?
08:41:51  <planetmaker> independent of newgrf
08:41:58  <Terkhen> with*
08:42:03  <planetmaker> Terkhen: I should think so, yes
08:42:22  <Terkhen> TE are so... old :P
08:42:53  <Knogle> well, I use SetCargoGoal for mail, passengers, goods, water and food in a town, and want to add diamonds aswell, so it all shows up in the town gui
08:43:28  *** Elukka [] has joined #openttd
08:43:38  <Knogle> Terkhen: well, yes.. with the cargo monitor it should be.
08:43:51  <Knogle> not sure how to add it to the town gui though
08:44:59  <planetmaker> Terkhen: seems that the town's S/GetCargoGoal uses the town effect ;-)
08:45:21  <Knogle> yes, it does.
08:45:40  <Terkhen> hmm
08:45:57  <Knogle>
08:46:13  <Knogle> why is there no 1.2.2 api btw? :P
08:46:16  <Terkhen> well, I guess you need some kind of abstraction between gs and newgrf
08:46:59  <Knogle> it should be an easy task though :|
08:47:09  <planetmaker> hm, I think the doxygen for GSTown::SetCargoGoal for towneffect_id is a bit wrong
08:47:29  *** DDR [] has quit [Quit: for the love of god this is not safe for work]
08:47:53  <planetmaker> Knogle: newgrf implies "not easy"
08:47:53  <Knogle> that made no sense to me :P
08:48:13  <Knogle> planetmaker: you were the one that stated is as "simple" on the forum :P
08:48:24  <planetmaker> Knogle: the whole API description as you linked it is automatically generated. From source code comments. Via doxygen
08:48:31  <Knogle> ah
08:48:34  <TheDude> maybe we should wait for Alberth, he has more insight into GS
08:48:40  <planetmaker> Zuu has
08:48:53  <Knogle> yeah, Zuu helped me a lot in the past.
08:49:01  <TheDude> excellent
08:49:03  <planetmaker> alberth is not the GS/AI guy
08:49:14  <TheDude> Zuu is? ok, I didnt know that
08:49:15  <Knogle> also TrueBrain I think?
08:49:22  <planetmaker> yes. And yexo
08:49:42  <planetmaker> but... be kind and ask without too many highlights :-)
08:49:43  <Knogle> k, gotta ask Zuu or TrueBrain then.
08:50:02  <Knogle> thanks
08:50:25  <planetmaker> you now highlighted T_B several times without question :D
08:50:35  <planetmaker> he's know to be alergic to that ;-)
08:51:36  <Knogle> well, I wanted to wait till he's around :P
08:53:03  <planetmaker> Knogle: and... it really would help, if the talk would not be theoretical... but if we had a working script which we can talk about. And possibly devise ways then to extend the API with what's missing
08:54:17  <planetmaker> It then, of course, is not like "oh, only we have this script on our server", but it will sure help us in extending the API
08:54:28  <planetmaker> it's like no fun working with nothing at hand
08:54:46  <planetmaker> no script, no use cases, very slow api development
08:55:01  <Knogle> hm
08:55:15  <planetmaker> as we then simply do not know what is missing and how it could be sensibly extended
08:55:26  <planetmaker> development needs tests. Not just "I need"
08:55:56  <planetmaker> I can ensure you that a "with us" will work much more fruitful
08:56:16  <Knogle> of course
08:56:52  <Knogle> but I need to know if I'm actually doing it right first.
08:56:58  <planetmaker> like... I dare say FIRS got a lot of ponies into trunk. As andy works with us. Works publicly...
08:57:08  <planetmaker> Knogle: we can only tell that when we really know what you do ;-)
08:57:27  <Knogle> I'll make an example script then :)
08:58:05  <planetmaker> you know, it's fun for us, if *we* also see the result of *our* work
08:58:20  <Knogle> of course :)
08:58:22  <planetmaker> No scripts publicly available mean that we have no results whatsoever. Very boring. And not motivating
08:58:51  <Knogle> the final script will be publicly available, once it's working right :P
08:59:32  <TheDude> Knogle, that would mean it will be never :D
08:59:42  <TheDude> planetmaker has got a point in that
09:00:21  <Knogle> there's no reason to make a non-working script publicly available
09:00:31  <Knogle> it will only confuse people trying to download it.
09:01:05  <Knogle> not on bananas anyway, the forum perhaps ;)
09:01:51  <planetmaker> non-working scripts on bananas make no sense, yes.
09:02:01  <Knogle> exactly my point
09:02:16  <Terkhen> it's nice to hear about progress :)
09:02:18  <planetmaker> But development discussions on forums should include actual code to talk about
09:02:27  <Knogle> yup
09:02:45  <planetmaker> and tbh, people then can try it. And give feedback
09:02:52  <Knogle> yeah
09:03:02  <planetmaker> like we played half of the last evenings a nocargoal game.... very much fun
09:03:05  <Knogle> perhaps the forum is the right place to continue this
09:04:02  <planetmaker> certainly would be, yes
09:04:14  <planetmaker> forum + irc work well when combined :-)
09:04:37  <Terkhen> IRC is good for short questions, as long as everyone is online at the moment you want to ask :P
09:04:51  <Knogle> thanks for all your help so far, been really helpful :)
09:05:10  <planetmaker> my pleasure
09:05:53  <planetmaker> and you might indeed think about a nightly server. It would be a real testcase. And could always test the new stuff as it becomes available ;-)
09:06:29  <planetmaker> surely won't be as populated as the stable servers, no doubt. But you'll also have a big time advanatage when 1.3 comes out ;-)
09:09:00  <Terkhen> I'm available for testing :P
09:10:13  <planetmaker> :-) /me, too
09:24:27  <TheDude> hm, I plan to develop CB GS script in trunk, ebcause of the cargomonitor, so mabe I would launch a server
09:24:40  <TheDude> if you think it will get populated, why not give it a try
09:26:26  <TheDude> the GS features which are now only in trink will get to stable with next release or in next branch?
09:34:26  <Terkhen> 1.3
09:35:14  <Terkhen> new releases of stables usually never get new features, only fixes
09:37:02  <Terkhen> WRT to the server, you can always announce a testing game here at irc and/or at the forums, you should get enough players and get feedback directly
09:37:56  <Terkhen> once that you change your code taking into account that feedback, you can repeat the process
09:38:28  <Terkhen> IMO it is more likely to get comments this way
09:39:19  *** cypher [] has joined #openttd
09:40:45  <TheDude> I believe it is
09:53:08  <TheDude> but it would be great to have more GS features available in stable sooned than in next branch
10:00:56  <Terkhen> features are not moved to stable to keep it "stable"
10:01:33  <Terkhen> before being in a stable version, new features grt testing in nightlies, betas and RCs
10:03:07  <Terkhen> so IMHO the best option is to get more testing for GS now, which should result in fixes and new features
10:03:47  <Terkhen> before the future new stable hits beta
10:04:31  <Terkhen> that way, users of the next stable will get a more complete and polished experience
10:04:53  <TheDude> dont be deluded, I understand that
10:05:23  <TheDude> but waiting for next branch to get wished (and already made) features is ... like wating to the christmas presents
10:06:47  <V453000> play trunk then? :D
10:06:55  *** drac_boy [] has joined #openttd
10:07:08  <drac_boy> hi
10:07:14  <V453000> elo
10:07:32  <drac_boy> how're you? :p
10:07:43  <V453000> meh
10:11:43  <drac_boy> what doing then anyway?
10:13:02  *** Elu [] has joined #openttd
10:14:16  *** peter1138 [] has quit [Quit: Lost terminal]
10:17:46  *** Elukka [] has quit [Ping timeout: 480 seconds]
10:19:34  <V453000> im trying to set up some wordpress page but so far it seems more like a joke than reality
10:19:47  <drac_boy> :p
10:20:30  <V453000> seriously I get list of templates and I get ALL of them except the one I need
10:24:30  <Terkhen> TheDude: those features are not complete, they lack testing :P
10:24:35  *** tokai|noir [] has joined #openttd
10:24:38  *** mode/#openttd [+v tokai|noir] by ChanServ
10:25:07  <Terkhen> there is alwaus the option to use tje nightlies, enjoy those features now and help with the testing
10:25:08  <drac_boy> features? :/
10:25:18  <TheDude> blabla, now you speak like Knogle
10:25:18  <drac_boy> oh game features...nevermind
10:25:25  <TheDude> I said I will test it under trunk
10:25:35  <Terkhen> ok :)
10:25:47  <TheDude> but this could take a month, or two, and then long waitng till april
10:26:42  <Eddi|zuHause> <V453000> play trunk then? :D <-- better than "play drunk", i suppose :)
10:27:01  <V453000> oh hell no!
10:27:05  <V453000> :)
10:27:14  <V453000> depends on the level of drunk I guess
10:29:49  *** tokai|mdlx [] has quit [Ping timeout: 480 seconds]
10:30:22  <NGC3982> Heh, a friend of mine is determined to "fix the one-core issue with OpenTTD"
10:30:26  <NGC3982> He have never played the game.
10:30:54  <V453000> :D
10:33:13  <__ln__> what is the one-core issue?
10:37:16  <planetmaker> NGC3982: does he have some decent algorithmic knowledge?
10:49:44  *** cypher [] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
10:58:27  <NGC3982> No, none at all. That is the funny part.
10:59:00  <NGC3982> I can't blame his enthusiasm, but i think.. he has a few years of studying ahead.
10:59:26  <NGC3982> __ln__: It's not really an issue if you ask me. But as far as i know, OpenTTD still works on one CPU core.
11:04:22  <Terkhen> it is an issue with regard to adding more CPU intensive features
11:05:14  <NGC3982> I see.
11:29:33  *** Frankr [] has joined #openttd
11:31:22  *** FLHerne [] has joined #openttd
11:31:24  *** Supercheese [~Password4@] has quit [Read error: Connection reset by peer]
11:31:55  *** Supercheese [~Password4@] has joined #openttd
11:33:45  <drac_boy> hi FLHerne been quite some time :p
11:58:13  *** ivan` [~ivan`] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
12:03:23  *** ivan` [~ivan`] has joined #openttd
12:04:06  *** Elmux [] has joined #openttd
12:15:35  *** glx [glx@2a01:e35:2f59:c7c0:7d2c:db72:6971:615f] has joined #openttd
12:15:38  *** mode/#openttd [+v glx] by ChanServ
12:45:08  *** valhallasw [] has quit [Ping timeout: 480 seconds]
12:46:53  *** drac_boy [] has left #openttd [I'm done being in this room!]
12:49:38  *** valhallasw [] has joined #openttd
13:09:14  *** valhallasw [] has quit [Ping timeout: 480 seconds]
13:22:23  <V453000> the change landscape cheat is gone? :d
13:22:32  <planetmaker> yes
13:22:40  <planetmaker> desync
13:24:16  <V453000> hm :|
13:24:19  *** Frankr [] has quit [Ping timeout: 480 seconds]
13:25:52  <planetmaker> what's the use case anyway?
13:27:32  <V453000> cheating the generator :>
13:28:17  *** valhallasw [] has joined #openttd
13:30:10  *** Frankr [] has joined #openttd
13:35:54  *** valhalla1w [] has joined #openttd
13:37:49  *** valhallasw [] has quit [Ping timeout: 480 seconds]
13:45:14  *** valhalla1w [] has quit [Ping timeout: 480 seconds]
13:58:14  *** FLHerne [] has quit [Ping timeout: 480 seconds]
13:58:58  *** APTX [] has quit [Remote host closed the connection]
14:08:08  *** APTX [] has joined #openttd
14:25:50  *** FLHerne [] has joined #openttd
14:28:49  *** Elukka [] has joined #openttd
14:31:28  *** valhallasw [] has joined #openttd
14:32:09  *** Elu [] has quit [Ping timeout: 480 seconds]
14:33:13  *** BenTrein [] has joined #openttd
14:33:25  *** BenTrein [] has quit []
14:33:51  *** FLHerne [] has quit [Ping timeout: 480 seconds]
14:36:48  *** APTX [] has quit [Read error: Connection reset by peer]
14:51:53  *** Elu [] has joined #openttd
14:52:09  *** Elmux [] has quit [Ping timeout: 480 seconds]
14:55:08  *** valhallasw [] has quit [Ping timeout: 480 seconds]
14:55:08  *** FLHerne [] has joined #openttd
14:56:51  *** Elukka [] has quit [Ping timeout: 480 seconds]
15:09:00  *** APTX [APTX@2001:470:1f0b:1a9d:240:63ff:fefb:5994] has joined #openttd
15:11:23  *** FLHerne [] has quit [Ping timeout: 480 seconds]
15:15:15  *** FLHerne [] has joined #openttd
15:25:07  *** frosch123 [] has joined #openttd
15:27:44  *** Snail [] has joined #openttd
15:28:47  <Snail> hi all
15:33:31  <Terkhen> hi Snail and frosch123
15:33:56  <Snail> I have a question for the developers
15:34:29  <Snail> so far we have a function that checks the userbits' pattern from a certain vehicle to the end of the consist, doing the OR function
15:34:48  <Snail> would it be possible to have another function that *only* checks the userbit pattern *of a single vehicle*?
15:35:04  <Snail> without ORing through the rest of the consist...
15:41:01  <Eddi|zuHause> doesn't that have the same problem as all other properties that can be changed via cb36?
15:42:02  *** CIA-1 [] has quit [Ping timeout: 480 seconds]
15:46:07  <Hirundo> Does it need to be handled via the userbits, instead of checking the ID of that single vehicle?
15:46:47  <Snail> yes it does have to be handled through userbits
15:47:05  <Snail> Eddi|zuHause: what problem?
15:47:50  <Snail> if we already have a function that checks the userbits for all the vehicles in a consist, I can't see how a function that only checks one vehicle's userbits may introduce a new problem
15:47:56  <Snail> it would just be a subset of it
15:49:24  <Snail> Hirundo: I'm doing this to check a determined event of a random draw for a specific wagon in a consist, so all the IDs are the same. This is why I need to access the userbit
15:49:35  <Eddi|zuHause> Snail: you cannot access any properties through var61 in cb36
15:50:01  <Snail> Eddi|zuHause: I would not do it through cb36
15:50:26  <Snail> I would just change the vehicle's graphics or recoloring as a result of this check
15:50:38  <Hirundo> Could you please explain what you actually want to achieve?
15:50:47  <Snail> ok
15:50:48  <Hirundo> Change gfx depending on?
15:51:17  <Snail> let's say my wagons can have two graphics, at random
15:51:22  <Snail> and the vehicles have the same ID
15:52:25  <Snail> now, I want to do push-pull in this consist, so each wagon needs to access the result of the random draw of the corresponding wagon they need to swap graphics with
15:53:06  <Snail> the random draw would lead the userbit pattern of each wagon: I'd set either bit0 or bit1 with equal probability
15:53:21  *** CIA-2 [] has joined #openttd
15:53:22  <Hirundo> Why not get the random bits of that wagon via var 61 + 5F?
15:53:24  <Snail> bit0 leads to "green" graphics, bit1 leads to "red" graphics
15:53:42  <Hirundo> I see no reason to touch the userbits here
15:54:00  *** valhallasw [] has joined #openttd
15:54:47  <Snail> what does var 5F do exactly? (I'm too used to m4nfo naming...)
15:55:35  <Eddi|zuHause> Hirundo: the docs of var61 say that 5f is not available
15:56:40  <Eddi|zuHause> "Currently only vehicle specific variables listed on this page plus global variable 25 are accessible through var 61. Esp. variable 5F is currently not supported."
15:57:03  <Eddi|zuHause> i don't immediately see an 80+ variable for the userbits
15:57:23  *** Pinkbeast [] has joined #openttd
15:58:03  <Eddi|zuHause> anyway, randomaction2 has an individual method of accessing other vehicles independent of var61
15:58:09  <Hirundo> Alternatively, randomaction2 type 84 should do the trick
15:58:28  <Eddi|zuHause> i use that in CETS to synchronize the 3 vehicle parts
15:58:40  *** Snail [] has quit [Read error: Connection reset by peer]
15:58:42  <Eddi|zuHause> anyway, gtg
15:59:54  *** Snail [] has joined #openttd
16:00:00  <Snail> back, computer crashed
16:00:38  <Eddi|zuHause> i gtg
16:00:58  <Hirundo> Snail: [17:58] <Hirundo> Alternatively, randomaction2 type 84 should do the trick
16:01:56  *** cypher [] has joined #openttd
16:03:59  <Snail> I see, I'm reading the documentation now... "Use 84 to randomize the vehicle based on any vehicle in the consist"
16:05:51  <Hirundo> Note that you should not try to rerandomize that way
16:06:01  <Snail> sounds useful, I'll try to do it this way! thanks
16:08:03  <Snail> why?
16:10:16  <Hirundo> Because it doesn't work
16:11:12  <Hirundo> From spec page: "Do not specify any triggers for rerandomisation when accessing random bits of other vehicles (via type 83 or 84), it will not do what you think."
16:11:37  <Snail> ok...
16:11:54  <Snail> well, I'm only thinking about randomizing it once, i.e. when the vehicle is bought
16:12:26  <Hirundo> The random bits are already random when the vehicle is bought
16:12:48  <Hirundo> They will not become any 'more random' by rerandomizing
16:14:49  <Snail> yeah, well I mean I wouldn't include any more triggers
16:15:41  <Snail> I just found what you're talking about, in the documentation. Yep I'm not planning to use triggers for this specific aim
16:17:56  *** pugi [] has joined #openttd
16:38:05  *** pugi [] has quit []
17:08:12  *** Zuu [] has joined #openttd
17:41:54  <frosch123> hi zuu :)
17:42:03  *** Elmux [] has joined #openttd
17:42:09  <frosch123> oh, you joined 30 minutes ago :o
17:43:04  <Zuu> Hello frosch123 :-)
17:43:25  <frosch123> i managed to finish my first gs yesterday :)
17:44:11  <Zuu> nice
17:44:20  <frosch123> turned out i was lucky and that you can somewhat edit goals by removing them and readdnig
17:44:35  <frosch123> the will get the same id, and appear in the same spot in the gui
17:44:45  <frosch123> though that only works if the number of goals stays the same
17:44:52  <Zuu> Making the first version is usually quite quick. Adding all "nice to have" features take more time :-)
17:45:15  <CIA-2> OpenTTD: translators * r24510 /trunk/src/lang/ (korean.txt latvian.txt):
17:45:15  <CIA-2> OpenTTD: -Update from WebTranslator v3.0:
17:45:15  <CIA-2> OpenTTD: korean - 1 changes by telk5093
17:45:15  <CIA-2> OpenTTD: latvian - 11 changes by Parastais
17:45:19  <frosch123> oh, i think i already have them :p
17:45:44  <frosch123> though i am worried that it might require a longer timespan to play
17:45:44  <Zuu> Oh, I though you had to remove all and then add them back in order to have them stay in order.
17:46:13  <frosch123> it seems to use the first free id when creating a goal
17:46:23  <frosch123> so, if i only remove goals to readd them, they stay in order
17:46:27  <Rubidium> all pools do that
17:46:54  <frosch123>
17:47:10  <frosch123> compare old with new value, remove old goal, readd goal with new values
17:47:48  <frosch123> but it would be nice to have real edit goal commands
17:48:03  <frosch123> or even a generic "set completion state" command
17:48:07  <frosch123> to set a percentage or so
17:51:00  <Zuu> Being able to set goal completion state including a DONE state, is something that I have in a mental plan.
17:51:30  <Zuu> The nice thing about having goals that can be marked as DONE is that you could register other events to depend on a goal then.
17:51:57  <frosch123> what kind of events?
17:51:58  <Zuu> The not so nice thing about that approach with the API is that AIs will have harder to understand such things.
17:52:24  <frosch123> i mean the gs knows which goals it set to complete
17:52:36  <Zuu> Event is maybe not the right word. But you could tie town growth restrictions to a goal to have something more generic that still is easier to add some automatic GUI.
17:57:42  <Zuu> If we instead extend GSTown::SetCargoGoal to also work with cargo IDs as well as possible some other things that we think people will use, then its a more clear protocol for AIs to understand. Creating a AI API that works with that should be fairly straight forward.
17:59:43  <Zuu> That doesn't contradict allowing to set goals as DONE, but AI support is an argument against a too generic GS API where it would be hard for an AI to figure out the goals.
18:06:49  *** andythenorth [~Andy@2002:4d66:7022:0:c03d:2540:a0fc:5af2] has joined #openttd
18:11:24  *** glx [glx@2a01:e35:2f59:c7c0:7d2c:db72:6971:615f] has quit [Remote host closed the connection]
18:11:34  *** glx [glx@2a01:e35:2f59:c7c0:7d2c:db72:6971:615f] has joined #openttd
18:23:06  <andythenorth> Terkhen: hi ho
18:23:24  <Terkhen> hi andythenorth
18:24:18  <andythenorth> so why are industries hard for new scenario format? :)
18:25:00  <frosch123> roads are hard as well :p
18:25:23  <frosch123> btw. anyone up for a testgame of silicon valley?
18:26:48  <andythenorth> what is it? :o
18:27:01  <Terkhen> andythenorth: as I said, it is hard to describe industry properties in a newgrf and climate agnostic way
18:27:07  <Terkhen> frosch123: I'm in, as long as you explain what it does first :P
18:27:18  <frosch123> :p
18:27:27  <frosch123> you are assigned a small town
18:27:30  <frosch123> with limited space
18:27:35  <frosch123> and a secondary cargo
18:27:35  <andythenorth> Terkhen: so 'hard' must break down into specific problems....which we can solve ;)
18:27:54  <frosch123> you have some years to fund some industries to produce that cargo, and push them to a few 1000 output per quarter
18:28:02  *** Alberth [~hat3@2001:980:272e:1:21a:92ff:fe55:fc8d] has joined #openttd
18:28:06  *** mode/#openttd [+o Alberth] by ChanServ
18:28:17  <frosch123> <- no idea, whether the readme is better
18:28:45  <frosch123> it also has a intro text, but that does not quite work in multiplayer, as everyone would have to join the company at the same time
18:28:48  <frosch123> of founding
18:29:02  <andythenorth> lo Alberth
18:29:16  <andythenorth> frosch123: any idea how long it takes to play?
18:29:24  <Alberth> hi andy, frosch
18:29:27  <frosch123> i fear longer than nocargoal
18:29:28  <andythenorth> I am up for it, but I need to sleep by 10pm UK
18:29:31  <Terkhen> hi Alberth
18:29:46  <andythenorth> also I have to test one of our large apps in IE 7 :(
18:29:55  <Terkhen> I also should go to sleep soon, maybe I should have dinner early to be ready for an early game? :P
18:30:18  <frosch123> sounds more like tomorrow :p
18:30:43  <Terkhen> I'll be busy tomorrow, the missing stuff for my raspberry pi has arrived :)
18:30:58  <andythenorth> frosch123: I'll play anyway
18:31:02  <andythenorth> if you can round up others
18:31:14  <andythenorth> is it co-opetititve? or collaborative?
18:31:24  <Alberth> hi Terkhen
18:31:35  <frosch123> as you like, but if you go for the goal alone it will take even longer
18:31:48  <andythenorth> collaborative
18:31:50  <andythenorth> done deal
18:31:55  <andythenorth> make a list of what I need?
18:32:06  <andythenorth> if you include HEQS, please set buy costs to 1/4
18:32:28  <andythenorth> I don't recommend FIRS for this :P
18:33:27  <Terkhen> OpenGFX+ Industries with customized chains? :P
18:33:58  <frosch123> no idea what ogfx+industries does
18:34:37  <Terkhen> you can select any set of existing standard industry chains (excluding toyland) in any climate (excluding toyland)
18:35:22  *** andythenorth [~Andy@2002:4d66:7022:0:c03d:2540:a0fc:5af2] has quit [Remote host closed the connection]
18:35:40  *** andythenorth [] has joined #openttd
18:37:00  *** Biolunar [] has joined #openttd
18:37:01  <Alberth> toyland feels very much out in the cold :(
18:38:43  <Terkhen> our reasoning was that probably no one wants to mix standard and toyland industries :P
18:40:50  <frosch123> hmm, not sure whether it loaded the right game
18:41:17  <frosch123> oh, i did not yet joined a company
18:41:20  <frosch123> so yeah, goals are available
18:41:51  <frosch123> Alberth: Terkhen: andythenorth: planetmaker: Zuu: if you wanna join :)
18:43:22  <Terkhen> brb, I'll have dinner first :)
19:00:48  <TheDude> hello there
19:01:07  <TheDude> so I am testing some GS things, cargomonitor in trunk
19:01:23  <TheDude> very promising indeed
19:01:23  *** Wolf01 [] has joined #openttd
19:01:53  <Wolf01> evenink
19:02:51  <TheDude> would anyone please know how exactly "GSCargoMonitor.GetTownPickupAmount" function works?
19:05:59  <andythenorth> Alberth might :)
19:06:01  <andythenorth> or Zuu
19:06:06  <andythenorth> but they're playing a game right now
19:06:22  <Alberth> what's the problem?
19:06:25  <TheDude> allright
19:06:27  <Alberth> evenink Wolf01
19:06:33  *** welshdragon [] has quit [Quit: welshdragon]
19:06:34  <TheDude> I can ask later, if you are busy
19:06:42  <TheDude> but since you answered :-)
19:06:45  <TheDude> I have this:  local amount = GSCargoMonitor.GetTownPickupAmount(companyid, 10, idtown, true);
19:07:02  <TheDude> which I believe should monitor valuables in temperate
19:07:25  <Alberth> could be, I don't know what cargo 10 is :)
19:07:26  <TheDude> but log says amount is 0 all the time
19:07:45  <Alberth> you have to deliver the cargo
19:07:48  <TheDude> it is, but am I using this correctly?
19:07:53  <TheDude> of course I deliver cargo
19:08:38  <Alberth> close enough to the town?
19:08:45  <TheDude> wow, I am sorry, actually it shows something now :-)
19:08:56  <Zuu> TheDude: Have you checked GSCargo.GetCalgoLabel(10)?
19:08:59  <TheDude> well, how close shoud it be?
19:09:03  <TheDude> yes, I chekced it
19:09:06  <TheDude> it fits
19:09:18  <TheDude> ok, it shows some non zero amount now
19:09:35  <Zuu> I would rather loop through GSCargoList until I find the correct label and use the ID of that than hard coding a cargo ID.
19:09:45  <TheDude> yy, I did this foreach (cargo, _ in cargolist) {
19:09:57  <Zuu> good
19:09:59  <TheDude> but I wonder why it sorst ID from max to min
19:10:11  <TheDude> like 10, 9, 8, ...
19:10:23  <Zuu> You can change the sort order of cargolist if you wish.
19:10:32  <TheDude> how can I do that?
19:10:39  <Alberth> pickup is not registered until delivery, and then not until you query the value again
19:10:43  <Zuu> From my undestanding the sort order if not specified by GS/AI is undefined.
19:10:48  <TheDude> Sort(GSList.SORT_BY_VALUE) ?
19:10:56  <Zuu> yep
19:10:59  <TheDude> ok
19:11:08  *** Knogle [] has quit [Ping timeout: 480 seconds]
19:11:27  <Zuu> Sort(GSList.SORT_BY_VALUE, GSList.SORT_ASCENDING) (or descending)
19:11:48  <Zuu> unless you want to try to remember which order that is true and false.
19:11:59  <TheDude> Alberth, what does it mean, pick up is not registered until delivery?
19:12:16  <Alberth> exactly that
19:12:26  <TheDude> I admit I have not understood differences between both monitors
19:12:30  <Alberth> at final delivery, the pickup is registered
19:12:37  <TheDude> when cargo is paid for?
19:12:50  <Alberth> yep, at final payment
19:13:15  <TheDude> so I pickup cargo, and not until it is delivered and paid for, monitor will return zero
19:13:40  <Alberth> indeed, to prevent you getting credit for cargo you never deliver
19:13:53  <Alberth> or bring back to the station to pick it up again
19:14:01  <TheDude> and  DeliveryAmount is not the same? it suggets that it is registered after delivery too
19:14:09  *** Knogle [] has joined #openttd
19:14:44  <Alberth> pickupamount is about the source town/industry, deliveryamount is about the town/industry you bring it to
19:15:11  <Alberth> ie coal pickup is at a mine, and delivery is at a power plant
19:15:17  <TheDude> ok, so when I only want to register final deliveries, deliveryamount is enough, right?
19:15:43  *** drac_boy [] has joined #openttd
19:15:53  <Alberth> yes, then you can monitor what people bring to some place
19:16:04  <drac_boy> hi
19:16:10  <Alberth> ih
19:16:47  <TheDude> and pickup is used when I want to monitor how much I tak from coal mine for example, great, thanks for explanations
19:17:21  <Alberth> yep
19:17:26  <TheDude> also I was curious, what string symbols I can use? {NUM} works fine, but I had problems with {COMMA} and {CARGO}
19:17:54  <Alberth> Zuu had a fight with that too, I don't know the result
19:18:46  *** Zuu [] has quit [Read error: Connection reset by peer]
19:19:10  *** Zuu [] has joined #openttd
19:20:22  <TheDude> ok
19:20:50  <TheDude> Zuu, do string symbols like {COMMA} and {CARGO} work with GSText?
19:21:09  <Zuu> yes
19:21:46  <Zuu> GSText(GSText.STR_MY_STRING, cargo_id, company_id, my_value)
19:21:58  <Zuu> where cargo_id, company_id and my_value are parameters for the string.
19:22:20  *** cypher [] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
19:22:56  <Zuu> Or if you want you can do just GSText(GSText.STR_MY_STRING) and then call AddParam on the GSText instance. For example if you have a list of parametars that you can send using a for loop.
19:23:48  <TheDude> company_id for {cARGO}?
19:24:05  <Zuu> no but for {COMPANY}
19:24:20  <Zuu> {CARGO} does not exist anymore
19:24:40  <TheDude> maybe {CARGO_SHORT}
19:24:48  <frosch123> <- working example of CARGO_LONG and CARGO_LIST
19:25:23  <TheDude> and what is the cargo_id in {COMPANY} for?
19:25:43  <Zuu> So that OpenTTD know which company id to grab the company name of.
19:25:58  <Zuu> IIRC {CARGO_SHORT} works
19:26:24  <Zuu> It took me 1-2 hours to debug why {CARGO} did not work until I finally figured out that that code doesn't exist in OpenTTD :-p
19:26:44  <Zuu> At least not in current OpenTTD versions.
19:27:16  <Zuu> TheDude:
19:27:47  <Zuu> It may be a bit outdated on for example {CARGO}, but it gives an explanation what most {}-parameters show.
19:28:01  <Zuu> Generally they expect the ID of the object that it shows the name of.
19:30:52  <TheDude> I was probably doing the same mistake :)
19:30:52  <frosch123> CARGO_LONG and short take a cargo id and an amount
19:30:59  <frosch123> CARGO_LIST takes a bitmask of cargoids
19:31:09  <TheDude> it is working like a charm now
19:32:14  <TheDude> thank you for your advisory
19:32:20  <TheDude> now, I deserve some dinner
19:32:56  *** welshdragon [] has joined #openttd
19:34:09  <NGC3982> Evening, goats and people.
19:34:52  <drac_boy> heh hi NGC3982
19:34:57  <drac_boy> you forgot one more :p
19:39:57  *** welshdragon [] has quit [Quit: welshdragon]
19:45:28  *** FLHerne [] has left #openttd []
19:45:50  *** FLHerne [] has joined #openttd
19:46:50  *** Kylie [] has joined #openttd
19:46:54  <Kylie> question
19:47:05  <drac_boy> hm?
19:47:49  <Kylie> without cheating or founding a new power plant i wonder how i can funnel all coal to a single power plant. probably can't though, not without spending too much money.
19:48:23  <Kylie> this map, the power plants are all nimby-er oriented
19:48:34  <drac_boy> no idea sorry heh
19:48:39  <Kylie> same
19:50:33  *** Chris_Booth [] has joined #openttd
19:51:27  *** ExodusS [] has joined #openttd
19:51:32  *** welshdragon [] has joined #openttd
19:51:40  <Alberth> you cannot, if you have enough coal mines; there is an upper limit on how much cargo you cen feed to an industry
19:51:46  *** Progman [] has joined #openttd
19:53:29  <ExodusS> I'm looking for zBase textures.. Anybody has ?
20:00:36  <Terkhen> ExodusS: <-- this should be better if you are looking for specific parts of zbase
20:00:54  <Terkhen> just mind the GPL license :)
20:01:12  *** DDR [] has joined #openttd
20:01:14  <ExodusS> I'm looking for version for 1.2.2
20:01:24  <ExodusS> I found something on server but I can't download it
20:02:23  <Terkhen> hmm
20:02:31  <Terkhen> so you are looking for a specific version of zbase
20:02:43  <Terkhen> sadly the page linked at the project only seems to have latest and some old versions:
20:04:04  <ExodusS> You can download from this link?
20:06:11  <Terkhen> did you click on it?
20:06:16  <ExodusS> Yes
20:06:40  <Terkhen> click on the link in that website
20:07:48  <ExodusS> It terminates my download
20:08:03  <ExodusS> I tried few times
20:10:17  <Terkhen> ExodusS: planetmaker should know why that is happening, let's wait until he is around
20:10:42  <Terkhen> and no, I have not used 32bpp graphics yet, let's keep conversation here so everyone can read it and help you
20:11:55  <ExodusS> But... planetmaker is online.
20:12:45  <Terkhen> being online does not mean that he is at the keyboard :)
20:13:04  <Terkhen> he is one of the managers of the site, he should know what is happening
20:13:18  <Terkhen> personally I have no idea
20:13:39  <ExodusS> So I'm waiting..
20:22:04  *** keoz [] has joined #openttd
20:38:24  <ExodusS> ..and waitin'..
20:40:02  *** valhallasw [] has quit [Ping timeout: 480 seconds]
20:42:17  <NGC3982> I think i need some help with entry-exit signals.
20:42:18  <NGC3982>
20:42:42  <NGC3982> The signal placed on the incoming rail to the right is an exit signal
20:42:59  <NGC3982> The entry signal is placed on the entry rail, upper left.
20:43:15  <NGC3982> Since the two signals just behind the station are red, shouldnt the exit signal be red?
20:45:06  <drac_boy> NGC3982 no idea about these weird signals but I had to ask still .. which trainset is that?  looks like cape gauge so guessing something to do with africa or some of australia?
20:45:27  <NGC3982> It's a mix of 2cc and NUTS.
20:45:54  <drac_boy> hmm wonder why you're doing that but heh not going ask :P
20:48:48  * ExodusS slaps planetmaker: "Wake up!"
20:49:36  <Kylie> hmm. bus networks require a lot of buses to fulfill the demand. wow.
20:50:53  <drac_boy> btw just wondering about many different forums are there so far? (and I mean ones thats actually visited daily anyhow)  I know of tt-forums and tt-de
20:50:55  <Kylie> this one going from north to south apparently needs 62 buses
20:51:04  <Kylie> or does it actually need 62 buses?
20:51:09  <Kylie> how can i check on that?
20:51:12  <drac_boy> kylie whats the population of the towns you're trying to service?
20:51:34  <Kylie> thiss one is 4787 its in one town
20:51:49  <drac_boy> kylie and is it just one or more stops in that one town?
20:51:59  <Kylie> 3 stops
20:52:08  <drac_boy> kylie hmm what year are you in anyway?
20:52:15  <Kylie> 1953
20:53:03  <drac_boy> 1953 ... well at that kind of town sizes its probably best to auger it with some trains and/or trams
20:53:14  <drac_boy> thats the only thing I can say myself sorry ;)
20:53:14  <Kylie> how do i add a tram?
20:53:30  <drac_boy> kylie..hmm I should using any grfs or just the default vehicles?
20:53:43  <Kylie> should i add a grf?
20:54:06  <drac_boy> kylie that case you're stuck with just trains alone then
20:54:43  <Kylie> ok, in future what  grfs do i add when i  make a new game?
20:55:22  <drac_boy> kylie well you'll have to decide for yourself along the many ones tbh .. but for me on temperate maps I pretty much have dbsetxl+germanrv+russiaplanes or the set of japan* grfs
20:55:36  <Kylie> I'm referring to tram grfs
20:55:38  <Kylie> THAT
20:55:56  <drac_boy> trams....try HEQS and maybe another one or two more
20:56:05  <Kylie> k thaanks
20:56:06  <drac_boy> HEQS is part trams and part road vehicles tho mind you
20:56:10  * Kylie remembers
20:57:52  <NGC3982> Crap.
20:57:55  <NGC3982> I hate not understanding this.
20:58:44  <drac_boy> kylie truthfully any sort of road vehicles (even if not from the original) are best for light and modest traffics .. when it starts to get heavy (eg lets say 100 passengers each few days) you are so much better off with adding in something else whether its rails on street (tram) or seperate rails with shared stations (trains)
20:58:49  <drac_boy> thats just from my own view tho
21:00:53  <drac_boy> sorry NGC3982? :-s
21:03:31  <NGC3982> :<
21:05:10  *** Eddi|zuHause2 [] has joined #openttd
21:05:47  <drac_boy> hey eddi you know anything about ottd signals? ;)
21:06:49  *** Eddi|zuHause [] has quit [Read error: Connection reset by peer]
21:08:24  <Terkhen> good night
21:09:07  <drac_boy> bye Terkhen
21:10:44  *** andythenorth [] has left #openttd []
21:11:33  *** ExodusS [] has quit [Quit: See you later o/]
21:12:59  *** Eddi|zuHause2 is now known as Eddi|zuHause
21:13:25  <Eddi|zuHause> i know lots of things
21:14:16  <Eddi|zuHause> and nothing at the same time
21:14:30  <drac_boy> heh...well maybe NGC3982 could use something from you? dunno :->
21:15:44  <Eddi|zuHause> ihave not followed the discussion
21:17:03  <NGC3982> Eddi|zuHause: It's nothing. Im having trouble with understanding the PBS wiki entries.
21:17:20  <NGC3982> But it's nothing a few read-troughs wont solve, i guess.
21:19:50  <Alberth> euhm, place a signal at a place where a train can safely stop?
21:21:59  <NGC3982> Im trying to understand PBS, but im not really succeding.
21:35:26  <Alberth> what does not work?
21:37:59  *** Zeknurn` [] has joined #openttd
21:38:29  <Alberth> if you turn on track reservation, you can actually se what it does :)
21:42:11  *** Zeknurn [] has quit [Ping timeout: 480 seconds]
21:42:44  *** Chris_Booth [] has quit [Quit: ChatZilla [Firefox 16.0/20120828083259]]
21:44:35  *** Alberth [~hat3@2001:980:272e:1:21a:92ff:fe55:fc8d] has left #openttd []
21:45:13  *** drac_boy [] has left #openttd [I'm done being in this room!]
21:45:26  *** valhallasw [] has joined #openttd
21:48:10  *** Elu [] has quit []
21:52:29  *** keoz [] has quit [Quit: keoz]
22:03:41  *** frosch123 [] has quit [Remote host closed the connection]
22:08:00  *** sla_ro|master [slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
22:26:00  *** HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
22:26:59  *** HerzogDeXtEr [] has joined #openttd
22:27:21  *** valhallasw [] has quit [Ping timeout: 480 seconds]
22:29:25  <Wolf01> 'night
22:29:27  *** Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
22:37:18  *** Zuu [] has quit [Quit: Leaving]
23:20:30  *** Snail [] has quit [Read error: Connection reset by peer]
23:33:05  *** Progman [] has quit [Remote host closed the connection]
23:42:44  *** Devroush [] has quit []

Powered by YARRSTE version: svn-trunk