Back to Home / #openttd / 2012 / 08 / Prev Day | Next Day
#openttd IRC Logs for 2012-08-20

---Logopened Mon Aug 20 00:00:35 2012
00:17-!-HerzogDeXtEr1 [] has joined #openttd
00:22-!-HerzogDeXtEr [] has quit [Ping timeout: 480 seconds]
00:24-!-M1zera [] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
00:56-!-Eddi|zuHause [] has quit []
00:56-!-Eddi|zuHause [] has joined #openttd
01:21-!-Prof_Frink [~proffrink@] has quit [Ping timeout: 480 seconds]
02:03-!-Muxy [] has left #openttd [PACKET_CLIENT_QUIT]
02:12-!-telanus [] has joined #openttd
02:16-!-Mazur [] has quit [Ping timeout: 480 seconds]
02:17-!-tokai|mdlx [] has joined #openttd
02:20-!-andythenorth [] has joined #openttd
02:22<andythenorth>so my first GS idea is a simple money challenge
02:22<andythenorth>start in 1870, play until 2020, make $large amount
02:22-!-tokai|noir [] has quit [Read error: Operation timed out]
02:23<andythenorth>simplest version is pure cash balance
02:24<andythenorth>alternatively, look at average revenue per year
02:36-!-MNIM [] has quit [Quit: *Throws a nuclear warhead in the room and flees*]
02:37-!-sla_ro|master [slaco@] has joined #openttd
02:39-!-Phazorx_ is now known as Phazorx
03:12-!-andythenorth [] has quit [Quit: andythenorth]
03:42-!-Zuu [] has joined #openttd
03:44-!-andythenorth [] has joined #openttd
03:47-!-andythenorth [] has left #openttd []
04:13-!-Zuu [] has quit [Ping timeout: 480 seconds]
04:19-!-jstepien [] has quit [Ping timeout: 480 seconds]
05:06-!-FLHerne [] has joined #openttd
05:10-!-Markavian` [] has joined #openttd
05:16-!-Markavian [] has quit [Ping timeout: 480 seconds]
05:22-!-GBerten2936 [] has joined #openttd
05:22-!-GBerten2936 is now known as lugo
07:10-!-Devroush [] has joined #openttd
08:18-!-Mazur [] has joined #openttd
08:26-!-glx [glx@2a01:e35:2f59:c7c0:e075:28da:3184:80] has joined #openttd
08:26-!-mode/#openttd [+v glx] by ChanServ
08:36<Eddi|zuHause>i'm having a serious case of "which idiot wrote this code" while looking over a year-old part of my code...
08:42-!-telanus [] has quit [Ping timeout: 480 seconds]
08:57-!-argoneus [] has joined #openttd
08:59<Phazorx>Eddi|zuHause: at least you know the answer to that Q :)
09:00<Eddi|zuHause>i know the answer to a rhethorical question. wohoo
09:01<Phazorx>Eddi|zuHause: i'm often merging changesets coming from other devs and i'm faced with questions like "which one of idiots who wrote that macaronni looking fuglines is less worng"
09:01<Phazorx>not openttd related code obviously, but the point stands :)
09:26-!-Lakie [] has joined #openttd
09:40-!-Muxy [] has joined #openttd
09:40-!-Muxy is "Benoit" on #openttd @+#goulp
10:28-!-stephanie88 [] has joined #openttd
10:28<stephanie88>Hello guys i have found fantastic blowjobs!
10:29-!-stephanie88 [] has quit []
10:31-!-namad8 [] has joined #openttd
10:32-!-namad7 [] has quit [Ping timeout: 480 seconds]
10:35-!-mode/#openttd [+b *!*] by planetmaker
10:42-!-Matulla [] has joined #openttd
10:42<Matulla>hi all what is new to 1.2.2
10:43<Matulla>and i try to get more information on transported what does this clearly mean
10:43<Matulla>Example oilwell is most far from the production plant
10:45<Matulla>so if i go fo a 3x3 tile road with 2 stations and 4 Trucks to deliver to a offside trainstation whoudt that increase the transported factor
10:46<Matulla>or is it calculated on the well2refine line
10:46<Matulla>so its the truck traffels 4 tiles and the train trefels 60 tiles
10:47<Matulla>Travel ! B)
10:51<Matulla>i will ask later today as there are all working i think till 5 in MESZ
10:51-!-Matulla [] has quit [Quit: ChatZilla 0.9.87 [Firefox 14.0.1/20120713225625]]
10:53-!-M1zera [] has joined #openttd
11:00-!-frosch123 [] has joined #openttd
11:08-!-Prof_Frink [~proffrink@] has joined #openttd
11:26-!-Zuu [] has joined #openttd
11:30<Eddi|zuHause>"if i suspect everyone works till 5, i quit 10 minutes before 5"
11:31-!-M1zera [] has quit [Read error: No route to host]
11:33<@Terkhen>if no one answers in a randomly chosen 10 minute interval, everyone must be working
11:39<FLHerne>Or playing Minecraft :P
11:39-!-Nat_aS [] has quit [Read error: Connection reset by peer]
11:40-!-NataS [] has joined #openttd
11:55-!-andythenorth [] has joined #openttd
12:08-!-pugi [] has joined #openttd
12:24<andythenorth>Zuu want to create some GS?
12:24<@planetmaker>buenos dias
12:24<FLHerne>andythenorth: Hihihi :P
12:24<Zuu>for testing FIRS?
12:25<andythenorth>Zuu: not specific to FIRS
12:25<andythenorth>just for fun
12:25<andythenorth>start small
12:25<Eddi|zuHause>andythenorth: i didn't really get what you wanted te GS to actually do...
12:25<andythenorth>money goal
12:25<andythenorth>start in 1870, play until 2020
12:25<andythenorth>have to earn $xxxxxxxxxxxxx
12:26<Eddi|zuHause>a gamescript cannot define a startdate
12:26<andythenorth>random map
12:26<andythenorth>scale amount according to map size
12:26<Eddi|zuHause>you can, however, say "startdate + 150 years"
12:26<andythenorth>see, I pick the simplest case I can think of, and straight away, a hole in the spec :P :D
12:26<Zuu>Yep, and have a setting to define X=150
12:27<andythenorth>or it could be tied to a scenario?
12:27<andythenorth>making scenarios is boring
12:27<Eddi|zuHause>it could be, but doesn't make a whole lot of sense...
12:27<andythenorth>GS can build towns and industries yet?
12:27<Zuu>If the GS have settings you can make a scenario that provide a map + settings.
12:27<andythenorth>so some games would do it like this:
12:28<andythenorth>- fixed map, fixed start date
12:28<andythenorth>- seed points for towns and industries
12:28<Zuu>GS cannot build towns or industries for free, it need a rich AI to rob for money.
12:28<andythenorth>can GS have parameters / settings?
12:28<Zuu>Something I think maybe should be changed, but that is how it works right now.
12:28<andythenorth>just give it access to cheat menu :P
12:28<Zuu>GS can have settings in the same way as AIs.
12:28<@planetmaker>alternatively adjust the money goal by industry and town count?
12:29<andythenorth>plausible lateral solution
12:29<Zuu>Making a such GS is not very hard. The most time cosuming part is probably to calibrate the goal.
12:29<andythenorth>but we could run tests on that?
12:29<andythenorth>let AIs play?
12:29<Eddi|zuHause>speaking of which: most of the difficulty settings were not exposed to NewGRFs, last time i checked. only advanced settings
12:29<andythenorth>make it an AI chalenge :P
12:30<Eddi|zuHause>did anyone change that yet?
12:30<andythenorth>monthly AI contests against a specific GS? :P
12:30<@planetmaker>not that I know. Which do you miss, Eddi|zuHause ?
12:30<Eddi|zuHause>well all of them, let the authors figure out how to use them.
12:31<Eddi|zuHause>particularly fluctuating economy and industry density might be useful to an industry set
12:31<@planetmaker>they're not useful as soon as you have industry newgrfs. Though might be with industry newgrfs themselves... hm
12:31<@planetmaker>not sure about industry density though
12:31<@planetmaker>industries are still asked to be built by the game
12:32<andythenorth>economy is nearly useless to newgrf
12:32<andythenorth>industry density is possibly useful
12:32<@planetmaker>vehicle running costs... does it influence newgrfs actually?
12:32<andythenorth>the base cost is adjusted accordingly
12:32<@planetmaker>as such it should not be exposed
12:32<andythenorth>I learnt this the hard way :P
12:33<Eddi|zuHause>planetmaker: afair it's an additional factor to the base cost. like -10% or +10%
12:33<@planetmaker>otherwise it becomes kinda pointless and an annoyance to players as it might actually work counter-intuitive with evil newgrfs
12:33<@planetmaker>construction speed: irrelevant
12:33<Eddi|zuHause>planetmaker: what's the harm?
12:33<andythenorth>Zuu the other simple challenge I can think of for GS is cargo challenge: move certain amount of cargos A, B and C
12:33<andythenorth>with bronze / silver / gold win conditions
12:34<andythenorth>either in total, or per year
12:34<@planetmaker>Eddi|zuHause, harm is possible counter-intuitiveness. And pointlessness
12:34<Zuu>Hmm, maybe it would make sense to add economy goals to my TransportGoal GS and let you configure which goals you want to enable.
12:34<Zuu>To not spawn even more GSs
12:34<andythenorth>Zuu: maybe
12:34<Eddi|zuHause>planetmaker: but that then is the NewGRF author's fault
12:34<andythenorth>for me, I'm trying to avoid having to invent my own goals, I just want to be given a challenge
12:34<andythenorth>I have enough inventing of my own goals :P
12:35<@planetmaker>Eddi|zuHause, and it will be called upon OpenTTD. And really... why?
12:35*andythenorth would just like to have a win condition to meet
12:35<@planetmaker>though... yes... one could differenciate it better than default
12:35<Eddi|zuHause>planetmaker: suppose i want to increase the effect of running costs. if running costs "high" is set, i could up the running base cost by another x2
12:36<Zuu>andythenorth: Alberth created a new API feature that let GS monitor cargo supply to stations as well as delivery at target industry. So if you monitor all industries that accept or produce a given cargo, you could monitor the amount of transported cargo of a given cargo.
12:36<@planetmaker>yes, ok
12:36<andythenorth>Zuu: can you sanely store 'all time' figures?
12:37<Zuu>All time sum is possible yes.
12:37<andythenorth>can you distinguish primary and secondary cargos?
12:37<Zuu>GS/AI have quite a lot of freedome when it come to storing data.
12:37<Eddi|zuHause>planetmaker: currently you can only check which of the difficulty presets is selected. but nobody uses those...
12:37<@planetmaker>next, vehicle breakdowns... I don't think they should really influence newgrfs... could be used to change costs depending on setting, though
12:37<Zuu>(as long as it is within a single game)
12:37<@planetmaker>Eddi|zuHause, george does in ecs afaik
12:37<@planetmaker>last time I checked for it at least
12:37<Eddi|zuHause>yes, and it's stupid.
12:38<Zuu>andythenorth: On IndustryType level there is a API function to check if an industry is a raw industry.
12:38<andythenorth>GS could have tables of all the known cargo labels, that's not an insane amount of copy-paste
12:38<@planetmaker>I won't exactly argue against that there ;-)
12:38<Eddi|zuHause>planetmaker: several settings in the game setup window cause the game to switch to "custom" difficulty
12:39<@planetmaker>Zuu, can GS read difficulty setting "disasters"?
12:39<andythenorth>Zuu: so my idea is: GS picks three cargos at random (A, B, C). Goal is to transport xxx of each cargo. Bronze = met for one cargo . Silver = met for two. Gold = met for all three
12:39<andythenorth>play time is 99 years
12:40<@planetmaker>andythenorth, what about rather a shorter time. 99 game years is still a lot of playing time. But I guess that's configurable
12:40<Zuu>planetmaker: If GSControler::GetSetting(name) can read it. Here name is the name as it appear in openttd.cfg. I can test if you are interested.
12:40<andythenorth>so 30 years is 1-2 evenings. Could be nice.
12:40<Eddi|zuHause>can difficulty settings be changed in multiplayer games? some can be changed in single player, but not all of them
12:41<@planetmaker>that's good enough for me, Zuu. thx
12:41<Zuu>planetmaker: ok
12:41<andythenorth>planetmaker: one of my conditions is: I don't want to configure the GS, at all :)
12:41<@planetmaker>Eddi|zuHause, yes, you can change some. Like breakdowns
12:41<@planetmaker>andythenorth, "don't want to configure" != absence of parameter. Just good-enough defaults for them
12:42<Zuu>I believe GSController::GetSetting might have problem with multi-set settings as it returns an integer.
12:42<andythenorth>hmm, ok :P
12:42<@planetmaker>your good-enough defaults might be another man's "don't like" ;-)
12:42<Eddi|zuHause>Zuu: that sounds like a misdesign
12:42<andythenorth>we also then need MP league table per GS :P
12:42<Eddi|zuHause>Zuu: because in the config you have names because the numbers may change
12:43<Eddi|zuHause>then the script breaks
12:43-!-pugi [] has quit []
12:43<Zuu>Also if the name of a setting change, the script breaks.
12:44<Eddi|zuHause>different thing
12:45<Eddi|zuHause>Zuu: maybe a GetSettingString(name) may be useful?
12:46<Zuu>Oh sorry. The GSController::GetSetting is for the settings of the AI/GS itself. Not the game settings. They are accessed through a different class. Let me find it..
12:46<@planetmaker>andythenorth, the MP league table would be something for a server actually.
12:46<Zuu>Here is Game Settings:
12:46<Zuu>It also returns an integer though.
12:46<andythenorth>GS would need same map seed to be meaningful wrt high scores
12:46<@planetmaker>If you're interested in getting such thing off the ground, I'd be interested in supporting that... we have ample space to create such server
12:47<andythenorth>it's something TrueBrain might like :)
12:47<@planetmaker>and probably would quite easily get some people testing it :-)
12:47<@planetmaker>indeed, he would
12:47<Zuu>The API contains this warning " Results of this function are not governed by the API. This means that the value of settings may be out of the expected range. It also means that a setting that previously existed can be gone or has changed its name/characteristics. "
12:48<Zuu>Yet its the only inteface to settings, and some of them might be neccessary to look at to get a good behaviour on all setting values.
12:48<andythenorth>for GS challenges, there are a set of initial conditions that it would be useful to configure
12:48<Eddi|zuHause>Zuu: my point still applies to that
12:48<Zuu>Eddi|zuHause: Yes your point is still good
12:49<andythenorth>some challenges might want to grant the player a big initial loan for example
12:49<andythenorth>others not
12:49<andythenorth>not sure about newgrfs, if they should be fixed or not
12:50<Eddi|zuHause>since the game converts numbers to strings and back for the config file, there is no reason why it couldn't do that same thing for the GS/AI api
12:51<NGC3982>andythenorth: I have give great thought on your current OpenTTD situation.
12:51<NGC3982>And i think i have a solution.
12:51<NGC3982>Soylent FIRS.
12:51<andythenorth>oh Soylent again :P
12:52<andythenorth>how droll :P
12:52<NGC3982>First, we need a soviet:ish scenario
12:52<NGC3982>Soviet:ish trains
12:52<NGC3982>And a fantastic setup of industries
12:53<NGC3982>That's it, i can't bare. Im going to start planning it when i get home.
12:54<NGC3982>andythenorth: Hey, Ior. Don't turn that dice on me.
12:54<NGC3982>andythenorth: Start making stuff.
12:55<NGC3982>A scenario could easily be to send "Security Units" to towns, and the town (as an industry) produces "Human fuel".
12:55<NGC3982>You bring the fuel to the Soylentcom Supplies Company (tm) and it produced Soylent green (food).
12:56<NGC3982>A catastrophy could be the arrival of Charlton Heston, abruptly halting the production of Soylent Green.
13:04-!-Matulla [] has joined #openttd
13:04<Matulla>Hi all is there any information speciffic over transported behavier
13:04-!-sla_ro|master [slaco@] has quit [Ping timeout: 480 seconds]
13:05<Matulla>example if i transport by truck some tiles and then via train the large amount
13:05-!-sla_ro|master [slaco@] has joined #openttd
13:06<Matulla>does this increase the level of transported or is it from EX well to refain total
13:06<Matulla>for oil
13:06<@Belugas>"There are only 10 types of people in the world: Those that understand binary and those that don't"
13:06<@Belugas>lovely :)
13:07<+glx>quite old Belugas :)
13:09<andythenorth>Belugas: I think there's a schrodinger version of that joke somewhere
13:10<andythenorth>certainly I saw a funnier update on it recently somewhere :P
13:10<Matulla>astronauts outsight iss now live ->
13:12<@planetmaker>Matulla, "transported behaviour" means exactly what?
13:12<Eddi|zuHause>Matulla: only the rating at the first pickup station matters
13:12*andythenorth considers a GS contest
13:13<andythenorth>for most fun 30 year GS
13:13<@planetmaker>station rating is only governed by the frequency of persistence of pickup (and somewhat by statues, vehicle age, vehicle type...)
13:13<andythenorth>€50 prize?
13:13<@planetmaker>Check out our wiki for the exact details :-)
13:13<Eddi|zuHause>Matulla: at the transfer station, you should only make sure that the rating does not drop below 50%
13:14<Matulla>oh si it is better to form a 3x3 road with 2 stations and trevel with 4 trucks around to pick and depart at may and then from the second station with a train to the long distance
13:14<Matulla>my rate is always above 80%
13:14<Eddi|zuHause>it has advantages, yes
13:15<Eddi|zuHause>Matulla: rating automatically drops by around 6% when the vehicles are older than 2 years
13:15<Matulla>oh i dident know that
13:15<Matulla>so refrach after 3 Years will increase
13:16<Eddi|zuHause>and very fast vehicles give a bonus of up to 17%
13:16<Eddi|zuHause>Matulla: i think it's 3% after the first year, and another 3% after the second year
13:17<Matulla>i started at 40k oil 12 Gameyears ago and its still there
13:17<Eddi|zuHause>you cannot really influence that.
13:18<Eddi|zuHause>normal industries have a better chance of increasing if rating is above 66%, but oil wells never increase
13:18<Matulla>so stay on GAmescome germany no sign of Openttd i the 4 large Expo Halls
13:19<Eddi|zuHause>hehe, i don't think any of us really have interest in presenting stuff there :)
13:19<Eddi|zuHause>(and i'm sure it costs money to present there)
13:19<Matulla>but alot of very nice hostesses
13:20<Matulla>if you got acces to ASTRA Europ WDR 22:45 MESZ
13:20-!-Alberth [~hat3@2001:980:272e:1:21a:92ff:fe55:fc8d] has joined #openttd
13:20-!-mode/#openttd [+o Alberth] by ChanServ
13:21<@planetmaker>we don't make money with this game. We personally don't get nor expect money but work on it for fun. Why should we pay for marketing?
13:21<@planetmaker>Will you sponsor that?
13:21<@Alberth>hi planetmaker
13:21<Eddi|zuHause> <-- you remember that from last year? :)
13:21<Eddi|zuHause>it's gone
13:22<Eddi|zuHause> <-- that should be similar
13:22<Matulla>there are only one small place for opensource games
13:23<Matulla>amd most the linuxgays there
13:24-!-frosch [] has joined #openttd
13:26<@planetmaker>disgusting video, Eddi|zuHause ;-)
13:29-!-frosch123 [] has quit [Ping timeout: 480 seconds]
13:29<Matulla>Thanks for the infos BY
13:29-!-Matulla [] has left #openttd []
13:44<Zuu>Oh, btw the cargo goal GS will only work on 1.3 / trunk.
13:46<andythenorth>Zuu: I only play trunk :)
13:46<andythenorth>give or take patches :P
13:48-!-Wolf01 [] has joined #openttd
13:49<Wolf01>what the hot.. 36°C today, plus the usual 55-65% humidity
14:01-!-siridle [] has joined #openttd
14:08<frosch>only 33°C and 49% here
14:09<@planetmaker>dunno how much. Yesterday it was 36°C here... a well 11°C over my max "feel well" temperature
14:09<NGC3982>It's thundery (low humidity) and 23C in southern sweden, and i can hardly cope with it.
14:10<frosch>same tomorrow, wednesday will be a lot colder again :)
14:19-!-pjpe [] has joined #openttd
14:19<andythenorth>so GS...
14:19<andythenorth>how would a league table work?
14:19-!-pjpe [] has left #openttd []
14:20<andythenorth>and do we have any donations left over for a competiton?
14:20*andythenorth is tempted to give a prize himself
14:20<Zuu>andythenorth: when end_year is reached, use the admin port to send results to a bot with DB access.
14:21<@planetmaker>the sad part is "use the admin port"... no open source version except dih's well-working example implementation
14:36<Zuu>Hmm, so there is no string like eg. {VEHICLE} to show the cargo name of a cargo?
14:36<Zuu>Eg. I could have the cargo id 5 stored in a variable and want to show the cargo name in a string.
14:36<andythenorth>Zuu: if there isn't...feature request :)
14:37<Zuu>I can't find one on the wiki, but the wiki might be outdated
14:37<andythenorth>I could work backwards through code and find what feature request that would be :P
14:38<andythenorth>but others would just...know the answer already :)
14:39<Rubidium>Zuu: don't think it exists... but... {CARGO_LIST} and (1 << 5) as parameter might do the trick
14:43<NGC3982>How can i download older versions?
14:44<@planetmaker>look at
14:45<NGC3982>Thank you.
14:45-!-Chris_Booth [] has joined #openttd
14:52<Zuu>Rubidium: Thanks, that did the trick. Shall I document it on the wiki or is it more of a hack?
14:53<Rubidium>I'd say it's a huge hack
14:54<@planetmaker>I guess we have a feature request :D
14:54<NGC3982>Soylent stuff?
14:56*andythenorth is drowning in this soylent crap
14:56<andythenorth>it's like every day at the moment
14:57<Muxy>Yexo: do you watch task FS5078 ?
14:58<NGC3982>andythenorth: *troll face*
15:18-!-Progman [] has joined #openttd
15:21-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
15:25-!-TheMask96 [] has joined #openttd
15:28<@Yexo>Muxy: I've seen it, but I remember some discussion about that event
15:28<@Yexo>it has been discussed before, not sure what the outcome was
15:29<@Yexo>and you introduce unnecessary newlines at the start of the patch
15:30<@Yexo>it's also missing documentation
15:30-!-FLHerne [] has quit [Remote host closed the connection]
15:30-!-FLHerne [] has joined #openttd
15:31-!-siridle [] has quit []
15:35<frosch>[21:28] <Yexo> it has been discussed before, not sure what the outcome was <- that it was added to the todo list? or do you mean some coding related discussion?
15:40<@Yexo>oh :)
15:41<@Yexo>in that case: Muxy if you fix the above few things I'll commit it ;)
15:46<@Yexo>seems I can't even read the FS item, it's my own first post there
15:46-!-APTX_ [APTX@2001:470:1f0b:1a9d:240:63ff:fefb:5994] has joined #openttd
15:47-!-APTX [APTX@2001:470:1f0b:1a9d:240:63ff:fefb:5994] has quit [Read error: Connection reset by peer]
15:47-!-sla_ro|master [slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
15:50<@planetmaker>500 commits... when will that be?
15:52-!-Biolunar [] has joined #openttd
15:56<+michi_cc>Muxy: Path looks like you did not run src/script/api/
16:05-!-Elukka [] has quit []
16:09-!-LordAro [] has joined #openttd
16:09<LordAro>evenings all
16:10*LordAro pokes Yexo :P
16:10<@planetmaker>hi LordAro
16:10*Terkhen pokes LordAro with a "hello"
16:10<@Yexo>hi LordAro
16:10<@Yexo>I did look at your patch yesterday :)P
16:11*LordAro waves at planetmaker, Terkhen and Yexo
16:13<LordAro>hai Alberth also :)
16:15-!-pugi [] has joined #openttd
16:16<LordAro>Yexo: that may be so, but i see no commits or code review :P
16:16<@Yexo>nah, you're right
16:16<@Yexo>you weren't on irc anymore and I was too lazy to open the issue again and post something there
16:16<@Yexo>let's see what it was
16:18<@Yexo>ah, yes: in tcp_content.cpp ContentInfo::GetTextfile you check (this->md5sum != NULL), but md5sum is an array
16:18<@Yexo>so it can never be NULL
16:20<LordAro>well, i didn't come up with that, with was used in other places...
16:21<@Yexo>probably for other structs where md5sum is a pointer, not an array ;)
16:21<@Yexo>oh, and you strecpy the path but I see no reason to do so
16:21<@Yexo>in the same function
16:24<LordAro>so instead of '...md5sum != NULL', i would want... ?
16:24<Kjetil>probably nothing
16:25<Kjetil>(not that I've seen the code)
16:26<LordAro>so... 'true' or 'false' ?
16:26<LordAro>true will make it look at md5sum, false will make it look at 'id'
16:26<LordAro>whatever 'id' is... :L
16:28<@Yexo>you only want the textfile for content where you have an exact match on your harddisk
16:28<@Yexo>you don't want the readme for opengfx v3 when you're looking in the online content window at v4
16:30-!-FLHerne [] has left #openttd []
16:31<LordAro>and what about not strecpy-ing?
16:31<@Yexo>you can directly use tmp instead of strecpy into the local filepath buffer
16:32<@Yexo>it won't become invalid before the function returns
16:32<@Yexo>or if it can, you already have a bug and won't make it worse by using tmp
16:33<LordAro>very well, done
16:35-!-Chris_Booth [] has quit [Read error: Connection reset by peer]
16:36-!-Chris_Booth [] has joined #openttd
16:39-!-KritiK [] has joined #openttd
16:45<LordAro>it's annoying when you forget to pop to the correct patch in the queue :L
16:45<LordAro>luckily, i'd only modified 1 file, so a revert was easy
16:48<LordAro>Yexo: i know you get an email notification, but the patch has been updated
16:48<@Yexo>email notification was faster still :p
16:49<LordAro>damn :P
16:49<@Yexo>are all the includes in tcp_content.cpp needed?
16:50<LordAro>not sure about _all_ of them, but that is where the 'new' functions referenced in GetTextfile are located
16:51<LordAro>i don't think i ever 'bothered' testing if i needed absolutely all of them
16:52<@Yexo>there is an unnecessary change in 04 in fios.cpp
16:52<@Yexo>(but don't bother fixing that with a new upload)
16:57*LordAro looks
16:58<LordAro>so there is, not sure how that got there :L
16:59<Eddi|zuHause><planetmaker> disgusting video, Eddi|zuHause ;-) <-- you should have seen the original...
16:59-!-Djohaal [~Djohaal@] has joined #openttd
16:59*NGC3982 cries.
16:59-!-andythenorth [] has left #openttd []
17:01-!-FLHerne [] has joined #openttd
17:04<@Yexo>LordAro: patch 05 is completely broken
17:04-!-Alberth [~hat3@2001:980:272e:1:21a:92ff:fe55:fc8d] has left #openttd []
17:04<@Yexo>it does indeed look for a file named "COPYING", but it also does that when you want the changelog
17:04<LordAro>i thought i fixed that...
17:05<@Yexo>not in the version you uploaded to that fs task
17:05<frosch>does bananas allow a COPYING file?
17:05<@Yexo>oh, maybe you did fix that
17:06-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
17:06<@Yexo>LordAro: you did fix it but in the wrong way
17:06<Zuu>frosch: if you choose Custom, I think you can supply your own. Otherwise bananas will insert the corresponding COPYING file for the license that you have picked.
17:06<@Yexo>(it works, but it's not right)
17:06<frosch>i think bananas renames all those files to license.txt
17:06<@Yexo>return (FioCheckFileExists(file_path, dir) && prefix == prefixes[2]) ? file_path : NULL; <- that
17:06<@Yexo>it should be:
17:07<frosch>yes, it does, i have to code right in front of me :)
17:07<@Yexo>return (type == TFT_LICENSE && FioCheckFileExists(file_path, dir)) ? file_path : NULL;
17:07<@Yexo>but with frosch comments I see no reason at all for such a patch
17:08<Zuu>Other than perhaps that there may be other distribution means than bananas.
17:08<frosch>Zuu: but not in the content gui :)
17:08<Zuu>frosch: Very good point :-)
17:08<@Yexo>frosch: this is not only for the content gui, also for the newgrf/ai/gs window
17:08<LordAro>frosch/whoever: don't forget that function is not exclusively for content gui
17:09<@Yexo>but still, bananas is the "official" supported way, and I see no reason to make all kind of exceptions for other filenames
17:09<LordAro>+ OTTD 'license.txt' is also named 'COPYING'
17:09<@Yexo>if someone wants to distribute it another way, they just have to rename/copy their file to "license.txt"
17:09<LordAro>... and i have 'plans'... :)
17:09<@Yexo>^^ that's a good point though
17:09<Zuu>Btw, in standard GPL, doesn't it say COPYING as the license file?
17:10<Zuu>But if bananas change it, then this patch doesn't solve that.
17:11<LordAro>'plans' ==
17:12<@Yexo>what's the point of that?
17:12<LordAro>work it out :P
17:12<@Yexo>display the openttd changelog?
17:12<@Yexo>why not simply read that file?
17:13<LordAro>to deal with (fairly common) instances where the textfile is not in an 'expected' location
17:13<LordAro>e.g. debian packaging iirc
17:14<@Yexo>I think there are better ways to deal with that
17:14<@Yexo>good night
17:14<LordAro>i cannot think of one
17:15<LordAro>night :L
17:15-!-Progman [] has quit [Remote host closed the connection]
17:16<@planetmaker>LordAro: I think there could be like --doc-path or so as compile time argument which changes the readme path for openttd (and possibly base set) readmes
17:16<@planetmaker>--doc-dir actually is already there
17:16<LordAro>that's an interesting solution, but again, debian packaging compresses the textfiles, making reading them difficult
17:18<LordAro>i discussed it with Rubidium a while ago
17:18<@Terkhen>good night
17:21<LordAro>huh, CIA is a bit slow tonight...
17:21*LordAro kicks CIA-1
17:37<Eddi|zuHause>who cares about debian?
17:38<Eddi|zuHause>and maybe openttd is ripe to get the ability to read compressed (.tar.gz/bz2/xz) files?
17:39<LordAro>but that's waaay above my level :L
17:43-!-FLHerne [] has left #openttd []
17:49-!-frosch [] has quit [Remote host closed the connection]
17:56-!-Lakie [] has quit [Quit: Sleep.]
17:58-!-Frankr [] has joined #openttd
18:07-!-LordAro [] has quit [Ping timeout: 480 seconds]
18:35-!-Biolunar [] has quit [Quit: All your IRC are belong to us]
18:35-!-DDR [] has joined #openttd
18:36-!-drac_boy [] has joined #openttd
18:39-!-Zuu [] has quit [Ping timeout: 480 seconds]
18:50<drac_boy>how're you eddi? :)
18:51-!-Chris_Booth [] has quit [Quit: ChatZilla [Firefox 15.0/20120808131812]]
19:17-!-pjpe [] has joined #openttd
19:17-!-pjpe [] has left #openttd []
19:58-!-pugi [] has quit []
20:03-!-LordPixaII [~pixa@] has joined #openttd
20:04<drac_boy>pretty quiet as always here
20:05-!-Devroush [] has quit []
20:09-!-Pixa [~pixa@] has quit [Ping timeout: 480 seconds]
20:45-!-drush [] has joined #openttd
21:03<drac_boy>hi drush
21:06-!-haole [~Webuser@] has joined #openttd
21:06<haole>hey there... i'm playing openttd with some friends in multiplayer, but we think that the game is really unbalanced regarding airplanes and passengers
21:06<drush>hi drac_boy
21:06<haole>can you recommend me a newgrf that addresses that
21:07<drac_boy>haole I always use basecost and multiply the plane+airport costs period
21:07<drac_boy>I never understood why its always been too low priced
21:07<drush>drac_boy we've got a working ps3 elf of another game and there are 2 steps stopping it from being executed on jailbroken retail units
21:08<drac_boy>drush mm
21:08<drush>that's a lot less steps than a few days ago :)
21:08<haole>drac_boy gonna try it... is basecost a newgrf
21:08<drac_boy> have to set parameters for it tho
21:08<drac_boy>its in the readme still
21:08<haole>drac_boy can't find it from within the openttd's client
21:08<haole>oh... "alternative base costs"
21:09<drac_boy>its named basecost.grf ... thats all I can say :p
21:10<drush>I doubt that I'd receive such a reception on freenode
21:11<drush>goodnight everyone
21:11-!-drush is now known as drush|sleep
21:12-!-Djohaal [~Djohaal@] has quit [Read error: Connection reset by peer]
21:16-!-KritiK [] has quit [Quit: Leaving]
21:35-!-haole [~Webuser@] has quit [Quit: Closed his browser]
21:52-!-drac_boy [] has left #openttd [I'm done being in this room!]
22:06-!-Frankr [] has quit [Ping timeout: 480 seconds]
22:13-!-mahmoud [] has quit [Ping timeout: 480 seconds]
22:16-!-glx [glx@2a01:e35:2f59:c7c0:e075:28da:3184:80] has quit [Quit: bye]
23:03-!-Supercheese [~Password4@] has joined #openttd
23:40-!-Pixa [~pixa@] has joined #openttd
23:40-!-LordPixaII [~pixa@] has quit [Remote host closed the connection]
23:44-!-pjpe [] has joined #openttd
23:44-!-pjpe [] has left #openttd []
23:53-!-argoneus [] has quit [Ping timeout: 480 seconds]
---Logclosed Tue Aug 21 00:00:38 2012