Config
Log for #openttd on 11th October 2018:
Times are UTC Toggle Colours
00:02:52  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick opened pull request #6937: Fix #4109: Add more water checks to the Oil Rig layout https://git.io/fxWDM
00:19:39  *** Flygon has joined #openttd
00:21:37  *** GroovyNoodle has quit IRC
00:24:39  *** Wormnest has quit IRC
00:37:31  *** Samu has quit IRC
00:39:25  *** Thedarkb-T60 has quit IRC
01:08:11  *** glx has quit IRC
01:08:19  *** APTX_ has joined #openttd
01:08:26  *** APTX| has quit IRC
01:18:01  *** Oroburos has quit IRC
01:20:49  *** WWacko1976-work has joined #openttd
01:38:27  *** peter1138 has quit IRC
01:38:34  *** peter1138 has joined #openttd
01:38:34  *** ChanServ sets mode: +o peter1138
01:52:35  *** triolus has quit IRC
01:55:09  *** sim-al2 has joined #openttd
01:57:40  *** triolus has joined #openttd
03:36:40  *** haudrauf has quit IRC
03:37:39  *** haudrauf has joined #openttd
04:19:14  *** ToBeFree has joined #openttd
05:03:20  *** ToBeFree has quit IRC
05:03:38  *** ToBeFree has joined #openttd
05:33:24  *** sla_ro|master has joined #openttd
05:34:46  *** andythenorth has joined #openttd
05:39:44  *** FLHerne has quit IRC
05:40:18  *** FLHerne has joined #openttd
05:44:33  <andythenorth> moin
05:48:19  *** sla_ro|master2 has joined #openttd
05:54:39  *** sla_ro|master has quit IRC
06:01:30  *** sla_ro|master2 has quit IRC
06:21:16  *** andythenorth has quit IRC
06:22:47  *** Gustavo6046 has quit IRC
06:58:23  <LordAro> o/
07:32:52  *** Samu has joined #openttd
08:10:47  *** andythenorth has joined #openttd
08:15:08  *** ChanServ sets mode: +o orudge
09:17:06  *** matt21347 has joined #openttd
09:20:39  *** tokai has joined #openttd
09:20:39  *** ChanServ sets mode: +v tokai
10:11:53  <DorpsGek_II> [OpenTTD/OpenTTD] James103 opened issue #6938: Incorrect value for "Cost to Clear" for Company Headquarters in tile inspector https://git.io/fxlnU
10:16:00  *** GroovyNoodle has joined #openttd
10:26:01  *** andythenorth has quit IRC
10:41:01  *** andythenorth has joined #openttd
10:53:57  *** andythenorth has quit IRC
11:20:21  *** andythenorth has joined #openttd
12:34:34  <DorpsGek_II> [OpenTTD/OpenTTD] MiguelHorta commented on issue #6938: Incorrect value for "Cost to Clear" for Company Headquarters in tile inspector https://git.io/fxluN
12:59:39  *** snail_UES_ has joined #openttd
13:06:12  *** sim-al2 has quit IRC
13:15:49  *** snail_UES_ has quit IRC
13:58:19  *** nielsm has joined #openttd
14:25:26  *** sla_ro|master has joined #openttd
14:32:27  *** Wormnest has joined #openttd
14:33:05  *** Gustavo6046 has joined #openttd
14:48:05  *** Alberth has joined #openttd
14:48:05  *** ChanServ sets mode: +o Alberth
14:48:13  <Alberth> o/
15:12:42  *** wodencafe has quit IRC
15:21:33  *** Thedarkb has joined #openttd
15:27:31  *** Alberth has left #openttd
15:33:45  *** TheMask96 has quit IRC
15:35:38  *** TheMask96 has joined #openttd
15:37:20  *** Gja has joined #openttd
15:40:46  *** Flygon has quit IRC
15:51:18  *** Thedarkb has quit IRC
15:57:47  *** Thedarkb has joined #openttd
16:04:08  *** HerzogDeXtEr has joined #openttd
16:16:16  <Samu> hi
16:16:36  <Xaroth> o7
16:16:49  <Samu> Xaroth?
16:16:59  <Xaroth> hm?
16:17:01  <Samu> my cat name is Xarick
16:17:21  <Xaroth> So you named your cat after me? how nice.
16:19:24  <Samu> i have 3 cats now, 2 died this year :(
16:19:55  <Xaroth> :(
16:21:49  <Samu> tintim died to a tumour in his brain
16:22:20  <Samu> oh well why do I talk about these things...
16:22:23  <Samu> sorry
16:26:17  *** andythenorth has quit IRC
16:44:23  <Samu> i have a few more patches here, but I bet there's a 99.99% chance they won't be implemented
16:45:43  <Samu> generate lock-friendly rivers
16:46:51  <Samu> distribute cargo to multiple stations or industries
16:47:06  <Samu> allow attaching multiple train engines
16:47:12  <Samu> allow company level crossings
16:47:20  <Samu> allow large aeroplane on short runway
16:47:43  <Samu> Bridge Over Lock - this one needs a graphic expert
16:47:53  <Samu> build on competitor canal
16:48:42  <Samu> disallow multiplayer ai company takeover - this goes against the TODO comments
16:49:38  <Samu> no wait cursor when autosaving
16:49:45  <Samu> pause running costs on standard road stops
16:50:20  <Samu> save empty script
16:50:36  <Samu> town bridge over rail
16:50:48  <Samu> unlimited destination distance for YAPF ships
16:51:33  <Samu> no plane crashes, unless runway is too short option
16:52:21  *** andythenorth has joined #openttd
16:52:31  <Samu> cargomonitor industry delivery fix - but I was told it's not a bug
16:55:02  *** andythenorth has quit IRC
17:00:37  *** andythenorth has joined #openttd
17:01:35  *** andythenorth has quit IRC
17:09:56  *** frosch123 has joined #openttd
17:20:19  *** andythenorth has joined #openttd
17:25:30  <andythenorth> well
17:26:00  <LordAro> yes
17:28:00  <andythenorth> is cat?
17:30:03  <LordAro> no, is lizard
17:30:54  *** haudrauf has quit IRC
17:31:18  <andythenorth> is horse?
17:31:19  <andythenorth> 77%
17:31:31  <andythenorth> it's fun, but I am temporarily tired of it :P
17:31:34  <andythenorth> has been a grind
17:31:37  <LordAro> that's nearly 78%!
17:31:44  <andythenorth> 167 trains drawn
17:31:49  <andythenorth> 48 to draw
17:35:04  *** haudrauf has joined #openttd
17:36:05  *** Progman has joined #openttd
17:49:59  *** Gja has quit IRC
17:52:41  *** Gja has joined #openttd
18:11:29  *** Thedarkb has quit IRC
18:18:06  *** Thedarkb has joined #openttd
18:25:34  *** Wolf01 has joined #openttd
18:25:43  <Wolf01> o/
18:25:59  *** Oroburos has joined #openttd
18:26:43  *** Oroburos has joined #openttd
18:40:28  <andythenorth> yo
18:41:52  *** Gja has quit IRC
18:53:49  *** glx has joined #openttd
18:53:49  *** ChanServ sets mode: +v glx
19:05:11  *** Gja has joined #openttd
19:05:33  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro approved pull request #6936: Fix #6898: Replace atoi() with strtoul() https://git.io/fx8ta
19:09:30  *** matt21347 has quit IRC
19:12:37  *** Wormnest has quit IRC
19:13:00  *** Oroburos has quit IRC
19:22:34  <DorpsGek_II> [OpenTTD/OpenTTD] orudge merged pull request #6936: Fix #6898: Replace atoi() with strtoul() https://git.io/fxWPM
19:22:38  <DorpsGek_II> [OpenTTD/OpenTTD] orudge closed issue #6898: Seeds above 32bit max int. https://git.io/fx8q9
19:23:08  <LordAro> osht, an orudge merge
19:23:47  * orudge rebases LordAro
19:24:04  <LordAro> :o
19:41:36  *** frosch123 has quit IRC
19:48:11  *** Wacko1976 has joined #openttd
19:48:25  *** sla_ro|master has quit IRC
19:51:21  *** rocky11384497 has joined #openttd
19:54:21  *** iSoSyS has joined #openttd
20:02:18  *** haudrauf has quit IRC
20:03:24  *** haudrauf has joined #openttd
20:28:42  *** matt21347 has joined #openttd
20:29:04  *** nielsm has quit IRC
20:32:07  <iSoSyS> has anyone tried to reproduce #6938? In my work's laptop I'm pretty sure I got the same result, but in my home pc I can't anymore, it just display N/A.
20:35:26  <LordAro> can't reproduce with just a basic AI test
20:35:32  <LordAro> would probably need a save game
20:37:01  <LordAro> i didn't see anything obvious when looking through the code earlier
20:37:11  <orudge> I can reproduce it if I enable the magic bulldozer cheat
20:38:05  <LordAro> no luck here...
20:38:57  <orudge> (this is with OpenTTD 1.8.0)
20:39:29  <LordAro> ah, bingo
20:39:44  <LordAro> i was trying with the AI company's HQs
20:39:58  <LordAro> yeah, magic bulldozer + your own HQ
20:40:51  <iSoSyS> can confirm. Magic bulldozer does the trick. Although, I'm pretty sure I didn't use it before. I need to check it tomorrow.
20:41:19  * LordAro wonders how magic bulldozer affects it
20:42:31  <orudge> It looks like the explanation in the bug is correct - the magic bulldozer must calculate 10% of the company value
20:42:42  <orudge> since money is temporarily sent to INT64_MAX, 10% of that is the £9 whateverillion in question
20:42:53  <orudge> (well, 10% of the company value, which is now grossly inflated)
20:43:46  <LordAro> object_cmd.cpp:498 i think
20:52:08  *** andythenorth has quit IRC
20:57:41  *** Thedarkb-T60 has joined #openttd
20:59:46  <LordAro> now that's interesting, at the end of CalculateCompanyValue, it seems to think that my company has INT64_MAX money
21:00:00  <LordAro> (c->money attribute, not even a function)
21:01:02  *** Progman has quit IRC
21:01:20  <iSoSyS> because it has. Look at misc_gui.cpp:197
21:01:34  <iSoSyS> it is in the ticket, 1st comment.
21:01:52  <LordAro> oh
21:02:25  <LordAro> yeah, that'd do it
21:17:01  <Wolf01> 'night
21:17:03  *** Wolf01 has quit IRC
21:18:49  *** GroovyNoodle has quit IRC
21:19:55  <LordAro> iSoSyS: i found https://github.com/OpenTTD/OpenTTD/blame/26e9b5ca5f0eafae421a640ea4e4753d6ac7ec0e/src/misc_gui.cpp#L105-L110
21:21:36  <iSoSyS> yeah that's how far I can go. But I'm yet to figure why such strategy, DC_QUERY_COST was thing back then.
21:22:09  <LordAro> yeah, seems so
21:22:18  <LordAro> hell, it could be an TTD bug :p
21:22:31  <LordAro> well, sorta
21:22:36  <LordAro> TTD didn't have cheats
21:22:37  <iSoSyS> that would be a hell of a find :D
21:23:43  <LordAro> if you could hack TTD to allow removal of your own HQ, it's possible this bug might appear
21:23:46  <LordAro> :p
21:24:29  <LordAro> https://www.tt-forums.net/openttd/ hmm...
21:24:32  <LordAro> i want to go digging now...
21:26:12  <iSoSyS> ok! 0.1 already had such entry
21:26:19  <iSoSyS> we need to go deeper
21:26:47  <LordAro> it also appears in the cvs repo
21:26:52  <LordAro> so yeah, maybe! :D
21:28:53  *** Thedarkb has quit IRC
21:34:13  *** Wacko1976 has quit IRC
21:35:12  <LordAro> iSoSyS: but yeah, go for it, i'd say :)
21:35:28  <LordAro> you can even put a Fix (r1) in the commit message :)
21:37:38  <iSoSyS> too bad I can't process x86 assembly. It shouldn't be too hard to find a 0x7FFFFFFF in 16bit x86
21:37:58  <LordAro> shouldn't be too hard to find that in a hexdump...
21:38:13  <LordAro> objdump should get you most of the way
21:38:22  <LordAro> i think it can do 16bit binaries...
21:41:28  *** Thedarkb-T60 has quit IRC
21:41:36  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on issue #6938: Incorrect value for "Cost to Clear" for Company Headquarters in tile inspector https://git.io/fx885
21:41:44  <LordAro> damn these hilights
21:41:50  <LordAro> "ooh, someone said something to me"
21:41:54  <LordAro> "oh, yes, i just commented"
21:44:44  *** HerzogDeXtEr has quit IRC
21:55:08  <iSoSyS> well, no luck. Either 7fffffff is load with two instruction. Or it is a zero negated and shifted somewhere, or some weird shit. Hand written assembly is bound to have little tricks :|
21:55:18  *** Thedarkb-T60 has joined #openttd
21:55:33  <Samu> @calc 0x7fffffff
21:55:33  <DorpsGek> Samu: 2147483647
21:55:47  <LordAro> @calc 0x7fffffffffffffff
21:55:47  <DorpsGek> LordAro: 9223372036854775808
21:57:06  <iSoSyS> yeah, somewhere along the way we allowed the rich to be much much richer :D
21:58:07  <LordAro> iirc being able to overflow your money in TTD was a well known issue
21:58:50  <DorpsGek_II> [OpenTTD/OpenTTD] MiguelHorta commented on issue #6938: Incorrect value for "Cost to Clear" for Company Headquarters in tile inspector https://git.io/fx8Bm
22:02:48  *** matt21347 has quit IRC
22:03:32  <DorpsGek_II> [OpenTTD/OpenTTD] James103 commented on issue #6938: Incorrect value for "Cost to Clear" for Company Headquarters in tile inspector https://git.io/fx8BE
22:03:59  <iSoSyS> well that was fast.
22:04:05  <LordAro> ikr
22:10:03  <Eddi|zuHause> what's the git equivalent to "svn diff -cXXX"?
22:11:16  <LordAro> git show
22:11:21  <LordAro> <hash>
22:11:47  <Eddi|zuHause> right, i remembered immediately when i sent that
22:11:53  <LordAro> ;)
22:13:56  <DorpsGek_II> [OpenTTD/OpenTTD] MiguelHorta opened pull request #6939: Fix #6938: Don't change company value to perform cost estimations https://git.io/fx8RG
22:16:08  *** wodencafe has joined #openttd
22:22:46  *** iSoSyS has quit IRC
22:43:24  *** Thedarkb-T60 has quit IRC
22:47:16  *** Thedarkb-T60 has joined #openttd
22:53:26  *** rocky11384497 has quit IRC
23:22:28  *** iSoSyS has joined #openttd
23:31:37  *** sim-al2 has joined #openttd
23:44:43  *** Laedek has joined #openttd
23:45:31  *** iSoSyS has quit IRC
23:59:43  *** sim-al2 has quit IRC

Powered by YARRSTE version: svn-trunk